/* Nanflows "next" home page. Sections follow new-plan.md §5.1. */

section { position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 640px; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head.split > div:first-child { display: grid; gap: 14px; }
.link { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { overflow: hidden; padding-top: 24px; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.75; }
.hero-glow i:nth-child(1) { width: 520px; height: 420px; left: 50%; top: -120px; translate: -50% 0; background: var(--lilac); animation: drift 16s ease-in-out infinite alternate; }
.hero-glow i:nth-child(2) { width: 380px; height: 320px; left: 8%; top: 46%; background: var(--sky); opacity: 0.55; animation: drift 20s ease-in-out infinite alternate-reverse; }
.hero-glow i:nth-child(3) { width: 380px; height: 320px; right: 6%; top: 50%; background: var(--pink); opacity: 0.5; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 10%, transparent 75%);
  opacity: 0.55;
}

.hero-stage { position: relative; max-width: 1600px; margin: 0 auto; min-height: 860px; }
.hero-copy {
  position: relative; z-index: 3;
  max-width: 680px; margin: 0 auto; padding: 64px var(--gutter) 0;
  text-align: center; display: grid; justify-items: center; gap: 22px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border: 1px solid var(--border); border-radius: 999px;
  background: rgb(255 255 255 / 0.7); backdrop-filter: blur(6px);
  font-size: 11.5px;
}
/* The eyebrow is the first line of the h1 (the page's search words, SEO 2026-11-15), in its own row above the headline. */
#hero-title .hero-eyebrow { display: flex; width: fit-content; margin: 0 auto 22px; font-weight: 400; line-height: 1.4; letter-spacing: 0.08em; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgb(22 163 74 / 0.5); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgb(22 163 74 / 0); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0); } }
.hero-lede { max-width: 470px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Entrance of the hero text */
.hero-copy > * { animation: rise 900ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 80ms; }
.hero-copy > :nth-child(3) { animation-delay: 160ms; }
.hero-copy > :nth-child(4) { animation-delay: 240ms; }
.hero-copy > :nth-child(5) { animation-delay: 320ms; }
@keyframes rise { from { transform: translateY(14px); } }

/* The arc that links the cards */
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.hero-arc path { fill: none; stroke: var(--violet-line); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; opacity: 0; transition: opacity 900ms 600ms; }
.hero-arc circle { fill: var(--violet); filter: drop-shadow(0 0 6px rgb(139 92 246 / 0.9)); opacity: 0; transition: opacity 600ms 1200ms; }
.formation.placed ~ .hero-arc path, .hero-stage.ready .hero-arc path { opacity: 1; }
.hero-stage.ready .hero-arc circle { opacity: 1; }

/* Product cards in formation */
.formation { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pc {
  --w: 232px;
  position: absolute; left: 0; top: 0;
  width: var(--w);
  pointer-events: auto;
  display: grid; gap: 10px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-3);
  opacity: 0;
  scale: 0.6;
  transition:
    translate 1100ms var(--spring),
    rotate 1100ms var(--spring),
    scale 700ms var(--spring),
    opacity 600ms var(--ease-out),
    box-shadow 300ms var(--ease);
  will-change: translate, rotate;
}
.pc::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--tint), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.pc-hero { --w: 268px; }
.placed .pc { opacity: 1; scale: 1; }
.placed .pc .pc-float { animation: none; }
.pc > * { position: relative; }
.pc { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.2s); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.pc:hover, .pc:focus-visible {
  rotate: 0deg !important;
  scale: 1.07;
  z-index: 5;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, 0 40px 80px -24px rgb(60 20 120 / 0.38);
}
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 2px 2px 0; }
.pc-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.pc-ui {
  position: relative; overflow: hidden;
  height: 150px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--tint) 30%, #fff);
  border: 1px solid color-mix(in srgb, var(--tint) 60%, var(--border));
  font-size: 11px;
}
.pc-hero .pc-ui { height: 196px; }
.pc-foot { display: grid; gap: 1px; padding: 0 2px 2px; }
.pc-foot strong { font-size: 13.5px; letter-spacing: -0.01em; font-weight: 600; }
.pc-foot span { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.pc-foot span::after { content: ' →'; color: var(--violet); opacity: 0; transition: opacity 200ms; }
.pc:hover .pc-foot span::after { opacity: 1; }

/* Shared bits inside mini UIs */
.sw { width: 18px; height: 18px; border-radius: 5px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06); }
.line { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-top: 1px solid rgb(0 0 0 / 0.06); }
.line .nm { flex: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line b { font-weight: 600; }
.add { font-size: 10px; font-weight: 600; color: var(--violet); padding: 2px 7px; border-radius: 999px; background: var(--violet-soft); }
.bar { height: 5px; border-radius: 99px; background: rgb(0 0 0 / 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: 70%; border-radius: inherit; background: linear-gradient(90deg, var(--violet-2), var(--violet)); }

/* UI: popup */
.ui-popup .pp-page { position: absolute; inset: 10px; display: grid; gap: 6px; align-content: start; opacity: 0.5; }
.ui-popup .pp-page i { height: 8px; border-radius: 4px; background: rgb(0 0 0 / 0.08); }
.ui-popup .pp-page i:nth-child(1) { width: 60%; } .ui-popup .pp-page i:nth-child(2) { width: 85%; } .ui-popup .pp-page i:nth-child(3) { width: 40%; }
.pp-modal {
  position: absolute; left: 50%; top: 50%; width: 150px; translate: -50% -50%;
  background: #fff; border-radius: 10px; padding: 12px 12px 10px; text-align: center;
  display: grid; gap: 4px; justify-items: center;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.3);
  animation: popIn 6s var(--spring) infinite;
}
.pp-modal b { font-size: 20px; letter-spacing: -0.03em; line-height: 1; }
.pp-modal small { color: var(--ink-3); font-size: 10.5px; }
.pp-x { position: absolute; top: 4px; right: 8px; color: var(--ink-4); }
.pp-input { width: 100%; height: 22px; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; padding: 0 7px; margin-top: 4px; font-size: 10.5px; text-align: left; }
.pp-typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 1px solid var(--ink); animation: type 6s steps(11) infinite; }
.pp-btn { width: 100%; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 600; font-size: 10.5px; display: grid; place-items: center; animation: press 6s infinite; }
.pp-toast { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; font-size: 10.5px; animation: toast 6s infinite; }
@keyframes popIn { 0%, 6% { opacity: 0; transform: scale(0.8); } 14%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: scale(0.95); } }
@keyframes type { 0%, 18% { width: 0; } 45%, 100% { width: 11ch; } }
@keyframes press { 0%, 52% { transform: none; } 56% { transform: scale(0.94); background: var(--violet); } 62%, 100% { transform: none; } }
@keyframes toast { 0%, 58% { opacity: 0; transform: translateY(8px); } 64%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* UI: frequently bought together */
.ui-fbt { padding: 10px 12px; display: grid; gap: 8px; align-content: center; }
.fbt-h { font-weight: 600; font-size: 11.5px; }
.fbt-row { display: flex; align-items: center; gap: 6px; }
.fbt-row em { font-style: normal; color: var(--ink-4); font-weight: 600; }
.fbt-it { position: relative; width: 38px; height: 38px; border-radius: 8px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }
.fbt-it i { position: absolute; right: -4px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border-strong); }
.fbt-it i::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--violet); transform: scale(0); animation: tick 6s infinite; }
.fbt-it:nth-child(3) i::after { animation-delay: 0.35s; }
.fbt-it:nth-child(5) i::after { animation-delay: 0.7s; }
@keyframes tick { 0%, 10% { transform: scale(0); } 16%, 88% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
.fbt-total { display: flex; align-items: baseline; gap: 6px; }
.fbt-total s { color: var(--ink-4); }
.fbt-total b { font-size: 15px; letter-spacing: -0.02em; }
.save { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 2px 6px; border-radius: 999px; }
.fbt-btn { height: 24px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 10.5px; animation: press 6s infinite 0.4s; }

/* UI: sliding cart (centre card) */
.ui-cart { padding: 10px 12px; display: grid; align-content: start; gap: 2px; background: #fff; }
.ui-cart::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 4px; background: linear-gradient(var(--violet-2), var(--violet)); }
.cart-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.cart-head b { font-size: 12.5px; }
.cart-head span { font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: var(--surface-2); }
.ship { display: grid; gap: 4px; margin-bottom: 4px; }
.ship p { position: relative; height: 14px; font-size: 10.5px; color: var(--ink-2); }
.ship p span { position: absolute; inset: 0; }
.ship-b { color: var(--green); font-weight: 600; opacity: 0; }
.ui-cart .bar i { animation: fill 6s var(--ease-out) infinite; }
.ui-cart .ship-a { animation: swapA 6s infinite; }
.ui-cart .ship-b { animation: swapB 6s infinite; }
.ui-cart .up .add { animation: added 6s infinite; }
.checkout { margin-top: 6px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 4px; font-weight: 600; font-size: 11px; position: relative; }
.checkout .tot-a, .checkout .tot-b { display: inline-block; }
.checkout .tot-a { animation: swapA 6s infinite; }
.checkout .tot-b { position: absolute; left: calc(50% + 24px); animation: swapB 6s infinite; opacity: 0; }
@keyframes fill { 0%, 30% { width: 62%; } 46%, 88% { width: 100%; background: linear-gradient(90deg, #22c55e, var(--green)); } 100% { width: 62%; } }
@keyframes swapA { 0%, 38% { opacity: 1; } 44%, 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes swapB { 0%, 38% { opacity: 0; } 44%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes added { 0%, 28% { background: var(--violet-soft); color: var(--violet); } 32% { transform: scale(0.88); } 36%, 90% { background: var(--green); color: #fff; transform: none; } 96%, 100% { background: var(--violet-soft); color: var(--violet); } }

/* UI: quantity tiers */
.ui-tiers { padding: 10px 12px; display: grid; gap: 5px; align-content: center; }
.tier-h { font-weight: 600; font-size: 11.5px; margin-bottom: 1px; }
.tier {
  display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 7px; background: #fff;
  border: 1.5px solid var(--border); font-size: 10.5px; transition: border-color 200ms;
}
.tier span:nth-child(2) { flex: 1; }
.tier em { font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 1px 5px; border-radius: 99px; margin-left: 3px; }
.tier b { font-weight: 600; }
.rad { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--border-strong); position: relative; flex: none; }
.rad::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--violet); transform: scale(0); }
.ui-tiers .t1 { animation: selA 6s infinite; } .ui-tiers .t1 .rad::after { animation: dotA 6s infinite; }
.ui-tiers .t2 { animation: selB 6s infinite; } .ui-tiers .t2 .rad::after { animation: dotB 6s infinite; }
.ui-tiers .t3 { animation: selC 6s infinite; } .ui-tiers .t3 .rad::after { animation: dotC 6s infinite; }
@keyframes selA { 0%, 30% { border-color: var(--violet); } 33%, 100% { border-color: var(--border); } }
@keyframes selB { 0%, 30% { border-color: var(--border); } 33%, 63% { border-color: var(--violet); } 66%, 100% { border-color: var(--border); } }
@keyframes selC { 0%, 63% { border-color: var(--border); } 66%, 100% { border-color: var(--violet); background: var(--violet-soft); } }
@keyframes dotA { 0%, 30% { transform: scale(1); } 33%, 100% { transform: scale(0); } }
@keyframes dotB { 0%, 30% { transform: scale(0); } 33%, 63% { transform: scale(1); } 66%, 100% { transform: scale(0); } }
@keyframes dotC { 0%, 63% { transform: scale(0); } 66%, 100% { transform: scale(1); } }

/* UI: rewards bar */
.ui-rewards { padding: 12px; display: grid; gap: 12px; align-content: center; background: #fff; }
.rw-h { position: relative; height: 15px; font-size: 11px; font-weight: 600; }
.rw-h span { position: absolute; inset: 0; }
.rw-b { color: var(--green); opacity: 0; }
.ui-rewards .rw-a { animation: swapA 6s infinite; }
.ui-rewards .rw-b { animation: swapB 6s infinite; }
.rw-track { position: relative; height: 6px; border-radius: 99px; background: var(--surface-3); margin: 6px 8px 8px; }
.rw-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #fb923c, var(--violet)); animation: rwfill 6s var(--ease-out) infinite; }
@keyframes rwfill { 0% { width: 10%; } 20% { width: 34%; } 32% { width: 66%; } 44%, 90% { width: 100%; } 100% { width: 10%; } }
.rw-m { position: absolute; top: 50%; width: 24px; height: 24px; translate: -50% -50%; border-radius: 50%; background: #fff; border: 1.5px solid var(--border-strong); display: grid; place-items: center; }
.rw-m svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.rw-m.m1 { left: 33%; animation: mile 6s infinite 0.9s; }
.rw-m.m2 { left: 66%; animation: mile 6s infinite 1.6s; }
.rw-m.m3 { left: 100%; animation: mile 6s infinite 2.4s; }
@keyframes mile { 0% { background: #fff; border-color: var(--border-strong); } 4%, 70% { background: var(--violet-soft); border-color: var(--violet); transform: scale(1.12); } 76%, 100% { background: #fff; border-color: var(--border-strong); transform: none; } }
.rw-gift { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; border: 1px dashed var(--violet-line); background: var(--violet-soft); font-size: 10.5px; animation: giftIn 6s var(--spring) infinite; }
.rw-gift span:nth-child(2) { flex: 1; }
.rw-gift b { color: var(--green); }
@keyframes giftIn { 0%, 40% { opacity: 0; transform: translateY(8px) scale(0.95); } 46%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* =========================================================================
   STRIP
   ========================================================================= */
.strip { border-block: 1px solid var(--border); background: var(--surface-1); }
.strip-in { display: flex; align-items: center; gap: 28px; height: 72px; overflow: hidden; }
.strip .eyebrow { flex: none; }
.logos .dup { display: none; }
.logos { display: flex; gap: 36px; flex: 1; justify-content: space-between; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; color: var(--ink-4); white-space: nowrap; }

/* =========================================================================
   PROBLEM ROUTER
   ========================================================================= */
.fix { padding: 120px 0 100px; }
.fix-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.fix-tabs { margin-top: 24px; }
.fix-tabs { display: grid; gap: 10px; }
.ft {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  text-align: left; padding: 18px 20px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--bg);
  transition: border-color 200ms, background 200ms, box-shadow 200ms, transform 200ms var(--ease);
}
.ft:hover { border-color: var(--border-strong); transform: translateX(3px); }
.ft.on { border-color: var(--violet-line); background: linear-gradient(100deg, var(--violet-soft), #fff 70%); box-shadow: var(--shadow-2); }
.ft-n { font-family: var(--mono); font-size: 12px; color: var(--ink-4); padding-top: 3px; }
.ft.on .ft-n { color: var(--violet); }
.ft-t { display: grid; gap: 3px; }
.ft-t b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.ft-t small { font-size: 14px; color: var(--ink-3); }
.ft-p { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.ft-p i { display: block; height: 100%; width: 0; background: var(--violet); }
.ft.on .ft-p i { animation: prog var(--dwell, 7s) linear forwards; }
.fix.paused .ft.on .ft-p i { animation: none; width: 100%; opacity: 0.35; }
@keyframes prog { to { width: 100%; } }

.fix-stage { display: grid; justify-items: center; gap: 22px; }
.phone {
  position: relative; width: 300px; height: 560px; border-radius: 44px; padding: 14px;
  background: #0d0d10;
  box-shadow: 0 0 0 1.5px #2a2a30 inset, 0 50px 100px -30px rgb(60 20 120 / 0.45), 0 30px 60px -30px rgb(0 0 0 / 0.4);
  overflow: hidden;
}
.phone::before { content: ''; position: absolute; inset: -40% -40% auto auto; width: 300px; height: 300px; background: radial-gradient(var(--lilac), transparent 60%); opacity: 0.25; pointer-events: none; }
.ph-notch { position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 99px; background: #000; z-index: 9; }
.ph-bar { position: absolute; top: 14px; left: 14px; right: 14px; height: 64px; border-radius: 32px 32px 0 0; background: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; z-index: 8; border-bottom: 1px solid var(--border); }
.ph-bar span { font-size: 11px; color: var(--ink-3); background: var(--surface-2); padding: 3px 12px; border-radius: 99px; }
.scene {
  position: absolute; inset: 14px; border-radius: 32px; background: #fff; overflow: hidden;
  padding: 76px 16px 16px; font-size: 12.5px;
  opacity: 0; visibility: hidden; transition: opacity 400ms var(--ease), visibility 0s 400ms;
}
.scene.on { opacity: 1; visibility: visible; transition: opacity 400ms var(--ease); }
.pdp { display: grid; gap: 6px; }
.pdp-img { height: 230px; border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); position: relative; }
.pdp-img::after { content: ''; position: absolute; left: 50%; top: 50%; width: 46%; height: 56%; translate: -50% -46%; border-radius: 22px 22px 12px 12px; background: rgb(255 255 255 / 0.22); }
.pdp-img.short { height: 120px; }
.pdp-n { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; margin-top: 4px; display: flex; justify-content: space-between; }
.pdp-p { color: var(--ink-2); }
.pdp-p.inl { font-weight: 500; }
.pdp-btn { height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; margin-top: 8px; }

/* Scene: cart */
.drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: 86%;
  background: #fff; border-left: 1px solid var(--border);
  box-shadow: -20px 0 50px -10px rgb(0 0 0 / 0.25);
  padding: 82px 14px 14px; display: grid; align-content: start; gap: 6px;
  transform: translateX(105%);
}
.s-cart::after { content: ''; position: absolute; inset: 0; background: rgb(9 9 11 / 0.35); opacity: 0; pointer-events: none; }
.s-cart .drawer { z-index: 2; }
.dr-h { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 4px; }
.dr-h span { color: var(--ink-4); }
.ship.sm p { font-size: 11.5px; height: auto; }
.ship.sm .bar i { width: 40%; }
.dr-up { font-size: 11px; color: var(--ink-3); margin-top: 8px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.drawer .line { padding: 8px 0; }
.drawer .sw { width: 30px; height: 30px; border-radius: 8px; }
.dr-btn { margin-top: 10px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; }
.play.s-cart .tap { animation: tapBtn 0.5s 0.6s var(--ease) both; }
.play.s-cart .drawer { animation: slideIn 0.7s 1.1s var(--ease-out) forwards; }
.play.s-cart::after { animation: veil 0.5s 1.1s forwards; }
.play.s-cart .drawer .add { animation: added2 0.4s 3.2s forwards; }
.play.s-cart .ship.sm .bar i { animation: fill2 0.8s 3.4s var(--ease-out) forwards; }
@keyframes tapBtn { 50% { transform: scale(0.95); background: var(--violet); } }
@keyframes slideIn { to { transform: none; } }
@keyframes veil { to { opacity: 1; } }
@keyframes added2 { to { background: var(--green); color: #fff; } }
@keyframes fill2 { to { width: 100%; background: var(--green); } }

/* Scene: bundle */
.bx { margin-top: 12px; border: 1px solid var(--border); border-radius: 16px; padding: 12px; display: grid; gap: 4px; }
.bx-h { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 4px; }
.bx-h span { font-size: 10.5px; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 99px; }
.bx-it { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--surface-3); }
.bx-it .nm { flex: 1; color: var(--ink-2); }
.bx-it .sw { width: 26px; height: 26px; border-radius: 7px; }
.ck { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--border-strong); position: relative; flex: none; }
.ck::after { content: ''; position: absolute; inset: 2px; border-radius: 2px; background: var(--violet); transform: scale(0); }
.bx-it.i1 .ck::after { transform: scale(1); }
.play.s-bundle .i2 .ck::after { animation: ckOn 0.3s 0.8s var(--spring) forwards; }
.play.s-bundle .i3 .ck::after { animation: ckOn 0.3s 1.5s var(--spring) forwards; }
@keyframes ckOn { to { transform: scale(1); } }
.bx-tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px; }
.bx-tot .odo { font-size: 22px; letter-spacing: -0.03em; }
.bx-btn { height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; margin-top: 6px; }
.play.s-bundle .bx-btn { animation: tapBtn 0.5s 2.8s both; }

/* Scene: exit */
.cursor { position: absolute; left: 60%; top: 62%; width: 20px; z-index: 6; }
.cursor svg { fill: var(--ink); stroke: #fff; stroke-width: 1; }
.veil { position: absolute; inset: 0; background: rgb(9 9 11 / 0.45); opacity: 0; }
.ex-pop {
  position: absolute; left: 16px; right: 16px; top: 150px; background: #fff; border-radius: 20px; padding: 20px 18px;
  display: grid; gap: 8px; text-align: center; justify-items: center; opacity: 0; transform: translateY(20px) scale(0.92);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.5);
}
.ex-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.ex-pop > b { font-size: 26px; letter-spacing: -0.035em; line-height: 1.05; }
.ex-pop .pp-input { height: 36px; font-size: 12.5px; border-radius: 10px; padding: 0 12px; }
.ex-pop .pp-typed { animation: none; }
.ex-btn { width: 100%; height: 38px; border-radius: 10px; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 600; }
.ex-code { font-family: var(--mono); font-weight: 600; letter-spacing: 0.12em; padding: 6px 14px; border-radius: 10px; border: 1.5px dashed var(--green); color: var(--green); opacity: 0; }
.play.s-exit .cursor { animation: toTop 1.1s 0.4s var(--ease) forwards; }
.play.s-exit .veil { animation: veil 0.4s 1.5s forwards; }
.play.s-exit .ex-pop { animation: popUp 0.6s 1.5s var(--spring) forwards; }
.play.s-exit .ex-pop .pp-typed { animation: type2 1s 2.4s steps(11) forwards; }
.play.s-exit .ex-btn { animation: tapBtn 0.5s 3.5s both; }
.play.s-exit .ex-code { animation: veil 0.4s 4s forwards; }
@keyframes toTop { to { left: 50%; top: -6%; } }
@keyframes popUp { to { opacity: 1; transform: none; } }
@keyframes type2 { to { width: 11ch; } }

/* Scene: deal */
.qb { margin-top: 12px; display: grid; gap: 7px; }
.qb .tier { padding: 11px 12px; border-radius: 12px; font-size: 13px; }
.qb .tier em { font-size: 10.5px; }
.qb .rad { width: 15px; height: 15px; }
.qb .t1 { border-color: var(--violet); }
.qb .t1 .rad::after { transform: scale(1); }
.play.s-deal .t1 { animation: offSel 0.2s 1s forwards; } .play.s-deal .t1 .rad::after { animation: dotOff 0.2s 1s forwards; }
.play.s-deal .t2 { animation: onSel 0.2s 1s forwards, offSel 0.2s 2.2s forwards; } .play.s-deal .t2 .rad::after { animation: ckOn 0.2s 1s forwards, dotOff 0.2s 2.2s forwards; }
.play.s-deal .t3 { animation: onSel 0.3s 2.2s forwards; } .play.s-deal .t3 .rad::after { animation: ckOn 0.3s 2.2s var(--spring) forwards; }
@keyframes onSel { to { border-color: var(--violet); background: var(--violet-soft); } }
@keyframes offSel { to { border-color: var(--border); background: #fff; } }
@keyframes dotOff { to { transform: scale(0); } }
.qb-btn { height: 42px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; margin-top: 4px; opacity: 0.35; }
.play.s-deal .qb-btn { animation: btnOn 0.3s 2.4s forwards; }
@keyframes btnOn { to { opacity: 1; } }

.fix-result { position: relative; width: 100%; max-width: 420px; min-height: 96px; }
.fr { position: absolute; inset: 0 0 auto; display: grid; gap: 12px; text-align: center; justify-items: center; opacity: 0; transform: translateY(6px); transition: opacity 300ms, transform 300ms var(--ease-out); pointer-events: none; }
.fr.on { opacity: 1; transform: none; pointer-events: auto; }
.fr p { color: var(--ink-2); font-size: 15.5px; }
.fr p b { color: var(--ink); }
.fr-prod { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.fr-prod a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid var(--border); font-size: 13.5px; font-weight: 550; background: #fff; transition: border-color 150ms, transform 150ms; }
.fr-prod a:hover { border-color: var(--violet); transform: translateY(-1px); }
.fr-prod a::after { content: '→'; color: var(--violet); }

/* =========================================================================
   JOURNEY
   ========================================================================= */
.journey { padding: 100px 0; background: linear-gradient(var(--bg), var(--surface-1)); border-top: 1px solid var(--border); }
.jr { position: relative; padding-top: 10px; }
.jr-total { display: grid; justify-items: center; gap: 4px; margin-bottom: 36px; }
.jr-total .odo { font-size: clamp(44px, 6vw, 72px); letter-spacing: -0.05em; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.jr-line { position: absolute; left: 12.5%; width: 75%; height: 0; top: var(--line-top, 160px); border-top: 2px dashed var(--border-strong); }
.jr-line i { position: absolute; left: 0; top: -2px; height: 2px; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--violet-2), var(--violet)); box-shadow: 0 0 12px rgb(139 92 246 / 0.6); transition: width 900ms var(--ease-out); }
.jr-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; padding: 0; margin: 0; list-style: none; }
.js { display: grid; justify-items: center; gap: 12px; text-align: center; }
.js-dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--border-strong); position: relative; z-index: 1; transition: all 400ms var(--spring); }
.js.on .js-dot { border-color: var(--violet); background: var(--violet); box-shadow: 0 0 0 6px var(--violet-soft); transform: scale(1.1); }
.js .eyebrow { transition: color 300ms; }
.js.on .eyebrow { color: var(--violet); }
.js-card { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; min-width: 170px; opacity: 0.45; transform: translateY(6px) scale(0.97); transition: all 500ms var(--spring); }
.js.on .js-card { opacity: 1; transform: none; box-shadow: var(--shadow-2); border-color: var(--violet-line); }
.js-card b { font-size: 15px; letter-spacing: -0.01em; }
.js-card small { font-size: 13px; color: var(--ink-3); }
.js-prod { font-size: 13px; font-weight: 550; color: var(--violet); padding: 4px 10px; border-radius: 999px; background: var(--violet-soft); opacity: 0; transition: opacity 400ms; }
.js.on .js-prod { opacity: 1; }
.js-prod:hover { text-decoration: underline; }

/* =========================================================================
   LINEUP
   ========================================================================= */
.lineup { padding: 110px 0 90px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--ink-3); transition: color 200ms; }
.seg button.on { color: var(--ink); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow-2); transition: translate 350ms var(--spring), width 350ms var(--spring); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--border); background: #fff;
  transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out), border-color 300ms, opacity 300ms;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--tint) 80%, var(--border)); }
.prod.hide { display: none; }
.prod-vis { height: 150px; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tint) 75%, #fff), #fff); display: grid; place-items: center; border-bottom: 1px solid var(--border); }
.prod-body { padding: 20px 20px 8px; display: grid; gap: 8px; align-content: start; }
.prod-meta { display: flex; gap: 8px; align-items: center; }
.free { font-size: 11.5px; font-weight: 600; color: var(--green); }
.prod-out { color: var(--ink-2); font-size: 15px; }
.ticks { display: grid; gap: 6px; margin-top: 6px; }
.ticks li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ticks li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%236d28d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 20px; flex-wrap: wrap; }
.price { font-size: 13.5px; color: var(--ink-3); }
.price b { color: var(--ink); font-size: 16px; }
.acts { display: flex; gap: 6px; }
.prod-all { place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 32px; background: var(--surface-1); border-style: dashed; grid-template-rows: none; }
.prod-all b { font-size: 20px; letter-spacing: -0.02em; }

/* Mini visuals on product cards */
.mini-cart { width: 150px; height: 104px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-2); padding: 12px; display: grid; gap: 7px; position: relative; overflow: hidden; }
.mini-cart i { height: 10px; border-radius: 5px; background: var(--surface-3); }
.mini-cart i:nth-child(1) { width: 70%; } .mini-cart i:nth-child(2) { width: 90%; } .mini-cart i:nth-child(3) { width: 55%; }
.mini-cart span { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--violet) 75%, var(--surface-3) 75%); }
.prod:hover .mini-cart { animation: wiggle 0.6s var(--spring); }
.mini-fbt { display: flex; align-items: center; gap: 8px; }
.mini-fbt i { width: 44px; height: 44px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-2); }
.mini-fbt i:nth-child(1) { background: #c9542c; } .mini-fbt i:nth-child(3) { background: #2f8f5b; } .mini-fbt i:nth-child(5) { background: #1f78c8; }
.mini-fbt em { font-style: normal; font-weight: 700; color: var(--violet); }
.prod:hover .mini-fbt i { animation: hop 0.5s var(--spring) both; }
.prod:hover .mini-fbt i:nth-child(3) { animation-delay: 80ms; } .prod:hover .mini-fbt i:nth-child(5) { animation-delay: 160ms; }
.mini-pop { width: 130px; height: 96px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-2); display: grid; justify-items: center; align-content: center; gap: 7px; }
.mini-pop b { font-size: 26px; letter-spacing: -0.04em; color: var(--rose); line-height: 1; }
.mini-pop i { width: 84px; height: 10px; border-radius: 4px; border: 1px solid var(--border); }
.mini-pop span { width: 84px; height: 14px; border-radius: 4px; background: var(--ink); }
.prod:hover .mini-pop { animation: wiggle 0.6s var(--spring); }
.mini-tiers { display: grid; gap: 6px; width: 150px; }
.mini-tiers i { height: 22px; border-radius: 7px; background: #fff; border: 1.5px solid var(--border); }
.mini-tiers i.on { border-color: var(--violet); background: var(--violet-soft); }
.prod:hover .mini-tiers i.on { animation: hop 0.5s var(--spring); }
.mini-rw { position: relative; width: 160px; height: 40px; }
.mini-rw span { position: absolute; left: 0; right: 0; top: 17px; height: 6px; border-radius: 3px; background: #fff; box-shadow: var(--shadow-1); }
.mini-rw span i { display: block; height: 100%; width: 66%; border-radius: inherit; background: linear-gradient(90deg, #fb923c, var(--violet)); transition: width 600ms var(--ease-out); }
.prod:hover .mini-rw span i { width: 100%; }
.mini-rw b { position: absolute; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); }
.mini-rw b:nth-of-type(1) { left: 28%; } .mini-rw b:nth-of-type(2) { left: 58%; } .mini-rw b:nth-of-type(3) { right: -4px; border-color: var(--border-strong); }
@keyframes wiggle { 40% { transform: rotate(-3deg) scale(1.04); } 70% { transform: rotate(2deg); } }
@keyframes hop { 50% { transform: translateY(-8px); } }

/* =========================================================================
   CALCULATOR
   ========================================================================= */
.calc { padding: 40px 0 100px; }
.calc-box {
  display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-2);
}
.calc-l { padding: 48px; display: grid; gap: 26px; align-content: start; }
.calc-l .h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sl { display: grid; gap: 10px; }
.sl label { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.sl output { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--violet) var(--p, 50%), var(--surface-3) var(--p, 50%)); outline-offset: 6px; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); box-shadow: var(--shadow-2); cursor: grab; transition: transform 150ms; }
input[type='range']::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type='range']::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); cursor: grab; }
.calc-r {
  position: relative; padding: 48px; display: grid; align-content: center; justify-items: start; gap: 12px;
  background: radial-gradient(120% 120% at 100% 0%, #2e1065, #0d0a1a 60%); color: #fff; overflow: hidden;
}
.calc-r::before { content: ''; position: absolute; width: 340px; height: 340px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(var(--violet-2), transparent 65%); opacity: 0.5; }
.calc-r > * { position: relative; }
.calc-r .eyebrow { color: #c4b5fd; }
.calc-big { font-size: clamp(48px, 6vw, 76px); letter-spacing: -0.05em; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #d8c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-sub { color: #c9c3dc; font-size: 15px; margin-bottom: 12px; }
.calc-sub b { color: #fff; }
.calc-more { font-size: 13.5px; color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   BENTO
   ========================================================================= */
.why { padding: 100px 0; border-top: 1px solid var(--border); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bt { border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface-1); padding: 20px; display: grid; gap: 4px; align-content: start; transition: transform 300ms var(--ease-out), box-shadow 300ms; }
.bt:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); background: #fff; }
.bt b { font-size: 17px; letter-spacing: -0.015em; }
.bt p { font-size: 14.5px; color: var(--ink-3); }
.bt-vis { height: 130px; margin-bottom: 14px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); display: grid; place-items: center; position: relative; overflow: hidden; }
.bt-free .big { font-size: 64px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.bt-free .chip { position: absolute; right: 22%; top: 26%; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--green); color: #fff; rotate: 8deg; }
.ring { width: 86px; height: 86px; rotate: -90deg; }
.ring circle { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.ring .rf { stroke: var(--violet); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 214; transition: stroke-dashoffset 1400ms var(--ease-out); }
.in .ring .rf { stroke-dashoffset: 0; }
.ring-n { position: absolute; font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.mini-steps { display: grid; gap: 7px; }
.mini-steps li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 550; opacity: 0.35; transition: opacity 300ms; }
.mini-steps i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: var(--surface-2); }
.in .mini-steps li { animation: stepOn 0.4s forwards; }
.in .mini-steps li:nth-child(2) { animation-delay: 0.5s; } .in .mini-steps li:nth-child(3) { animation-delay: 1s; }
.in .mini-steps li:nth-child(3) i { animation: stepDone 0.4s 1.2s forwards; }
@keyframes stepOn { to { opacity: 1; } }
@keyframes stepDone { to { background: var(--green); color: #fff; } }
.wp-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0 16px; border-left: 4px solid #d63638; background: #fcf0f1; border-radius: 4px; font-size: 13px; }
.wp-i { width: 22px; height: 22px; border-radius: 50%; background: #1d2327; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.wp-note u { color: #2271b1; }
.speed { width: 70%; display: grid; gap: 9px; }
.speed span { height: 9px; border-radius: 5px; background: var(--surface-3); position: relative; overflow: hidden; }
.speed span::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--green); transition: width 1200ms var(--ease-out); }
.in .speed span::after { width: var(--w); }
.chat { display: grid; gap: 8px; width: 78%; font-size: 13px; }
.chat span { padding: 8px 12px; border-radius: 14px; max-width: 85%; }
.chat .q { background: var(--surface-2); justify-self: start; border-bottom-left-radius: 4px; }
.chat .a { background: var(--violet); color: #fff; justify-self: end; border-bottom-right-radius: 4px; opacity: 0; transform: translateY(6px); transition: all 400ms 600ms var(--spring); }
.in .chat .a { opacity: 1; transform: none; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { padding: 80px 0 100px; }
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.qa { border-top: 1px solid var(--border); }
.qa details { border-bottom: 1px solid var(--border); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-size: 17px; font-weight: 550; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--ink-3); transition: rotate 250ms var(--ease); }
.qa details[open] summary::after { rotate: 45deg; color: var(--violet); }
.qa details p { padding: 0 2px 20px; color: var(--ink-2); max-width: 600px; animation: rise 400ms var(--ease-out); }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final { padding: 20px 0 60px; }
.final-box {
  position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; gap: 18px;
  padding: 96px 24px; border-radius: 32px; background: #0d0a1a; color: #fff;
}
.final-glow { position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 110%, var(--violet) 0%, transparent 70%), radial-gradient(30% 50% at 15% 0%, rgb(236 72 153 / 0.35), transparent 70%), radial-gradient(30% 50% at 85% 0%, rgb(56 189 248 / 0.25), transparent 70%); }
.final-box > * { position: relative; }
.final-box .lede { color: #c9c3dc; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { box-shadow: 0 10px 30px -8px rgb(139 92 246 / 0.8); border-color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.25); }
.btn-ghost:hover { border-color: rgb(255 255 255 / 0.6); }

/* Mobile sticky CTA */
.mcta { display: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .pc { --w: 210px; }
  .pc-hero { --w: 240px; }
  .pc-ui { height: 136px; }
  .pc-hero .pc-ui { height: 184px; }
}

/* Phones and small tablets: the formation becomes a swipeable fan under the CTA. */
@media (max-width: 900px) {
  .hero-stage { min-height: 0 !important; height: auto !important; }
  .hero-copy { padding-top: 40px; }
  .hero-arc { display: none; }
  .formation {
    position: relative; inset: auto; pointer-events: auto;
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 40px var(--gutter) 56px; scrollbar-width: none;
  }
  .formation::-webkit-scrollbar { display: none; }
  .pc, .pc-hero { position: relative; flex: none; --w: 236px; translate: none !important; opacity: 1; scale: 1; scroll-snap-align: center; animation: none; }
  .pc:nth-child(odd) { rotate: -2deg; } .pc:nth-child(even) { rotate: 2deg; }
  .pc-ui, .pc-hero .pc-ui { height: 150px; }
  /* The names scroll behind the label (its own background covers them) and loop without a jump: the list is there
     twice, and the end padding equals one gap, so -50% lands exactly on the second copy. */
  .strip .eyebrow { position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center; padding-right: 12px; background: var(--surface-1); box-shadow: 10px 0 12px var(--surface-1); }
  .logos { justify-content: flex-start; padding-right: 36px; animation: marquee 30s linear infinite; }
  .logos .dup { display: list-item; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .fix { padding: 80px 0; }
  .fix-grid { grid-template-columns: 1fr; gap: 36px; }
  .fix-tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ft { padding: 14px; gap: 6px; grid-template-columns: 1fr; }
  .ft-n { display: none; }
  .ft-t b { font-size: 15px; } .ft-t small { display: none; }
  .phone { width: 280px; height: 520px; }
  .jr-line { display: none; }
  .jr-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .cards, .bento { grid-template-columns: 1fr 1fr; }
  .calc-box { grid-template-columns: 1fr; }
  .calc-l, .calc-r { padding: 32px 24px; }
  .faq-in { grid-template-columns: 1fr; gap: 24px; }
  .mcta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; transform: translateY(140%); transition: transform 400ms var(--spring); }
  .mcta.show { transform: none; }
  .mcta .btn { width: 100%; height: 52px; box-shadow: 0 16px 40px -10px rgb(40 20 90 / 0.5); }
}
@media (max-width: 600px) {
  .cards, .bento { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 32px; }
  .final-box { padding: 64px 20px; border-radius: 24px; }
  .trust { gap: 12px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .pc { opacity: 1; scale: 1; }
  .hero-arc circle { display: none; }
}

/* Grids never grow past the screen (long nowrap text would otherwise widen them). */
.hero-copy { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .fix-grid, .calc-box, .faq-in { grid-template-columns: minmax(0, 1fr); }
  .fix-tabs, .jr-steps, .cards, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js-card { min-width: 0; width: 100%; }
  .strip-in { gap: 16px; }
}
@media (max-width: 600px) {
  .cards, .bento { grid-template-columns: minmax(0, 1fr); }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.05em; white-space: normal; text-align: center; }
  .hero-cta .btn-lg { --h: 48px; padding: 0 18px; font-size: 15px; }
  .js-card { padding: 12px; }
  .js-prod { font-size: 12px; }
}

/* Hero hold (owner 2026-11-12): engaging with the hero cards pauses their animation until a click outside. */
.hero-stage.hold *, .hero-stage.hold *::before, .hero-stage.hold *::after { animation-play-state: paused !important; }

/* Admin-edited answers (live.js wireHome): the original markdown, as rendered on the live site */
.qa .qa-a { padding: 0 2px 20px; color: var(--ink-2); max-width: 600px; animation: rise 400ms var(--ease-out); }
.qa .qa-a p + p { margin-top: .8em; }
.qa .qa-a a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
