/* ==========================================================================
   VyomFlowX landing page
   ========================================================================== */

:root {
  /* Brand palette */
  --c-black: #0F0F0F;     /* primary dark background */
  --c-card: #2A2A2A;      /* secondary / card background */
  --c-gray: #8A8A8A;      /* body / secondary text */
  --c-light: #F2F2F2;     /* light section background */
  --c-accent: #D9715A;    /* buttons, highlights, links */
  --c-accent-hover: #E3876F;

  /* Semantic tokens (dark context by default; .section--tint flips them) */
  --bg: var(--c-black);
  --surface: var(--c-card);
  --surface-2: #323232;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #F2F2F2;
  --muted: var(--c-gray);         /* 5.6:1 on #0F0F0F */
  --muted-card: #A0A0A0;          /* #8A8A8A is only 4.1:1 on #2A2A2A, so card copy is a touch lighter */
  --dim: var(--c-gray);
  --accent: var(--c-accent);
  --accent-text: var(--c-accent); /* accent used as text: 5.9:1 on #0F0F0F */
  --accent-soft: rgba(217, 113, 90, 0.12);
  --accent-line: rgba(217, 113, 90, 0.32);
  --on-accent: var(--c-black);    /* dark text on accent buttons: 5.9:1 (white would be 3.3:1) */
  --grad: linear-gradient(135deg, #D9715A 0%, #E9A08C 100%);
  --green: #3ddc97;
  --red: #ff6b7a;
  --amber: #ffb547;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 14px 22px; font-size: 16px; }
.btn--primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 30px -10px rgba(217, 113, 90, .6);
}
.btn--primary:hover { background: var(--c-accent-hover); transform: translateY(-1px); box-shadow: 0 12px 40px -10px rgba(217, 113, 90, .8); }
.btn--whatsapp {
  background: rgba(37, 211, 102, .08); color: #e9fff1;
  border-color: rgba(37, 211, 102, .35);
}
.btn--whatsapp .ico { width: 18px; height: 18px; color: var(--wa); }
.btn--whatsapp:hover { background: rgba(37, 211, 102, .14); border-color: rgba(37, 211, 102, .6); }

.text-link {
  display: inline-flex; gap: 6px; align-items: center;
  color: var(--muted); font-weight: 500; font-size: 15px;
  padding: 6px 0;
  transition: color .2s;
}
.text-link:hover { color: var(--accent-text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--center { justify-content: center; }
@media (max-width: 519px) { .cta-row .btn { width: 100%; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.nav.is-open { background: var(--c-black); border-bottom-color: var(--border); }
.nav.is-scrolled:not(.is-open) {
  background: rgba(15, 15, 15, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; }
.logo__img { display: block; height: 22px; width: auto; }
@media (min-width: 640px) { .logo__img { height: 26px; } }
.logo--footer .logo__img { height: auto; width: 240px; max-width: 100%; }

.nav__links { display: none; }
.nav__links a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--accent-text); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }

.nav__toggle {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; padding: 0;
}
.nav__toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu panel */
@media (max-width: 899px) {
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    padding: 12px 16px 20px;
    background: var(--c-black);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -12px rgba(0,0,0,.7);
  }
  .nav.is-open .nav__links a:not(.btn) { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav__cta-mobile { margin-top: 12px; min-height: 48px; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; align-items: center; gap: 32px; }
  .nav__cta-mobile { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; top: -180px; left: 50%; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 113, 90, .22), rgba(217, 113, 90, .10) 55%, transparent);
  filter: blur(20px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.hero h1 { font-size: clamp(36px, 8.5vw, 62px); letter-spacing: -0.035em; line-height: 1.05; max-width: 15ch; }
.lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); max-width: 54ch; }
.hero__trust { font-size: 14px; color: var(--dim); max-width: 46ch; border-top: 1px solid var(--border); padding-top: 16px; }

@media (min-width: 1000px) {
  .hero { padding: calc(var(--nav-h) + 72px) 0 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; }
}

/* Hero product mock */
.hero__visual { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.hero__visual::before {
  content: ""; position: absolute; inset: 10% -6% -4%; z-index: -1;
  background: var(--grad); filter: blur(70px); opacity: .22; border-radius: 40px;
}
.app {
  background: var(--c-card);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
}
.app__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.app__title { font-size: 13px; font-weight: 600; color: var(--muted-card); }
.app__tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-card); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; }

.app__lead { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.015); }
.avatar { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(217, 113, 90,.15); color: var(--accent-text); border: 1px solid rgba(217, 113, 90,.3); }
.app__lead-name { font-weight: 600; font-size: 15px; }
.app__lead-meta { font-size: 13px; color: var(--muted-card); }

.flow { padding: 8px 12px 12px; position: relative; }
.flow__step {
  position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: start;
  padding: 12px 6px;
}
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 50px; bottom: -10px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent)); opacity: .45;
}
.flow__icon {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(217, 113, 90,.1); border: 1px solid rgba(217, 113, 90,.28);
  position: relative; z-index: 1;
}
.flow__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow__body { min-width: 0; display: flex; flex-direction: column; padding-top: 1px; }
.flow__body strong { font-size: 14px; font-weight: 600; }
.flow__body span { font-size: 13px; color: var(--muted-card); line-height: 1.45; }

.chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(61,220,151,.1); color: var(--green); border: 1px solid rgba(61,220,151,.25); white-space: nowrap; align-self: center; }
.chip--hot { background: rgba(255,107,122,.1); color: #ff9aa5; border-color: rgba(255,107,122,.3); }
.chip--muted { background: rgba(255,181,71,.08); color: var(--amber); border-color: rgba(255,181,71,.25); }

.hero__caption { margin-top: 14px; font-size: 12px; color: var(--dim); text-align: center; }

@media (max-width: 420px) {
  .flow { padding: 6px 8px 10px; }
  .flow__step { grid-template-columns: 32px 1fr auto; gap: 10px; }
  .flow__icon { width: 32px; height: 32px; }
  .flow__step:not(:last-child)::after { left: 21px; top: 46px; }
  .chip { font-size: 10px; padding: 2px 7px; }
  .btn--lg { font-size: 15px; padding: 14px 16px; }
  .btn--lg > span[aria-hidden] { display: none; }
}

/* Hero sequence animation */
@media (prefers-reduced-motion: no-preference) {
  .js .flow__step { opacity: 0; transform: translateY(8px); animation: stepIn .55s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .32s); }
  .js .flow__step .chip { opacity: 0; animation: fadeIn .4s ease forwards; animation-delay: calc(.6s + var(--i) * .32s); }
  @keyframes stepIn { to { opacity: 1; transform: none; } }
  @keyframes fadeIn { to { opacity: 1; } }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
/* Light sections (#F2F2F2): flip the semantic tokens so every component inside adapts */
.section--tint {
  --text: var(--c-black);
  --muted: #555555;         /* #8A8A8A is only 3.1:1 on #F2F2F2 */
  --muted-card: #555555;
  --dim: #555555;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --border: rgba(15, 15, 15, 0.10);
  --border-2: rgba(15, 15, 15, 0.22);
  --accent-text: #B0503A;   /* darker accent for text on light: 4.6:1 */
  --accent-soft: rgba(217, 113, 90, 0.12);
  --accent-line: rgba(217, 113, 90, 0.40);
  background: var(--c-light);
  color: var(--text);
}
.section--tint .card:hover,
.section--tint .faq details[open] { box-shadow: 0 10px 30px -18px rgba(15, 15, 15, .35); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.section h2 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.03em; }
.section__sub { color: var(--muted); font-size: 17px; max-width: 60ch; text-wrap: balance; }

/* Cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards--3, .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.card:hover { border-color: var(--border-2); background: var(--surface-2); }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted-card); font-size: 15px; }
.card__icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(217, 113, 90,.1); border: 1px solid rgba(217, 113, 90,.25);
}
.card__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card--service { padding: 28px; }
.card--service h3 { font-size: 20px; }

/* Solution steps */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; padding: 28px 24px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
}
.step::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--grad); opacity: .5;
}
.step__num {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--accent-text);
}
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--muted-card); font-size: 15px; }
.step--accent { background: linear-gradient(160deg, rgba(217, 113, 90,.14), rgba(217, 113, 90,.08)); border-color: rgba(217, 113, 90,.35); }
.step--accent::after { opacity: 1; }

/* Demo */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-2);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217, 113, 90,.16), transparent 70%),
    var(--c-card);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1px dashed rgba(255,255,255,.12); border-radius: 20px; margin: 10px;
}
.video__play {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 10px 40px -10px rgba(217, 113, 90,.8);
}
.video__play svg { width: 26px; height: 26px; fill: var(--on-accent); margin-left: 3px; }
.video__label { font-weight: 700; letter-spacing: .06em; font-size: 14px; color: var(--muted); margin-top: 6px; }
.video__hint { font-size: 13px; color: var(--dim); }
button.video__placeholder { font: inherit; color: inherit; background: none; cursor: pointer; width: calc(100% - 20px); }
button.video__placeholder:hover .video__play { transform: scale(1.05); }
.video__play { transition: transform .2s var(--ease); }

