/* WellPlay website — design tokens match the WellPlay app (wellplay-app/src/index.css). */
:root {
  --brand-50: #f4f0ff;
  --brand-100: #ebe3ff;
  --brand-200: #d6c8ff;
  --brand-300: #b9a0ff;
  --brand-400: #9a72fb;
  --brand-500: #7c4df5;
  --brand-600: #6633e8;
  --brand-700: #5523cc;
  --brand-800: #461ea6;
  --brand-900: #2b1470;
  --ink: #13103a;
  --ink-soft: #5b5875;
  --teal: #22c3a6;
  --bg: #eef0fb;

  --radius: 1.75rem;
  --radius-sm: 1.1rem;
  --shadow-card: 0 10px 40px -12px rgb(76 45 170 / 0.25);
  --shadow-lift: 0 24px 60px -20px rgb(76 45 170 / 0.45);
  --grad: linear-gradient(100deg, var(--brand-800), var(--brand-600) 45%, var(--brand-400));
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1200px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Frosted glass, as in the app */
.glass {
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* Pill buttons, as in the app's RECORD / SWITCH ROLES controls */
.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  border-radius: 999px; padding: 0.85rem 1.6rem;
  font: 700 0.98rem/1 var(--font); letter-spacing: 0.02em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 180ms var(--ease-spring), box-shadow 200ms ease, background 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.pill::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 600ms ease; pointer-events: none;
}
.pill:hover { transform: translateY(-2px); }
.pill:hover::after { transform: translateX(120%); }
.pill:active { transform: translateY(0) scale(0.96); transition-duration: 80ms; }
.pill:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--brand-400); }
.pill--primary {
  color: #fff; background: var(--grad); background-size: 160% 100%;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 10px 26px -10px rgb(85 35 204 / 0.8);
}
.pill--primary:hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 14px 30px -10px rgb(85 35 204 / 0.9); }
.pill--light { color: var(--brand-700); background: rgb(255 255 255 / 0.85); backdrop-filter: blur(10px); box-shadow: var(--shadow-card); }
.pill--white { color: var(--brand-700); background: #fff; }
.pill--sm { padding: 0.65rem 1.15rem; font-size: 0.88rem; }
.pill--block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-600); background: var(--brand-100); padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow--light { color: #fff; background: rgb(255 255 255 / 0.16); }

/* NAV */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.55rem 0.6rem 0.55rem 1.1rem; border-radius: 999px; transition: box-shadow 0.3s; }
.nav.scrolled .nav__inner { box-shadow: var(--shadow-lift); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.2rem; color: var(--brand-700); text-decoration: none; letter-spacing: -0.02em; }
.brand--sm { font-size: 1rem; }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.93rem; transition: color 0.2s; }
.nav__links a:hover { color: var(--brand-600); }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand-50); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--brand-700); border-radius: 2px; transition: transform 0.3s; }
.nav__toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }

/* HERO */
.hero { position: relative; min-height: 100vh; padding: 150px 0 140px; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 85% 10%, rgb(154 114 251 / 0.35), transparent 70%),
  radial-gradient(50% 40% at 10% 20%, rgb(34 195 166 / 0.16), transparent 70%),
  linear-gradient(180deg, #f6f1ff 0%, #eef0fb 60%, #fdf3e6 100%); }
.hero__land { position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: url('assets/ui/landscape-lavender.webp') center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%); opacity: 0.95; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.5rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 0.9rem; margin-bottom: 1.6rem; }
.badge__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); font-size: 0.9rem; }
.badge strong { color: var(--brand-700); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 1.2rem; }
.hero__note { font-size: 0.9rem; color: var(--ink-soft); }

