/* ============================================================
   Bicego Smile Design — Simulação de Sorriso com IA
   Sistema visual: "Luxo clínico" — marfim, tinta, dourado discreto
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --gold: #d4af37;            /* tweakable */
  --gold-deep: #b8932b;
  --gold-soft: color-mix(in oklab, var(--gold) 16%, transparent);
  --gold-line: color-mix(in oklab, var(--gold) 42%, transparent);
  --sage: #55776c;
  --sage-soft: color-mix(in oklab, var(--sage) 13%, transparent);
  --sage-line: color-mix(in oklab, var(--sage) 28%, transparent);

  --ink: #0a0a0a;
  --ink-2: #16140f;
  --ink-70: color-mix(in oklab, var(--ink) 70%, #f7f5f0);
  --ink-55: color-mix(in oklab, var(--ink) 55%, #f7f5f0);
  --ink-40: color-mix(in oklab, var(--ink) 40%, #f7f5f0);

  --paper: #f7f5f0;          /* warm ivory base */
  --paper-2: #fffdf8;        /* lifted card */
  --paper-3: #efece3;        /* sunken */
  --hairline: color-mix(in oklab, var(--ink) 12%, transparent);

  /* on dark sections */
  --cream: #f3efe6;
  --cream-60: color-mix(in oklab, var(--cream) 60%, transparent);
  --cream-40: color-mix(in oklab, var(--cream) 38%, transparent);
  --dark-line: color-mix(in oklab, var(--cream) 14%, transparent);

  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 2px 8px rgba(10,10,10,.04);
  --shadow-md: 0 4px 14px rgba(10,10,10,.06), 0 18px 50px rgba(10,10,10,.08);
  --shadow-lg: 0 30px 80px rgba(10,10,10,.18);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 4px;

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* animation intensity — driven by Tweaks (0 = off, 1 = subtle, 2 = full) */
  --anim: 1;
  --reveal-y: 22px;
  --reveal-dur: .9s;
}

html[data-anim="0"] { --reveal-y: 0px; --reveal-dur: .001s; }
html[data-anim="1"] { --reveal-y: 18px; --reveal-dur: .8s; }
html[data-anim="2"] { --reveal-y: 40px; --reveal-dur: 1.1s; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Intro splash ---------- */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: #0a0a0a;
  pointer-events: none;
  animation: introExit .72s var(--ease) 2.72s forwards;
}
.site-intro-logo {
  width: min(86vw, 760px);
  height: auto;
  overflow: visible;
}
.intro-ring {
  stroke-dasharray: 1070;
  stroke-dashoffset: 1070;
  transform-origin: 600px 380px;
  animation: introRing 1.1s var(--ease) .15s forwards, introPulse .7s var(--ease) 1.55s;
}
.intro-glow {
  filter: drop-shadow(0 0 22px rgba(212,175,55,.24));
}
.intro-smile {
  opacity: 0;
  transform: translateY(14px) scale(.94);
  transform-origin: 600px 415px;
  animation: introMark .56s var(--ease) .95s forwards;
}
.intro-spark {
  opacity: 0;
  transform: scale(.35) rotate(-16deg);
  transform-origin: 690px 355px;
  animation: introSpark .58s var(--ease) 1.22s forwards;
}
.intro-word,
.intro-byline {
  opacity: 0;
  transform: translateY(18px);
  animation: introWord .74s var(--ease) 1.5s forwards;
}
.intro-byline {
  animation-delay: 1.72s;
}
@keyframes introRing {
  to { stroke-dashoffset: 0; }
}
@keyframes introPulse {
  50% { transform: scale(1.035); filter: drop-shadow(0 0 24px rgba(212,175,55,.32)); }
}
@keyframes introMark {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes introSpark {
  70% { opacity: 1; transform: scale(1.12) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes introWord {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introExit {
  to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro { animation-duration: .25s; animation-delay: .45s; }
  .intro-ring, .intro-smile, .intro-spark, .intro-word, .intro-byline {
    animation-duration: .001s;
    animation-delay: 0s;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
.serif { font-family: "Marcellus", Georgia, serif; font-weight: 400; }

h1, h2, h3 {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
  text-wrap: balance;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-line);
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold); }

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-top: 22px;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-55);
  line-height: 1.55;
  max-width: 62ch;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.dark { background: var(--ink); color: var(--cream); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn.is-loading { opacity: .78; cursor: wait; }

.btn-gold {
  background: var(--gold);
  color: #1a1505;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px var(--gold-soft);
}
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.dark .btn-ghost { color: var(--cream); border-color: var(--dark-line); }
.dark .btn-ghost:hover { border-color: var(--cream); background: rgba(243,239,230,.04); }

.btn-lg { padding: 18px 36px; font-size: 16px; }

.btn .ico { width: 17px; height: 17px; }
.btn-gold .ico { transition: transform .35s var(--ease); }
.btn-gold:hover .ico { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .4s var(--ease), padding .4s var(--ease),
              border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hairline);
  padding-block: 13px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--gold-line);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-name { font-family: "Marcellus", serif; font-size: 18px; letter-spacing: .04em; line-height: 1.05; }
.brand-name small { display: block; font-family: "Hanken Grotesk", sans-serif;
  font-size: 9px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; margin-top: 2px; font-weight: 600; white-space: nowrap; }

/* Nav defaults to LIGHT text (over dark hero); switches to dark when scrolled */
.nav .brand-name { color: var(--cream); }
.nav .brand-mark { color: var(--gold); }
.nav.scrolled .brand-name { color: var(--ink); }
.nav.scrolled .brand-mark {
  box-shadow: var(--shadow-sm);
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14.5px; color: var(--cream-60); transition: color .3s; position: relative; }
.nav.scrolled .nav-links a { color: var(--ink-70); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* "Entrar" (btn-ghost) na nav: o ghost base é escuro (var(--ink)) e sumiria no fundo
   escuro do topo. Clarear no topo e escurecer quando a nav fica clara no scroll. */
.nav-cta .btn-ghost { color: var(--cream); border-color: var(--dark-line); }
.nav-cta .btn-ghost:hover { border-color: var(--cream); background: rgba(243, 239, 230, .04); }
.nav.scrolled .nav-cta .btn-ghost { color: var(--ink); border-color: var(--hairline); }
.nav.scrolled .nav-cta .btn-ghost:hover { border-color: var(--ink); background: rgba(0, 0, 0, .03); }
.nav-toggle { display: none; background: none; border: 0; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px, 18vh, 200px);
  padding-bottom: clamp(80px, 12vw, 140px);
  background:
    radial-gradient(120% 90% at 85% -10%, #1c1813 0%, var(--ink) 46%) ;
  color: var(--cream);
}
.hero::before {
  /* faint gold vignette */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 78% 30%, var(--gold-soft), transparent 70%);
  opacity: .8; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
}
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero-sub {
  margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--cream-60); max-width: 40ch; line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn-gold.on-dark { box-shadow: 0 12px 40px color-mix(in oklab, var(--gold) 28%, transparent); }
.hero .btn-ghost { color: var(--cream); border-color: var(--dark-line); }
.hero .btn-ghost:hover { border-color: var(--cream); background: rgba(243,239,230,.04); }

.hero-meta {
  margin-top: 44px; display: flex; gap: 34px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--dark-line);
}
.hero-meta .stat-n { font-family: "Marcellus", serif; font-size: 2rem; color: var(--gold); line-height: 1; }
.hero-meta .stat-l { font-size: 12.5px; color: var(--cream-40); margin-top: 7px; letter-spacing: .02em; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sub { max-width: 52ch; }
}

/* ---------- Device mockup (hero) ---------- */
.device {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9f7f2, #efece3);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(243,239,230,.08);
  overflow: hidden;
  aspect-ratio: 4 / 3.05;
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.device:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg); }
.device-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: #fffdf8; border-bottom: 1px solid var(--hairline);
}
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); }
.device-bar .title {
  margin-left: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-40); font-weight: 600;
}
.device-bar .live { margin-left: auto; font-size: 10px; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .1em; }
.device-bar .live::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 var(--gold-soft);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

