/* ==================================================================
   Virtual Mouse Jiggler — design system
   White canvas · frosted purple glass · the living green status dot
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800;1,14..32,400..600&family=Instrument+Serif:ital@0;1&family=Fragment+Mono&display=swap');

:root {
  --bg:       #fcfcff;
  --bg-soft:  #f8f8fd;
  --ink:      #0d0d13;
  --ink-2:    #54545e;
  --ink-3:    #8b8b96;
  --line:     rgba(13,13,19,.09);
  --brand:    #4f49f0;
  --brand-br: #6e63ff;
  --brand-dk: #3a34c4;
  --green:    #30d960;
  --danger:   #ff5f56;

  --sh-sm: 0 1px 2px rgba(13,13,19,.05), 0 4px 16px rgba(13,13,19,.06);
  --sh-md: 0 6px 24px rgba(13,13,19,.08), 0 28px 68px rgba(34,28,130,.12);
  --sh-brand: 0 10px 30px rgba(79,73,240,.30);

  --r-sm: 12px; --r-md: 18px; --r-lg: 26px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.45,.5,1);
  --font:  'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono:  'Fragment Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Whole-page frosted-purple tinge — replaces the alternating section bands */
body::before { content: ''; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(58% 40% at 84% 6%, rgba(110,99,255,.08), transparent 60%),
    radial-gradient(50% 42% at 10% 40%, rgba(79,73,240,.055), transparent 60%),
    radial-gradient(66% 50% at 62% 98%, rgba(110,99,255,.06), transparent 62%); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(79,73,240,.18); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1,h2,h3 { letter-spacing: -.032em; line-height: 1.03; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.32rem; letter-spacing: -.02em; }
em.serif, .serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brand); letter-spacing: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.58; }
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--brand); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--brand); opacity: .45; }
.eyebrow.center::after { content: ''; width: 24px; height: 1px; background: var(--brand); opacity: .45; }
.mono { font-family: var(--mono); }

/* ---------- The living dot (signature) ---------- */
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.55); opacity: .8; } 70%, 100% { transform: scale(2); opacity: 0; } }

