@layer reset, tokens, base, components, sections, utilities;

/* Fontes da página, servidas daqui mesmo (licenças OFL em assets/fonts). */
@font-face {
  font-family: "Inter";
  src: local("Inter"), url("assets/fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
  ul[class], ol[class] { list-style: none; }
  img, video, svg, picture { display: block; max-width: 100%; }
  button, input { font: inherit; color: inherit; }
  button { cursor: pointer; }
  a { color: inherit; }
  table { border-collapse: collapse; }
}

@layer tokens {
  :root {
    /* Preto, brancos com opacidade e o coral da marca como única cor. */
    --bg: #000000;
    --surface: #0b0b0c;
    --surface-2: #111113;
    --surface-3: #18181b;
    --surface-hover: #1f1f23;
    --text: #f7f7f8;
    --text-2: rgb(255 255 255 / .68);
    --muted: rgb(255 255 255 / .52);
    --border: rgb(255 255 255 / .1);
    --border-strong: rgb(255 255 255 / .18);
    --focus: #ffffff;
    --brand: #fa7857;
    --brand-hover: #ef6745;
    --brand-soft: rgb(250 120 87 / .14);
    --on-brand: #111214;
    --light: #ececee;
    --light-hover: #ffffff;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --gutter: clamp(20px, 4vw, 32px);
    --header-h: 64px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    color-scheme: dark;
  }
}

@layer base {
  html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 24px);
    interpolate-size: allow-keywords;
    background: var(--bg);
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; }
  h2 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.1; }
  h3 { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
  p, li, td, th, dd { text-wrap: pretty; }
  strong { font-weight: 600; }
  sup { line-height: 0; }

  :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: rgb(250 120 87 / .4); }

  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }
}

@layer components {
  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

  .container { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }

  .icon {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .icon-fill { fill: currentColor; stroke: none; }

  .skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--light);
    color: #111214;
    font-weight: 600;
    text-decoration: none;
  }
  .skip-link:focus-visible { top: 12px; }

  .eyebrow {
    margin-bottom: 14px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  /* Botões: pequenos, discretos e com o coral só na ação principal. */
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, scale .12s ease;
  }
  .button:active { scale: .98; }
  .button .icon { width: 15px; height: 15px; }
  .button-small { min-height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
  .button-large { min-height: 48px; padding: 0 22px; border-radius: 10px; font-size: 15px; }
  .button-block { width: 100%; }
  .button-meta { color: var(--muted); font-weight: 400; font-family: var(--font-mono); font-size: 12px; }
  .button-primary { background: var(--brand); color: var(--on-brand); font-weight: 600; }
  .button-secondary { background: rgb(255 255 255 / .03); border-color: var(--border-strong); color: var(--text); }
  .button-quiet { background: rgb(255 255 255 / .07); border-color: var(--border); color: var(--text); }
  .button-light { background: var(--light); color: #111214; font-weight: 600; }

  .link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    border: 0;
    background: none;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s ease;
  }
  .link-button .icon { width: 14px; height: 14px; transition: translate .25s var(--ease); }

  .text-link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

  @media (hover: hover) {
    .button-primary:hover { background: var(--brand-hover); }
    .button-secondary:hover, .button-quiet:hover { background: var(--surface-hover); border-color: var(--border-strong); }
    .button-light:hover { background: var(--light-hover); }
    .link-button:hover { color: var(--text); }
    .link-button:hover .icon { translate: 2px 0; }
    .text-link:hover { text-decoration-thickness: 2px; }
  }

  .icon-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-2);
    transition: background-color .2s ease;
  }
  @media (hover: hover) { .icon-button:hover { background: var(--surface-hover); } }

  /* Cabeçalho de seção: rótulo, título e texto à esquerda, ação alinhada à direita. */
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px 48px;
    margin-bottom: clamp(40px, 5vw, 64px);
  }
  .section-head-main { max-width: 720px; }
  .section-head .lead { margin-top: 16px; }
  .section-action { justify-self: end; }
  .section-head-center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .section-head-center .section-head-main { max-width: 760px; }
  .section-head-center .lead { margin-inline: auto; }

  .lead { max-width: 62ch; color: var(--text-2); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; }

  .media-note { margin-top: 20px; color: var(--muted); font-size: 12px; text-align: center; }
  .fine-print { margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }

  .media-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
  }
  .media-video, .media-image { width: 100%; height: 100%; object-fit: cover; }
  .media-image { object-position: top center; }

  /* Janela do app, no lugar do editor que o pryzm mostra */
  .studio {
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 40px 120px -50px rgb(250 120 87 / .3), 0 30px 80px -30px #000;
  }
  .studio-bar { position: relative; display: flex; align-items: center; height: 36px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
  .studio-dots { display: flex; gap: 7px; padding-left: 14px; }
  .studio-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
  .studio-title { position: absolute; left: 50%; display: flex; align-items: center; gap: 7px; translate: -50% 0; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
  .studio-symbol { width: 14px; height: 14px; flex: none; }
  .studio img { width: 100%; height: auto; }

  /* Celular: a moldura acompanha a largura do próprio aparelho (cqi). */
  .phone { container-type: inline-size; }
  .phone picture {
    padding: 3.6cqi;
    border-radius: 16.6cqi;
    background: #050505;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .16), inset 0 0 0 1px rgb(255 255 255 / .06), 0 30px 70px #000000d0;
  }
  .phone img { width: 100%; height: auto; border-radius: 13cqi; }

  /* Controle segmentado em cápsula */
  .segmented {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgb(255 255 255 / .04);
  }
  .segmented button {
    min-height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    transition: background-color .2s ease, color .2s ease;
  }
  .segmented button[aria-pressed="true"] { background: var(--light); color: #111214; }
  @media (hover: hover) { .segmented button[aria-pressed="false"]:hover { color: var(--text); } }

  /* Legenda técnica em fonte monoespaçada, como nos ladrilhos do pryzm */
  .mono-caption { display: grid; gap: 1px; font-family: var(--font-mono); letter-spacing: -0.02em; }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .footnote-ref, .footnote-back { color: var(--text-2); font-size: 12px; font-weight: 600; text-decoration: none; }
  .footnote-ref { margin-left: 2px; }

  /* Entrada com desfoque: o conteúdo chega nítido conforme entra na tela. */
  @media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
      opacity: 0;
      filter: blur(10px);
      translate: 0 18px;
      transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), translate .9s var(--ease-out);
      transition-delay: var(--delay, 0s);
    }
    .js [data-reveal].is-visible { opacity: 1; filter: blur(0); translate: 0 0; }

    .js [data-intro] { opacity: 0; filter: blur(12px); translate: 0 14px; animation: intro 1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 350ms); }
    @keyframes intro { to { opacity: 1; filter: blur(0); translate: 0 0; } }
  }
}