.device-body { display: grid; grid-template-columns: 64px 1fr; height: calc(100% - 45px); }
.device-rail { border-right: 1px solid var(--hairline); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.device-rail .dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-40); }
.device-rail .dot.on { background: var(--ink); color: var(--gold); }
.device-rail .dot .ico { width: 16px; height: 16px; }
.device-canvas { position: relative; padding: 16px; display: flex; flex-direction: column; }
.device-canvas .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.device-canvas .row b { font-family: "Marcellus", serif; font-size: 15px; }
.device-canvas .chip { font-size: 10px; padding: 4px 10px; border-radius: 20px; background: var(--gold-soft); color: var(--gold-deep); font-weight: 700; letter-spacing: .08em; }

/* mini before/after que se revela sozinho (chama o cliente) */
.mini-compare { flex: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--hairline); position: relative; min-height: 120px; background: #14110c; }
.mini-compare .mc-after, .mini-compare .mc-before { position: absolute; inset: 0; display: grid; place-items: end start; padding: 11px; overflow: hidden; }
.mini-compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 48%;
  filter: saturate(1.02) contrast(1.02);
}
.mini-compare .mc-after {
  place-items: end end;
  background-color: #efe7d2;
  background-image: repeating-linear-gradient(45deg, color-mix(in oklab, var(--gold) 20%, transparent) 0 1px, transparent 1px 13px);
}
.mini-compare .mc-after::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.34));
}
.mini-compare .mc-before {
  width: 100%; z-index: 2; clip-path: inset(0 36% 0 0);
  background-color: var(--paper-3);
  background-image: repeating-linear-gradient(45deg, color-mix(in oklab, var(--ink) 6%, transparent) 0 1px, transparent 1px 13px);
  animation: mcReveal 7s var(--ease) infinite;
}
.mini-compare .mc-tag {
  position: relative; z-index: 4;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; color: #fff; background: rgba(10,10,10,.55);
}
.mini-compare .mc-after .mc-tag { background: var(--gold); color: #1a1505; }
.mini-compare .mc-line {
  position: absolute; top: 0; bottom: 0; left: 60%; width: 2px; z-index: 3;
  background: var(--paper); transform: translateX(-1px);
  box-shadow: 0 0 14px color-mix(in oklab, var(--gold) 55%, transparent);
  animation: mcLine 7s var(--ease) infinite;
}
.mini-compare .mc-line::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 2px 8px rgba(10,10,10,.35);
}
/* linha de scan da IA — sensação de análise acontecendo */
.mini-compare .mc-scan {
  position: absolute; left: 0; right: 0; top: -20%; height: 26%; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--gold) 38%, transparent), transparent);
  mix-blend-mode: screen; opacity: 0;
  animation: mcScan 4.6s ease-in-out 1s infinite;
}

