:root {
  --bg: #f7f6fb;
  --surface: #ffffff;
  --surface-2: #f0eef7;
  --ink: #14121b;
  --ink-2: #3a3747;
  --muted: #6d6a7c;
  --line: rgba(20, 18, 27, 0.08);
  --accent: #5b4bc4;
  --accent-2: #8a7be0;
  --accent-soft: #ebe7fb;
  --lav: #cdc3ea;
  --dark: #121018;
  --dark-2: #1c1924;
  --ok: #1f9d63;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(20, 18, 27, 0.04), 0 12px 40px -12px rgba(40, 30, 90, 0.14);
  --shadow-lg: 0 30px 80px -24px rgba(50, 35, 120, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1200px, 100% - 64px); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 13px 22px;
  font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(135deg, #6a59d6, #4f3fb8); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(91, 75, 196, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(91, 75, 196, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2635; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ---------- Top bar & nav ---------- */
.topbar {
  background: var(--ink); color: #e9e6f5; font-size: 13px; font-weight: 500;
  padding: 9px 16px; text-align: center; letter-spacing: 0.01em;
}
.marquee-inline { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.marquee-inline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2); }
@media (max-width: 640px) { .marquee-inline span:not(:first-child) { display: none; } }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: 0.16em; }
.logo svg { width: 26px; height: 26px; color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; transition: transform 0.2s;
}
.cart-btn:hover { transform: scale(1.05); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: #fff; font: 700 11px/20px var(--body); text-align: center;
}
.cart-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav-buy { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 70px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(176, 160, 240, 0.35), transparent 70%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.pill-new { background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; margin: 22px 0 20px; }
.grad {
  background: linear-gradient(100deg, #5b4bc4 10%, #9a7fe6 55%, #c58fd8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--ink-2); max-width: 540px; }
.buybox { margin-top: 30px; }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price { font: 800 34px/1 var(--display); letter-spacing: -0.02em; }
.price-note { color: var(--muted); font-size: 14.5px; }
.price-note strong { color: var(--accent); }
.swatches { display: flex; gap: 10px; margin-top: 20px; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  background: var(--c); position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 -6px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked='true']::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ink);
}
.color-name { margin-top: 10px; font-size: 14px; color: var(--muted); }
.color-name strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; color: var(--accent); }

