/* ==========================================================================
   ORIUM — design system
   Conceito: "gema lapidada". Safira como cor de ação, ouro como acento,
   tinta azul-noite para seções escuras e névoa fria como superfície.
   ========================================================================== */

:root {
  --ink: #0E1638;
  --ink-2: #1A2350;
  --ink-3: #28326A;
  --text: #0E1638;
  --muted: #56607F;
  --subtle: #8A92AD;

  --sapphire: #2F4BFF;
  --sapphire-600: #1F37E0;
  --sapphire-700: #182BB3;
  --sapphire-100: #DDE3FF;
  --sapphire-50: #EEF1FF;

  --gold: #F5B83D;
  --gold-600: #D99A1C;
  --gold-50: #FFF5DF;

  --mint: #14B083;
  --mint-50: #E3F7F0;
  --coral: #F0616D;

  --mist: #F4F6FB;
  --line: #E3E7F1;
  --line-2: #D3D9E8;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 22, 56, .06), 0 2px 6px rgba(14, 22, 56, .04);
  --shadow-md: 0 10px 30px -12px rgba(14, 22, 56, .18), 0 2px 6px rgba(14, 22, 56, .05);
  --shadow-lg: 0 40px 80px -30px rgba(14, 22, 56, .35), 0 10px 30px -15px rgba(14, 22, 56, .15);
  --shadow-sapphire: 0 14px 30px -12px rgba(47, 75, 255, .55);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow no html vai para a janela: corta sobras laterais sem quebrar o menu sticky (não usar overflow no body) */
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sapphire); color: #fff; }

.icon { width: 22px; height: 22px; flex: none; max-width: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale ---------- */
.display { font-size: clamp(2.4rem, 4.1vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); letter-spacing: -0.032em; }
.h2 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
.h4 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 650; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .92rem; font-weight: 600; color: var(--sapphire);
}
.tag::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); border-radius: 2px; }
.on-dark .tag, .section--dark .tag, .page-hero--dark .tag { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--sapphire); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  isolation: isolate; overflow: hidden;
}
.btn--primary { box-shadow: var(--shadow-sapphire); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn--primary:hover { background: var(--sapphire-600); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--gold-50); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 14px 30px -14px rgba(245, 184, 61, .8); }
.btn--gold:hover { --bg: #FFC658; }
.btn--outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .94rem; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--move { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sapphire);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }
.link .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.on-dark .link, .section--dark .link { color: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: rgba(255,255,255,.86); font-size: .88rem;
  text-align: center; padding: 9px 16px; position: relative; overflow: hidden;
}
.announce a { display: inline-flex; align-items: center; gap: 10px; }
.announce strong { color: #fff; font-weight: 600; }
.announce .pill { background: var(--gold); color: var(--ink); font-weight: 700; font-size: .75rem; padding: 2px 9px; border-radius: 999px; }
.announce u { text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14,22,56,.35); }
/* some ao rolar para baixo, volta ao rolar para cima */
.nav { transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); box-shadow: none; }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.04em; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; max-width: none; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-12deg) scale(1.05); }
.nav__menu { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav__list { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: .98rem; font-weight: 500; color: var(--ink); transition: background .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--mist); }
.nav__link[aria-current="page"] { color: var(--sapphire); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; margin-left: auto; }
.nav__toggle:hover { background: var(--mist); }