@keyframes mcReveal { 0%, 10% { clip-path: inset(0 36% 0 0); } 46%, 56% { clip-path: inset(0 78% 0 0); } 92%, 100% { clip-path: inset(0 36% 0 0); } }
@keyframes mcLine   { 0%, 10% { left: 64%; } 46%, 56% { left: 22%; } 92%, 100% { left: 64%; } }
@keyframes mcScan   { 0% { top: -26%; opacity: 0; } 12% { opacity: .9; } 48% { top: 100%; opacity: .6; } 60%, 100% { top: 100%; opacity: 0; } }

/* flutuação sutil do dispositivo + respiro do glow */
.hero-art { animation: heroFloat 8s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero::before { animation: heroGlow 9s ease-in-out infinite; }
@keyframes heroGlow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* intensidade controlada pelo Tweak de animação */
html[data-anim="2"] .hero-art { animation-duration: 6.5s; }
html[data-anim="0"] .mc-before,
html[data-anim="0"] .mc-line,
html[data-anim="0"] .mc-scan,
html[data-anim="0"] .hero-art,
html[data-anim="0"] .hero::before,
html[data-anim="0"] .device-bar .live::before { animation: none !important; }
html[data-anim="0"] .mc-before { clip-path: inset(0 50% 0 0); }
html[data-anim="0"] .mc-line { left: 50%; }

@media (prefers-reduced-motion: reduce) {
  .mini-compare .mc-before, .mini-compare .mc-line, .mini-compare .mc-scan,
  .hero-art, .hero::before, .device-bar .live::before { animation: none !important; }
}

/* ---------- Placeholders ---------- */
.ph {
  position: relative;
  background-color: var(--paper-3);
  background-image: repeating-linear-gradient(45deg,
    color-mix(in oklab, var(--ink) 5%, transparent) 0 1px,
    transparent 1px 11px);
  display: grid; place-items: center;
  color: var(--ink-40);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 14px;
}
.ph.dark-ph {
  background-color: #14110c;
  background-image: repeating-linear-gradient(45deg, rgba(243,239,230,.05) 0 1px, transparent 1px 11px);
  color: var(--cream-40);
}
.ph span { background: color-mix(in oklab, var(--paper) 70%, transparent); padding: 4px 8px; border-radius: 3px; }
.ph.dark-ph span { background: rgba(20,17,12,.6); }

/* ---------- Benefits ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; margin-top: 56px; }
.b-card { background: var(--paper-2); padding: clamp(28px, 3vw, 44px); transition: background .4s var(--ease); position: relative; }
.b-card:hover { background: var(--paper); }
.b-ico {
  width: 50px; height: 50px; border-radius: 12px;
  display: grid; place-items: center; color: var(--gold-deep);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  margin-bottom: 22px; transition: transform .4s var(--ease);
}
.b-card:hover .b-ico { transform: translateY(-3px); }
.b-ico .ico { width: 23px; height: 23px; }
.b-card h3 { font-size: 1.32rem; margin-bottom: 9px; }
.b-card p { color: var(--ink-55); font-size: 15.5px; }
.b-num { position: absolute; top: 24px; right: 28px; font-family: "Marcellus", serif; color: var(--gold-line); font-size: 14px; }
@media (max-width: 860px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Demo / Before-After slider ---------- */
.demo-stage {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 880px) { .demo-stage { grid-template-columns: 1fr; } }

.demo-steps-mini { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.demo-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--hairline); }
.demo-line:last-child { border-bottom: 1px solid var(--hairline); }
.demo-line .k { font-family: "Marcellus", serif; color: var(--gold-deep); font-size: 14px; width: 22px; flex: none; }
.demo-line b { font-size: 15.5px; display: block; }
.demo-line span { color: var(--ink-55); font-size: 14px; }