@layer sections {
  /* Cabeçalho flutuante, com o conteúdo se desfocando por baixo */
  .site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
  .header-start { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
  .brand { display: inline-flex; color: var(--text); border-radius: 8px; }
  .brand-logo { width: auto; height: 26px; color: var(--text); }
  .site-nav { display: flex; gap: 2px; }
  .site-nav a {
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
  }
  .site-nav a[aria-current="true"] { color: var(--text); }
  @media (hover: hover) { .site-nav a:hover { color: var(--text); } }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .header-veil {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: calc(var(--header-h) + 40px);
    pointer-events: none;
    background: linear-gradient(#000 0%, rgb(0 0 0 / .78) 40%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(#000 45%, transparent);
    mask-image: linear-gradient(#000 45%, transparent);
  }

  /* Hero: telas do app flutuando, título e ações no pé da primeira dobra */
  /* O campo ocupa o que sobra da primeira dobra acima do texto e se apaga no pé. */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: min(max(100svh, 760px), 1040px);
    padding-bottom: clamp(48px, 7vh, 80px);
  }
  .hero-field {
    --s: 1;
    --top: calc(var(--header-h) + 12px);
    position: relative;
    flex: 1 0 460px;
    margin-bottom: -72px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 50%, rgb(0 0 0 / .3) 76%, transparent 92%);
    mask-image: linear-gradient(#000 50%, rgb(0 0 0 / .3) 76%, transparent 92%);
  }
  .tile {
    position: absolute;
    left: calc(50% + var(--x) * var(--s) * 1px);
    top: calc(var(--top) + var(--y) * var(--s) * 1px);
    width: calc(var(--w) * var(--s) * 1px);
    translate: calc(var(--px, 0) * var(--z) * 1px) calc(var(--py, 0) * var(--z) * 1px);
  }
  .tile picture { overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 24px 60px -20px #000; }
  .tile img { width: 100%; height: auto; }
  .tile figcaption { display: grid; gap: 1px; margin-top: 8px; font-family: var(--font-mono); letter-spacing: -0.02em; line-height: 1.45; }
  .tile figcaption span:first-child { color: rgb(255 255 255 / .9); font-size: 11px; font-weight: 500; }
  .tile figcaption span:last-child { color: rgb(255 255 255 / .55); font-size: 10px; }

  .hero-copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 424px); align-items: end; gap: 32px 44px; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 5px 12px 5px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgb(255 255 255 / .04);
    color: var(--text-2);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
  }
  .hero-badge .icon { width: 14px; height: 14px; }
  .hero-badge .icon:last-child { color: var(--muted); }
  @media (hover: hover) { .hero-badge:hover { color: var(--text); border-color: rgb(255 255 255 / .3); } }
  .hero-title { font-size: clamp(34px, 3.3vw, 47px); line-height: 1.06; letter-spacing: -0.024em; }
  .hero-line { display: block; }
  .hero-accent { color: var(--brand); }
  .hero-line[data-variant-text="b"] { display: none; }
  html[data-variant="b"] .hero-line[data-variant-text="a"] { display: none; }
  html[data-variant="b"] .hero-line[data-variant-text="b"] { display: block; }
  .hero-lead { color: var(--text-2); font-size: 16px; line-height: 1.6; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .hero-terms { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
  .hero-terms li { display: inline-flex; align-items: center; gap: 6px; }
  .hero-terms .icon { width: 14px; height: 14px; color: var(--brand); stroke-width: 2.25; }
  .hero-badge { --i: 0; }
  .hero-line:not(.hero-accent) { --i: 1; }
  .hero-accent { --i: 2; }
  .hero-lead { --i: 3; }
  .hero-actions { --i: 4; }
  .hero-terms { --i: 5; }

  @media (prefers-reduced-motion: no-preference) {
    .js .tile { animation: tile-in 1.3s var(--ease-out) both; animation-delay: calc(var(--i) * 55ms + 80ms); }
    @keyframes tile-in { from { opacity: 0; filter: blur(16px); scale: .94; } }
  }
  @media (hover: hover) {
    .tile picture { transition: box-shadow .3s ease; }
    .tile:hover picture { box-shadow: 0 0 0 1px rgb(255 255 255 / .28), 0 24px 60px -20px #000; }
  }

  /* Vitrine: a tela Hoje acende e fica nítida ao entrar */
  .showcase { position: relative; padding-top: clamp(16px, 3vw, 40px); }
  .showcase-stage { position: relative; padding-bottom: 5%; }
  .showcase-stage::before {
    content: "";
    position: absolute;
    inset: 10% 8% 0;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(250 120 87 / .22), transparent);
    filter: blur(40px);
  }
  .showcase-phone { position: absolute; right: -3%; bottom: 0; z-index: 2; width: 22%; max-width: 250px; }
  .float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: rgb(17 17 19 / .94);
    box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 24px 60px -16px #000;
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
  }
  .float-bank { left: -4%; top: 16%; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; }
  .float-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
  .float-text { display: flex; flex-direction: column; }
  .float-text span { color: var(--text-2); font-size: 13px; }
  .float-chat { left: 3%; bottom: 9%; flex-direction: column; gap: 10px; width: 300px; padding: 14px 16px 16px; }
  .float-head { display: flex; align-items: center; gap: 7px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: -0.02em; }
  .float-head .icon { width: 14px; height: 14px; }
  .float-q { align-self: flex-end; max-width: 92%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: rgb(255 255 255 / .08); }
  .float-a { color: var(--text); }
  .showcase-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; margin-top: 22px; color: var(--muted); font-size: 13px; }

  @media (prefers-reduced-motion: no-preference) {
    .js .studio {
      opacity: calc(.35 + var(--p, 1) * .65);
      filter: brightness(calc(.5 + var(--p, 1) * .5)) blur(calc((1 - var(--p, 1)) * 4px));
      scale: calc(.955 + var(--p, 1) * .045);
    }
    .js .showcase .float-card, .js .showcase-phone { opacity: calc(var(--p, 1) * 1.6 - .6); translate: 0 calc((1 - var(--p, 1)) * 40px); }
  }

  /* Integrações */
  .works { padding-top: clamp(72px, 9vw, 120px); }
  .works-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .works-title { margin: 0; }
  .works-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 44px; }
  .works-list li { color: rgb(255 255 255 / .55); font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 23px); font-weight: 500; letter-spacing: -0.02em; }

  /* Seções */
  .section { padding-top: clamp(104px, 12vw, 168px); }

  /* Por que */
  .pillars-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
  .pillars-list li { padding: 28px 32px 4px 0; }
  .pillars-list li + li { padding-left: 32px; border-left: 1px solid var(--border); }
  .pillar-icon { width: 22px; height: 22px; margin-bottom: 18px; color: var(--brand); }
  .pillars-list p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

  .price-contrast {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    margin-top: clamp(44px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: radial-gradient(70% 140% at 0% 50%, rgb(250 120 87 / .14), transparent 70%), var(--surface);
  }
  .pc-item { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(24px, 3vw, 36px); }
  .pc-item + .pc-item { border-left: 1px solid var(--border); }
  .pc-label { color: var(--muted); font-size: 13px; }
  .pc-value { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--text-2); }
  .pc-avvi .pc-value { color: var(--brand); font-size: clamp(44px, 5vw, 64px); }
  .pc-range span { margin-inline: .12em; color: var(--muted); font-size: .5em; font-weight: 500; letter-spacing: 0; }

  /* Quem criou e os problemas resolvidos */
  .story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .story-quote { padding: clamp(26px, 3.5vw, 40px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .story-quote blockquote p { color: var(--text); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; letter-spacing: -0.01em; }
  .story-quote blockquote p::before { content: "\201C"; display: block; height: .4em; margin-bottom: 18px; color: var(--brand); font-family: var(--font-display); font-size: 72px; font-weight: 600; line-height: 1; }
  .story-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; }
  .story-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
  .story-quote figcaption strong { display: block; color: var(--text); font-size: 15px; }
  .story-quote figcaption span span { color: var(--muted); }
  .story-list li { padding: 22px 0; border-top: 1px solid var(--border); }
  .story-list li:first-child { padding-top: 4px; border-top: 0; }
  .story-list p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
  .story-list p strong { color: var(--text); font-weight: 600; }

  /* Demonstração */
  .demo-steps { counter-reset: step; }
  .demo-step { counter-increment: step; }
  .demo-step + .demo-step { margin-top: 64px; }
  .demo-copy h3 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
  .demo-copy h3::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--brand); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0; }
  .demo-copy p { max-width: 46ch; margin-top: 12px; color: var(--text-2); font-size: 16px; }
  .demo-media { margin-top: 24px; }
  .decision-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; color: var(--text-2); font-size: 14px; }
  .decision-points li { display: inline-flex; align-items: center; gap: 7px; }
  .decision-points .icon { width: 15px; height: 15px; color: var(--brand); stroke-width: 2.25; }
  /* Os clipes regravados ocupam o formato da janela do app, sem moldura (1920 × 1250). */
  .demo .media-frame { aspect-ratio: 1920 / 1250; }
  .demo-stage-column { display: none; }

  .demo-layout.is-staged { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: clamp(40px, 5vw, 80px); }
  .is-staged .demo-steps { padding-block: 6vh 22vh; }
  .is-staged .demo-step { display: flex; align-items: center; min-height: 68vh; margin: 0; }
  .is-staged .demo-copy :is(h3, p) { color: rgb(255 255 255 / .3); transition: color .45s ease; }
  .is-staged .demo-copy h3::before { color: rgb(255 255 255 / .3); transition: color .45s ease; }
  .is-staged .demo-step.is-active .demo-copy h3 { color: var(--text); }
  .is-staged .demo-step.is-active .demo-copy h3::before { color: var(--brand); }
  .is-staged .demo-step.is-active .demo-copy p { color: var(--text-2); }
  .is-staged .demo-stage-column { display: block; }
  .demo-stage-sticky { position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - 210px)); }
  .demo-stage { border-color: var(--border-strong); box-shadow: 0 40px 120px -50px rgb(250 120 87 / .28), 0 30px 80px -30px #000; }
  .demo-stage > .demo-media { position: absolute; inset: 0; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; opacity: 0; scale: 1.02; filter: blur(8px); transition: opacity .55s ease, scale .8s var(--ease), filter .55s ease; }
  .demo-stage > .demo-media.is-active { opacity: 1; scale: 1; filter: blur(0); }
  .demo-progress { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .demo-progress i { width: 24px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .14); transition: background-color .3s ease, width .3s var(--ease); }
  .demo-progress i.is-active { width: 40px; background: var(--brand); }

  /* Operações em lote */
  .scale-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
  .scale-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 32px; }
  .scale-list .icon { width: 20px; height: 20px; margin-bottom: 14px; color: var(--brand); }
  .scale-list h3 { font-size: 16px; }
  .scale-list p { margin-top: 6px; color: var(--text-2); font-size: 15px; }

  .batch-demo figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }
  .batch-window { overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 40px 120px -50px rgb(250 120 87 / .25), 0 30px 80px -30px #000; }
  .batch-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); color: var(--text-2); font-size: 13px; }
  .batch-top .studio-symbol { width: 18px; height: 18px; }
  .batch-top strong { color: var(--text); font-weight: 600; }
  .batch-model { margin-left: auto; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
  .batch-thread { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 24px; }
  .batch-file { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--text-2); font-family: var(--font-mono); font-size: 12px; }
  .batch-file .icon { width: 14px; height: 14px; }
  .batch-review { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
  .batch-review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
  .batch-review-head span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
  .batch-rows li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.35; }
  .batch-rows small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
  .batch-rows strong { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .batch-more { padding: 10px 14px; color: var(--muted); font-size: 13px; }
  .batch-actions { display: flex; justify-content: flex-end; padding: 2px 14px 14px; }
  .mock-button { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 8px; background: var(--brand); color: var(--on-brand); font-size: 13px; font-weight: 600; }

  /* Conversas ilustradas (lote, ChatGPT e Claude) */
  .msg { max-width: 88%; color: var(--text); font-size: 15px; line-height: 1.5; }
  .msg p + p { margin-top: 8px; }
  .msg-user { align-self: flex-end; padding: 9px 14px; border-radius: 16px 16px 5px 16px; background: rgb(255 255 255 / .08); }
  .msg-ai { align-self: flex-start; }
  .msg-tool {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    padding: 5px 11px 5px 9px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: -0.02em;
  }
  .msg-tool .icon { width: 14px; height: 14px; }
  /* Enquanto a resposta "digita", o espaço da mensagem fica reservado e só os pontos aparecem. */
  .msg.is-typing { position: relative; }
  .msg.is-typing > * { visibility: hidden; }
  .msg.is-typing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 32px;
    border-radius: 16px;
    background: rgb(255 255 255 / .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 6'%3E%3Cg fill='%23ffffff' fill-opacity='.55'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='3' r='3'/%3E%3Ccircle cx='23' cy='3' r='3'/%3E%3C/g%3E%3C/svg%3E") center / 24px no-repeat;
  }
  @media (prefers-reduced-motion: no-preference) {
    .js [data-chat] [data-chat-step] { opacity: 0; translate: 0 10px; filter: blur(6px); transition: opacity .45s ease, translate .45s var(--ease), filter .45s ease; }
    .js [data-chat] [data-chat-step].is-shown { opacity: 1; translate: 0 0; filter: blur(0); }
    .msg.is-typing::before { animation: typing 1s ease-in-out infinite; }
    @keyframes typing { 50% { opacity: .55; } }
  }

  /* Assistente */
  .ai-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .ai-media figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; }
  .ai-points li + li { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
  .ai-points p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
  .ai-record { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 104px); }
  .ai-record-copy h3 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
  .ai-quote { margin-top: 16px; color: var(--text); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; letter-spacing: -0.01em; }
  .ai-record-copy p:last-child { margin-top: 14px; color: var(--text-2); font-size: 15px; }
  .ai-privacy { max-width: 76ch; margin-top: 44px; color: var(--muted); font-size: 13px; }

  /* ChatGPT e Claude */
  .chatgpt-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
  .chatgpt-copy .section-head { margin-bottom: 32px; }
  .check-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
  .check-list .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--brand); }
  .check-list h3 { font-size: 16px; }
  .check-list p { margin-top: 4px; color: var(--text-2); font-size: 15px; }
  .chatgpt-note { margin-top: clamp(40px, 5vw, 56px); }

  .chat-tabs { margin-bottom: 14px; }
  /* Os dois exemplos ocupam o mesmo lugar: a janela fica com a altura do maior e não pula ao trocar. */
  .js .chat-slides { display: grid; }
  .js .chat-slide { grid-area: 1 / 1; transition: opacity .35s ease, visibility .35s, filter .35s ease; }
  .js .chat-slide:not(.is-current) { visibility: hidden; opacity: 0; filter: blur(6px); }
  .chat-slide + .chat-slide { border-top: 1px solid var(--border); }
  .js .chat-slide + .chat-slide { border-top: 0; }
  .chat-window { overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 40px 120px -50px rgb(250 120 87 / .25), 0 30px 80px -30px #000; }
  .chat-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); color: var(--muted); font-size: 13px; }
  .chat-dots { display: flex; gap: 6px; }
  .chat-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .16); }
  .chat-app { color: var(--text); font-weight: 600; }
  .chat-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-family: var(--font-mono); font-size: 11px; }
  .chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
  .chat-thread { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 26px; }
  .chat-files { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-bottom: 8px; }
  .chat-file { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-family: var(--font-mono); font-size: 11px; }
  .chat-file .icon { width: 13px; height: 13px; }
  .chat-preview, .chat-diffs { margin: 10px 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
  .chat-preview div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 13px; font-size: 14px; }
  .chat-preview div + div, .chat-diffs li + li { border-top: 1px solid var(--border); }
  .chat-preview dt { color: var(--text-2); }
  .chat-preview dd { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
  .chat-diffs li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 13px; font-size: 13px; line-height: 1.4; }
  .chat-diffs span { display: flex; flex-direction: column; color: var(--text-2); }
  .chat-diffs strong { color: var(--text); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
  .chat-diffs em { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: #ff9c82; font-size: 12px; font-style: normal; font-weight: 500; }
  .chat-demo figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }

  /* Open Finance */
  .of-media { position: relative; margin-bottom: clamp(44px, 5.5vw, 64px); }
  /* A conta automática em foco: o resto da tela escurece em volta do contorno coral. */
  .of-shot { position: relative; overflow: hidden; }
  .of-focus {
    position: absolute;
    left: 17.6%;
    top: 22.6%;
    width: 44%;
    height: 72.2%;
    border: 1.5px solid rgb(250 120 87 / .85);
    border-radius: 12px;
    box-shadow: 0 0 0 100vmax rgb(0 0 0 / .5), 0 0 40px rgb(250 120 87 / .25);
    pointer-events: none;
  }
  .float-sync { left: 63%; top: 31%; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; }
  .of-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .of-facts .icon, .facts .icon { width: 20px; height: 20px; margin-bottom: 14px; color: var(--brand); }
  .of-facts h3, .facts h3 { font-size: 16px; }
  .of-facts p, .facts p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
  .openfinance .fine-print { margin-top: 32px; }

  /* Onde ficam os dados: grafo de conexões sobre uma grade de pontos */
  .graph { position: relative; margin-bottom: clamp(56px, 7vw, 96px); }
  .graph::before {
    content: "";
    position: absolute;
    inset: -48px 0;
    pointer-events: none;
    background-image: radial-gradient(rgb(255 255 255 / .16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 30%, transparent 80%);
  }
  .graph-canvas { position: relative; aspect-ratio: 1000 / 560; }
  .graph-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .edge { fill: none; stroke: rgb(255 255 255 / .42); stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
  .edge-cut { stroke: rgb(255 255 255 / .22); stroke-dasharray: 2 5; }
  .node {
    position: absolute;
    left: calc(var(--x) / 10 * 1%);
    top: calc(var(--y) / 5.6 * 1%);
    width: calc(var(--w) / 10 * 1%);
    translate: 0 -50%;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 1px 0 rgb(255 255 255 / .05) inset, 0 16px 40px -16px #000;
  }
  .node-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
  .node-name { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
  .node-name .icon { width: 15px; height: 15px; color: var(--text-2); }
  .node-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
  .node-tag .icon { width: 11px; height: 11px; }
  .node p { padding: 9px 12px 11px; color: var(--text-2); font-size: 13px; line-height: 1.45; }
  .node-avvi { border-color: rgb(250 120 87 / .5); box-shadow: 0 0 0 1px rgb(250 120 87 / .12), 0 40px 100px -40px rgb(250 120 87 / .45), 0 16px 40px -16px #000; }
  .node-avvi .node-tag { color: rgb(250 120 87 / .9); }
  .node-preview { display: block; height: clamp(110px, 13vw, 156px); margin: 10px 10px 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; }
  .node-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
  .node-vendor { border-style: dashed; border-color: rgb(255 255 255 / .2); background: rgb(0 0 0 / .7); box-shadow: none; }
  .node-vendor .studio-symbol { opacity: .5; }
  .port { position: absolute; top: 50%; width: 14px; height: 14px; translate: -50% -50%; border: 1.5px solid rgb(255 255 255 / .75); border-radius: 50%; background: #000; }
  .port::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: rgb(255 255 255 / .85); }
  .port-out { left: 100%; }
  .port-in { left: 0; border-color: var(--brand); }
  .port-in::after { background: var(--brand); }
  .edge-x {
    position: absolute;
    left: calc(var(--x) / 10 * 1%);
    top: calc(var(--y) / 5.6 * 1%);
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    translate: -50% -50%;
    border: 1px solid rgb(255 255 255 / .25);
    border-radius: 50%;
    background: #000;
    color: var(--muted);
  }
  .edge-x .icon { width: 11px; height: 11px; stroke-width: 2.25; }

  @media (prefers-reduced-motion: no-preference) {
    .js .graph :is(.node, .edge-x) { opacity: 0; filter: blur(10px); transition: opacity .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: calc(var(--i, 6) * 110ms); }
    .js .graph .edge { opacity: 0; transition: opacity .8s ease calc(var(--i, 4) * 110ms + .5s); }
    .js .graph.is-drawn :is(.node, .edge-x) { opacity: 1; filter: blur(0); }
    .js .graph.is-drawn .edge { opacity: 1; }
    .graph.is-live .edge:not(.edge-cut) { animation: edge-flow 1.1s linear infinite; }
    @keyframes edge-flow { to { stroke-dashoffset: -12; } }
  }

  .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }

  /* Funções: galeria de cartões, como a vitrine do pryzm */
  .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 8px 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    transition: border-color .25s ease;
  }
  .card-media {
    position: relative;
    aspect-ratio: 4 / 3.2;
    overflow: hidden;
    padding: 16px 16px 0;
    border-radius: 10px;
    background: radial-gradient(90% 80% at 50% 0%, rgb(250 120 87 / .2), transparent 70%), var(--surface-3);
  }
  .card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(85% 90% at 50% 105%, rgb(250 120 87 / .3), transparent 70%);
    opacity: 0;
    transition: opacity .35s ease;
  }
  /* O painel do app ocupa a largura, ancorado no alto, e se apaga na base do quadro. */
  .card-panel {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 20px 40px -12px #000;
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
    mask-image: linear-gradient(#000 72%, transparent);
  }
  .card-panel img { width: 100%; height: auto; }
  .card-body { display: flex; flex: 1; flex-direction: column; padding: 14px 8px 0; }
  .card-body h3 { font-size: 15px; }
  .card-body p { margin-top: 4px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
  .tags li { padding: 2px 9px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-2); font-size: 12px; line-height: 1.5; }
  .card-cta {
    justify-content: flex-end;
    gap: 6px;
    min-height: 100%;
    padding: 24px;
    border-color: transparent;
    background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / .22), transparent 60%), var(--brand);
    color: var(--on-brand);
    text-decoration: none;
  }
  .card-cta-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: -0.02em; }
  .card-cta-price { font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
  .card-cta-text { font-size: 15px; font-weight: 500; }
  .card-cta-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; }
  .card-cta-link .icon { width: 15px; height: 15px; transition: translate .25s var(--ease); }
  @media (hover: hover) {
    .card:hover { border-color: var(--border-strong); }
    .card:hover .card-media::before { opacity: 1; }
    .card-cta:hover { border-color: transparent; background-color: var(--brand-hover); }
    .card-cta:hover .card-cta-link .icon { translate: 3px 0; }
  }

  .feature-groups { columns: 3 260px; column-gap: 40px; margin-top: clamp(64px, 8vw, 96px); }
  .feature-group { margin-bottom: 40px; break-inside: avoid; }
  .feature-group ul { list-style: none; }
  .feature-group h3 { padding-bottom: 10px; border-bottom: 1px solid var(--border-strong); color: var(--text); font-size: 15px; }
  .feature-group li { padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 15px; line-height: 1.45; }

  /* Celular: as composições em cartões arredondados, com legenda técnica */
  .mobile-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "coral coral" "portrait wide"; gap: 16px; }
  .shot { display: flex; flex-direction: column; }
  .shot picture { flex: 1; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #0e0f11; }
  .shot img { width: 100%; height: 100%; object-fit: cover; }
  .shot figcaption { display: grid; gap: 1px; margin-top: 10px; font-family: var(--font-mono); letter-spacing: -0.02em; line-height: 1.45; }
  .shot figcaption span:first-child { color: rgb(255 255 255 / .9); font-size: 12px; font-weight: 500; }
  .shot figcaption span:last-child { color: var(--muted); font-size: 11px; }
  .shot-coral { grid-area: coral; }
  .shot-coral picture { border-color: transparent; background: var(--brand); }
  .shot-portrait { grid-area: portrait; }
  .shot-wide { grid-area: wide; }

  /* Comparativo */
  .compare-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-bottom: 24px; }
  .compare-focus { display: none; }
  .compare-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .compare-table { width: 100%; min-width: 900px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
  .compare-table th, .compare-table td { padding: 18px 20px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.45; }
  .compare-table thead th { padding-top: 22px; border-top: 0; color: var(--text); font-size: 15px; font-weight: 600; }
  .compare-table thead th:first-child { width: 17%; }
  .compare-table thead th.is-avvi { width: 21%; }
  .compare-table small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 400; }
  .compare-table tbody th { color: var(--muted); font-weight: 500; }
  .compare-table td { color: var(--text-2); }
  .compare-table td strong { color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums; }
  .compare-total td strong { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -0.02em; }
  .compare-table .is-avvi { border-top-color: rgb(250 120 87 / .16); background: rgb(250 120 87 / .07); color: var(--text); }
  .compare-table .is-avvi strong { color: var(--text); }
  .compare-total .is-avvi strong { color: var(--brand); }
  .compare-brand { display: inline-flex; align-items: center; gap: 8px; }
  .compare-symbol { width: 18px; height: 18px; }
  .compare-note { max-width: 100ch; }
  @media (prefers-reduced-motion: no-preference) {
    .compare-table .is-updated { animation: value-in .45s var(--ease); }
    @keyframes value-in { from { opacity: 0; filter: blur(4px); translate: 0 6px; } }
  }

  /* Como funciona */
  .flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .flow li { position: relative; padding-top: 52px; }
  .flow-number {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--brand);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
  }
  .flow li:not(:last-child)::before { content: ""; position: absolute; top: 14px; left: 52px; right: -12px; border-top: 1.5px dashed rgb(255 255 255 / .22); transform-origin: 0 50%; }
  .flow p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
  @media (prefers-reduced-motion: no-preference) {
    .js .flow li:not(:last-child)::before { scale: 0 1; transition: scale .9s var(--ease-out) .3s; }
    .js .flow li.is-visible:not(:last-child)::before { scale: 1 1; }
  }

  /* Empilhamento do que vem no Avvi, antes dos planos */
  .stack {
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(22px, 3.5vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
  }
  .stack-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-strong); color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; }
  .stack-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, auto); align-items: start; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--border); }
  .stack-what strong { display: block; color: var(--text); font-size: 16px; line-height: 1.4; }
  .stack-what span { display: block; margin-top: 4px; color: var(--text-2); font-size: 14px; }
  .stack-value { text-align: right; }
  .stack-value strong { display: block; color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .stack-value span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
  .stack-value.is-extra strong { color: var(--brand); font-size: 14px; font-weight: 500; white-space: normal; }
  .stack-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .stack-total { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
  .stack-total > span { color: var(--muted); font-size: 13px; }
  .stack-total strong { color: var(--text-2); font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
  .stack-total small { color: var(--text-2); font-size: 14px; }
  .stack-avvi { border-color: rgb(250 120 87 / .45); background: radial-gradient(90% 140% at 100% 0%, rgb(250 120 87 / .16), transparent 70%), var(--surface-2); }
  .stack-avvi strong { color: var(--brand); font-size: clamp(32px, 3.8vw, 44px); }
  .stack-savings { margin-top: 22px; color: var(--text-2); font-size: 17px; text-align: center; }
  .stack-savings strong { color: var(--text); font-variant-numeric: tabular-nums; }
  .stack-why { max-width: 62ch; margin: 8px auto 0; color: var(--text-2); font-size: 15px; text-align: center; }
  .stack-why strong { color: var(--text); }
  .stack-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 24px; }
  .stack-cta p { color: var(--muted); font-size: 13px; }
  .stack-note { max-width: 86ch; margin: 22px auto 0; text-align: center; }
  .plans-title { margin: clamp(64px, 8vw, 96px) 0 24px; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; text-align: center; }
  @media (prefers-reduced-motion: no-preference) {
    .js .stack :is(.stack-item, .stack-totals, .stack-savings) { opacity: 0; translate: 0 8px; filter: blur(6px); transition: opacity .55s ease, translate .55s var(--ease), filter .55s ease; }
    .js .stack .stack-item { transition-delay: calc(var(--i, 0) * 110ms + .2s); }
    .js .stack .stack-totals { transition-delay: .9s; }
    .js .stack .stack-savings { transition-delay: 1.1s; }
    .js .stack.is-visible :is(.stack-item, .stack-totals, .stack-savings) { opacity: 1; translate: 0 0; filter: blur(0); }
  }

  /* Planos */
  .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 840px; margin-inline: auto; }
  .plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
  .plan-primary { border-color: rgb(255 255 255 / .3); background: radial-gradient(90% 60% at 50% 0%, rgb(250 120 87 / .14), transparent 70%), var(--surface); box-shadow: 0 40px 120px -60px rgb(250 120 87 / .5); }
  .plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .plan-name h3 { color: var(--text-2); font-size: 15px; }
  .plan-badge { padding: 2px 9px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-2); font-size: 12px; }
  .plan-primary .plan-badge { border-color: rgb(250 120 87 / .5); color: #ff9c82; }
  .plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 10px; }
  .plan-amount { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
  .plan-per { color: var(--muted); font-size: 14px; }
  .plan-for { margin-top: 6px; color: var(--text-2); font-size: 15px; }
  .plan-includes { margin-top: 24px; color: var(--text); font-size: 14px; font-weight: 600; }
  .plan-list { display: grid; gap: 10px; margin-top: 22px; }
  .plan-includes + .plan-list { margin-top: 12px; }
  .plan-list li { display: flex; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.5; }
  .plan-list .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--text-2); stroke-width: 2.25; }
  .plan-primary .plan-list .icon { color: var(--brand); }
  .plan-foot { margin-top: auto; padding-top: 28px; }
  .plan-trigger, .plan-payment { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
  .plan-payment { margin-top: 2px; }
  .plans-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 13px; }
  .plans-secure .icon { width: 13px; height: 13px; }
  @media (prefers-reduced-motion: no-preference) {
    .js .plan-list li { opacity: 0; translate: 0 6px; filter: blur(4px); transition: opacity .5s ease, translate .5s var(--ease), filter .5s ease; transition-delay: calc(var(--i, 0) * 45ms + .25s); }
    .js .plan.is-visible .plan-list li { opacity: 1; translate: 0 0; filter: blur(0); }
  }

  .after-purchase { max-width: 1000px; margin: clamp(48px, 6vw, 72px) auto 0; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .after-purchase h3 { font-size: 16px; }
  .costs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
  .costs > div { padding: 2px 18px; border-left: 1px solid var(--border); }
  .costs > div:first-child { padding-left: 0; border-left: 0; }
  .costs dt { color: var(--muted); font-size: 13px; }
  .costs dd strong { display: block; margin-top: 6px; font-size: 16px; line-height: 1.3; font-variant-numeric: tabular-nums; }
  .costs dd span { display: block; margin-top: 4px; color: var(--text-2); font-size: 14px; line-height: 1.45; }
  .after-purchase .fine-print { margin-top: 20px; }

  .guarantee { display: flex; align-items: flex-start; gap: 18px; max-width: 1000px; margin: 16px auto 0; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .guarantee-icon { width: 26px; height: 26px; color: var(--brand); }
  .guarantee h3 { font-size: 16px; }
  .guarantee p { margin-top: 4px; color: var(--text-2); font-size: 15px; }

  /* Perguntas */
  .faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
  .faq-list details { border-top: 1px solid var(--border); }
  .faq-list details:last-child { border-bottom: 1px solid var(--border); }
  .faq-list summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
    transition: color .2s ease;
  }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background: var(--muted);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14'/%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: rotate .3s var(--ease);
  }
  .faq-list details[open] summary::after { rotate: 45deg; }
  .faq-answer { max-width: 66ch; padding-bottom: 22px; color: var(--text-2); font-size: 15px; }
  @media (hover: hover) { .faq-list summary:hover { color: var(--text-2); } }
  @media (prefers-reduced-motion: no-preference) {
    .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
    .faq-list details[open]::details-content { block-size: auto; }
  }

  /* Fechamento: cartão com o coral desfocado ao fundo */
  .closing { padding-bottom: clamp(96px, 11vw, 160px); }
  .closing-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(420px, 44vw, 540px);
    overflow: hidden;
    isolation: isolate;
    padding: clamp(56px, 8vw, 96px) 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #0a0605;
    text-align: center;
  }
  .closing-glow { position: absolute; inset: 0; z-index: -1; filter: blur(48px); }
  .closing-glow i { position: absolute; border-radius: 50%; background: var(--brand); }
  .closing-glow i:nth-child(1) { left: -6%; top: 10%; width: 38%; aspect-ratio: 1; opacity: .38; }
  .closing-glow i:nth-child(2) { right: -4%; top: -18%; width: 34%; aspect-ratio: 1; opacity: .3; }
  .closing-glow i:nth-child(3) { left: 38%; bottom: -36%; width: 30%; aspect-ratio: 1; opacity: .34; background: #c9512f; }
  .closing-glow i:nth-child(4) { left: 22%; top: -12%; width: 10%; aspect-ratio: 1; opacity: .45; }
  .closing-glow i:nth-child(5) { right: 16%; bottom: 8%; width: 12%; aspect-ratio: 1; opacity: .4; }
  .closing-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, rgb(0 0 0 / .65), rgb(0 0 0 / .2)); }
  .closing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .16;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }
  .closing-inner { max-width: 720px; }
  .closing h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
  .closing .lead { margin: 16px auto 0; color: rgb(255 255 255 / .78); }
  .closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
  .closing-actions .button-secondary { background: rgb(0 0 0 / .35); }
  .closing-terms { margin-top: 18px; color: rgb(255 255 255 / .7); font-size: 13px; }
  @media (prefers-reduced-motion: no-preference) {
    .closing-glow i { animation: drift 16s ease-in-out infinite alternate; }
    .closing-glow i:nth-child(2n) { animation-duration: 21s; animation-direction: alternate-reverse; }
    @keyframes drift { to { translate: 6% 8%; scale: 1.08; } }
  }

  /* Rodapé */
  .site-footer { position: relative; overflow: hidden; padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #050505; }
  .footer-glow { position: absolute; left: 50%; bottom: -55%; width: 120%; height: 90%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(250 120 87 / .16), transparent); filter: blur(30px); pointer-events: none; }
  .site-footer .container { position: relative; }
  .footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
  .footer-brand .brand-logo { height: 26px; }
  .footer-brand p { margin: 14px 0 20px; color: var(--text-2); font-size: 15px; }
  .footer-columns { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 32px 56px; }
  .footer-column h2 { margin-bottom: 16px; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; }
  .footer-column ul { display: grid; gap: 10px; }
  .footer-column li:has(> a[hidden]) { display: none; }
  .footer-column a { color: var(--text-2); font-size: 15px; text-decoration: none; transition: color .2s ease; }
  @media (hover: hover) { .footer-column a:hover { color: var(--text); } }
  .footer-legal { max-width: 92ch; margin-top: 56px; }
  .footer-legal p { margin-bottom: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
  .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

  /* Barra de compra no celular */
  .buy-bar { display: none; }

  /* Vídeo do produto */
  .tour {
    width: min(1080px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: auto;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
  }
  .tour::backdrop { background: rgb(0 0 0 / .82); }
  html:has(.tour[open]) { overflow: hidden; }
  .tour-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--border); }
  .tour-head h2 { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; }
  .tour-frame { aspect-ratio: 16 / 9; background: #000; }
  .tour-video { width: 100%; height: 100%; }
  .tour .media-note { margin: 0; padding: 12px 20px 16px; text-align: left; }
  @media (prefers-reduced-motion: no-preference) {
    .tour[open] { animation: tour-in .4s var(--ease-out); }
    @keyframes tour-in { from { opacity: 0; scale: .97; filter: blur(6px); } }
  }

  /* Larguras */
  @media (max-width: 1199px) {
    .hero-field { --s: .82; }
    .float-bank { left: -1%; }
  }

  @media (max-width: 1023px) {
    .site-nav { display: none; }
    .ai-grid, .ai-record, .chatgpt-grid, .scale-grid { grid-template-columns: minmax(0, 1fr); }
    .batch-demo, .chat-demo { width: min(100%, 620px); margin-inline: auto; }
    .ai-record-media { order: 2; }
    .faq-layout { grid-template-columns: minmax(0, 1fr); }
    .faq-layout .section-head { position: static; }
    .of-facts, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .costs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
    .costs > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .float-chat { width: 260px; font-size: 13px; }
  }

  @media (max-width: 899px) {
    .hero { min-height: 0; }
    .hero-field { --s: .62; flex-basis: 440px; }
    .hero-title { font-size: clamp(34px, 6.4vw, 48px); }
    .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hero-side { max-width: 560px; }
    .section-head { grid-template-columns: minmax(0, 1fr); }
    .section-action { justify-self: start; }
    .section-head-center .section-action { justify-self: center; }
  }

  @media (max-width: 859px) {
    .pillars-list { grid-template-columns: minmax(0, 1fr); }
    .pillars-list li, .pillars-list li + li { padding: 24px 0; border-left: 0; }
    .pillars-list li + li { border-top: 1px solid var(--border); }
    .price-contrast { grid-template-columns: minmax(0, 1fr); }
    .pc-item + .pc-item { border-top: 1px solid var(--border); border-left: 0; }
    .story-grid { grid-template-columns: minmax(0, 1fr); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "coral" "portrait" "wide"; }
    .shot picture { flex: none; }
    .shot img { height: auto; }
    .shot-portrait picture { max-width: 520px; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .flow li:nth-child(2)::before { display: none; }
    .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
    .after-purchase, .guarantee { max-width: 560px; }
    .costs { grid-template-columns: minmax(0, 1fr); }
    .costs > div, .costs > div:nth-child(4) { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--border); }
    .costs > div:first-child { border-top: 0; }
    .costs dd strong { margin-top: 0; }
    .footer-top { grid-template-columns: minmax(0, 1fr); }

    /* O grafo vira uma pilha: o seu Avvi no alto e as conexões abaixo dele. */
    .graph-canvas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; max-width: 520px; margin-inline: auto; aspect-ratio: auto; }
    .graph-edges, .port, .edge-x { display: none; }
    .node { position: relative; left: auto; top: auto; width: auto; translate: none; }
    .node-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .node-avvi { order: -1; grid-column: 1 / -1; }
    .node-avvi .node-head { flex-direction: row; align-items: center; }
    .node-avvi::after { content: ""; position: absolute; top: 100%; left: 50%; height: 32px; border-left: 1.5px dashed rgb(255 255 255 / .35); }
    .node-vendor { grid-column: 1 / -1; }
    .node-vendor .node-head { flex-direction: row; align-items: center; }
    .node-preview { height: 170px; }
  }

  @media (max-width: 759px) {
    .js .compare-focus:not([hidden]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-radius: 14px; }
    .js .compare-focus button { padding: 6px; border-radius: 10px; font-size: 13px; white-space: normal; }
    .js .compare-table { min-width: 0; }
    .js .compare-table [data-col] { display: none; }
    .js .compare-table[data-focus="meuassessor"] [data-col="meuassessor"],
    .js .compare-table[data-focus="pierre"] [data-col="pierre"],
    .js .compare-table[data-focus="mobills"] [data-col="mobills"],
    .js .compare-table[data-focus="organizze"] [data-col="organizze"] { display: table-cell; }
    .js .compare-table thead th:first-child { width: 30%; }
    .js .compare-table thead th.is-avvi { width: 35%; }
    .compare-table th, .compare-table td { padding: 14px 12px; font-size: 14px; }
  }

  @media (max-width: 699px) {
    .header-tour, .header-login { display: none; }
    .hero-field { --s: .5; flex-basis: 380px; margin-bottom: -16px; }
    .hero-actions .button { flex: 1 1 100%; }
    .tile figcaption { display: none; }
    .showcase-stage { padding-bottom: 14%; }
    .showcase-phone { right: -2%; width: 34%; }
    .float-card { display: none; }
    .studio-bar { height: 26px; }
    .studio-dots { gap: 5px; padding-left: 10px; }
    .studio-dots i { width: 7px; height: 7px; }
    .studio-title { font-size: 10px; }
    .works-list { gap: 6px 24px; }

    .gallery { grid-template-columns: minmax(0, 1fr); }
    .card-media { aspect-ratio: 16 / 10; }

    .of-facts, .facts, .scale-list { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .batch-thread { padding: 20px 16px 22px; }
    .batch-rows li { font-size: 13px; }
    .chat-thread { padding: 20px 16px 24px; }
    .msg { max-width: 94%; }

    .flow { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
    .flow li { padding: 2px 0 0 60px; }
    .flow li:not(:last-child)::before, .flow li:nth-child(2)::before { display: block; top: 38px; bottom: -22px; left: 20px; right: auto; border-top: 0; border-left: 1.5px dashed rgb(255 255 255 / .22); transform-origin: 50% 0; }
    @media (prefers-reduced-motion: no-preference) {
      .js .flow li:not(:last-child)::before { scale: 1 0; }
      .js .flow li.is-visible:not(:last-child)::before { scale: 1 1; }
    }

    .costs > div, .costs > div:nth-child(4) { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .stack-head { display: none; }
    .stack-item { grid-template-columns: minmax(0, 1fr); }
    .stack-value { text-align: left; }
    .stack-totals { grid-template-columns: minmax(0, 1fr); }
    .guarantee { flex-direction: column; gap: 12px; padding: 22px; }
    .closing-actions .button { flex: 1 1 100%; }
    .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .buy-bar {
      position: fixed;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 60;
      display: block;
      padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
      border-top: 1px solid var(--border);
      background: rgb(8 8 9 / .94);
      translate: 0 110%;
      transition: translate .35s var(--ease);
    }
    .buy-bar.is-visible { translate: 0 0; }
    .buy-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .buy-bar-text { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
    .buy-bar-text > span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
    .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  }

  @media (max-width: 400px) {
    .chat-dots { display: none; }
    .chat-top { gap: 10px; padding-inline: 14px; }
    .header-actions .button-primary { padding-inline: 10px; }
  }
}

@layer utilities {
  [hidden] { display: none; }
  .nowrap { white-space: nowrap; }
  .lp-failsafe [data-reveal], .lp-failsafe [data-intro], .lp-failsafe .tile { opacity: 1; filter: none; translate: none; animation: none; }
  .lp-failsafe .studio, .lp-failsafe .showcase .float-card, .lp-failsafe .showcase-phone { opacity: 1; filter: none; scale: none; translate: none; }
  .lp-failsafe .plan-list li { opacity: 1; filter: none; translate: none; }
  .lp-failsafe .stack :is(.stack-item, .stack-totals, .stack-savings) { opacity: 1; filter: none; translate: none; }
  .lp-failsafe [data-chat] [data-chat-step] { opacity: 1; filter: none; translate: none; }
  .lp-failsafe .graph :is(.node, .edge, .edge-x) { opacity: 1; filter: none; }
  .lp-failsafe .flow li::before { scale: 1 1; }
}
