/* ===========================================================
   Invuio — shared styles
   Brand: electric blue (#2D2BF5) + warm terracotta + cream
   =========================================================== */
:root {
  --bg: #FBF9F5;
  --bg-2: #F2EDE4;
  --surface: #FFFFFF;
  --ink: #16151F;
  --ink-soft: #46434F;
  --muted: #8C8794;
  --hairline: #E9E3D7;
  --hairline-2: #DBD3C5;

  --brand: #2D2BF5;
  --brand-deep: #1E1CC9;
  --brand-bright: #5B57FF;
  --brand-tint: #ECEBFE;
  --brand-glow: rgba(45,43,245,.28);

  --warm: #C75D3C;
  --warm-deep: #A8492C;
  --warm-tint: #F7E4DB;

  --dark: #131228;
  --dark-2: #0D0C1B;
  --dark-soft: #B9B4CE;

  --maxw: 1200px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(22,21,31,.04), 0 2px 8px rgba(22,21,31,.05);
  --shadow-md: 0 6px 18px rgba(22,21,31,.07), 0 20px 44px rgba(22,21,31,.08);
  --shadow-lg: 0 10px 28px rgba(22,21,31,.09), 0 36px 80px rgba(22,21,31,.12);
  --shadow-brand: 0 8px 22px rgba(45,43,245,.32);

  --serif: "Spectral", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); background: var(--bg); color: var(--ink);
  line-height: 1.6; font-size: 18px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.07; letter-spacing: -.015em; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--brand-tint); color: var(--brand-deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); font-weight: 500; }
.eyebrow.warm { color: var(--warm-deep); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.65; }
.it { font-style: italic; }
.txt-brand { color: var(--brand-deep); }
.txt-warm { color: var(--warm-deep); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: 15px 26px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 30px var(--brand-glow); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-primary:hover::after { animation: sheen .9s var(--ease); }
@keyframes sheen { to { left: 130%; } }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline-2); }
.btn-ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.btn-light:hover { background: var(--bg); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 11px 19px; font-size: 14.5px; }

.reassure { font-size: 14px; color: var(--muted); font-family: var(--mono); letter-spacing: .01em; }
.reassure b { color: var(--brand-deep); font-weight: 500; }