.compare {
  position: relative; width: 100%; aspect-ratio: 4 / 3.2; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--hairline); user-select: none; touch-action: none;
  background: var(--paper-3);
}
.compare .layer { position: absolute; inset: 0; }
.compare .after { z-index: 1; }
.compare .before { z-index: 2; overflow: hidden; width: 100%; clip-path: inset(0 50% 0 0); }
.compare-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 47%;
}
.compare .before .compare-img, .compare .after .compare-img { object-position: center top; }
.compare .after::after, .compare .before::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.06), transparent 34%, rgba(10,10,10,.22));
}
.compare .layer .lab {
  position: absolute; top: 14px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; padding: 5px 11px; border-radius: 30px; backdrop-filter: blur(4px); color: #fff; z-index: 3;
}
.compare .before .lab { left: 14px; background: rgba(10,10,10,.55); }
.compare .after .lab { right: 14px; background: var(--gold); color: #1a1505; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--paper); z-index: 5;
  transform: translateX(-1px); cursor: ew-resize;
}
.compare-handle .grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(10,10,10,.3);
}
.compare-handle .grip .ico { width: 20px; height: 20px; }
.compare-hint { text-align: center; font-size: 12.5px; color: var(--ink-40); margin-top: 14px;
  display: inline-flex; gap: 8px; align-items: center; justify-content: center; width: 100%; }

/* deliverables (simulação + pré-análise) */
.demo-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 26px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.demo-outputs .out { background: var(--paper-2); padding: 18px 20px; display: flex; gap: 13px; align-items: flex-start; }
.demo-outputs .out .oi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: var(--gold-deep); background: var(--gold-soft); border: 1px solid var(--gold-line); flex: none; }
.demo-outputs .out .oi .ico { width: 18px; height: 18px; }
.demo-outputs .out b { display: block; font-size: 14.5px; }
.demo-outputs .out span { font-size: 12.5px; color: var(--ink-55); line-height: 1.4; }
@media (max-width: 480px) { .demo-outputs { grid-template-columns: 1fr; } }

/* placeholder "smile" art inside compare */
.smile-art { width: 100%; height: 100%; position: relative; }
.smile-art.before-art { filter: saturate(.85); }

/* ---------- Report / PDF example ---------- */
.report-section { background: var(--paper); }
.report-showcase {
  margin-top: 56px;
  display: grid; grid-template-columns: 1.18fr .82fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.report-sheet {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: clamp(22px, 3vw, 34px);
}
.report-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline);
}
.report-brand { display: block; font-family: "Marcellus", Georgia, serif; font-size: 1.45rem; color: var(--ink); line-height: 1; }
.report-kicker { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-40); font-weight: 700; }
.report-badge {
  flex: none; border-radius: 30px; padding: 7px 12px;
  background: var(--sage-soft); color: var(--sage);
  border: 1px solid var(--sage-line);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
}
.report-images {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.report-images figure {
  min-width: 0;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-3);
}
.report-images img {
  width: 100%; aspect-ratio: 1.05 / 1;
  object-fit: contain; object-position: center;
}
.report-images figcaption {
  padding: 10px 12px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-40); font-weight: 800;
}
.report-copy { padding-top: 26px; }
.report-copy h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-bottom: 14px; }
.report-copy p { color: var(--ink-55); font-size: 15.5px; line-height: 1.65; }
.report-copy p + p { margin-top: 13px; }
.report-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.report-meta span {
  border: 1px solid var(--hairline);
  background: color-mix(in oklab, var(--ink) 3%, transparent);
  border-radius: 30px;
  padding: 7px 11px;
  font-size: 12px; color: var(--ink-70); font-weight: 700;
}
.report-side { display: flex; flex-direction: column; gap: 12px; }
.report-point {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-top: 1px solid var(--hairline);
}
.report-point:last-of-type { border-bottom: 1px solid var(--hairline); }
.rp-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  color: var(--sage); background: var(--sage-soft); border: 1px solid var(--sage-line);
}
.rp-ico .ico { width: 19px; height: 19px; }
.report-point b { display: block; font-size: 15px; }
.report-point span { color: var(--ink-55); font-size: 14px; line-height: 1.45; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 900px) {
  .report-showcase { grid-template-columns: 1fr; }
  .report-side { max-width: 720px; }
}
@media (max-width: 560px) {
  .report-top { flex-direction: column; }
  .report-images { grid-template-columns: 1fr; }
  .report-actions .btn { width: 100%; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-line);
  border: 1px solid var(--dark-line); margin-top: 56px; }