.demo__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.demo__cta p { font-size: 18px; font-weight: 600; }

/* Before / After */
.compare { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr auto 1fr; gap: 24px; } }
.compare__col { padding: 28px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
.compare__col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.compare__col--before { opacity: .92; }
.compare__col--after {
  background: linear-gradient(160deg, rgba(217, 113, 90,.12), rgba(217, 113, 90,.06) 60%, rgba(255,255,255,.02));
  border-color: rgba(217, 113, 90,.4);
  box-shadow: 0 30px 80px -40px rgba(217, 113, 90,.6);
}
.compare__arrow { display: grid; place-items: center; }
.compare__arrow svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) { .compare__arrow svg { transform: rotate(90deg); } }

.badge { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.badge--muted { background: rgba(255,255,255,.08); color: var(--muted-card); }

.timeline { position: relative; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.timeline li {
  position: relative; padding: 10px 0 10px 36px; font-size: 16px; color: var(--muted-card);
}
.timeline li::before {
  content: "×"; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; font-weight: 700; line-height: 1;
  background: rgba(255,107,122,.1); color: var(--red); border: 1px solid rgba(255,107,122,.3);
}
.timeline li:first-child::before { content: "•"; background: rgba(255,255,255,.06); color: var(--dim); border-color: var(--border); }
.timeline li + li::after {
  content: ""; position: absolute; left: 11px; top: -6px; height: 14px; width: 2px; background: var(--border);
}
.timeline--good li { color: var(--text); }
.timeline--good li::before { content: "✓"; background: rgba(61,220,151,.1); color: var(--green); border-color: rgba(61,220,151,.35); font-size: 13px; }
.timeline--good li + li::after { background: rgba(61,220,151,.3); }

.compare__result { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.compare__result--bad { background: rgba(255,107,122,.07); color: #ff9aa5; border: 1px solid rgba(255,107,122,.2); }
.compare__result--good { background: rgba(61,220,151,.08); color: #8af0c2; border: 1px solid rgba(61,220,151,.3); }

/* Process */
.process { display: grid; gap: 16px; margin-bottom: 48px; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process__item { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); position: relative; }
.process__num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; background: rgba(217, 113, 90,.1); border: 1px solid rgba(217, 113, 90,.3); color: var(--accent-text);
}
.process__item h3 { font-size: 19px; margin: 16px 0 8px; }
.process__item p { color: var(--muted-card); font-size: 15px; }
.center { display: flex; justify-content: center; }
@media (max-width: 519px) { .center .btn { width: 100%; } }

/* Tools / credibility */
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin: 0 auto 56px; }
.tools li {
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text);
}
.principles { display: grid; gap: 16px; }
@media (min-width: 800px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: transparent; }
.principles h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.principles h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); flex: none; }
.principles p { color: var(--muted-card); font-size: 15px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font-weight: 600; font-size: 16px; line-height: 1.4; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted-card); font-size: 15px; }

/* Final CTA */
.final { padding: 24px 0 96px; }
.final__box {
  position: relative; overflow: hidden; text-align: center;
  padding: 56px 20px; border-radius: 28px;
  border: 1px solid rgba(217, 113, 90,.35);
  background: linear-gradient(180deg, rgba(217, 113, 90,.12), rgba(217, 113, 90,.05) 60%, rgba(255,255,255,.015));
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.final__glow {
  position: absolute; top: -50%; left: 50%; width: 800px; height: 500px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 113, 90,.25), transparent); pointer-events: none;
}
.final__box > :not(.final__glow) { position: relative; }
.final h2 { font-size: clamp(28px, 5vw, 46px); letter-spacing: -0.03em; max-width: 20ch; }
.final__box > p { color: var(--muted); font-size: 18px; max-width: 56ch; }
.final__note { font-size: 14px !important; color: var(--dim) !important; }
@media (min-width: 900px) { .final__box { padding: 80px 48px; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer__tag { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 44ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (min-width: 800px) { .footer__links { justify-content: flex-end; } }
.footer__links a { color: var(--muted); font-size: 15px; padding: 6px 0; display: inline-block; transition: color .2s; }
.footer__links a:hover { color: var(--accent-text); }
.footer__bottom { margin-top: 40px; }
.footer__bottom-inner { padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--dim); }
.footer__bottom a:hover { color: var(--accent-text); }

/* Scroll reveal (only when JS is running and motion is OK) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