.hero-visual { position: relative; aspect-ratio: 1; }
.halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffffff 0%, #ece7fb 45%, #d9d0f5 75%, transparent 76%);
  box-shadow: 0 60px 120px -40px rgba(91, 75, 196, 0.35);
  animation: float 9s ease-in-out infinite;
}
.hero-visual img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  transition: opacity 0.35s ease, transform 0.6s var(--ease);
  filter: drop-shadow(0 30px 40px rgba(60, 40, 130, 0.12));
}
.hero-visual img.swap { opacity: 0; transform: scale(0.97) rotate(-1deg); }
.chip {
  position: absolute; display: flex; flex-direction: column; gap: 1px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 12.5px; color: var(--muted); animation: float 7s ease-in-out infinite;
}
.chip b { font: 800 18px/1.1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.chip-a { top: 12%; left: -2%; }
.chip-b { top: 46%; right: -3%; animation-delay: -2s; }
.chip-c { bottom: 9%; left: 8%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero { padding-top: 20px; }
  .hero-in { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .chip { padding: 9px 12px; }
  .chip b { font-size: 15px; }
  .chip-a { left: 0; } .chip-b { right: 0; }
}

/* ---------- Strip ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.strip span { font: 700 17px/1 var(--display); letter-spacing: -0.01em; color: var(--ink-2); white-space: nowrap; }
.strip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lav); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 800; }
.section-head .sub { margin-top: 18px; color: var(--muted); font-size: 17px; }
.section-head .sub a { color: var(--accent); }
.eyebrow { display: inline-block; font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px; }
.eyebrow-light { color: #b9adf5; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
}
.card h3 { font-size: 26px; font-weight: 800; margin: 10px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; }
.card-xl { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(160deg, #fff 30%, #efebfb); }
.card-xl h3 { font-size: clamp(30px, 3.4vw, 44px); }
.card-xl .card-txt { max-width: 440px; }
.card-xl img { margin: auto -10px -40px auto; width: 78%; max-width: 560px; }
.card-screen { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 30%, #ebe7fa); }
.card-screen img { margin: 24px -32px -32px; width: calc(100% + 64px); max-width: none; flex: 1; min-height: 260px; object-fit: cover; object-position: 50% 45%; }
.card-stat { grid-column: span 2; }
.card-stat .big { display: block; font: 800 64px/1 var(--display); letter-spacing: -0.04em; margin-bottom: 18px; }
.card-stat .big small { font-size: 22px; margin-left: 6px; color: var(--accent); letter-spacing: 0; }
.card-dark { background: linear-gradient(150deg, #5b4bc4, #3b2f8f); color: #fff; }
.card-dark p { color: #d5cff7; }
.card-dark .big small { color: #cfc6ff; }
.card-wide { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 30px; padding: 40px 48px; background: linear-gradient(110deg, #fff 40%, #efebfb); }
.card-wide h3 { font-size: clamp(28px, 3vw, 40px); }
.card-wide img { margin: -30px -30px -50px 0; width: 100%; }
.card-plane { grid-column: span 2; background: var(--surface-2); }
.ico-lg { width: 48px; height: 48px; color: var(--accent); margin-bottom: 14px; transform: rotate(45deg); }
.card-plane p { margin-top: 0; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-xl { grid-column: span 2; grid-row: auto; }
  .card-screen { grid-column: span 2; grid-row: auto; }
  .card-screen img { aspect-ratio: 1.6; flex: none; }
  .card-stat, .card-plane { grid-column: span 1; }
  .card-plane { grid-column: span 2; }
  .card-wide { grid-column: span 2; grid-template-columns: 1fr; padding: 32px; }
  .card-wide img { margin: 0 -10px -30px; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .card-xl, .card-screen, .card-stat, .card-wide, .card-plane { grid-column: span 1; }
  .card { padding: 26px; }
  .card-screen img { margin: 20px -26px -26px; width: calc(100% + 52px); }
  .card-plane, .card-wide { grid-column: span 1; }
  .card-wide { padding: 26px; }
  .card-xl img { width: 100%; margin: 10px 0 -30px; }
}

/* ---------- 3D viewer ---------- */
.viewer-sec { background: radial-gradient(120% 80% at 70% 40%, #2a2340 0%, var(--dark) 60%); color: #fff; overflow: hidden; }
.viewer-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.viewer-copy h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; }
.viewer-copy p { color: #b3aec6; margin: 18px 0 28px; font-size: 17px; max-width: 380px; }
.viewer-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.vc {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.07); color: #e6e2f3;
  font-size: 14px; font-weight: 500; transition: background 0.2s;
}
.vc i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.vc:hover { background: rgba(255, 255, 255, 0.13); }
.vc[aria-checked='true'] { background: #fff; color: var(--ink); }
.viewer-stage { position: relative; width: 100%; aspect-ratio: 1.15; cursor: grab; touch-action: pan-y; }
.viewer-stage:active { cursor: grabbing; }
.viewer-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #a39fb6; font-size: 14px; }
.viewer-loading.done { opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.15); border-top-color: #b9adf5; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-hint {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a39fb6;
  background: rgba(255, 255, 255, 0.06); padding: 7px 14px; border-radius: 999px; pointer-events: none;
}
.viewer-hint svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .viewer-in { grid-template-columns: 1fr; } .viewer-stage { aspect-ratio: 1; } }

/* ---------- Calculator ---------- */
.calc-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.device-list { padding: 22px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.device {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 14px; border: 0; background: transparent; text-align: left;
  font-size: 15.5px; font-weight: 500; transition: background 0.2s;
}
.device small { color: var(--muted); font-size: 13px; font-weight: 400; }
.device:hover { background: var(--surface-2); }
.device[aria-checked='true'] { background: var(--accent-soft); color: var(--accent); }
.device[aria-checked='true'] small { color: var(--accent); }
.calc-result { padding: 40px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #fff, #f3f0fc); }
.calc-num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc-num > span { font: 800 clamp(64px, 9vw, 110px)/1 var(--display); letter-spacing: -0.05em; }
.calc-num small { font-size: 18px; color: var(--muted); font-weight: 500; }
.calc-bars { display: flex; gap: 8px; margin: 28px 0 22px; flex-wrap: wrap; }
.calc-bars span { position: relative; width: 34px; height: 60px; border-radius: 9px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.calc-bars span::after { content: ''; position: absolute; inset: auto 0 0; height: calc(var(--f) * 100%); background: linear-gradient(180deg, #8a7be0, #5b4bc4); transition: height 0.6s var(--ease); }
.calc-note { font-size: 13px; color: var(--muted); }
@media (max-width: 820px) {
  .calc-box { grid-template-columns: 1fr; }
  .device-list { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr; padding: 14px; }
  .device { padding: 12px; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 14.5px; }
  .calc-result { padding: 28px; }
  .calc-bars span { width: 26px; height: 46px; }
}

/* ---------- Offer ---------- */
.offer-sec { background: linear-gradient(180deg, var(--bg), #eeebf8); }
.offer-color { display: flex; align-items: center; justify-content: center; gap: 16px; margin: -20px 0 36px; flex-wrap: wrap; color: var(--muted); }
.offer-color .swatches { margin: 0; }
.offer-color strong { color: var(--ink); min-width: 92px; }
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.bundle {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 28px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bundle.featured { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.bundle .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.bundle-img { height: 150px; display: flex; justify-content: center; align-items: center; margin-bottom: 14px; }
.bundle-img img { height: 100%; width: auto; object-fit: contain; }
.bundle-img img + img { margin-left: -70px; }
.bundle h3 { font-size: 24px; font-weight: 800; }
.bundle .per { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.bundle .total { font: 800 38px/1 var(--display); letter-spacing: -0.03em; margin: 18px 0 6px; }
.bundle .save { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ok); background: #e3f6ec; border-radius: 999px; padding: 4px 10px; align-self: flex-start; min-height: 25px; }
.bundle .save:empty { visibility: hidden; }
.bundle ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.bundle li { display: flex; gap: 9px; align-items: flex-start; }
.bundle li svg { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.bundle .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .bundles { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 26px; } }

/* ---------- Colors ---------- */
.colors-sec { padding-top: 40px; padding-bottom: 20px; }
.lineup { width: 100%; max-width: 1100px; margin: 0 auto; }

/* ---------- Shipping ---------- */
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.ship-copy h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.ship-copy > p { color: var(--muted); margin: 18px 0 28px; font-size: 17px; max-width: 460px; }
.field { display: grid; gap: 8px; max-width: 360px; font-size: 14px; font-weight: 600; }
select {
  appearance: none; -webkit-appearance: none; width: 100%;
  font: 500 16px var(--body); color: var(--ink); background: var(--surface);
  border: 0; border-radius: 14px; padding: 14px 44px 14px 16px; box-shadow: inset 0 0 0 1.5px var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2314121b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
select:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); outline: 0; }
.ship-result { margin-top: 18px; display: grid; gap: 10px; max-width: 460px; }
.ship-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); font-size: 15px; }
.ship-line span { color: var(--muted); }
.ship-line strong { text-align: right; }
.zones { display: grid; gap: 14px; }
.zone { background: var(--surface); border-radius: var(--radius-sm); padding: 22px 24px; box-shadow: var(--shadow); transition: box-shadow 0.3s; }
.zone.active { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.zone-top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.zone h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.zone .zp { font: 700 15px var(--body); color: var(--accent); white-space: nowrap; }
.zone p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.zone .flags { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 900px) { .ship { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Specs ---------- */
.specs-sec { background: var(--dark); color: #fff; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); overflow: hidden; margin: 0; }
.spec-grid div { background: var(--dark-2); padding: 26px 28px; }
.spec-grid dt { color: #8f8aa5; font-size: 13.5px; margin-bottom: 6px; }
.spec-grid dd { margin: 0; font: 700 18px/1.35 var(--display); letter-spacing: -0.01em; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } .spec-grid div { padding: 20px 22px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
details { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 700 17px/1.35 var(--display); letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%235b4bc4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 22px; color: var(--muted); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 clamp(72px, 10vw, 120px); }
.final-in {
  text-align: center; padding: clamp(56px, 8vw, 100px) 24px; border-radius: 36px; color: #fff;
  background: radial-gradient(90% 120% at 50% 0%, #7a68e0 0%, #4a3bb0 45%, #241b5e 100%);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.final-in h2 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; }
.final-in p { color: #d8d2fa; margin: 14px 0 30px; font-size: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c8c4d6; padding: 70px 0 30px; font-size: 14.5px; }
.footer .logo { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 300px; }
.foot-brand .pay { font-size: 13px; color: #8f8aa5; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { color: #fff; font: 700 14px var(--body); letter-spacing: 0; margin-bottom: 14px; }
.foot-cols a { display: block; text-decoration: none; padding: 5px 0; color: #c8c4d6; transition: color 0.2s; }
.foot-cols a:hover { color: #fff; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 50px; padding-top: 24px; font-size: 13px; color: #8f8aa5; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Sticky mobile bar ---------- */
.sticky-buy {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 10px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 20px; box-shadow: 0 10px 40px -10px rgba(30, 20, 80, 0.35);
  transform: translateY(140%); transition: transform 0.4s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy img { width: 48px; height: 48px; object-fit: contain; }
.sticky-buy div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.sticky-buy div span { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .sticky-buy { display: flex; } }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(14, 10, 30, 0.42); backdrop-filter: blur(3px); z-index: 50; opacity: 0; transition: opacity 0.3s; }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.45s var(--ease); box-shadow: -20px 0 60px rgba(20, 10, 60, 0.18);
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; font-weight: 800; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn svg { width: 18px; height: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.empty img { width: 150px; opacity: 0.9; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; background: var(--surface); padding: 12px; border-radius: 18px; box-shadow: var(--shadow); }
.line img { width: 76px; height: 76px; object-fit: contain; background: var(--surface-2); border-radius: 12px; }
.line h4 { font: 700 15px/1.3 var(--display); letter-spacing: -0.01em; }
.line .lc { color: var(--muted); font-size: 13px; }
.line .lp { font-weight: 600; font-size: 14.5px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--surface); font-size: 16px; line-height: 1; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; }
.rm { border: 0; background: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; padding: 4px 0 0; display: block; margin-left: auto; }
.nudge { background: var(--accent-soft); color: var(--accent); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 500; }
.progress { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #8a7be0, #5b4bc4); border-radius: 3px; transition: width 0.5s var(--ease); }
.sum { display: grid; gap: 6px; font-size: 14.5px; }
.sum div { display: flex; justify-content: space-between; }
.sum .muted { color: var(--muted); }
.sum .ok { color: var(--ok); font-weight: 600; }
.sum .tot { font: 800 20px var(--display); letter-spacing: -0.02em; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.drawer-foot select { padding: 11px 40px 11px 14px; font-size: 14.5px; }
.drawer-foot .btn { width: 100%; }
.secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.secure svg { width: 14px; height: 14px; }
.notice { font-size: 13.5px; background: #fff6e5; color: #7a5200; padding: 10px 12px; border-radius: 12px; }

/* Grid children must be allowed to shrink below their content width. */
.hero-in > *, .viewer-in > *, .ship > *, .faq > *, .calc-box > *, .bento > *, .foot-in > * { min-width: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 84px; z-index: 70; transform: translate(-50%, -20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: all 0.35s var(--ease); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.4);
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal .upd { color: var(--muted); margin-bottom: 30px; }
.legal a { color: var(--accent); }