.step { background: var(--ink); padding: clamp(26px,3vw,40px); position: relative; }
.step .s-n { font-family: "Marcellus", serif; font-size: 2.6rem; color: var(--gold); line-height: 1; opacity: .9; }
.step h3 { color: var(--cream); font-size: 1.18rem; margin: 18px 0 9px; }
.step p { color: var(--cream-60); font-size: 14.5px; }
.step .s-ico { position: absolute; top: 30px; right: 28px; color: var(--cream-40); }
.step .s-ico .ico { width: 20px; height: 20px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
@media (max-width: 880px) { .tcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tcards { grid-template-columns: 1fr; } }
.tcard { background: var(--paper-2); border: 1px solid var(--hairline); border-radius: var(--r);
  padding: 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .ico { width: 16px; height: 16px; fill: currentColor; }
.tcard q { font-family: "Marcellus", serif; font-size: 1.18rem; line-height: 1.4; font-style: normal; quotes: "“" "”"; }
.tcard .who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 6px; }
.tcard .who .av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; }
.tcard .who b { display: block; font-size: 15px; }
.tcard .who span { font-size: 12.5px; color: var(--ink-40); letter-spacing: .02em; }
.tspan2 { grid-column: span 1; }

/* ---------- Comparison ---------- */
.comparison-simple {
  margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: stretch; gap: 0; max-width: 1040px; margin-inline: auto;
}
.comparison-panel {
  border: 1px solid var(--hairline); border-radius: 8px; padding: 34px; position: relative;
  display: flex; flex-direction: column; min-height: 360px;
}
.comparison-trad {
  background: var(--paper-2); color: var(--ink);
}
.comparison-ours {
  background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: var(--shadow-md);
}
.comparison-kicker {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--gold-deep); margin-bottom: 14px;
}
.comparison-ours .comparison-kicker { color: var(--gold); }
.comparison-panel h3 {
  font-size: 2rem; max-width: 12ch; margin-bottom: 26px;
}
.comparison-panel ul {
  list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: auto;
}
.comparison-panel li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.45;
}
.comparison-panel .ico {
  width: 18px; height: 18px; flex: none; margin-top: 2px;
}
.comparison-trad li { color: var(--ink-55); }
.comparison-trad .ico { color: var(--ink-40); }
.comparison-ours li { color: var(--cream-60); }
.comparison-ours .ico { color: var(--gold); }
.comparison-badge {
  position: absolute; top: 24px; right: 24px; padding: 6px 11px; border-radius: 999px;
  background: var(--gold); color: #17140f; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 800;
}
.comparison-vs {
  display: grid; place-items: center; position: relative; z-index: 2;
}
.comparison-vs::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--hairline);
}
.comparison-vs span {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 999px;
  background: var(--paper-3); border: 1px solid var(--hairline); color: var(--gold-deep);
  font-weight: 800; font-size: 12px; letter-spacing: .12em; position: relative;
}
.comparison-outcome {
  max-width: 1040px; margin: 24px auto 0; display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 18px 24px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.comparison-outcome span {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 800;
}
.comparison-outcome strong {
  font-family: "Marcellus", Georgia, serif; font-size: 1.5rem; font-weight: 400;
}
@media (max-width: 860px) {
  .comparison-simple { grid-template-columns: 1fr; gap: 18px; }
  .comparison-panel { min-height: auto; padding: 28px; }
  .comparison-panel h3 { font-size: 1.72rem; max-width: 16ch; }
  .comparison-vs { height: 34px; }
  .comparison-vs::before { left: 10%; right: 10%; }
  .comparison-vs span { width: 46px; height: 46px; }
  .comparison-outcome { flex-direction: column; gap: 5px; }
}
@media (max-width: 520px) {
  .comparison-panel { padding: 24px 20px; }
  .comparison-badge { position: static; align-self: flex-start; margin-bottom: 14px; }
  .comparison-panel li { font-size: 14.5px; }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; max-width: 1120px; margin-inline: auto; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 540px; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--hairline); border-radius: 8px; padding: 38px clamp(28px,3vw,40px); background: var(--paper-2);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured { background: var(--ink); color: var(--cream); border-color: var(--ink); position: relative; }
.plan.featured h3 { color: var(--cream); }
.plan-tag { position: absolute; top: 22px; right: 26px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #1a1505; background: var(--gold); padding: 5px 12px; border-radius: 20px; font-weight: 700; }
.plan-name { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.plan.featured .plan-name { color: var(--gold); }
.plan-price { font-family: "Marcellus", serif; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; margin: 18px 0 4px; }
.plan-price small { font-size: 1rem; color: var(--ink-40); font-family: "Hanken Grotesk", sans-serif; }
.plan.featured .plan-price small { color: var(--cream-40); }
.plan-save { font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.plan.featured .plan-save { color: var(--gold); }
.plan ul { list-style: none; margin: 26px 0; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-70); align-items: flex-start; }
.plan.featured li { color: var(--cream-60); }
.plan li .ico { width: 17px; height: 17px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.plan.featured li .ico { color: var(--gold); }
.plan .btn { width: 100%; margin-top: auto; }
.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 26px auto 0;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  background: var(--hairline);
}
.pricing-note {
  background: var(--paper-2);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pricing-note .pn-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
}
.pricing-note .ico {
  width: 18px;
  height: 18px;
}
.pricing-note p {
  color: var(--ink-55);
  font-size: 14.5px;
  line-height: 1.5;
}
.pricing-note b {
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 980px) {
  .pricing-notes {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

/* ---------- Stripe checkout modal ---------- */
body.checkout-open { overflow: hidden; }
.checkout-modal {
  position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 34px);
}
.checkout-modal.open { display: flex; }
.checkout-backdrop {
  position: absolute; inset: 0; background: rgba(10,10,10,.74); backdrop-filter: blur(10px);
}
.checkout-dialog {
  position: relative; z-index: 1; width: min(100%, 720px); max-height: min(92vh, 880px); overflow: auto;
  border: 1px solid var(--dark-line); border-radius: 8px; background: var(--paper-2); box-shadow: var(--shadow-lg);
}
.checkout-head {
  display: flex; justify-content: space-between; gap: 22px; align-items: flex-start;
  padding: clamp(22px, 4vw, 34px); border-bottom: 1px solid var(--hairline);
}
.checkout-head h2 { font-size: clamp(1.7rem, 4vw, 2.45rem); margin-top: 6px; }
.checkout-head p:last-child { color: var(--ink-55); font-size: 14px; margin-top: 8px; }
.checkout-close {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center;
  border: 1px solid var(--hairline); border-radius: 999px; background: transparent; color: var(--ink);
  font-size: 26px; line-height: 1;
}
.checkout-close:hover { border-color: var(--gold-line); color: var(--gold-deep); }
.checkout-status {
  padding: 22px clamp(22px, 4vw, 34px); color: var(--ink-55); font-size: 14px;
}
#stripe-embedded-checkout {
  min-height: 560px; padding: clamp(12px, 3vw, 22px);
}
@media (max-width: 640px) {
  .checkout-modal { align-items: stretch; padding: 0; }
  .checkout-dialog { width: 100%; max-height: 100vh; border-radius: 0; border-left: 0; border-right: 0; }
  .checkout-head { padding: 18px; }
  #stripe-embedded-checkout { min-height: calc(100vh - 150px); padding: 8px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 56px auto 0; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: "Marcellus", serif; font-size: 1.22rem; color: var(--ink); }
.faq-q .pm { width: 24px; height: 24px; flex: none; position: relative; transition: transform .4s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--gold-deep); transition: opacity .3s; }
.faq-q .pm::before { top: 11px; left: 3px; right: 3px; height: 1.5px; }
.faq-q .pm::after { left: 11px; top: 3px; bottom: 3px; width: 1.5px; }
.faq-item.open .pm { transform: rotate(180deg); }
.faq-item.open .pm::after { opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a p { padding-bottom: 26px; color: var(--ink-55); font-size: 15.5px; max-width: 64ch; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, var(--gold-soft), transparent 70%); pointer-events: none; }
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; margin-inline: auto; position: relative; }
.cta-final .lede { margin: 24px auto 0; color: var(--cream-60); }
.cta-final .hero-ctas { justify-content: center; margin-top: 40px; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: var(--cream-60); padding-block: 64px 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer .brand-name { color: var(--cream); }
.footer p { font-size: 14px; max-width: 34ch; margin-top: 16px; }
.footer h4 { color: var(--cream); font-family: "Hanken Grotesk", sans-serif; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; color: var(--cream-60); transition: color .3s; }
.footer ul a:hover { color: var(--gold); }
.footer-bot { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--dark-line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--cream-40); }

/* ---------- Hero: animações sutis ("chamando" o cliente) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* mockup flutuando suavemente */
  html:not([data-anim="0"]) .hero-art { animation: floaty 7.5s var(--ease) infinite; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

  /* aura dourada respirando atrás do mockup */
  html:not([data-anim="0"]) .hero::before { animation: auraBreath 9s ease-in-out infinite; }
  @keyframes auraBreath {
    0%, 100% { opacity: .55; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.1); }
  }

  /* varredura de IA passando sobre a tela do sistema */
  html:not([data-anim="0"]) .mini-compare::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%,
      color-mix(in oklab, var(--gold) 32%, transparent) 50%, transparent 62%);
    transform: translateX(-130%); animation: scan 4.8s ease-in-out infinite;
  }
  @keyframes scan { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }

  /* leve brilho pulsante no CTA principal */
  html:not([data-anim="0"]) .hero .btn-gold {
    animation: ctaGlow 3.4s ease-in-out infinite;
  }
  @keyframes ctaGlow {
    0%, 100% { box-shadow: 0 12px 38px color-mix(in oklab, var(--gold) 20%, transparent); }
    50%      { box-shadow: 0 14px 56px color-mix(in oklab, var(--gold) 46%, transparent); }
  }
  /* o hover tem prioridade: pausa o pulso e firma o lift */
  html:not([data-anim="0"]) .hero .btn-gold:hover { animation-play-state: paused; }

  /* intensidade "Cheio": flutuação um pouco mais rápida */
  html[data-anim="2"] .hero-art { animation-duration: 6.5s; }
}