.hero__stage { position: relative; }
.screen { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); border: 6px solid rgb(255 255 255 / 0.9); background: #fff; }
.screen img { width: 100%; height: auto; }
.screen { position: relative; }
.hero__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-toggle { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.85); color: var(--brand-700); font-size: 0.7rem; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.screen:hover .video-toggle, .video-toggle:focus-visible { opacity: 1; }
.screen--crop img { aspect-ratio: 1400 / 600; object-fit: cover; object-position: center bottom; }
.screen--hero { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform 0.8s var(--ease-spring); }
.hero__stage:hover .screen--hero { transform: perspective(1400px) rotateY(0) rotateX(0); }
.chip { position: absolute; display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 1.1rem 0.75rem 0.75rem; border-radius: 1.2rem; animation: float 6s ease-in-out infinite; }
.chip strong { display: block; font-size: 0.92rem; }
.chip small { color: var(--ink-soft); font-size: 0.8rem; }
.chip__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-100); font-size: 1.15rem; }
.chip--a { left: -28px; bottom: -26px; }
.chip--b { right: -18px; top: -24px; animation-delay: -3s; }
.hero__tornado { position: absolute; width: 130px; right: -40px; bottom: -70px; filter: drop-shadow(0 20px 25px rgb(85 35 204 / 0.35)); animation: sway 5s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes sway { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-12px); } }

/* AWARD */
.award { margin-top: -70px; position: relative; z-index: 2; }
.award__card { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: var(--radius); background: linear-gradient(130deg, var(--brand-900), var(--brand-700) 60%, var(--brand-500)); color: #fff; box-shadow: var(--shadow-lift); }
.award__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.award__copy { padding: clamp(1.8rem, 4vw, 3.2rem); align-self: center; }
.award__copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.award__copy p { color: rgb(255 255 255 / 0.82); }

/* LOGO STRIP */
.logos { padding: clamp(56px, 7vw, 84px) 0 0; }
.logos__title { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.6rem; }
/* Every logo sits in an identical box and is scaled to fit it, so all read at the same size. */
.logos__row { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.6rem 2.4rem; }
.logos__row li { display: flex; align-items: center; justify-content: center; width: 150px; height: 64px; opacity: 0.8; filter: grayscale(1) brightness(0.5) contrast(1.5); transition: opacity 0.3s, filter 0.3s; }
.logos__row li:hover { opacity: 1; filter: none; }
.logos__row img { width: 100%; height: 100%; object-fit: contain; }
.logos__row .logo--dense img { height: 82%; }
@media (max-width: 640px) { .logos__row { gap: 1.2rem 1.4rem; } .logos__row li { width: 120px; height: 52px; } }
.logos__academic { max-width: 48rem; margin: 1.8rem auto 0; text-align: center; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.8; }
.logos__academic strong { color: var(--brand-900); font-weight: 700; white-space: nowrap; }
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--brand-900); line-height: 1.05; text-align: center; }
.wordmark small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* SECTIONS */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--soft { background: linear-gradient(180deg, var(--bg), #f6f2ff); }
.section--violet { background: radial-gradient(80% 60% at 20% 0%, var(--brand-600), transparent 60%), linear-gradient(160deg, var(--brand-900), #1d0f4f); color: #fff; overflow: hidden; }
.section__head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section__head p { color: var(--ink-soft); font-size: 1.1rem; }
.section__head--light p { color: rgb(255 255 255 / 0.78); }
.section__head--left { text-align: left; margin: 0; }

/* Steps */
.step-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(4rem, 8vw, 7rem); }
.step-row:last-child { margin-bottom: 0; }
.step-row--flip .step-row__copy { order: 2; }
.step-num { display: inline-block; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1rem; }
.step-row h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.step-row p { color: var(--ink-soft); font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.55rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: center; font-weight: 600; }
.ticks li::before { content: '✓'; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-100); color: var(--brand-600); font-size: 0.8rem; font-weight: 800; }

/* Compact step cards */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.step3 { overflow: hidden; padding: 0; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s; }
.step3:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step3__img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 75%; }
.step3__body { padding: 1.4rem 1.5rem 1.5rem; }
.step3 h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.35rem; }
.step3 p { color: var(--ink-soft); margin: 0; }
.step3 .step-num { margin-bottom: 0.8rem; }