/* ---------- Nav ---------- */
header.nav { position: sticky; top: 0; z-index: 60; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
header.nav.scrolled { background: rgba(251,249,245,.82); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a.link { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav-links a.link::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--brand); transition: width .25s var(--ease); border-radius: 2px; }
.nav-links a.link:hover { color: var(--brand-deep); }
.nav-links a.link:hover::after, .nav-links a.link.active::after { width: 100%; }
.nav-links a.link.active { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang { display: inline-flex; align-items: center; background: var(--bg-2); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; font-weight: 500; text-transform: uppercase; border: 0; background: transparent; color: var(--muted); padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.lang button.on { background: var(--ink); color: #fff; }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.menu-btn span + span { margin-top: 5px; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(19,18,40,.5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 340px); background: var(--bg); padding: 26px 24px; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 6px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { font-family: var(--serif); font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.drawer-panel .btn { margin-top: 20px; justify-content: center; }
.drawer-close { align-self: flex-end; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); line-height: 1; padding: 4px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-top: 16px; }
.section-head p { margin-top: 18px; }
.page-top { padding-top: 60px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(54% 50% at 82% 6%, var(--brand-glow), transparent 70%),
              radial-gradient(46% 44% at 6% 30%, rgba(199,93,60,.14), transparent 72%); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .8; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px; background: #fff; border: 1px solid var(--hairline); border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 3px var(--brand-tint);} 50%{ box-shadow: 0 0 0 7px rgba(45,43,245,.10);} }
.hero-badge span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
h1.hero-title { font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 600; letter-spacing: -.028em; }
h1.hero-title .accent { font-style: italic; color: var(--brand-deep); }
.hero-sub { margin-top: 24px; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--warm-deep); line-height: 1.4; max-width: 30ch; }
.hero-body { margin-top: 18px; font-size: 1.08rem; color: var(--ink-soft); max-width: 42ch; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-reassure { margin-top: 18px; }

/* staggered hero entrance — gated on .in (JS-added), so the end state is always visible
   even if the browser/render context freezes CSS animations */
html.anim .hero-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.anim .hero-stagger.in > * { opacity: 1; transform: none; }
html.anim .hero-stagger.in > *:nth-child(1){ transition-delay:.04s; }
html.anim .hero-stagger.in > *:nth-child(2){ transition-delay:.13s; }
html.anim .hero-stagger.in > *:nth-child(3){ transition-delay:.22s; }
html.anim .hero-stagger.in > *:nth-child(4){ transition-delay:.31s; }
html.anim .hero-stagger.in > *:nth-child(5){ transition-delay:.40s; }
html.anim .hero-stagger.in > *:nth-child(6){ transition-delay:.49s; }

/* ---------- Video module ---------- */
.video-card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-lg); padding: 14px; }
html.anim .video-card { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
.video-frame { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.video-frame video, .video-frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-stripes { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(45,43,245,.10) 0 2px, transparent 2px 13px); }
.poster .ph-stripes { background-image: repeating-linear-gradient(135deg, rgba(19,18,40,.08) 0 2px, transparent 2px 14px); }
.poster { position: absolute; inset: 0; }
.poster .pl { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; }
.poster .pl .t { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }
.poster .pl .s { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }
.play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-brand); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; border: 0; z-index: 3; }
.play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--brand); opacity: .5; animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0%{ transform: scale(.8); opacity: .55;} 100%{ transform: scale(1.5); opacity: 0;} }
.play:hover { transform: scale(1.07); }
.play svg { margin-left: 5px; }
.ph-label { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft); background: rgba(255,255,255,.82); padding: 5px 9px; border-radius: 7px; backdrop-filter: blur(4px); z-index: 2; }
.video-caption { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 4px; }
.video-caption .vt { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; }
.video-dots { display: flex; gap: 6px; }
.video-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }

/* ---------- Marquee logo strip ---------- */
.strip { padding: 26px 0 6px; }
.strip-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee .lg { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.marquee .lg::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); opacity: .55; }

/* ---------- Problem ---------- */
.band { background: var(--bg-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pain:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--warm); }
.pain .pic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--warm-tint); color: var(--warm-deep); transition: transform .35s var(--ease); }
.pain:hover .pic { transform: rotate(-6deg) scale(1.06); }
.pain h3 { font-size: 1.34rem; }
.pain p { margin-top: 11px; color: var(--ink-soft); font-size: 1rem; }
.pain .tag { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--warm-deep); }