/* ---------- Buttons: purple liquid glass ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 .97rem/1 var(--font); letter-spacing: -.01em;
  padding: 15px 27px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .25s var(--spring), box-shadow .3s var(--ease), background .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-br), var(--brand) 52%, var(--brand-dk));
  border-color: rgba(255,255,255,.22);
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255,255,255,.38);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.38), transparent 48%);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(79,73,240,.42), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.65); border-color: var(--line); box-shadow: var(--sh-sm); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--sh-md); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }

/* ---------- Nav (floating glass pill) ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 28px)); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 10px 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.65); box-shadow: var(--sh-sm);
  transition: box-shadow .35s var(--ease), background .35s;
}
.nav.scrolled { background: rgba(255,255,255,.88); box-shadow: var(--sh-md); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.brand img { width: 27px; height: 27px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links .link { padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .92rem; transition: color .2s, background .2s; }
.nav-links .link:hover { color: var(--ink); background: rgba(13,13,19,.05); }
.nav .btn { padding: 11px 21px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 130px 0 84px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center top; transform: scale(1.04); animation: heroDrift 26s var(--ease) infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.09) translateY(-14px); } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,.08) 66%, rgba(255,255,255,.45) 84%, rgba(255,255,255,.85) 95%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero .lead { max-width: 30ch; }
.hero-cta { display: flex; gap: 12px; margin: 34px 0 22px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 16px; color: var(--ink-3); font-size: .88rem; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* Entrance + scroll reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; } .reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; } .reveal.d4 { transition-delay: .36s; }

/* ---------- The shelf (app mock) + wandering cursor ---------- */
.hero-app { position: relative; }
.shelf {
  background: #08080b; border-radius: 24px; padding: 18px 20px 20px; max-width: 430px; margin-left: auto;
  border: 1px solid rgba(255,255,255,.09); color: #fafafa;
  box-shadow: 0 34px 90px rgba(22,17,90,.38), inset 0 1px 0 rgba(255,255,255,.07);
  transform: perspective(1100px) rotateX(4deg) rotateY(-6deg);
  transition: transform .5s var(--ease);
}
.hero-app:hover .shelf { transform: perspective(1100px) rotateX(0) rotateY(0); }
.shelf-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.shelf-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.shelf-pill.on { background: #2c2c2e; }
.shelf-pill.off { color: #6a6a70; }
.shelf-gear { margin-left: auto; opacity: .55; display: grid; }
.shelf-row { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; }
.shelf-logo { width: 66px; height: 66px; border-radius: 16px; background: #1c1c1e; display: grid; place-items: center; position: relative; }
.shelf-logo img { width: 42px; height: 42px; }
.shelf-badge { position: absolute; right: -6px; bottom: -6px; width: 23px; height: 23px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(48,217,96,.55); animation: badgePulse 2.6s var(--ease) infinite; }
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.shelf-status .t { font-weight: 700; font-size: 1.06rem; }
.shelf-status .s { color: #9e9ea3; font-size: .82rem; margin-top: 2px; }
.shelf-status .u { color: #6a6a70; font-size: .76rem; margin-top: 1px; font-variant-numeric: tabular-nums; }
.shelf-go {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #62609a, #363376 52%, #302d68);
  border: 1px solid rgba(255,255,255,.4); box-shadow: 0 4px 16px rgba(79,73,240,.45);
}
.shelf-go svg { width: 22px; height: 22px; fill: #fff; }
/* The VMJ logo drifting with a "VMJ active" tag below it — a 1:1 match of the
   app's on-screen overlay: bare logo (no card), breathing pulse, dark pill
   with a solid green dot. Glides to a spot, rests, glides again. */
.wander {
  position: absolute; z-index: 2; pointer-events: none; top: 1%; left: 3%;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  animation: wander 15s cubic-bezier(.45,0,.35,1) infinite;
}
.wander-logo {
  width: 50px; height: 50px;
  filter: drop-shadow(0 10px 22px rgba(20,16,80,.35));
  animation: breathe 1.6s ease-in-out infinite;
}
.wander-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(18,16,22,.82); color: #f2f2f2; font-size: .72rem; font-weight: 600;
  padding: 5px 10px; border-radius: 11px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(4px);
}
.wander-tag .dot { width: 8px; height: 8px; }
.wander-tag .dot::after { display: none; }   /* solid dot, no ping ring — like the app */
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
/* glide → rest → glide, easing on each leg, matching the app's cadence */
@keyframes wander {
  0%,8%    { transform: translate(0, 0) }
  22%,32%  { transform: translate(255px, 30px) }
  46%,56%  { transform: translate(70px, 170px) }
  70%,80%  { transform: translate(290px, 195px) }
  94%,100% { transform: translate(0, 0) }
}

/* ---------- Marquee (seamless, bandless, real brand logos) ---------- */
.marquee { padding: 46px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-label { text-align: center; color: var(--ink-3); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; font-weight: 600; }
/* Seamless loop: track holds 2 identical copies; each chip carries its own
   trailing space (margin, not flex-gap) so translateX(-50%) lands perfectly. */
.marquee-track { display: flex; width: max-content; animation: slide var(--mq-dur, 40s) linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 14px; margin-right: 60px; font-weight: 700; color: var(--ink); font-size: 1.55rem; letter-spacing: -.02em; white-space: nowrap; opacity: .82; transition: opacity .25s; }
.chip:hover { opacity: 1; }
.chip svg, .chip img { width: 34px; height: 34px; flex: none; }
/* --mq-shift is set in JS to the exact px width of one duplicated set → seamless */
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(var(--mq-shift, -50%)); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin: 14px 0 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { padding: 34px 30px 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.75); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; position: relative; overflow: hidden; backdrop-filter: blur(6px); }
.step::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand-br), var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.step:hover::before { transform: scaleX(1); }
.step-n { display: inline-block; font-family: var(--mono); font-size: .74rem; color: var(--brand); letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: rgba(79,73,240,.08); margin-bottom: 16px; }
.step-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 4px; background: linear-gradient(180deg, rgba(79,73,240,.16), rgba(79,73,240,.05)); border: 1px solid rgba(79,73,240,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.step-ic svg { width: 23px; height: 23px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin: 16px 0 10px; }
.step p { color: var(--ink-2); font-size: .97rem; }

/* Bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.tile { border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); }
.tile.span2 { grid-column: span 2; }
.tile.dark { background: linear-gradient(150deg, #18151f, #0b0a12); color: #fff; border-color: rgba(255,255,255,.08); }
.tile.brandbg { background: linear-gradient(155deg, var(--brand-br), var(--brand-dk)); color: #fff; border-color: transparent; box-shadow: var(--sh-brand); }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--ink-2); font-size: .96rem; }
.tile.dark p, .tile.brandbg p { color: rgba(255,255,255,.82); }
.tile .big { font-size: 2.7rem; font-weight: 700; letter-spacing: -.035em; }
.tile-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(180deg, rgba(79,73,240,.14), rgba(79,73,240,.05)); border: 1px solid rgba(79,73,240,.18); }
.tile-ic svg { width: 22px; height: 22px; }
/* Live status chip inside the dark tile */
.tile-status { display: inline-flex; align-items: center; gap: 12px; padding: 11px 15px; border-radius: 14px; margin-bottom: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.ts-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(48,217,96,.5); animation: tsPing 2.4s var(--ease) infinite; }
@keyframes tsPing { 0% { box-shadow: 0 0 0 0 rgba(48,217,96,.5); } 70%,100% { box-shadow: 0 0 0 9px rgba(48,217,96,0); } }
.ts-a { font-weight: 700; font-size: .92rem; color: #fff; }
.ts-b { font-size: .76rem; color: rgba(255,255,255,.55); margin-top: 1px; }
.ts-wave { display: inline-flex; align-items: center; gap: 3px; height: 20px; margin-left: 4px; }
.ts-wave i { width: 3px; border-radius: 2px; background: var(--green); animation: eq 1s var(--ease) infinite alternate; }
.ts-wave i:nth-child(1){height:7px;animation-delay:0s} .ts-wave i:nth-child(2){height:15px;animation-delay:.15s}
.ts-wave i:nth-child(3){height:10px;animation-delay:.3s} .ts-wave i:nth-child(4){height:18px;animation-delay:.1s}
.ts-wave i:nth-child(5){height:8px;animation-delay:.25s}
@keyframes eq { to { transform: scaleY(.4); } }

/* ---------- Demo video ---------- */
.demo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16/9; background: #0b0a12; border: 1px solid var(--line); box-shadow: var(--sh-md); }
.demo video, .demo iframe { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.demo-ph { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background: radial-gradient(120% 130% at 50% 24%, rgba(94,86,255,.4), rgba(11,10,18,.94)); }
.demo-play { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(10px); transition: transform .3s var(--spring), background .3s; }
.demo-ph:hover .demo-play { transform: scale(1.1); background: rgba(255,255,255,.24); }
.demo-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.demo-hint { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .87rem; }

/* ---------- Pricing ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 5px; background: rgba(79,73,240,.06); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 40px; }
.bill-toggle button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: 600 .92rem var(--font); color: var(--ink-2); cursor: pointer; transition: background .25s var(--ease), color .25s, box-shadow .25s; display: inline-flex; align-items: center; gap: 8px; }
.bill-toggle button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.bill-toggle .save { font-size: .72rem; font-weight: 700; color: var(--green); background: rgba(48,217,96,.14); padding: 2px 8px; border-radius: 999px; }
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.price-card { border-radius: 28px; padding: 38px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.price-card.feature { background: linear-gradient(165deg, #fcfcff, #f1f0ff); border-color: rgba(79,73,240,.28); box-shadow: var(--sh-md); position: relative; }
.badge { position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; color: var(--brand); background: rgba(79,73,240,.1); padding: 6px 12px; border-radius: 999px; }
.amount { display: flex; align-items: flex-end; gap: 7px; margin: 16px 0 8px; }
.amount .n { font-size: 3.5rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.amount .per { color: var(--ink-3); margin-bottom: 8px; }
.price-card > p { color: var(--ink-2); font-size: .96rem; }
.checks { list-style: none; margin: 24px 0; display: grid; gap: 13px; }
.checks li { display: flex; align-items: center; gap: 11px; font-size: .96rem; color: var(--ink-2); }
.checks svg { width: 19px; height: 19px; flex: none; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- Platform cards ---------- */
.plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 800px; margin: 0 auto; }
.plat-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.cross-badge { display: inline-flex; align-items: center; gap: 9px; margin: -28px auto 34px; padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--brand); background: rgba(79,73,240,.08); border: 1px solid rgba(79,73,240,.2); position: relative; left: 50%; transform: translateX(-50%); }
.cross-badge .dot::after { display: none; }   /* solid dot, no ping ring */
.plat-card { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.plat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.plat-top { height: 160px; background-size: cover; background-position: center; display: grid; place-items: center; }
.plat-top svg { width: 58px; height: 58px; fill: #fff; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.plat-body { padding: 26px; }
.plat-body h3 { margin-bottom: 7px; }
.plat-body p { color: var(--ink-2); font-size: .92rem; margin-bottom: 20px; }

/* ---------- Install steps ---------- */
.install { max-width: 660px; margin: 0 auto; display: grid; gap: 14px; counter-reset: s; list-style: none; }
.install li { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: start; padding: 20px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.install li::before { counter-increment: s; content: counter(s); width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font: 400 .85rem var(--mono); color: #fff; background: linear-gradient(180deg, var(--brand-br), var(--brand-dk)); box-shadow: 0 3px 10px rgba(79,73,240,.35); }
.install b { display: block; margin-bottom: 3px; letter-spacing: -.01em; }
.install span { color: var(--ink-2); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-inner { border-radius: 32px; padding: 70px 44px; text-align: center; position: relative; overflow: hidden; background: linear-gradient(155deg, #1b1732, #0b0a12); color: #fff; box-shadow: var(--sh-md); }
.cta-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(85% 130% at 50% -12%, rgba(110,99,255,.55), transparent 62%); }
.cta-inner > * { position: relative; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.72); max-width: 46ch; margin: 0 auto 30px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 25px 4px; cursor: pointer; font-weight: 600; font-size: 1.08rem; letter-spacing: -.015em; }
.pm { width: 22px; height: 22px; flex: none; position: relative; }
.pm::before, .pm::after { content: ''; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.pm::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.pm::after { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); }
.faq-item.open .pm::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 40px 26px 4px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 58px 0 42px; margin-top: 48px; }
.footer-grid { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; margin-bottom: 42px; }
.footer-tag { color: var(--ink-3); font-size: .9rem; max-width: 30ch; margin-top: 12px; }
.fcol h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-3); margin-bottom: 15px; font-weight: 600; }
.fcol a { display: block; color: var(--ink-2); font-size: .93rem; padding: 5px 0; transition: color .2s; }
.fcol a:hover { color: var(--brand); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }

/* ---------- Auth / portal shared ---------- */
.page-pad { padding: 150px 0 90px; min-height: 72vh; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-md); padding: 36px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 13px; font: 400 .98rem var(--font);
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(79,73,240,.13); }
.msg { font-size: .9rem; min-height: 22px; padding: 6px 0; }
.msg.err { color: var(--danger); }
.msg.ok { color: #17a24b; }

/* ---------- Blog cards (shared: home teaser + /blog) ---------- */
.post-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.post-cover { height: 168px; background-size: cover; background-position: center; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 8px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.25; }
.post-card p { color: var(--ink-2); font-size: .94rem; flex: 1; }
.post-card .more { color: var(--brand); font-weight: 600; font-size: .9rem; margin-top: 16px; }
@media (max-width: 720px){ #homeBlog, .blog-grid { grid-template-columns: 1fr !important; } }

/* ---------- Legal / long-form ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; letter-spacing: -.02em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; display: grid; gap: 8px; }
.legal a { color: var(--brand); }
.legal .callout { background: rgba(79,73,240,.06); border: 1px solid rgba(79,73,240,.18); border-radius: var(--r-md); padding: 18px 20px; margin: 18px 0; }
.legal .callout p { margin: 0; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .shelf { margin-inline: auto; transform: none; }
  .steps, .bento, .price-wrap, .plat-grid, .plat-grid.three { grid-template-columns: 1fr; }
  .tile.span2 { grid-column: auto; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  /* Nav: shrink to logo + compact buttons so it never overflows the pill */
  .nav { top: 8px; padding: 7px 8px 7px 12px; width: calc(100% - 16px); }
  .nav .brand { font-size: 0; gap: 0; }         /* keep the logo, drop the wordmark */
  .nav .brand img { width: 30px; height: 30px; }
  .nav .btn, .nav .nav-cta { padding: 10px 14px; font-size: .85rem; }
  .eyebrow { font-size: 1.2rem; }
  .section-head { margin-bottom: 36px; }
  .card, .step, .price-card, .tile, .cta-inner { padding: 26px 22px; }
  .cta-inner { padding: 46px 22px; }
  .chip { font-size: 1.25rem; gap: 11px; }
  .chip svg, .chip img { width: 28px; height: 28px; }
  .install li { padding: 16px 16px; gap: 13px; }
  .legal h2 { font-size: 1.3rem; }
  .ud-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 116px 0 60px; }
  .section { padding: 60px 0; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .wander { display: none; }
  .shelf { max-width: 100%; }
  h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  h2 { font-size: clamp(1.7rem, 6.5vw, 2.3rem); }
  .price-amt .n, .amount .n { font-size: 2.9rem; }
  .bill-toggle { width: 100%; justify-content: center; }
  .footer-grid { gap: 30px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