/* "More" disclosure: extra detail only for those who want it */
.more { margin-top: 0.9rem; }
.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; color: var(--brand-600); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50); font-size: 0.85rem; transition: transform 0.3s; }
.more[open] summary::after { transform: rotate(45deg); }
.more summary:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }
.more > p { margin-top: 0.7rem; font-size: 0.95rem; }
.more--press { text-align: center; margin-top: 0.4rem; }
.more--press .press { margin-top: 0.8rem; text-align: start; }

/* Inside the app */
.marquee { overflow: hidden; margin: 0 0 3.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1.1rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { width: 260px; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-sm); border: 3px solid rgb(255 255 255 / 0.25); }
@keyframes marquee { to { transform: translateX(-50%); } }

.cast { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; margin-bottom: 4rem; }
.cast figure { margin: 0; text-align: center; }
.cast img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 1.2rem; background: rgb(214 200 255 / 0.25); border: 2px solid rgb(214 200 255 / 0.5); box-shadow: 0 0 24px -6px rgb(154 114 251 / 0.6); transition: transform 0.3s var(--ease-spring); }
.cast figure:hover img { transform: translateY(-6px) scale(1.04); }
.cast figcaption { margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: rgb(255 255 255 / 0.8); }

.guides { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3rem); }
.guides h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.guides p { color: rgb(255 255 255 / 0.8); }
.guides__faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.guides__faces img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 1.2rem; border: 3px solid rgb(255 255 255 / 0.8); }
.guides__faces img:nth-child(even) { transform: translateY(22px); }

/* Quote */
.quote { padding: clamp(80px, 10vw, 130px) 0; background: url('assets/ui/landscape-lavender.webp') center / cover; position: relative; }
.quote::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(238 240 251 / 0.92), rgb(238 240 251 / 0.55)); }
.quote blockquote { position: relative; margin: 0 auto; max-width: 52rem; text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: var(--brand-900); }
.quote cite { display: block; margin-top: 1rem; font-size: 1rem; font-style: normal; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.06em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { padding: 2.2rem; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: var(--brand-100); margin-bottom: 1.3rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 60rem; margin-inline: auto; }
.person { padding: 1.3rem 1.3rem 1.6rem; text-align: center; }
.person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0.4rem auto 1.1rem; box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--brand-200); }
.person h3 { margin-bottom: 0.25rem; }
.role { display: block; color: var(--brand-600); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.person p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
.subhead { text-align: center; margin: 4.5rem 0 1.8rem; font-size: 1.5rem; font-weight: 800; }
/* Flex so an incomplete last row stays centered */
.advisors { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.advisor { flex: 0 1 calc((100% - 2rem) / 3); min-width: 0; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius-sm); }
.advisor img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }
.advisor strong { display: block; }
.advisor small { color: var(--ink-soft); font-size: 0.84rem; line-height: 1.4; display: block; }

/* Press */
.press { display: grid; gap: 0.8rem; max-width: 56rem; margin-inline: auto; }
.press__item { display: grid; grid-template-columns: 15rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 1.6rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: transform 0.3s var(--ease-spring), box-shadow 0.3s; }
.press__item:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }
.press__src { font-size: 0.8rem; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: 0.06em; }
.press__title { font-weight: 600; }
.arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-weight: 700; transition: background 0.3s, color 0.3s; }
.press__item:hover .arrow { background: var(--brand-600); color: #fff; }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 4rem; align-items: start; }
.faq__list { display: grid; gap: 0.8rem; }
.faq details { border-radius: var(--radius-sm); padding: 0 1.5rem; }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-size: 1.2rem; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand-600); color: #fff; }
.faq details p { color: var(--ink-soft); padding-bottom: 1.3rem; margin: 0; }