.drop {
  position: absolute; top: calc(100% + 10px); left: -12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 12px; min-width: 330px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.drop--wide { display: grid; grid-template-columns: 1fr 1fr 250px; gap: 4px; width: 820px; }
.drop__link { display: flex; gap: 14px; padding: 12px; border-radius: var(--r-md); transition: background .2s; }
.drop__link:hover { background: var(--mist); }
.drop__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sapphire-50); color: var(--sapphire); flex: none; transition: transform .3s var(--ease), background .2s, color .2s; }
.drop__link:hover .drop__ico { background: var(--sapphire); color: #fff; transform: rotate(-6deg); }
.drop__ico .icon { display: block; }
.drop__link strong { display: block; font-weight: 600; font-size: .97rem; color: var(--ink); line-height: 1.3; }
.drop__link > span:last-child > span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.drop__feature {
  grid-row: span 3; grid-column: 3; border-radius: var(--r-md); background: var(--ink); color: #fff; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden;
}
.drop__feature::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(47,75,255,.8), transparent 70%); }
.drop__feature strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; position: relative; z-index: 1; }
.drop__feature p { font-size: .88rem; color: rgba(255,255,255,.72); position: relative; z-index: 1; }
.drop__play { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; position: relative; z-index: 1; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; overflow-x: clip; }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead, .section--dark .muted { color: rgba(255,255,255,.7); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head > * + * { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.section-head--split > div > * + * { margin-top: 16px; }
.section-head--split > * + * { margin-top: 0; }

/* Faceted background — the brand motif */
.facets { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.facets::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,75,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,75,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.section--dark .facets::before, .on-dark .facets::before {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
}
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.glow--sapphire { background: var(--sapphire); }
.glow--gold { background: var(--gold); opacity: .35; }
.glow--iris { background: #6F7FFF; opacity: .32; }
.glow--float { animation: float 14s ease-in-out infinite; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); align-items: center; }
.hero__copy > * + * { margin-top: 22px; }
.hero h1 { margin-top: 20px; text-wrap: wrap; }
@media (min-width: 961px) { .hero h1 .line > span { white-space: nowrap; } .hero__visual .shot { width: 122%; max-width: 780px; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 500; color: var(--ink);
}
.hero__badge b { background: var(--sapphire-50); color: var(--sapphire); padding: 3px 10px; border-radius: 999px; font-weight: 650; font-size: .82rem; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.segment {
  display: inline-flex; padding: 5px; gap: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; position: relative;
}
.segment button { position: relative; z-index: 1; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .25s; }
.segment button[aria-selected="true"] { color: var(--ink); }
.segment__thumb { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), width .4s var(--ease); }
.segment-panel { min-height: 5.2em; }
.segment-panel p { animation: fadeUp .5s var(--ease); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--mint); }

.hero__visual { position: relative; }
.hero__visual .shot { transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); transition: transform 1s var(--ease); animation: shotIn 1.3s var(--ease) both .3s; }
.hero__visual:hover .shot { transform: perspective(1600px) rotateY(-3deg) rotateX(2deg); }

/* floating chips */
.chip {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 12px 14px; font-size: .86rem; line-height: 1.35;
  opacity: 0; animation: chipIn .8s var(--ease) forwards, bob 6s ease-in-out infinite;
}
.chip--tutor { left: -40px; bottom: 34px; width: 270px; animation-delay: 1.1s, 2s; }
.chip--streak { right: -18px; top: -22px; display: flex; align-items: center; gap: 10px; animation-delay: 1.35s, 2.4s; }
.chip--grade { right: 26px; bottom: -28px; display: flex; align-items: center; gap: 12px; animation-delay: 1.6s, 2.8s; }
.chip__ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.chip__ico--gold { background: var(--gold-50); color: var(--gold-600); }
.chip__ico--mint { background: var(--mint-50); color: var(--mint); }
.chip strong { display: block; color: var(--ink); font-weight: 650; }
.chip small { color: var(--muted); font-size: .78rem; }
.tutor__head { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .82rem; color: var(--ink); margin-bottom: 8px; }
.tutor__head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-50); }
.bubble { padding: 8px 11px; border-radius: 12px; font-size: .82rem; margin-top: 6px; }
.bubble--me { background: var(--mist); margin-left: 28px; border-bottom-right-radius: 4px; }
.bubble--ai { background: var(--sapphire); color: #fff; margin-right: 18px; border-bottom-left-radius: 4px; min-height: 34px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.8); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.ring { width: 44px; height: 44px; flex: none; }
.ring circle { fill: none; stroke-width: 5; }
.ring .ring__bg { stroke: var(--mist); }
.ring .ring__fg { stroke: var(--sapphire); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transform: rotate(-90deg); transform-origin: center; animation: ringFill 1.6s var(--ease) forwards 2s; }

/* ---------- Screenshot frame (print placeholders) ---------- */
.shot {
  position: relative; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden; z-index: 1;
}
.shot__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot__dots i:nth-child(1) { background: #FF6B6B; } .shot__dots i:nth-child(2) { background: #FFC24B; } .shot__dots i:nth-child(3) { background: #2FCB82; }
.shot__url { flex: 1; max-width: 360px; margin-inline: auto; height: 24px; border-radius: 7px; background: var(--mist); font-size: .75rem; color: var(--subtle); display: flex; align-items: center; justify-content: center; gap: 6px; }
.shot__url .icon { width: 12px; height: 12px; }
.shot__body { position: relative; aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.shot--wide .shot__body { aspect-ratio: 16 / 9; }
.shot--tall .shot__body { aspect-ratio: 4 / 5; }
.shot--phone { max-width: 300px; border-radius: 36px; padding: 10px; background: var(--ink); border: 0; }
.shot--phone .shot__body { aspect-ratio: 9 / 19; border-radius: 28px; }
.shot__body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 2; }
.shot__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 24px; color: var(--muted);
  background:
    repeating-linear-gradient(-45deg, rgba(47,75,255,.035) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 30% 20%, var(--sapphire-50), transparent 60%),
    var(--mist);
}
.shot__ph .ph-ico { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1.5px dashed var(--sapphire-100); color: var(--sapphire); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.shot__ph strong { color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
.shot__ph code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .76rem; background: #fff; border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; color: var(--sapphire-700); }
.shot__ph span { font-size: .78rem; }
.shot--dark { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.shot--dark .shot__bar { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.shot--dark .shot__url { background: rgba(255,255,255,.06); }
.shot-caption { margin-top: 14px; font-size: .88rem; color: var(--subtle); text-align: center; }

/* ---------- Logo marquee (mockup) ---------- */
.logos { padding-block: 44px; border-block: 1px solid var(--line); background: #fff; }
.logos__label { text-align: center; font-size: .95rem; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.client { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 650; font-size: 1.28rem; letter-spacing: -.03em; color: #A2A9C0; white-space: nowrap; transition: color .3s; }
.client:hover { color: var(--ink); }
.client svg { width: 28px; height: 28px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: #fff; padding: 32px 28px 30px; position: relative; transition: background .35s; }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sapphire); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pillar:hover::after { transform: scaleX(1); }
.pillar:hover { background: var(--sapphire-50); }
.pillar .feature-ico { margin-bottom: 22px; }
.pillar p { color: var(--muted); font-size: .97rem; margin-top: 10px; }

.feature-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sapphire-50); color: var(--sapphire); flex: none; }
.feature-ico--gold { background: var(--gold-50); color: var(--gold-600); }
.feature-ico--mint { background: var(--mint-50); color: var(--mint); }
.feature-ico--ink { background: var(--ink); color: var(--gold); }
.on-dark .feature-ico, .section--dark .feature-ico { background: rgba(255,255,255,.08); color: var(--gold); }

/* ---------- Product tour (tabs) ---------- */
.tour { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.tour__tabs { display: flex; flex-direction: column; gap: 6px; }
.tour__tab {
  text-align: left; padding: 18px 20px; border-radius: var(--r-md); position: relative; overflow: hidden;
  transition: background .3s; border: 1px solid transparent;
}
.tour__tab:hover { background: rgba(255,255,255,.6); }
.tour__tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.tour__tab strong { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.12rem; font-weight: 650; letter-spacing: -.015em; color: var(--ink); }
.tour__tab strong .icon { color: var(--subtle); transition: color .3s; }
.tour__tab[aria-selected="true"] strong .icon { color: var(--sapphire); }
.tour__tab p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease), margin .45s var(--ease); color: var(--muted); font-size: .95rem; margin-top: 0; }
.tour__tab p > span { overflow: hidden; }
.tour__tab[aria-selected="true"] p { grid-template-rows: 1fr; margin-top: 8px; }
.tour__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sapphire); transform: scaleX(0); transform-origin: left; }
.tour__tab[aria-selected="true"] .tour__progress { animation: progress var(--tour-ms, 7000ms) linear forwards; }
.tour.is-paused .tour__progress { animation-play-state: paused; }
.tour__stage { position: relative; }
.tour__panel { animation: panelIn .6s var(--ease); }
.tour__panel[hidden] { display: none; }

/* ---------- Video ---------- */
.video-wrap { position: relative; z-index: 1; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden;
  background: var(--ink-2); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; z-index: 2; background: #000; }
.video__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px;
  background:
    linear-gradient(180deg, rgba(14,22,56,.35), rgba(14,22,56,.82)),
    radial-gradient(circle at 50% 45%, rgba(47,75,255,.45), transparent 55%),
    var(--poster, linear-gradient(transparent, transparent)) center top / cover no-repeat,
    repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 14px, transparent 14px 28px),
    var(--ink-2);
  color: rgba(255,255,255,.75);
}
.video__play {
  position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; transition: transform .3s var(--ease); z-index: 3;
}
.video__play::before, .video__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s var(--ease) infinite; }
.video__play::after { animation-delay: 1.2s; }
.video__play:hover { transform: scale(1.08); }
.video__play .icon { width: 34px; height: 34px; fill: currentColor; stroke: none; margin-left: 5px; }
.video__ph strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.video__ph .video__play { box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); }
.video__ph code { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--gold); background: rgba(255,255,255,.06); padding: 4px 10px; border-radius: 6px; }
.video.is-playing .video__ph { display: none; }
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.chapter { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, border-color .3s; text-align: left; }
.chapter:hover { background: rgba(255,255,255,.08); border-color: rgba(245,184,61,.4); }
.chapter time { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; color: var(--gold); background: rgba(245,184,61,.1); padding: 3px 8px; border-radius: 6px; flex: none; }
.chapter strong { display: block; color: #fff; font-weight: 600; }
.chapter span { display: block; font-size: .88rem; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__copy > * + * { margin-top: 20px; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .check { width: 26px; height: 26px; border-radius: 50%; background: var(--sapphire-50); color: var(--sapphire); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checks .check .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.checks strong { display: block; font-weight: 650; color: var(--ink); }
.checks span { color: var(--muted); font-size: .96rem; }
.section--dark .checks .check { background: rgba(245,184,61,.14); color: var(--gold); }
.section--dark .checks strong { color: #fff; }
.section--dark .checks span { color: rgba(255,255,255,.68); }

/* ---------- Segments ---------- */
.seg-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.seg-tab { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--muted); transition: all .3s var(--ease); }
.seg-tab:hover { color: var(--ink); border-color: var(--line-2); }
.seg-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); animation: panelIn .6s var(--ease); }
.seg-panel[hidden] { display: none; }
.seg-panel__copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.seg-panel__visual { background: linear-gradient(160deg, var(--sapphire-50), var(--mist)); padding: clamp(24px, 3vw, 44px); display: flex; align-items: center; position: relative; overflow: hidden; }
.seg-panel__visual .shot { width: 100%; box-shadow: var(--shadow-md); }
.seg-quote { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; font-size: .94rem; }
.seg-quote p { color: var(--ink); font-style: italic; }
.seg-quote small { color: var(--muted); display: block; font-style: normal; margin-top: 2px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat { padding: 8px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4.5vw, 3.8rem); letter-spacing: -.045em; line-height: 1; color: #fff; display: flex; align-items: baseline; }
.stat__num sup { font-size: .45em; color: var(--gold); margin-left: 2px; top: 0; vertical-align: baseline; }
.stat p { margin-top: 10px; color: rgba(255,255,255,.66); font-size: .95rem; line-height: 1.45; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card > * + * { margin-top: 12px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .feature-ico { margin-bottom: 20px; }
.card__kicker { font-size: .82rem; font-weight: 600; color: var(--sapphire); }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .card:hover { background: rgba(255,255,255,.07); border-color: rgba(245,184,61,.35); box-shadow: none; }
.section--dark .card p { color: rgba(255,255,255,.66); }
.section--mist .card { border-color: transparent; box-shadow: var(--shadow-sm); }

/* Plain list items (for dense lists — avoids card soup) */
.rows { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.row { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.row p { color: var(--muted); font-size: .96rem; margin-top: 4px; }
.section--dark .row { border-color: rgba(255,255,255,.1); }
.section--dark .row p { color: rgba(255,255,255,.66); }

/* ---------- Comparison table ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 24px; text-align: left; vertical-align: middle; font-size: .97rem; }
.compare thead th { background: var(--mist); font-weight: 600; font-size: .9rem; color: var(--muted); }
.compare thead th.is-orium { background: var(--ink); color: #fff; }
.compare tbody tr { border-top: 1px solid var(--line); transition: background .2s; }
.compare tbody tr:hover { background: #FAFBFE; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td.is-orium { background: rgba(47,75,255,.04); color: var(--ink); font-weight: 500; }
.compare td.is-orium span { display: inline-flex; gap: 10px; align-items: center; }
.compare td.is-orium .icon { color: var(--mint); width: 20px; height: 20px; stroke-width: 2.4; }
.compare td.is-other { color: var(--muted); }
.compare td.is-other span { display: inline-flex; gap: 10px; align-items: center; }
.compare td.is-other .icon { color: var(--coral); width: 18px; height: 18px; }
.compare tr.is-highlight { background: var(--sapphire-50); }
.compare tr.is-highlight th, .compare tr.is-highlight td { font-weight: 700; color: var(--ink); }
.table-note { margin-top: 16px; font-size: .84rem; color: var(--subtle); max-width: 90ch; }

/* ---------- Testimonials (mockup) ---------- */
.testimonials { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.quote--featured { background: var(--ink); color: #fff; border-color: var(--ink); grid-row: span 2; position: relative; overflow: hidden; }
.quote--featured blockquote { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.quote blockquote { margin: 0; color: inherit; }
.quote .stars { display: flex; gap: 3px; color: var(--gold); }
.quote .stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.quote__who { display: flex; gap: 14px; align-items: center; margin-top: auto; }
.quote__who strong { display: block; font-weight: 650; font-size: .96rem; }
.quote__who small { display: block; color: var(--muted); font-size: .86rem; }
.quote--featured .quote__who small { color: rgba(255,255,255,.6); }
.quote__metric { display: flex; gap: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.quote__metric b { display: block; font-family: var(--font-display); font-size: 2rem; letter-spacing: -.04em; color: var(--gold); line-height: 1; }
.quote__metric span { font-size: .86rem; color: rgba(255,255,255,.62); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex: none; color: #fff; background: var(--sapphire); }
.avatar--gold { background: var(--gold); color: var(--ink); }
.avatar--mint { background: var(--mint); }
.avatar--ink { background: var(--ink-3); }
.rating { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r-md); background: var(--mist); }
.rating b { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.04em; line-height: 1; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-weight: 600; }
.billing button[role="switch"] { width: 56px; height: 32px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .3s; }
.billing button[role="switch"]::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.billing button[aria-checked="true"] { background: var(--sapphire); }
.billing button[aria-checked="true"]::after { transform: translateX(24px); }
.billing .save { background: var(--mint-50); color: var(--mint); font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.billing span.is-off { color: var(--subtle); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 30px; display: flex; flex-direction: column; gap: 20px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan--featured h3 { color: #fff; }
.plan__badge { position: absolute; top: -14px; left: 30px; background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan__desc { color: var(--muted); font-size: .96rem; min-height: 3em; }
.plan--featured .plan__desc { color: rgba(255,255,255,.66); }
.plan__price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); }
.plan__price b { font-size: clamp(2.4rem, 3.6vw, 3rem); letter-spacing: -.045em; line-height: 1; font-weight: 700; }
.plan__price small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.plan--featured .plan__price small { color: rgba(255,255,255,.6); }
.plan__cur { font-size: 1.2rem; font-weight: 600; }
.plan__meta { font-size: .88rem; color: var(--muted); margin-top: -10px; }
.plan--featured .plan__meta { color: rgba(255,255,255,.6); }
.plan .btn { width: 100%; }
.plan__list { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; }
.plan--featured .plan__list { border-color: rgba(255,255,255,.12); }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list .icon { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.5; margin-top: 3px; }
.plan--featured .plan__list .icon { color: var(--gold); }
.plan__list li.is-first { font-weight: 650; }
.price-anim { display: inline-block; transition: opacity .2s, transform .3s var(--ease); }
.price-anim.is-swapping { opacity: 0; transform: translateY(-8px); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__aside > * + * { margin-top: 18px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; flex: none; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: var(--ink); translate: -50% -50%; transition: transform .35s var(--ease), background .3s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--sapphire); border-color: var(--sapphire); transform: rotate(180deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover { color: var(--sapphire); }
.faq__answer { color: var(--muted); padding: 0 56px 26px 0; animation: fadeUp .4s var(--ease); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); text-align: center; isolation: isolate; }
.cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta .lead { color: rgba(255,255,255,.72); margin: 20px auto 34px; }
.cta .btn-row { justify-content: center; }
.cta__gem { position: absolute; z-index: -1; width: 520px; height: 520px; opacity: .22; right: -140px; top: -160px; animation: spin 60s linear infinite; }
.cta__gem--2 { left: -180px; bottom: -220px; right: auto; top: auto; width: 440px; height: 440px; opacity: .12; animation-direction: reverse; }
.cta__facts { display: flex; justify-content: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 28px; font-size: .92rem; color: rgba(255,255,255,.66); }
.cta__facts li { display: inline-flex; gap: 8px; align-items: center; }
.cta__facts .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Page hero (internal) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 100px); }
.page-hero--dark { background: var(--ink); color: #fff; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: rgba(255,255,255,.72); }
.page-hero__inner { position: relative; z-index: 1; text-align: center; max-width: 900px; margin-inline: auto; }
.page-hero__inner > * + * { margin-top: 22px; }
.page-hero__inner .lead { margin-inline: auto; }
.page-hero__inner .btn-row { justify-content: center; margin-top: 32px; }
.page-hero__visual { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px); }
.page-hero__visual .shot { max-width: 1060px; margin-inline: auto; animation: shotIn 1.2s var(--ease) both .2s; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); }
.crumbs a:hover { color: var(--sapphire); }
.page-hero--dark .crumbs { color: rgba(255,255,255,.55); }
.page-hero--dark .crumbs a:hover { color: var(--gold); }
.crumbs .icon { width: 14px; height: 14px; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.hero-pills .icon { width: 16px; height: 16px; color: var(--sapphire); }
.page-hero--dark .hero-pills li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.page-hero--dark .hero-pills .icon { color: var(--gold); }

/* sub-nav for internal pages */
.subnav { position: sticky; top: var(--nav-h); transition: top .4s var(--ease); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body.nav-hidden .subnav { top: 0; }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.subnav a:hover { color: var(--ink); background: var(--mist); }
.subnav a.is-active { color: #fff; background: var(--ink); }

/* ---------- Content types (plataforma) ---------- */
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 18px; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.type:hover { transform: translateY(-4px); border-color: var(--sapphire-100); box-shadow: var(--shadow-md); }
.type .feature-ico { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }
.type small { display: block; font-size: .8rem; color: var(--sapphire); font-weight: 600; }
.type strong { display: block; font-weight: 650; color: var(--ink); margin-top: 2px; line-height: 1.3; }
.type p { font-size: .88rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---------- Interaction points demo ---------- */
.ipoint { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.ipoint__screen { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(47,75,255,.5), transparent 55%), radial-gradient(circle at 80% 80%, rgba(245,184,61,.25), transparent 50%), var(--ink-2); }
.ipoint__screen::after { content: ""; position: absolute; left: 8%; top: 14%; width: 46%; height: 12px; border-radius: 6px; background: rgba(255,255,255,.18); box-shadow: 0 26px 0 -2px rgba(255,255,255,.1), 0 50px 0 -2px rgba(255,255,255,.1); }
.ipoint__controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(transparent, rgba(0,0,0,.55)); display: flex; align-items: center; gap: 14px; color: #fff; }
.ipoint__controls .icon { width: 20px; height: 20px; fill: #fff; stroke: none; }
.ipoint__bar { flex: 1; height: 5px; background: rgba(255,255,255,.2); border-radius: 3px; position: relative; }
.ipoint__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); border-radius: 3px; width: 0; }
.ipoint__mark { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 3px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 3px rgba(255,255,255,.2); transition: background .3s, box-shadow .3s; }
.ipoint__mark.is-hit { background: var(--gold); box-shadow: 0 0 0 5px rgba(245,184,61,.35); }
.ipoint__time { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; opacity: .85; }
.ipoint__card {
  position: absolute; left: 50%; top: 45%; width: min(78%, 360px); translate: -50% -50%;
  background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: scale(.9) translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none;
}
.ipoint__card.is-on { opacity: 1; transform: none; }
.ipoint__card small { display: inline-flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 600; color: var(--sapphire); }
.ipoint__card small .icon { width: 14px; height: 14px; }
.ipoint__card p { font-weight: 600; color: var(--ink); margin: 6px 0 12px; font-size: .96rem; line-height: 1.35; }
.ipoint__opts { display: grid; gap: 6px; }
.ipoint__opts span { font-size: .84rem; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line); color: var(--ink); transition: all .3s; }
.ipoint__opts span.is-right { border-color: var(--mint); background: var(--mint-50); color: #0B7A5A; font-weight: 600; }
.ipoint__paused { position: absolute; top: 16px; right: 16px; font-size: .78rem; background: rgba(255,255,255,.14); color: #fff; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.ipoint__paused.is-on { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--mist); font-size: .88rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line); }
.section--dark .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }

/* ---------- Steps (real sequences only) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.step { position: relative; padding-top: 76px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--sapphire);
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.step.is-in::before { background: var(--sapphire); color: #fff; border-color: var(--sapphire); transform: rotate(-6deg); transition-delay: var(--d, 0ms); }
.step p { color: var(--muted); margin-top: 8px; }
.section--dark .step::before { background: var(--ink-2); border-color: rgba(255,255,255,.18); color: var(--gold); }
.section--dark .step.is-in::before { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.section--dark .steps::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 8px, transparent 8px 16px); }

.steps--vertical { grid-template-columns: 1fr; gap: 4px; margin-top: 40px; }
.steps--vertical::before { top: 30px; bottom: 30px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.steps--vertical .step { padding: 4px 0 18px 76px; min-height: 64px; }
.steps--vertical .step p { margin-top: 4px; }

/* ---------- Calendar mock (cronograma) ---------- */
.cal { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 20px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 650; }
.cal__head small { color: var(--muted); font-weight: 500; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__day { font-size: .72rem; color: var(--subtle); text-align: center; padding-bottom: 4px; }
.cal__cell { min-height: 64px; border-radius: 9px; background: var(--mist); padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.cal__cell.is-off { background: repeating-linear-gradient(-45deg, var(--mist) 0 5px, #fff 5px 10px); }
.cal__ev { font-size: .64rem; line-height: 1.2; padding: 4px 5px; border-radius: 5px; background: var(--sapphire); color: #fff; font-weight: 600; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .4s var(--ease), transform .45s var(--ease); }
.cal__ev--gold { background: var(--gold); color: var(--ink); }
.cal__ev--mint { background: var(--mint); }
.cal.is-in .cal__ev { opacity: 1; transform: none; }

/* ---------- Question types / a11y demo ---------- */
.qtypes { display: flex; flex-wrap: wrap; gap: 10px; }
.qtypes li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 550; font-size: .95rem; transition: transform .3s var(--ease), border-color .3s; }
.qtypes li:hover { transform: translateY(-3px); border-color: var(--sapphire); }
.qtypes .icon { color: var(--sapphire); width: 18px; height: 18px; }
.big-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 11vw, 9rem); letter-spacing: -.06em; line-height: .85; color: var(--sapphire); }

.a11y { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.a11y__demo { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.a11y__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: .88rem; font-weight: 600; flex-wrap: wrap; }
.a11y__toggle { display: inline-flex; align-items: center; gap: 10px; }
.a11y__toggle button[role="switch"] { width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .3s; }
.a11y__toggle button[role="switch"]::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.a11y__toggle button[aria-checked="true"] { background: var(--sapphire); }
.a11y__toggle button[aria-checked="true"]::after { transform: translateX(20px); }
.a11y__q { padding: 24px; transition: all .5s var(--ease); }
.a11y__q .q-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.a11y__q .q-text { font-size: 1rem; line-height: 1.55; color: var(--ink); transition: all .5s var(--ease); }
.a11y__q .q-text mark { background: transparent; color: inherit; transition: background .4s, padding .4s; border-radius: 4px; }
.a11y__q .q-opts { display: grid; gap: 8px; margin-top: 16px; }
.a11y__q .q-opts span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; transition: all .5s var(--ease); }
.a11y__q .q-listen { display: none; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--sapphire); }
.a11y__q .q-timer { color: var(--coral); font-weight: 600; }
.a11y__demo.is-adapted .a11y__q { background: #FFFDF6; }
.a11y__demo.is-adapted .q-text { font-size: 1.18rem; letter-spacing: .06em; word-spacing: .16em; line-height: 1.8; }
.a11y__demo.is-adapted .q-text mark { background: var(--gold-50); box-shadow: 0 0 0 3px var(--gold-50); font-weight: 700; }
.a11y__demo.is-adapted .q-opts span { font-size: 1.05rem; letter-spacing: .05em; border-width: 2px; border-color: var(--ink); }
.a11y__demo.is-adapted .q-listen { display: inline-flex; }
.a11y__demo.is-adapted .q-timer { color: var(--muted); }
.a11y__demo.is-adapted .q-timer::after { content: " · +50% de tempo"; color: var(--mint); }

/* ---------- AI agents ---------- */
.providers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.providers li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #fff; font-weight: 550; font-size: .94rem; }
.providers li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(20,176,131,.2); }
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: opacity .4s, filter .4s, border-color .3s, box-shadow .4s; }
.agent__top { display: flex; justify-content: space-between; align-items: center; }
.agent p { color: var(--muted); font-size: .95rem; }
.agent__status { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--mint); margin-top: auto; }
.agent__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 2s infinite; }
.agent.is-off { border-style: dashed; }
.agent.is-off .feature-ico, .agent.is-off h3, .agent.is-off p { opacity: .45; filter: grayscale(1); }
.agent.is-off .agent__status { color: var(--subtle); }
.agent.is-off .agent__status::before { animation: none; }
.agent:not(.is-off):hover { border-color: var(--sapphire-100); box-shadow: var(--shadow-md); }
.switch { width: 44px; height: 26px; border-radius: 999px; background: var(--sapphire); position: relative; transition: background .3s; flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transform: translateX(18px); transition: transform .35s var(--ease); }
.switch[aria-checked="false"] { background: var(--line-2); }
.switch[aria-checked="false"]::after { transform: none; }

.chat { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat__head strong { display: block; font-weight: 650; }
.chat__head small { color: var(--mint); font-size: .8rem; font-weight: 600; }
.chat__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 340px; background: linear-gradient(var(--mist), #fff); }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: .94rem; line-height: 1.5; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
.msg.is-on { opacity: 1; transform: none; }
.msg--me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg--ai { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.msg--ai .src { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .78rem; color: var(--sapphire); font-weight: 600; }
.msg--ai .src .icon { width: 14px; height: 14px; }
.msg .typing i { background: var(--subtle); }
.chat__input { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--subtle); font-size: .92rem; }
.chat__input span { flex: 1; }
.chat__send { width: 38px; height: 38px; border-radius: 11px; background: var(--sapphire); color: #fff; display: grid; place-items: center; }

.budget { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 26px; }
.budget__row { display: grid; grid-template-columns: 170px 1fr 60px; gap: 16px; align-items: center; padding: 12px 0; font-size: .92rem; }
.budget__row + .budget__row { border-top: 1px solid rgba(255,255,255,.08); }
.budget__row span:last-child { text-align: right; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.budget__track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.budget__track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--sapphire), #7B8CFF); width: 0; transition: width 1.4s var(--ease); }
.budget.is-in .budget__track i { width: var(--w); }
.budget__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.budget__total b { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.04em; color: #fff; }
.budget__total small { color: rgba(255,255,255,.6); }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roadmap li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px dashed var(--line-2); background: #fff; font-weight: 550; }
.roadmap li .icon { color: var(--gold-600); }

/* ---------- Gamification ---------- */
.game-hud { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 28px; position: relative; }
.hud__top { display: flex; align-items: center; gap: 16px; }
.hud__lvl { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; flex: none; transition: transform .5s var(--ease); }
.hud__lvl.is-up { animation: pop .7s var(--ease); }
.hud__xp { flex: 1; }
.hud__xp div { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.hud__xp div strong { color: var(--ink); }
.hud__track { height: 12px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.hud__track i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), #FFD27A); transition: width .9s var(--ease); }
.hud__badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.badge { aspect-ratio: 1; border-radius: 18px; background: var(--mist); display: grid; place-items: center; color: var(--subtle); position: relative; transition: all .5s var(--ease); }
.badge .icon { width: 30px; height: 30px; }
.badge.is-on { background: var(--gold-50); color: var(--gold-600); box-shadow: inset 0 0 0 2px var(--gold); }
.badge.is-new { animation: pop .7s var(--ease); }
.hud__rank { margin-top: 24px; display: grid; gap: 8px; }
.hud__rank li { display: grid; grid-template-columns: 28px 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--mist); font-size: .9rem; transition: transform .5s var(--ease); }
.hud__rank li.is-me { background: var(--sapphire-50); box-shadow: inset 0 0 0 1.5px var(--sapphire); font-weight: 600; }
.hud__rank b { font-family: var(--font-display); color: var(--subtle); }
.hud__rank .avatar { width: 32px; height: 32px; font-size: .75rem; }
.hud__rank span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.toast { position: absolute; right: -16px; top: -18px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: .86rem; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px) scale(.95); transition: all .45s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast .icon { color: var(--gold); }

/* ---------- Security / governance ---------- */
.shield-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.shield-grid > div { background: var(--ink); padding: 30px 28px; transition: background .3s; }
.shield-grid > div:hover { background: var(--ink-2); }
.shield-grid h3 { margin-top: 18px; }
.shield-grid p { color: rgba(255,255,255,.66); font-size: .95rem; margin-top: 8px; }

.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.reports li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 550; font-size: .94rem; }
.reports .icon { color: var(--sapphire); }
.reports li.is-ai { background: var(--ink); color: #fff; border-color: var(--ink); }
.reports li.is-ai .icon { color: var(--gold); }

/* ---------- Demo form ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form h2 { font-size: 1.6rem; }
.form > p { color: var(--muted); margin-top: 8px; margin-bottom: 26px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--sapphire); box-shadow: 0 0 0 4px var(--sapphire-50); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 8px; }
.form__note { font-size: .82rem; color: var(--subtle); margin-top: 14px; text-align: center; }
.form__ok { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--mint-50); color: #0B7A5A; font-weight: 600; font-size: .92rem; }
.form.is-sent .form__ok { display: block; animation: fadeUp .4s var(--ease); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 80px; padding-bottom: 32px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; position: relative; z-index: 1; }
.footer .brand { color: #fff; }
.footer__about p { margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; font-size: .94rem; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .25s, transform .3s var(--ease), color .25s; }
.social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; position: relative; z-index: 1; }
.footer__word { position: absolute; left: 50%; bottom: -0.28em; translate: -50% 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 26vw, 22rem); letter-spacing: -.07em; line-height: 1; color: rgba(255,255,255,.035); pointer-events: none; white-space: nowrap; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal--left { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal--zoom { transform: scale(.94); }
.reveal.is-in { opacity: 1; transform: none; }
/* conteúdo acima da dobra anima no carregamento, sem depender do scroll */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: revealIn .9s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
.hero .reveal--right, .page-hero .reveal--right { animation-name: revealRight; }
.hero .reveal--zoom, .page-hero .reveal--zoom { animation-name: revealZoom; }

@keyframes revealIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes revealRight { from { opacity: 0; transform: translateX(36px); } }
@keyframes revealZoom { from { opacity: 0; transform: scale(.94); } }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes shotIn { from { opacity: 0; transform: perspective(1600px) rotateY(-14deg) rotateX(8deg) translateY(40px); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes ringFill { to { stroke-dashoffset: 36; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -24px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .drop--wide { width: 640px; grid-template-columns: 1fr 1fr; }
  .drop__feature { display: none; }
  .types { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: var(--menu-top, var(--nav-h)) 0 0 0; border-top: 1px solid var(--line); background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px var(--gutter) 32px; overflow-y: auto; gap: 16px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; flex: none; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
  .drop, .drop--wide { position: static; width: auto; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; grid-template-columns: 1fr; }
  .nav__item.is-open .drop { display: grid; }
  .nav__cta { flex-direction: column; align-items: stretch; }
  .nav__cta .btn { width: 100%; }
  .hero__grid, .split, .tour, .faq, .demo, .a11y, .seg-panel { grid-template-columns: minmax(0, 1fr); }
  .tour__stage, .hero__copy, .hero__visual { min-width: 0; }
  .hero h1 { animation: revealIn .9s var(--ease) both .1s; }
  .hero h1 .line, .hero h1 .line > span { display: inline; transform: none; animation: none; }
  .split--reverse > :first-child { order: 0; }
  .hero__visual { margin-top: 24px; }
  .hero__visual .shot { transform: none; }
  .chip--tutor { left: -6px; bottom: -40px; }
  .chip--streak { right: -6px; }
  .chip--grade { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .tour__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .tour__tab { flex: none; padding: 12px 16px; }
  .tour__tab p { display: none; }
  .chapters, .grid--3, .agents, .roadmap, .shield-grid, .plans, .testimonials { grid-template-columns: 1fr; }
  .quote--featured { grid-row: auto; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .faq__aside { position: static; }
  .section-head--split { flex-direction: column; align-items: start; }
  .plan--featured { order: -1; }
  .rows { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .announce { font-size: .8rem; }
  .announce .hide-sm { display: none; }
  .pillars, .grid--2, .grid--4, .steps { grid-template-columns: 1fr; }
  .steps:not(.steps--vertical)::before { display: none; }
  .types { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .segment { display: flex; width: 100%; border-radius: 18px; }
  .segment__thumb { border-radius: 14px; }
  .segment button { flex: 1; padding: 8px 6px; font-size: .8rem; line-height: 1.25; white-space: normal; border-radius: 14px; }
  .hero__badge { font-size: .82rem; max-width: 100%; }
  .hero__badge b { white-space: nowrap; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer ul a { overflow-wrap: anywhere; }
  .hero__badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .btn-row .btn { flex: 1 1 100%; }
  .chip--tutor { width: 230px; }
  .chip--streak { top: -16px; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 620px; }
  .compare th, .compare td { padding: 14px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .budget__row { grid-template-columns: 1fr 50px; }
  .budget__row .budget__track { grid-column: 1 / -1; grid-row: 2; }
  .hud__badges { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .faq__answer { padding-right: 0; }
  .shot__bar { height: 32px; }
  .shot__url { display: none; }
  .cal__cell { min-height: 48px; }
  .cal__ev { font-size: .56rem; padding: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .chip { opacity: 1; }
  .marquee__track { animation: none; }
}