/* ---------- Reveal animation ---------- */
/* Hidden state applies ONLY when JS is running (html.js). If app.js fails to
   load for any reason, content stays visible — never a blank page. */
.reveal {
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
}
html.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(var(--reveal-y));
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Tweaks island ---------- */
#tweaks-root { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
#tweaks-root > * { pointer-events: auto; }

/* ---------- Responsive hardening ---------- */
*, *::before, *::after { min-width: 0; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.section, .hero, .footer { overflow-x: clip; }
.btn { max-width: 100%; text-align: center; white-space: normal; }

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav-links { gap: 22px; }
  .nav-cta .btn { padding-inline: 18px; font-size: 14px; }
}

@media (max-width: 760px) {
  :root { --gut: clamp(16px, 5vw, 28px); }
  .section { padding-block: clamp(56px, 16vw, 92px); }

  .nav {
    padding: 12px var(--gut);
    background: color-mix(in oklab, var(--ink) 86%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom-color: var(--dark-line);
  }
  .nav.scrolled { padding-block: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 16px; }
  .brand-name small { font-size: 8px; letter-spacing: .18em; }
  .nav-cta { display: none; }

  .site-intro-logo { width: min(118vw, 620px); }
  .intro-word { font-size: 54px; }
  .intro-byline { font-size: 16px; letter-spacing: 4px; }

  .hero {
    padding-top: 108px;
    padding-bottom: 68px;
  }
  .eyebrow {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
    letter-spacing: .18em;
    line-height: 1.35;
  }
  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.06;
    max-width: 100%;
    overflow-wrap: normal;
  }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-ctas { gap: 10px; margin-top: 28px; }
  .hero-ctas .btn { width: 100%; min-height: 52px; padding-inline: 18px; }
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
    padding-top: 22px;
  }
  .hero-meta .stat-n { font-size: 1.55rem; }
  .hero-meta .stat-l { font-size: 11px; line-height: 1.25; }

  .hero-art { animation: none !important; }
  .device {
    transform: none;
    border-radius: 10px;
    aspect-ratio: 4 / 3.25;
  }
  .device:hover { transform: none; }
  .device-bar { padding: 10px 12px; }
  .device-bar .title { margin-left: 6px; font-size: 9px; letter-spacing: .08em; }
  .device-bar .live { font-size: 8px; letter-spacing: .06em; }
  .device-body { grid-template-columns: 48px 1fr; height: calc(100% - 39px); }
  .device-rail { gap: 12px; padding: 12px 0; }
  .device-rail .dot { width: 28px; height: 28px; }
  .device-canvas { padding: 12px; }
  .device-canvas .row b { font-size: 13px; }
  .device-canvas .chip { font-size: 8px; padding: 4px 7px; }

  .section-head,
  .section-head.center { max-width: 100%; }
  .section-title { font-size: clamp(1.9rem, 10vw, 2.65rem); }
  .lede { font-size: 1rem; }

  .bento,
  .tcards,
  .plans,
  .steps,
  .comparison-simple,
  .report-showcase,
  .demo-stage { margin-top: 36px; }

  .b-card,
  .tcard,
  .plan,
  .step,
  .comparison-panel,
  .report-sheet {
    padding: 24px;
  }

  .compare { aspect-ratio: 3 / 3.7; }
  .compare .layer .lab {
    top: 10px;
    font-size: 9px;
    letter-spacing: .08em;
    padding: 4px 8px;
  }
  .compare .before .lab { left: 10px; }
  .compare .after .lab { right: 10px; }
  .compare-handle .grip { width: 40px; height: 40px; }
  .demo-outputs .out { padding: 16px; }

  .report-sheet { border-radius: 8px; }
  .report-copy p { font-size: 14.5px; }
  .report-meta span { font-size: 11.5px; }
  .report-side .btn { width: 100%; }

  .comparison-panel { min-height: auto; }
  .comparison-panel h3 { font-size: 1.68rem; max-width: 100%; }
  .comparison-outcome strong { font-size: 1.2rem; }

  .faq-q { font-size: 1.05rem; padding: 22px 0; }
  .faq-a p { font-size: 14.5px; }

  .footer { padding-block: 48px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer .brand-mark { width: 48px; height: 48px; }
  .footer-bot { margin-top: 34px; }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(1.78rem, 8.2vw, 2.18rem);
    max-width: 10.8ch;
  }
  .hero-sub,
  .hero-copy {
    max-width: 100%;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-meta > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .hero-meta .stat-l { margin-top: 0; }
  .device-canvas .row {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
  .device-canvas .chip {
    align-self: flex-start;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }
  .hero h1 { font-size: clamp(1.72rem, 8.8vw, 2.05rem); }
  .hero-sub { font-size: .96rem; }
  .device-body { grid-template-columns: 1fr; }
  .device-rail { display: none; }
  .mini-compare .mc-tag { font-size: 8px; padding-inline: 6px; }

  .report-images,
  .demo-outputs { grid-template-columns: 1fr; }
  .report-actions { flex-direction: column; }
  .report-actions .btn { width: 100%; }

  .plan-tag {
    position: static;
    align-self: flex-start;
    margin-bottom: 16px;
    display: inline-flex;
  }
  .plan-price { font-size: 2.35rem; }
  .plan li { font-size: 14px; }

  .checkout-head {
    gap: 12px;
  }
  .checkout-close {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  :root { --gut: 14px; }
  .btn { min-height: 48px; padding-inline: 14px; font-size: 14px; }
  .brand-name small { letter-spacing: .12em; }
  .hero { padding-top: 96px; }
  .device-bar .live { display: none; }
  .comparison-panel,
  .b-card,
  .tcard,
  .plan,
  .step,
  .report-sheet { padding: 20px 16px; }
}

/* ---------- Checkout success page ---------- */
.success-page {
  min-height: 100vh;
  background:
    radial-gradient(55% 45% at 72% 18%, var(--gold-soft), transparent 70%),
    radial-gradient(70% 55% at 28% 80%, rgba(85,119,108,.14), transparent 70%),
    var(--ink);
  color: var(--cream);
}
.success-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 64px);
}
.success-card {
  width: min(100%, 920px);
  text-align: center;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  padding: clamp(28px, 6vw, 64px);
  background: color-mix(in oklab, var(--ink) 82%, transparent);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.success-card,
.success-card * {
  max-width: 100%;
}
.success-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(42% 35% at 50% 0%, color-mix(in oklab, var(--gold) 18%, transparent), transparent 72%);
  pointer-events: none;
}
.success-card > * { position: relative; }
.success-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}
.success-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--gold-line);
  flex: none;
}
.success-mark img { width: 100%; height: 100%; object-fit: cover; }
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #17140f;
  box-shadow: 0 16px 46px color-mix(in oklab, var(--gold) 34%, transparent);
}
.success-icon .ico { width: 30px; height: 30px; }
.success-card h1 {
  font-size: clamp(2.15rem, 5vw, 4rem);
  max-width: 13ch;
  margin: 18px auto 0;
}
.success-lede {
  color: var(--cream-60);
  width: min(100%, 58ch);
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}
.success-status {
  width: min(100%, 58ch);
  margin: 22px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: color-mix(in oklab, var(--gold) 10%, transparent);
  color: var(--cream);
  font-size: 14.5px;
}
.success-meta {
  width: min(100%, 760px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-line);
  text-align: left;
}
.success-meta div {
  min-width: 0;
  background: color-mix(in oklab, var(--ink) 90%, var(--cream) 10%);
  padding: 16px;
}
.success-meta span {
  display: block;
  color: var(--cream-40);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.success-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--cream);
  font-size: 14.5px;
  overflow-wrap: anywhere;
}
.success-steps {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--dark-line);
  background: var(--dark-line);
  text-align: left;
}
.success-steps > div {
  background: color-mix(in oklab, var(--ink) 92%, var(--cream) 8%);
  padding: 22px;
}
.success-steps span {
  display: block;
  font-family: "Marcellus", Georgia, serif;
  color: var(--gold);
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 16px;
}
.success-steps b {
  display: block;
  color: var(--cream);
  font-size: 15.5px;
}
.success-steps p {
  color: var(--cream-60);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 7px;
  overflow-wrap: break-word;
}
.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.success-note {
  color: var(--cream-40);
  font-size: 13px;
  margin-top: 22px;
}
@media (max-width: 760px) {
  .success-page { overflow-x: hidden; }
  .success-shell { display: block; min-height: auto; padding: 0; }
  .success-card { border-radius: 10px; }
  .success-brand { margin-bottom: 26px; }
  .success-card h1 { font-size: clamp(2rem, 10vw, 2.75rem); max-width: 11ch; }
  .success-lede {
    width: min(100%, 31ch);
    font-size: .96rem;
  }
  .success-steps { grid-template-columns: 1fr; }
  .success-meta { grid-template-columns: 1fr; }
  .success-steps > div { min-width: 0; }
  .success-steps p { max-width: 31ch; }
  .success-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .success-card {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 26px 18px;
  }
  .success-mark { width: 48px; height: 48px; }
  .success-icon { width: 56px; height: 56px; }
  .success-card h1 { font-size: 2rem; }
}
