/* HyperHuman Studios — site styles (Look D, purple) */
:root {
  --bg: #131418;
  --panel: #1b1c21;
  --well: #101115;
  --line: #2a2c33;
  --line-strong: #30333b;
  --control: #24262d;
  --ink: #e6e8ec;
  --white: #ffffff;
  --muted: #8a8f9a;
  --body2: #b9bdc6;
  --accent: #995bfc;
  --accent-text: #b48cff;
  --accent-hover: #cdb3ff;
  --selected: #1d1830;
  --success: #3dc38a;
  --wrap: 1200px;
  --gutter: 24px;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type helpers */
.eyebrow { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow.accent { color: var(--accent-text); }
.h2 { font-size: 40px; line-height: 46px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.lead { font-size: 16px; line-height: 26px; color: var(--body2); }
.muted { color: var(--muted); }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 0; transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #a874fd; color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: #4a4e59; color: var(--white); }
.btn-block { width: 100%; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 20; background: var(--bg); }
.nav { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.nav-logo { margin-right: auto; display: flex; align-items: center; }
.nav-logo img { height: 16px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-support { position: relative; }
.nav-tip {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px);
  padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--control);
  color: var(--white); font-size: 13px; line-height: 18px; font-weight: 500; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-support:hover .nav-tip, .nav-support:focus-visible .nav-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.cart {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 600;
}
.cart:hover { color: var(--white); border-color: #4a4e59; }
.cart svg { width: 18px; height: 18px; flex: none; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent);
  color: var(--white); font-size: 12px; line-height: 20px; font-weight: 700; text-align: center;
}
.menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav { min-height: 60px; gap: 10px; }
  .nav-logo img { height: 13px; }
  .nav-links { display: none; }
  .cart { position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .cart svg { width: 20px; height: 20px; }
  .cart-label { display: none; }
  .cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px;
    background: var(--control); cursor: pointer; padding: 0;
  }
  .mobile-menu[data-open="true"] {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .mobile-menu a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: 0; }
}

/* Sections */
.section { padding-top: 72px; }
.section-sm { padding-top: 72px; } /* same as .section: every gap between sections is equal */

/* Home hero */
.hero { padding-top: 96px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero-logo { height: 32px; width: auto; }
.hero h1 { max-width: 860px; font-size: 64px; line-height: 75px; font-weight: 800; letter-spacing: -0.03em; color: var(--white); text-wrap: balance; }
.hero p { max-width: 600px; font-size: 18px; line-height: 29px; color: var(--body2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }
.video-frame {
  width: 100%; margin-top: 48px; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--line);
  background: var(--well); display: grid; place-items: center; overflow: hidden;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--white); }
.card p { font-size: 15px; line-height: 24px; color: var(--body2); }

/* Steps */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 40px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps .step-n { font-size: 13px; font-weight: 700; color: var(--accent-text); }
.steps .step-t { font-size: 20px; line-height: 26px; font-weight: 700; color: var(--white); }
.steps .step-d { font-size: 15px; line-height: 24px; color: var(--body2); }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 32px 0; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers strong { font-size: 44px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.numbers span { font-size: 13px; color: var(--muted); }
.numbers strong .dash { font-size: inherit; color: inherit; margin: 0 0.12em; }

/* Testimonials (placeholders until real quotes arrive) */
.quote-slot { border: 1px dashed var(--line-strong); border-radius: 16px; padding: 28px; min-height: 160px; display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 20px; color: var(--muted); }

/* CTA + HyperSkin */
.cta { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 64px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta h2 { font-size: 44px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.cta p { max-width: 520px; font-size: 16px; line-height: 26px; color: var(--body2); }
.soon { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 12px; }
.soon h2 { font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.soon p { max-width: 560px; font-size: 16px; line-height: 26px; color: var(--body2); }
.pill { align-self: flex-start; height: 22px; padding: 0 10px; border-radius: 999px; background: var(--control); color: var(--muted); font-size: 11px; line-height: 22px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* HyperIris intro */
.ip-hero { padding-top: 88px; display: flex; justify-content: center; }
.lockup { width: max-content; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.lockup img { height: 56px; width: auto; }
.lockup p { width: 0; min-width: 100%; font-size: 20.4px; line-height: 28px; color: var(--body2); text-align: justify; text-align-last: justify; }

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip > div { padding: 24px 20px; display: flex; flex-direction: column; gap: 4px; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip strong { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--white); }
.strip small { font-size: 13px; line-height: 18px; color: var(--muted); }

/* Pack grid */
.packs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.pack-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pack-tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.pack-tile .well { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: var(--well); display: grid; place-items: center; transition: border-color .15s ease; }
.pack-tile:hover .well { border-color: var(--accent); }
.pack-tile img { width: 82%; height: 82%; object-fit: contain; }
.pack-tile .meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--white); }
.pack-tile .meta span + span { color: var(--muted); font-weight: 500; }
.pack-tile .well { position: relative; }
.badge-new { position: absolute; top: 10px; left: 10px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 10px; line-height: 20px; font-weight: 700; letter-spacing: 0.06em; }

/* Plugin */
.plugin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.plugin-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.plugin-shot { flex: 1 1 480px; min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.plugin-shot img, .plugin-shot video { display: block; width: 100%; height: auto; }
.plugin-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tabs { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tab-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.tab-card p { font-size: 14px; line-height: 22px; color: var(--body2); }

/* Pricing */
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-card.featured { border: 2px solid var(--accent); padding: 31px; }
.price-card .name { font-size: 15px; font-weight: 700; color: var(--white); }
.price-card .amount { font-size: 44px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-card .desc { font-size: 14px; line-height: 22px; color: var(--body2); }
.price-card .btn { margin-top: 8px; height: 46px; font-size: 14px; }
.price-card .quote-amount { font-size: 32px; text-decoration: none; color: var(--white); }
.price-card .quote-amount:hover { color: var(--accent-hover); }
.lic-quote { text-decoration: none; }
.lic.lic-quote:hover { border-color: #4a4e59; }
.lic.lic-quote .p { color: var(--accent-text); }
.lic.lic-quote:hover .p { color: var(--accent-hover); }
.note { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; color: var(--white); font-size: 17px; line-height: 24px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent-text); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 22px; font-size: 15px; line-height: 24px; color: var(--body2); }

/* Pack page */
.crumbs { padding-top: 28px; font-size: 13px; line-height: 18px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--ink); }
.gallery { margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--well); }
.stage img.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; }
.stage img.slide.is-on { opacity: 1; }
.stage .stage-thumb { position: absolute; inset: 0; margin: auto; width: auto; height: 78%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .stage img.slide { transition: none; } }
.dots { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 4px; padding: 2px 4px; border-radius: 999px; background: rgba(19, 20, 24, 0.66); }
.dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); box-sizing: border-box; }
.dot[aria-current="true"]::before { border: 0; background: var(--accent); }
.gallery figcaption { font-size: 13px; line-height: 18px; color: var(--muted); }

.buy-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px; }
.specs { flex: 1.3 1 420px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.specs table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.specs tr { border-top: 1px solid var(--line); }
.specs tr:last-child { border-bottom: 1px solid var(--line); }
.specs th { text-align: left; font-weight: 600; color: var(--ink); padding: 12px 16px 12px 0; white-space: nowrap; vertical-align: top; }
.specs td { color: var(--body2); padding: 12px 0; }
.specs td.tbd { color: var(--muted); }
.buy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.buy h1 { font-size: 44px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.buy .sub { font-size: 15px; line-height: 24px; color: var(--muted); margin-top: 6px; }
.price-line { display: flex; align-items: baseline; gap: 8px; color: var(--white); }
.price-line strong { font-size: 40px; line-height: 46px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-line span { font-size: 14px; color: var(--muted); }
.licenses { margin: auto 0 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.licenses legend { padding: 0 0 8px; }
.lic { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin: 1px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; }
.lic:has(input:checked) { background: var(--selected); border: 2px solid var(--accent); margin: 0; }
.lic:has(input:focus-visible) { box-shadow: var(--ring); }
.lic input { position: absolute; opacity: 0; pointer-events: none; }
.lic .ring { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--muted); }
.lic:has(input:checked) .ring { border: 5px solid var(--accent); }
.lic .txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.lic .txt b { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--white); }
.lic .txt small { font-size: 13px; line-height: 18px; color: var(--muted); }
.lic .p { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.buy .btn { height: 54px; font-size: 16px; }
.fine { font-size: 13px; line-height: 18px; color: var(--muted); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); }
.foot { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.foot-brand img { height: 14px; width: auto; align-self: flex-start; }
.foot-brand span { font-size: 13px; line-height: 20px; color: var(--muted); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols a { color: var(--ink); text-decoration: none; font-size: 14px; }
.foot-cols a:hover { color: var(--white); }
.foot-cols .email { color: var(--ink); font-size: 14px; user-select: all; }


/* Tablet */
@media (max-width: 1080px) {
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  .section, .section-sm { padding-top: 44px; }
  .site-footer { margin-top: 44px; }
  .h2 { font-size: 28px; line-height: 34px; }
  .section-head { margin-bottom: 24px; gap: 8px; }

  .hero { padding-top: 48px; gap: 18px; }
  .hero-logo { height: 22px; }
  .hero h1 { font-size: 38px; line-height: 42px; }
  .hero p { font-size: 16px; line-height: 26px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; padding-top: 4px; }
  .hero-actions .btn { width: 100%; }
  .video-frame { margin-top: 26px; border-radius: 14px; }

  .grid-3, .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps { gap: 20px; }
  .card { padding: 22px; gap: 8px; }
  .card h3, .steps .step-t { font-size: 18px; line-height: 24px; }
  .steps li { padding-top: 16px; gap: 6px; }

  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .numbers > div { padding: 22px 0; border-bottom: 1px solid var(--line); gap: 2px; }
  .numbers > div + div { border-left: 0; }
  .numbers > div:nth-child(even) { border-left: 1px solid var(--line); }
  .numbers strong { font-size: 34px; line-height: 40px; }
  .numbers span { font-size: 12px; }
  .quote-slot { min-height: 120px; padding: 24px; }
  .quote-slot + .quote-slot { display: none; }

  .cta { border-radius: 16px; padding: 40px 20px; gap: 14px; }
  .cta h2 { font-size: 30px; line-height: 36px; }
  .cta .btn { width: 100%; }
  .soon { border-radius: 16px; padding: 24px; gap: 10px; }
  .soon h2 { font-size: 26px; line-height: 32px; }
  .soon-wrap { padding-top: 16px; }

  .ip-hero { padding-top: 48px; }
  .lockup { gap: 14px; }
  .lockup img { height: 36px; }
  .lockup p { font-size: 13.1px; line-height: 20px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
  .strip > div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
  .strip > div + div { border-left: 0; }
  .strip > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 12px; }
  .strip strong { font-size: 14px; line-height: 20px; }
  .strip small { display: none; }

  .packs-head { margin-bottom: 24px; }
  .packs-head .hint { display: none; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pack-tile .well { border-radius: 12px; }
  .pack-tile img { width: 84%; height: 84%; }
  .pack-tile .meta { font-size: 13px; }

  .plugin-row { gap: 18px; }
  .plugin-buy { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
  .plugin-shot { border-radius: 14px; }
  .tabs { margin-top: 44px; grid-template-columns: 1fr; gap: 10px; }
  .tab-card { border-radius: 14px; padding: 16px 18px; gap: 4px; }

  .price-card, .price-card.featured { padding: 22px; }
  .price-card.featured { padding: 21px; }
  .price-card .amount { font-size: 32px; line-height: 38px; }
  .price-card .quote-amount { font-size: 26px; }

  .faq-list { margin-top: 24px; }
  .faq-list summary { font-size: 16px; line-height: 22px; padding: 16px 0; min-height: 56px; }
  .faq-list details p { padding-bottom: 18px; }

  .gallery { margin-top: 20px; }
  .stage { border-radius: 14px; }
  .dots { right: 10px; bottom: 10px; }
  .buy-row { margin-top: 20px; gap: 20px; }
  .buy { order: -1; }
  .buy h1 { font-size: 36px; line-height: 42px; }
  .price-line strong { font-size: 34px; line-height: 40px; }
  .licenses { margin-top: 0; }
  .specs { padding: 20px; }
  .specs th { white-space: normal; }

  .foot { padding-top: 32px; padding-bottom: 40px; gap: 28px; flex-direction: column; }
  .foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .foot-cols > div:last-child { grid-column: 1 / -1; } /* the email address needs the full width on phones */
  .foot-brand img { height: 13px; }
}

/* HyperSkin sits right under the CTA */
.soon-wrap { padding-top: 32px; }
@media (max-width: 760px) { .soon-wrap { padding-top: 16px; } }

/* Cart button is a <button> now */
button.cart { background: transparent; font-family: inherit; cursor: pointer; }

/* Cart drawer */
.no-scroll { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 10, 0.6); opacity: 0; transition: opacity .2s ease; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(420px, 100vw);
  background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .2s ease;
}
.drawer.is-open { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { transition: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--white); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--control); color: var(--ink); cursor: pointer; }
.icon-btn:hover { color: var(--white); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--ink); }
.subtotal strong { font-size: 20px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.cart-error { margin: 0; font-size: 13px; line-height: 18px; color: #ff8a8a; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: var(--well); display: grid; place-items: center; }
.cart-thumb img { width: 44px; height: 44px; object-fit: contain; }
.cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cart-info b { font-size: 15px; line-height: 20px; color: var(--white); }
.cart-info small { font-size: 13px; line-height: 18px; color: var(--muted); }
.cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-price { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.link-btn { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { color: var(--white); }
.cart-empty { padding: 48px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--body2); text-align: center; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Downloads page */
.dl { padding-top: 72px; max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.dl h1 { font-size: 44px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.dl-list { display: flex; flex-direction: column; gap: 10px; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.dl-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-info b { font-size: 16px; color: var(--white); }
.dl-info small { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.dl-row .btn { flex: none; height: 44px; padding: 0 22px; font-size: 14px; }
@media (max-width: 760px) {
  .dl { padding-top: 40px; }
  .dl h1 { font-size: 32px; line-height: 38px; }
  .dl-row { flex-direction: column; align-items: stretch; }
}

/* Legal pages (Terms, Privacy, Refunds) */
.legal { max-width: 760px; }
.legal h1 { font-size: 44px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.legal-meta { margin-top: 8px; font-size: 13px; color: var(--muted); }
.legal h2 { margin-top: 36px; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--white); }
.legal p, .legal li { font-size: 15px; line-height: 26px; color: var(--body2); }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-text); }
.legal-contact { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .legal h1 { font-size: 32px; line-height: 38px; }
  .legal h2 { margin-top: 28px; font-size: 18px; line-height: 26px; }
}

/* Section title without an eyebrow (e.g. testimonials): same gap to content as .section-head */
.section-title { margin-bottom: 40px; }
@media (max-width: 760px) { .section-title { margin-bottom: 24px; } }

/* Discover HyperIris (guide) */
.guide-link { margin-top: 28px; text-align: center; font-size: 14px; line-height: 20px; }
.guide-link a { text-decoration: none; }
.guide-intro { padding-top: 40px; max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.guide-intro h1 { font-size: 52px; line-height: 58px; font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.media-frame { margin-top: 40px; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--well); display: grid; place-items: center; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame.stage { display: block; }
.media-frame.stage img.slide { position: absolute; inset: 0; }
.slot-empty { font-size: 13px; color: var(--muted); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split .copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split .media { flex: 1 1 420px; min-width: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--well); display: grid; place-items: center; }
.split .media.square { aspect-ratio: 1; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.terms { margin: 6px 0 0; border-top: 1px solid var(--line); }
.terms div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.terms dt { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--white); }
.terms dd { margin: 0; font-size: 14px; line-height: 22px; color: var(--body2); }
.lead.narrow { max-width: 680px; }
.guide-specs { margin-top: 32px; }
.map-card { gap: 16px; }
.map-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #000; display: grid; place-items: center; }
.map-img img { width: 100%; height: 100%; object-fit: cover; }
.map-name { display: flex; flex-direction: column; gap: 2px; }
.chans { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.chans li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--body2); }
.chans b { width: 12px; font-size: 12px; color: var(--muted); }
.chans:has(li[data-ch]) { gap: 0; }
.chans li[data-ch] { margin: 0 -8px; padding: 6px 8px; border-radius: 8px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.chans li[data-ch]:hover, .chans li[data-ch].is-on { background: var(--control); color: var(--white); }
.map-card[data-show="r"] .map-img img { filter: url(#ch-r); }
.map-card[data-show="g"] .map-img img { filter: url(#ch-g); }
.map-card[data-show="b"] .map-img img { filter: url(#ch-b); }
.sw { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.sw.r { background: #ff5a5a; }
.sw.g { background: #45d483; }
.sw.b { background: #5b82ff; }
.map-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.map-note { font-size: 14px; line-height: 22px; color: var(--body2); }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media.pinned { position: relative; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 700; line-height: 26px; text-align: center; box-shadow: 0 0 0 3px rgba(19, 20, 24, 0.55); }
.pin-n { display: inline-block; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 11px; line-height: 20px; text-align: center; vertical-align: 1px; }
@media (max-width: 1080px) {
  .map-grid, .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .map-grid .card { padding: 14px; gap: 10px; }
  .steps.four { grid-template-columns: 1fr; }
  .pin { width: 22px; height: 22px; font-size: 11px; line-height: 22px; }
}
@media (max-width: 760px) {
  .guide-intro { padding-top: 24px; gap: 10px; }
  .guide-intro h1 { font-size: 36px; line-height: 42px; }
  .media-frame { margin-top: 24px; border-radius: 14px; }
  .split { gap: 20px; }
  .split .media { border-radius: 14px; }
  .terms div { grid-template-columns: 1fr; gap: 2px; }
  .guide-specs { margin-top: 20px; padding: 20px; }
  .guide-link { margin-top: 20px; }
}