/* Contact */
.contact { position: relative; padding: clamp(80px, 11vw, 140px) 0; color: #fff; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; background: url('assets/screens/scene-roles.webp') center / cover; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgb(43 20 112 / 0.96) 35%, rgb(70 30 166 / 0.88)); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact__copy p { color: rgb(255 255 255 / 0.82); font-size: 1.08rem; }
.contact__lines { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.4rem; }
.contact__lines a { color: #fff; font-weight: 600; text-decoration: none; }
.contact__lines a:hover { text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.socials a { color: #fff; text-decoration: none; padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.3); font-size: 0.9rem; font-weight: 600; transition: background 0.25s; }
.socials a:hover { background: rgb(255 255 255 / 0.15); }
.form { padding: 2rem; display: grid; gap: 1rem; color: var(--ink); }
.form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; color: var(--ink); padding: 0.85rem 1rem; border: 1.5px solid var(--brand-100); border-radius: 0.9rem; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgb(154 114 251 / 0.2); }
.form .invalid { border-color: #f0164f; }
.form__msg { margin: 0; font-weight: 600; color: var(--brand-700); text-align: center; min-height: 1.2em; }

/* Footer */
.footer { padding: 3rem 0 2rem; }
.support { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); border-left: 4px solid #e8891c; font-size: 0.93rem; margin-bottom: 1.5rem; }
.support a { font-weight: 700; }
.disclaimer { font-size: 0.85rem; color: var(--ink-soft); max-width: 60rem; }
.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--brand-100); font-size: 0.88rem; color: var(--ink-soft); }
.footer__row > a:last-child { color: var(--ink-soft); text-decoration: none; }

/* Footer legal links */
.footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer__links a { color: var(--ink-soft); text-decoration: none; }
.footer__links a:hover { color: var(--brand-600); text-decoration: underline; }
.lang { font-weight: 800; font-size: 0.85rem; color: var(--brand-700); text-decoration: none; padding: 0.45rem 0.7rem; border-radius: 999px; background: var(--brand-50); }

/* Legal pages */
.legal { padding: 130px 0 80px; background: linear-gradient(180deg, #f6f1ff, var(--bg) 320px); min-height: 100vh; }
.legal__card { max-width: 52rem; margin-inline: auto; padding: clamp(1.6rem, 5vw, 3.4rem); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-inline-start: 1.3rem; }
.legal .updated { font-size: 0.9rem; font-weight: 600; color: var(--brand-600); }
.legal .draft { background: #fff4e5; border: 1px solid #f5c98a; color: #8a4b00; border-radius: 0.9rem; padding: 0.8rem 1rem; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.6rem; }
.legal__nav .nav__inner { justify-content: space-between; }
.legal__back { font-weight: 700; text-decoration: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu { width: min(var(--maxw), 100% - 32px); margin: 10px auto 0; padding: 1rem; flex-direction: column; gap: 0.2rem; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a:not(.pill) { padding: 0.75rem 0.9rem; border-radius: 0.8rem; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mobile-menu a:not(.pill):hover { background: var(--brand-50); }
  .mobile-menu .pill { margin-top: 0.5rem; }
  .hero__grid, .award__card, .step-row, .guides, .faq, .contact__grid { grid-template-columns: 1fr; }
  .step-row--flip .step-row__copy { order: 0; }
  .hero { padding-top: 130px; }
  .hero__stage { max-width: 640px; }
  .advisor { flex-basis: calc((100% - 1rem) / 2); }
  .cast { grid-template-columns: repeat(4, 1fr); }
  .faq { gap: 2rem; }
}
@media (max-width: 860px) {
  .cards, .steps3 { grid-template-columns: 1fr; max-width: 36rem; margin-inline: auto; }
}
@media (max-width: 640px) {
  .form__row, .team { grid-template-columns: 1fr; }
  .advisor { flex-basis: 100%; }
  .hero { min-height: 0; padding-bottom: 110px; }
  .award { margin-top: 0; }
  .award__img img { height: auto; min-height: 0; object-fit: contain; }
  .chip--a { left: 8px; bottom: -36px; }
  .chip--b { right: 8px; top: -30px; }
  .hero__tornado { width: 90px; right: -10px; bottom: -80px; }
  .screen--hero { transform: none; }
  .press__item { grid-template-columns: 1fr auto; gap: 0.3rem 1rem; }
  .press__src { grid-column: 1 / -1; }
  .guides__faces img:nth-child(even) { transform: none; }
  .marquee__track img { width: 190px; }
}
@media (max-width: 420px) {
  .cast { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.step3__img--portrait img { object-position: center 22%; }