/* ---------- Solution rows ---------- */
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 40px 0; }
.sol-row + .sol-row { border-top: 1px dashed var(--hairline-2); }
.sol-row.flip .sol-media { order: -1; }
.sol-copy .step { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 16px; }
.sol-copy .step .n { width: 27px; height: 27px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; font-weight: 600; }
.sol-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.sol-copy p { margin-top: 14px; color: var(--ink-soft); }
.sol-copy .feat-list { margin-top: 20px; display: grid; gap: 10px; padding: 0; }
.sol-copy .feat-list li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.sol-copy .feat-list .ck { color: var(--brand); flex: none; margin-top: 3px; }
.sol-media { position: relative; border-radius: var(--r-lg); border: 1px solid var(--hairline); background: var(--surface); box-shadow: var(--shadow-md); padding: 22px; overflow: hidden; }
.sol-media .panel { position: relative; border-radius: 14px; background: linear-gradient(160deg, #fff, var(--bg-2)); border: 1px solid var(--hairline); padding: 20px; min-height: 260px; }

/* mock UI */
.mock-app { display: grid; gap: 10px; }
.mock-card { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; box-shadow: var(--shadow-sm); }
.mock-row { display: flex; align-items: center; gap: 11px; padding: 12px 14px; }
.mock-row + .mock-row { border-top: 1px solid var(--hairline); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mock-bar { height: 7px; border-radius: 5px; }
.mono-tag { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.bigfig { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1; }

/* ---------- Features ---------- */
.dark-sec { background: var(--dark); color: #EDE9F5; position: relative; overflow: hidden; }
.dark-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 40% at 85% 0%, rgba(91,87,255,.22), transparent 70%), radial-gradient(36% 40% at 5% 100%, rgba(199,93,60,.16), transparent 70%); pointer-events: none; }
.dark-sec .wrap { position: relative; z-index: 1; }
.dark-sec h2, .dark-sec h3 { color: #F6F3FC; }
.dark-sec .eyebrow { color: var(--brand-bright); }
.dark-sec .section-head p { color: var(--dark-soft); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-md); padding: 34px 30px; transition: transform .35s var(--ease), background .35s, border-color .35s; }
.feature:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(91,87,255,.5); }
.feature .fic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(91,87,255,.20); color: #B7B4FF; transition: transform .35s var(--ease); }
.feature:hover .fic { transform: scale(1.07) rotate(4deg); }
.feature h3 { font-size: 1.38rem; }
.feature p { margin-top: 12px; color: var(--dark-soft); font-size: 1rem; }
.feature .meta { margin-top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: #8E89B8; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.compare { display: grid; gap: 16px; }
.compare .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--hairline); background: #fff; }
.compare .row.them { background: var(--bg-2); }
.compare .row .lbl { font-size: .98rem; color: var(--ink-soft); }
.compare .row .amt { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; white-space: nowrap; }
.compare .row.them .amt { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(140,135,148,.5); }
.compare .row.us { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.compare .row.us .amt { color: var(--brand-deep); }
.compare .save { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--warm-deep); }

.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 42px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--brand), var(--warm)); }
.plan .plan-name { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.plan .price .num { font-family: var(--serif); font-size: 4.4rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan .price .per { color: var(--muted); font-size: 1.05rem; }
.plan .trial { margin-top: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; background: var(--brand-tint); border-radius: 999px; font-size: 13.5px; color: var(--brand-deep); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.plan ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.plan ul li .ck { color: var(--brand); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; margin-top: 30px; }
.plan .pay { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); font-family: var(--mono); flex-wrap: wrap; }
.plan .pay .pp { font-family: var(--serif); font-style: italic; font-weight: 600; color: #283b80; }

/* ---------- Stats / Stories ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.stat { text-align: center; }
.stat .big { font-family: var(--serif); font-size: clamp(2.5rem, 4.4vw, 3.6rem); font-weight: 600; color: var(--brand-deep); letter-spacing: -.02em; line-height: 1; }
.stat .cap { margin-top: 10px; color: var(--ink-soft); font-size: .96rem; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote .stars { color: var(--warm); letter-spacing: 3px; font-size: 14px; }
.quote blockquote { margin: 16px 0 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); }
.quote .who { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 13px; }
.quote .ava { width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--brand-tint); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; color: var(--brand-deep); }
.quote .who .nm { font-weight: 600; font-size: .95rem; }
.quote .who .ro { font-size: 13px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { padding: 110px 0; }
.final-card { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--brand); color: #fff; text-align: center; padding: 80px 40px; box-shadow: 0 30px 80px var(--brand-glow); }
.final-card .deco { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(48% 70% at 12% 8%, rgba(255,255,255,.18), transparent 60%), radial-gradient(48% 64% at 90% 100%, rgba(199,93,60,.5), transparent 60%); }
.final-card > * { position: relative; z-index: 1; }
.final-card .eyebrow { color: rgba(255,255,255,.82); }
.final-card h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-top: 16px; }
.final-card p { margin: 20px auto 0; color: rgba(255,255,255,.92); max-width: 52ch; font-size: 1.1rem; }
.final-card .actions { margin-top: 34px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.final-card .reassure { margin-top: 22px; color: rgba(255,255,255,.85); }
.final-card .reassure b { color: #fff; }

/* ---------- Footer ---------- */
footer.foot { background: var(--dark); color: var(--dark-soft); padding: 72px 0 36px; position: relative; overflow: hidden; }
footer.foot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 0%, rgba(91,87,255,.16), transparent 70%); pointer-events: none; }
footer.foot .wrap { position: relative; z-index: 1; }
.foot-grat { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); color: #F6F3FC; text-align: center; max-width: 24ch; margin: 0 auto 56px; line-height: 1.3; }
.foot-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.10); }
.foot-brand img { height: 26px; margin-bottom: 16px; }
.foot-brand p { color: #9A95B0; font-size: .95rem; max-width: 34ch; }
.foot-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8E89B8; font-weight: 500; margin-bottom: 14px; }
.foot-col a { display: block; color: var(--dark-soft); font-size: .95rem; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; gap: 16px; flex-wrap: wrap; }
.foot-bottom p { font-family: var(--mono); font-size: 12px; color: #7C7796; letter-spacing: .02em; }
.foot-bottom .made b { color: var(--warm); font-weight: 400; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 1; transform: none; }
html.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.anim .reveal.in { opacity: 1; transform: none; }
html.anim .reveal[data-d="1"] { transition-delay: .08s; }
html.anim .reveal[data-d="2"] { transition-delay: .16s; }
html.anim .reveal[data-d="3"] { transition-delay: .24s; }
/* settled = guaranteed final state (JS-applied after the entrance duration).
   In a real browser the transition has already completed, so this is invisible;
   in a frozen render context it forces content visible. */
html.anim .reveal.settled, html.anim .hero-stagger.settled > * { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.anim .reveal, html.anim .hero-stagger > *, html.anim .video-card { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee-track, .hero-badge .dot, .play::before { animation: none !important; }
}

/* ---------- Language visibility helper ---------- */
[data-lang-only] { display: none; }

/* ---------- Information / legal / help pages ---------- */
.info-main { background: var(--bg); }
.info-hero { padding: 150px 0 64px; background: var(--bg-2); border-bottom: 1px solid var(--hairline); }
.info-hero h1 { max-width: 16ch; margin-top: 14px; font-size: clamp(2.5rem, 5vw, 4.3rem); }
.info-hero .lead { max-width: 58ch; margin-top: 18px; }
.info-updated { margin-top: 20px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.info-section { padding: 76px 0 110px; }
.info-layout { display: grid; grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.info-nav { position: sticky; top: 112px; display: grid; gap: 5px; padding: 12px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); }
.info-nav a { padding: 9px 11px; border-radius: 8px; color: var(--ink-soft); font-size: .9rem; }
.info-nav a:hover { color: var(--brand-deep); background: var(--brand-tint); }
.info-content { min-width: 0; }
.info-content section { scroll-margin-top: 120px; padding: 0 0 42px; }
.info-content section + section { padding-top: 42px; border-top: 1px solid var(--hairline); }
.info-content h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.info-content p { max-width: 74ch; margin-top: 14px; color: var(--ink-soft); line-height: 1.75; }
.info-content a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.info-content .info-action { display: inline-flex; padding: 12px 17px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-brand); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub, .hero-body { max-width: none; }
  .price-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sol-row { grid-template-columns: 1fr; gap: 30px; }
  .sol-row.flip .sol-media { order: 0; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .info-layout { grid-template-columns: 1fr; gap: 36px; }
  .info-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .section { padding: 76px 0; }
  .pain-grid, .feat-grid, .stats, .quotes { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .final-card { padding: 58px 26px; }
  .nav-right .btn.hide-sm { display: none; }
  .info-hero { padding: 120px 0 54px; }
  .info-section { padding: 54px 0 80px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .foot-cols { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .lang { display: none; }
  .info-nav { grid-template-columns: 1fr; }
}

/* ===========================================================
   Mobile optimization — 390px iPhone 14 primary target
   =========================================================== */
@media (max-width: 430px) {
  body {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
  }

  .wrap {
    padding: 0 18px;
  }

  /* Nav — clean collapse */
  .nav-inner {
    height: 64px;
    gap: 10px;
  }

  .brand img {
    height: 24px;
  }

  .nav-right .link.hide-sm,
  .nav-right .btn.hide-sm {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  /* Hero — larger, more impactful headline */
  .hero {
    padding: 44px 0 32px;
  }

  h1.hero-title {
    font-size: 2.6rem;
    letter-spacing: -0.03em;
    line-height: 1.04;
  }

  .hero-sub {
    font-size: 1.15rem;
    margin-top: 18px;
  }

  .hero-body {
    font-size: 1rem;
    margin-top: 14px;
  }

  .hero-badge {
    margin-bottom: 18px;
    padding: 6px 12px 6px 9px;
  }

  .hero-badge span {
    font-size: 11px;
  }

  /* CTA — full width */
  .hero-actions {
    margin-top: 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1rem;
  }

  .hero-reassure {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
  }

  /* Video/demo — proper mobile sizing */
  .hero-media {
    margin: 0 -8px;
  }

  .video-card {
    padding: 10px;
    border-radius: 18px;
  }

  .video-frame {
    aspect-ratio: 16/10;
    border-radius: 12px;
  }

  .play {
    width: 62px;
    height: 62px;
  }

  .ph-label {
    font-size: 10.5px;
    left: 10px;
    bottom: 8px;
    padding: 4px 7px;
  }

  /* Sections — reduce padding, improve readability */
  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 1.85rem;
    margin-top: 12px;
  }

  .section-head p {
    margin-top: 14px;
    font-size: 1rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Problem section */
  .pain {
    padding: 24px 20px;
  }

  .pain h3 {
    font-size: 1.2rem;
  }

  .pain p {
    font-size: 0.95rem;
  }

  /* Solution section */
  .sol-row {
    gap: 24px;
    padding: 28px 0;
  }

  .sol-copy h3 {
    font-size: 1.4rem;
  }

  .sol-copy p {
    font-size: 0.98rem;
  }

  .sol-copy .feat-list li {
    font-size: 0.92rem;
  }

  .sol-media {
    padding: 16px;
    border-radius: 18px;
  }

  .sol-media .panel {
    padding: 16px;
    min-height: 200px;
    border-radius: 12px;
  }

  /* Final CTA */
  .final {
    padding: 72px 0;
  }

  .final-card {
    padding: 44px 22px;
    border-radius: 22px;
  }

  .final-card h2 {
    font-size: 1.85rem;
  }

  .final-card p {
    font-size: 1rem;
  }

  .final-card .actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer — stack properly, no overflow */
  footer.foot {
    padding: 52px 0 28px;
    overflow: hidden;
  }

  .foot-grat {
    font-size: 1.35rem;
    margin-bottom: 36px;
  }

  .foot-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foot-brand p {
    font-size: 0.9rem;
  }

  .foot-col a {
    font-size: 0.9rem;
    padding: 5px 0;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 20px;
  }

  .foot-bottom p {
    font-size: 11px;
  }

  /* Marquee strip */
  .strip {
    padding: 18px 0 4px;
  }

  .strip-label {
    font-size: 10.5px;
    margin-bottom: 16px;
  }

  .marquee .lg {
    font-size: 17px;
  }

  .marquee-track {
    gap: 36px;
  }

  /* Pricing */
  .plan {
    padding: 30px 24px;
  }

  .plan .price .num {
    font-size: 3.4rem;
  }

  .compare .row {
    padding: 16px 18px;
  }

  /* All text minimum 16px */
  .pain .tag,
  .mono-tag,
  .reassure,
  .strip-label,
  .ph-label,
  .video-caption .vt {
    font-size: max(12px, 0.72rem);
  }

  /* Ensure no horizontal overflow */
  html, body {
    overflow-x: hidden;
  }

  /* Touch targets */
  .btn {
    min-height: 48px;
  }

  .btn-sm {
    min-height: 44px;
  }

  .drawer-panel a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}
