:root {
  color-scheme: dark;
  --page: #100e16;
  --surface: #18141f;
  --surface-raised: #21192c;
  --line: #342b3e;
  --line-light: #4b3b57;
  --ink: #f7f3fc;
  --muted: #c1b5cc;
  --subtle: #a99ab6;
  --violet: #d0a9ff;
  --violet-light: #e7ceff;
  --green: #91e8b6;
  --amber: #ffd08a;
  --radius: 16px;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: var(--page); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

section[id] { scroll-margin-top: 104px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); margin-top: 1rem; }
.wrap { width: min(calc(100% - 3.5rem), 1224px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 0.75rem auto auto 0.75rem;
  padding: 0.65rem 1rem;
  clip-path: inset(50%);
  border-radius: 8px;
  background: var(--violet);
  color: var(--page);
  font-weight: 800;
}

.skip-link:focus { clip-path: none; }

/* Navigation and action styles */
.nav {
  position: sticky;
  z-index: 4;
  top: 0;
  background: rgba(16, 14, 22, 0.93);
  border-bottom: 1px solid var(--line);
}

.nav.scrolled {
  background: rgba(16, 14, 22, 0.82);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { width: 158px; height: auto; }
.nav-cta { justify-self: end; }
.nav-links, .footer-links { display: flex; align-items: center; gap: clamp(1.15rem, 2.6vw, 2.35rem); }
.nav-links a, .footer-links a { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.nav-links a:hover, .footer-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  min-height: 49px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary { background: var(--violet); color: #1d0f2d; border-color: var(--violet); }
.btn-primary:hover { background: var(--violet-light); border-color: var(--violet-light); }
.btn-ghost { background: rgba(255, 255, 255, 0.025); border-color: var(--line-light); color: var(--ink); }
.btn-ghost:hover { background: #2a2035; border-color: var(--violet); }
.btn-small { min-height: 43px; padding: 0.58rem 0.95rem; font-size: 0.875rem; }
.btn-accent {
  background: linear-gradient(110deg, #7140be, #6031cb);
  color: #fff;
  border-color: #9c71f1;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 7px 24px #3e1e6d4d;
}

.btn-accent:hover { background: #7e4acd; border-color: #c4a2ff; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-radius: 9px;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 160ms ease, top 160ms ease;
}

.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle.open span { top: 20px; }
.nav-toggle.open span:first-child { transform: rotate(45deg); }
.nav-toggle.open span:last-child { transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* Homepage */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: "intro art" "specs specs";
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 2rem;
  padding-top: clamp(2rem, 4vw, 3.75rem);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1% -2% 1%;
  pointer-events: none;
  background: radial-gradient(ellipse at 74% 44%, #40235b 0, transparent 64%);
  opacity: 0.33;
}

.hero-copy { grid-area: intro; }
.eyebrow, .stock-summary, .tier, .status-pill, .hero-specs dt, .plan-tag {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.3rem, 2.3vw, 2rem);
  padding: 0.45rem 0.7rem;
  border: 1px solid #473655;
  border-radius: 6px;
  color: var(--violet-light);
  background: #21172c;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow.live::before, .stock-summary.has-stock::before, .status-pill::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow.live::before, .stock-summary.has-stock::before { color: var(--green); }
.hero h1 {
  font-size: clamp(4.25rem, 8.15vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.068em;
}

.hero h1 span {
  display: block;
  margin-top: 0.09em;
  color: var(--violet);
  background: linear-gradient(115deg, #f0dfff 0%, #d0a7fb 48%, #ac78ec 90%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 28rem;
  margin-top: clamp(1.45rem, 3vw, 2.1rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.35rem, 2.6vw, 2rem);
}

.hero-art {
  grid-area: art;
  position: relative;
  isolation: isolate;
  height: clamp(380px, 36vw, 488px);
  overflow: hidden;
  border: 1px solid #574168;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 60% 40%, #442567 0%, #1b1028 52%, #100b17 100%);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(133deg, rgba(10, 6, 15, 0.21), transparent 42%, rgba(12, 8, 17, 0.12));
}

.hero-specs {
  grid-area: specs;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #17131e;
}

.hero-specs div { padding: 0.95rem clamp(0.8rem, 2.25vw, 1.85rem); }
.hero-specs div + div { border-left: 1px solid var(--line); }
.hero-specs dt { color: var(--ink); font-size: 0.94rem; }
.hero-specs dd { margin-top: 0.25rem; color: var(--subtle); font-size: 0.875rem; }

/* Catalog */
.section { margin-top: clamp(4rem, 8vw, 7.25rem); }
#products { margin-top: clamp(3.3rem, 5.8vw, 5rem); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.65rem;
}

.section-head h2 { font-size: clamp(2.4rem, 5.2vw, 4.55rem); }
.section-head p:not(.stock-summary) { max-width: 43rem; margin-top: 0.85rem; color: var(--muted); }

.stock-summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.78rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}

.stock-summary:empty { display: none; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }

.product {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: clamp(24rem, 30vw, 27rem);
  overflow: hidden;
  background: #181421;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.product:hover, .product:focus-within { border-color: #9364cd; box-shadow: 0 12px 34px #0004; }
.product-card-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 81%;
  overflow: hidden;
  background: radial-gradient(ellipse at 68% 29%, #503567, #181421 75%);
}

.product-card-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 36%; transition: transform 350ms ease; }
.product:hover .product-card-art img { transform: scale(1.04); }
.product-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, #18142126 46%, #181421ed 86%, #181421 100%);
}

.product-card-body {
  display: grid;
  align-items: start;
  gap: 0.65rem;
  padding: clamp(1rem, 2.1vw, 1.4rem);
}

.product h3 { font-size: clamp(1.7rem, 2.75vw, 2.45rem); }
.product-card-body .status-pill { justify-self: start; }
.product-card-body .btn { width: 100%; margin-top: 0.2rem; }
.product-card-body .btn:focus-visible { outline-offset: 2px; }
.product-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 2rem;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.product-card-price strong { color: var(--ink); font: 700 1.48rem/1.3 var(--display); }
.product-card-price .price-pending { color: var(--muted); font: 700 0.875rem/1.6 var(--body); }
.tier { color: var(--subtle); text-transform: uppercase; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.4rem 0.58rem;
  white-space: nowrap;
  color: var(--subtle);
  background: #201924;
  border: 1px solid #55435f;
  border-radius: 6px;
}

.status-pill.live { color: var(--green); background: #13261df2; border-color: #326448; }
.status-pill.updating { color: var(--amber); background: #332616f2; border-color: #72542d; }

/* Product detail and purchase options */
.detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 34rem;
  overflow: hidden;
  background: #14101b;
  border-bottom: 1px solid var(--line);
}

.detail-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 32%;
  background: radial-gradient(ellipse at 66% 38%, #4a3067, #17101e 77%);
}

.detail-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 37%; }
.detail-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #14101b 2%, #14101beb 18%, #14101b69 43%, transparent 65%),
    linear-gradient(0deg, #14101b 0%, #14101b22 45%, transparent 76%);
}

.cover-screenshot {
  background: radial-gradient(ellipse at 71% 21%, #553273aa, transparent 69%),
    repeating-linear-gradient(90deg, #af84df1a 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, #af84df1a 0 1px, transparent 1px 32px),
    #20162f;
}

.cover-screenshot img {
  height: auto;
  object-fit: contain;
  border: 1px solid #6d5287;
  border-radius: 10px;
  box-shadow: 0 18px 46px #0d0816a6;
}

.hero-art.cover-screenshot {
  display: grid;
  place-items: center;
  padding: clamp(0.65rem, 2vw, 1.35rem);
}

.hero-art.cover-screenshot img { height: auto; max-height: 100%; }
.product-card-art.cover-screenshot img { position: absolute; top: 8%; left: 5%; width: 90%; height: auto; }
.detail-art.cover-screenshot img { position: absolute; top: 48%; right: 5%; width: min(78%, 46rem); max-height: 79%; height: auto; transform: translateY(-50%); }

.cover-brand-teal { --cover-tone: 91 193 210; }
.cover-brand-violet { --cover-tone: 179 124 255; }
.cover-brand-teal, .cover-brand-violet {
  background: radial-gradient(ellipse at 64% 20%, rgb(var(--cover-tone) / 27%), transparent 65%),
    repeating-linear-gradient(132deg, rgb(var(--cover-tone) / 10%) 0 1px, transparent 1px 15px),
    linear-gradient(145deg, #171420, #231a33);
}

:is(.cover-brand-teal, .cover-brand-violet)::before {
  content: "";
  position: absolute;
  inset: 13% 10% 28%;
  border-block: 1px solid rgb(var(--cover-tone) / 39%);
  background: linear-gradient(110deg, transparent 14%, rgb(var(--cover-tone) / 6%), transparent 86%);
  mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
}

:is(.cover-brand-teal, .cover-brand-violet) img {
  position: absolute;
  inset: 36% auto auto 14%;
  width: 72%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 7px 16px #08050fc9);
}

.detail-art:is(.cover-brand-teal, .cover-brand-violet) img {
  inset: 38% 9% auto auto;
  width: min(64%, 40rem);
}

.detail-main { position: relative; padding-block: clamp(1rem, 3.6vw, 3rem) clamp(2.4rem, 5.5vw, 5rem); }
.detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.detail-back:hover { color: var(--ink); }
.detail-intro { width: min(100%, 36rem); }
.detail-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.detail-intro h1 {
  font-size: clamp(3.4rem, 7.7vw, 7.15rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.057em;
  text-wrap: balance;
}

.detail-description { max-width: 32rem; margin-top: 1.2rem; font-size: 1.05rem; color: var(--muted); }
.purchase-plans { margin: 1.45rem 0 0; padding: 0; border: 0; min-width: 0; }
.purchase-plans legend { margin-bottom: 0.45rem; padding: 0; font-weight: 800; }
.plan-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
.plan-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.6rem 0.75rem;
  background: #20192bec;
  border: 1px solid #4f3f61;
  border-radius: 9px;
  cursor: pointer;
}

.plan-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.plan-option:hover { border-color: var(--violet); }
.plan-option:has(input:checked) { border-color: #b787ff; background: #34234de8; }
.plan-option:has(input:focus-visible) { outline: 2px solid var(--violet); outline-offset: 2px; }
.plan-option input { accent-color: #c197ff; width: 1rem; height: 1rem; margin: 0; }
.plan-label { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.45rem; color: var(--ink); font-size: 0.875rem; font-weight: 800; }
.plan-tag { padding: 0.2rem 0.33rem; border-radius: 4px; background: #392750; color: #e0c1ff; font-size: 0.72rem; white-space: nowrap; }
.plan-price { font-family: var(--display); font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.15rem; }
.detail-actions .btn { min-width: min(100%, 16rem); }
.purchase-note { margin-top: 0.65rem; color: var(--muted); font-size: 0.875rem; }
.detail-section { margin-top: clamp(2.65rem, 5.6vw, 4.75rem); }
.detail-section .section-head h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); }
.gallery-grid, .detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.gallery-image {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.gallery-image:hover { border-color: var(--violet); }
.gallery-image img { aspect-ratio: 16 / 10; width: 100%; object-fit: contain; background: #150f1f; }
.gallery-image span { display: block; padding: 0.6rem 0.8rem; }
.detail-facts { list-style: none; padding: 0; margin: 0; }
.detail-facts li {
  padding: clamp(0.9rem, 2vw, 1.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
}

.detail-specs .section-head {
  justify-content: center;
  margin-bottom: clamp(1.4rem, 3.7vw, 2.55rem);
  text-align: center;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.8vw, 1.2rem);
}

.spec-card {
  padding: clamp(1.05rem, 2.45vw, 2.1rem) clamp(0.7rem, 1.8vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #21192d, var(--surface) 55%);
  text-align: center;
}

.spec-card dt { display: grid; justify-items: center; gap: 0.75rem; font-weight: 800; line-height: 1.32; }
.spec-card dd { margin-top: 0.5rem; color: var(--muted); font-size: 0.875rem; }
.spec-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border: 1px solid #51396e;
  border-radius: 50%;
  background: #302044;
  color: #cba4ff;
}

.spec-glyph { position: relative; display: block; }
.spec-glyph::before, .spec-glyph::after { position: absolute; }
.spec-glyph--screen { width: 18px; height: 13px; border: 1.5px solid; border-radius: 2px; transform: translateY(-2px); }
.spec-glyph--screen::before { content: ""; width: 1.5px; height: 3px; left: 50%; top: 100%; background: currentColor; }
.spec-glyph--screen::after { content: ""; width: 8px; height: 1.5px; left: 50%; top: calc(100% + 3px); transform: translateX(-50%); background: currentColor; }
.spec-glyph--chip { width: 13px; height: 13px; border: 1.5px solid; border-radius: 2px; }
.spec-glyph--chip::before { content: ""; inset: 3px; border: 1px solid; }
.spec-glyph--chip::after {
  content: "";
  inset: -5px;
  background: linear-gradient(currentColor, currentColor) top center / 1px 3px no-repeat,
    linear-gradient(currentColor, currentColor) bottom center / 1px 3px no-repeat,
    linear-gradient(currentColor, currentColor) center left / 3px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center right / 3px 1px no-repeat;
}

.spec-glyph--shield { width: 16px; height: 18px; border: 1.5px solid; border-radius: 4px 4px 8px 8px; }
.spec-glyph--shield::after { content: ""; width: 6px; height: 4px; top: 4px; left: 4px; transform: rotate(-45deg); border-left: 1.5px solid; border-bottom: 1.5px solid; }
.spec-glyph--eye { width: 16px; height: 16px; transform: rotate(45deg); border: 1.5px solid; border-radius: 75% 25%; }
.spec-glyph--eye::after { content: ""; inset: 3px; border: 1.5px solid; border-radius: 50%; }
.spec-glyph--key { width: 19px; height: 10px; transform: rotate(-35deg); }
.spec-glyph--key::before { content: ""; width: 9px; height: 9px; left: 0; top: 0; border: 1.5px solid; border-radius: 50%; }
.spec-glyph--key::after { content: ""; width: 11px; height: 4px; left: 8px; top: 4px; border-top: 1.5px solid; border-right: 1.5px solid; }
.related-products .section-head { align-items: center; flex-wrap: wrap; }

.product-missing { padding-block: clamp(3rem, 9vw, 7rem); }
.product-missing h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.product-missing p { margin: 0.85rem 0 1.15rem; color: var(--muted); }

/* Real app screenshots */
.cleaner-layout { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 1rem; }
.showcase {
  min-width: 0;
  padding: clamp(0.7rem, 2vw, 1.15rem);
  background: #18131e;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.preview-controls { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.preview-controls button {
  min-height: 44px;
  padding: 0.38rem 0.73rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.preview-controls button:hover { color: var(--ink); }
.preview-controls button[aria-pressed="true"] { color: var(--violet-light); background: #322344; border-color: #544068; }
.shot-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1206 / 861;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #291a3c, #0f0b16 72%);
  border: 1px solid var(--line-light);
  border-radius: 10px;
}

.shot-image img { width: 100%; height: 100%; object-fit: contain; }
#preview-activation img { width: 83%; height: auto; border-radius: 8px; border: 1px solid var(--line-light); }
.shot figcaption { padding: 0.7rem 0.25rem 0.05rem; color: var(--subtle); font-size: 0.875rem; }

.feature-grid {
  display: grid;
  align-content: center;
  gap: 0;
  padding-inline: clamp(1.15rem, 3.2vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature { padding-block: clamp(1.15rem, 2.75vw, 1.8rem); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature h3, .steps h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.feature p, .steps p { margin-top: 0.48rem; color: var(--muted); font-size: 0.95rem; }

/* Payments and ordering */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pay-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; padding: clamp(1rem, 2.75vw, 1.9rem); min-width: 0; }
.pay-card:nth-child(even) { border-left: 1px solid var(--line); }
.pay-card:nth-child(n+3) { border-top: 1px solid var(--line); }
.pay-label { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
.pay-label span { margin-left: 0.3rem; color: var(--subtle); font-size: 0.75rem; letter-spacing: 0; }
.pay-note { color: var(--muted); font-size: 0.95rem; }
.pay-value {
  width: 100%;
  padding: 0.55rem 0.75rem;
  overflow-wrap: anywhere;
  color: var(--violet-light);
  background: #110e18;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.835rem;
}

.pay-value:empty { display: none; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.pay-card > .btn { margin-top: auto; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: orders;
  border-block: 1px solid var(--line);
}

.steps li { counter-increment: orders; padding: clamp(1.1rem, 3vw, 2.2rem); min-width: 0; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(orders);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  background: #322344;
  color: var(--violet-light);
  font: 600 0.85rem var(--mono);
}

/* FAQ and footer */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr); gap: 2rem; }
.faq-layout .section-head { align-self: start; margin-bottom: 0; }
.faq-layout h2 span { display: block; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.85rem 0.4rem;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-right: 0.3rem;
  background: linear-gradient(var(--violet), var(--violet)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--violet), var(--violet)) center / 1.5px 100% no-repeat;
}

.faq details[open] summary::after { background-size: 100% 1.5px, 0 0; }
.faq details p { max-width: 42rem; padding: 0 2rem 1.15rem 0.4rem; color: var(--muted); }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: clamp(1.3rem, 4.5vw, 3rem);
  margin-top: clamp(3.5rem, 7.5vw, 6rem);
  border: 1px solid #58436b;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 10% 130%, #3d2856, #251931 60%);
}

.cta-band h2 { font-size: clamp(1.85rem, 4vw, 3.35rem); }
.cta-band p { margin-top: 0.55rem; color: var(--muted); }
.cta-band .btn { flex-shrink: 0; }

.footer { margin-top: clamp(2.7rem, 5vw, 4.3rem); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.3rem;
  padding-block: 1.5rem 1.8rem;
}

.fineprint { grid-column: 1 / -1; color: var(--subtle); font-size: 0.82rem; }
.toast {
  position: fixed;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.7rem 1rem;
  background: var(--violet-light);
  color: #21102c;
  border-radius: 8px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { column-gap: 1.6rem; }
  .hero-art { height: clamp(330px, 44vw, 420px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-art { left: 22%; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 2.2rem), 34rem); }
  section[id] { scroll-margin-top: 82px; }
  .nav-inner { min-height: 62px; display: flex; justify-content: space-between; gap: 0.65rem; }
  .brand img { width: 141px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: block; flex-shrink: 0; }
  .mobile-menu { display: grid; gap: 0; padding: 0.15rem 0 0.65rem; }
  .mobile-menu a { min-height: 44px; padding: 0.6rem 0.3rem; border-top: 1px solid var(--line); color: var(--muted); font-weight: 700; }

  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "art" "specs"; gap: 1rem; padding-top: 2.6rem; }
  .hero h1 { font-size: clamp(3.55rem, 15vw, 6.1rem); }
  .hero-copy { padding-bottom: 0.4rem; }
  .hero-art { height: auto; aspect-ratio: 1.25; }
  .hero-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-specs div { padding: 0.7rem 0.78rem; }
  .hero-specs div:nth-child(odd) { border-left: 0; }
  .hero-specs div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section-head { margin-bottom: 1.15rem; }
  .grid, .cleaner-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .product { min-height: clamp(22.5rem, 105vw, 27rem); }
  .detail-art { inset: 0 0 auto; height: clamp(17rem, 68vw, 24rem); }
  .detail-art::after { background: linear-gradient(0deg, #14101b 0%, #14101b75 34%, transparent 69%); }
  .detail-art.cover-screenshot img { top: 45%; right: 7.5%; width: 85%; }
  .detail-art:is(.cover-brand-teal, .cover-brand-violet) img { right: 14%; width: 72%; }
  .detail-main { padding-top: clamp(13rem, 51vw, 19rem); }
  .detail-back {
    position: absolute;
    inset: 0.8rem auto auto 0;
    padding-inline: 0.75rem;
    border: 1px solid var(--line-light);
    border-radius: 7px;
    background: #17121eed;
  }

  .detail-intro h1 { font-size: clamp(3.2rem, 13vw, 5rem); text-wrap: initial; }
  .plan-option { gap: 0.4rem; padding-inline: 0.6rem; }
  .plan-option input { width: 0.9rem; height: 0.9rem; }
  .plan-option .plan-price { font-size: 1.0625rem; }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(9.5rem, 1fr));
    overflow-x: auto;
    padding-block: 0.25rem 0.5rem;
    scroll-snap-type: x proximity;
  }

  .gallery-image { scroll-snap-align: start; }
  .detail-facts { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; }
  .feature-grid { padding-inline: 1.15rem; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-card:nth-child(even) { border-left: 0; }
  .pay-card:nth-child(n+2) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { padding-inline: 0.4rem; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .faq-layout { gap: 1.2rem; }
  .faq-layout h2 span { display: inline; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 1.6rem); }
  .brand img { width: 128px; }
  .nav-cta { padding-inline: 0.55rem; }
  .stock-summary { padding-inline: 0.55rem; }
  .preview-controls { gap: 0.16rem; }
  .preview-controls button { padding-inline: 0.43rem; }
  .plan-options { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
