:root {
  color-scheme: dark;
  --bg: #06070a;
  --bg-2: #0b0d11;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #e9eef0;
  --muted: #8b959c;
  --dim: #5d666d;

  /* brand, sampled from the logo */
  --red: #6fa6d6;
  --red-soft: rgba(111, 166, 214, 0.14);
  --cyan: #b6d3ee;
  --cyan-soft: rgba(182, 211, 238, 0.12);
  --gold: #e7c47c;
  --gold-soft: rgba(231, 196, 124, 0.12);

  --radius: 14px;
  --radius-sm: 9px;
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--mono); font-size: .88em; color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- background: grid + two glows, like the banner ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 85%);
  opacity: .55;
}
.bg-glow { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .22; }
.bg-glow--red { background: var(--red); left: -30vmax; bottom: -35vmax; }
.bg-glow--cyan { background: #1d4a78; right: -28vmax; top: -30vmax; opacity: .35; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  color: var(--muted); margin: 0 0 14px; text-transform: lowercase;
}
.brace { color: var(--red); text-shadow: 0 0 12px rgba(111, 166, 214, .6); }
.grad {
  background: linear-gradient(90deg, var(--red) 0%, #ff7a8d 35%, var(--gold) 65%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1 var(--display); letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 0 0 1px rgba(111, 166, 214, .5), 0 8px 28px -8px rgba(111, 166, 214, .8);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(111, 166, 214, .8), 0 10px 36px -6px rgba(111, 166, 214, .95); transform: translateY(-1px); }
.btn-ghost { background: var(--panel); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(182, 211, 238, .45); color: var(--cyan); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.chip {
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-2); color: var(--muted);
  font: 500 13.5px/1 var(--body); transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip.is-active { color: #fff; background: var(--red-soft); border-color: rgba(111, 166, 214, .55); }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  font: 500 11.5px/1 var(--mono); color: var(--muted); background: var(--panel-2); border: 1px solid var(--line);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6, 7, 10, .72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(111, 166, 214, .5)); }
.brand-word { font: 800 19px/1 var(--display); letter-spacing: .06em; }
.brand-word span { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.account { position: relative; }
.account-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line-2); font: 600 14px/1 var(--display); white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.account-btn:hover:not([disabled]) { border-color: rgba(182, 211, 238, .45); color: var(--cyan); }
.account-btn[disabled] { opacity: .6; cursor: wait; }
.account-btn.is-in { border-color: rgba(182, 211, 238, .3); background: var(--cyan-soft); }
.account-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.account-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 8px; z-index: 35;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 20px 40px -12px #000;
}
.account-menu p { margin: 4px 8px 8px; font-size: 12.5px; color: var(--dim); }
.account-menu button {
  width: 100%; text-align: left; padding: 10px 8px; border-radius: 8px; border: 0; background: none; font-size: 14px;
}
.account-menu button:hover { background: var(--panel-2); color: var(--red); }
.cart-btn {
  position: relative; width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line-2);
  transition: border-color .2s, color .2s;
}
.cart-btn:hover { border-color: rgba(111, 166, 214, .6); color: var(--red); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/20px var(--display); text-align: center;
  box-shadow: 0 0 12px rgba(111, 166, 214, .8); transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.15); } }

/* ---------- hero ---------- */
.hero { padding: 88px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.025em; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 36px; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font: 700 24px/1 var(--display); }
.hero-stats dt small { font-size: 14px; color: var(--muted); margin-left: 2px; }
.hero-stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); }

.hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-mark img {
  position: relative; width: 78%;
  filter: drop-shadow(0 0 24px rgba(111, 166, 214, .45)) drop-shadow(0 0 60px rgba(111, 166, 214, .25));
  animation: float 7s ease-in-out infinite;
}
.mark-ring {
  position: absolute; inset: 6%; border-radius: 50%;
  border: 1px solid rgba(182, 211, 238, .16);
  background: radial-gradient(circle, rgba(111, 166, 214, .10), transparent 62%);
}
.mark-ring::before {
  content: ''; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
.mark-ring { animation: spin 26s linear infinite; }
.mark-ring--2 { inset: 16%; border-color: rgba(111, 166, 214, .18); background: none; animation-duration: 18s; animation-direction: reverse; }
.mark-ring--2::before { background: var(--red); box-shadow: 0 0 14px var(--red); }
.float-code {
  position: absolute; padding: 8px 12px; border-radius: 8px; font-size: 12px; white-space: nowrap;
  background: rgba(11, 13, 17, .85); border: 1px solid var(--line-2); color: var(--muted);
  backdrop-filter: blur(6px);
}
.float-code--1 { top: 10%; left: -4%; animation: float 8s ease-in-out -2s infinite; }
.float-code--2 { bottom: 12%; right: -2%; color: var(--cyan); animation: float 9s ease-in-out -5s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- featured ---------- */
.featured { margin-top: 8px; }
.feature-card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(182, 211, 238, .07), rgba(111, 166, 214, .06) 60%, rgba(11, 13, 17, .6));
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(182, 211, 238, .6), transparent 40%, transparent 60%, rgba(111, 166, 214, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.feature-copy { padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.feature-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.feature-copy p { color: var(--muted); margin: 0; }
.feature-badge {
  align-self: flex-start; font: 600 12px/1 var(--mono); color: var(--cyan);
  padding: 7px 10px; border: 1px solid rgba(182, 211, 238, .4); border-radius: 6px; background: var(--cyan-soft);
}
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.feature-price { font: 700 22px/1 var(--display); margin-right: 8px; }
.feature-art { position: relative; min-height: 320px; }

/* ---------- sections ---------- */
.section { padding: 96px 0 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
.card[data-accent="red"]:hover { border-color: rgba(111, 166, 214, .45); }
.card[data-accent="cyan"]:hover { border-color: rgba(182, 211, 238, .4); }
.card[data-accent="gold"]:hover { border-color: rgba(231, 196, 124, .4); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 10, .75));
}
.card-media .soon {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font: 600 11px/1 var(--mono); padding: 6px 9px; border-radius: 6px; color: var(--gold);
  background: rgba(6, 7, 10, .8); border: 1px solid rgba(231, 196, 124, .4);
}
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.card-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card-title h3 { font-size: 18px; font-weight: 700; }
.card-title .ver { font: 400 12px/1 var(--mono); color: var(--dim); }
.card-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font: 700 20px/1 var(--display); }
.price small { font: 500 12px var(--body); color: var(--dim); margin-left: 4px; }
.card-foot .btns { display: flex; gap: 8px; }
.card.is-soon .card-media { cursor: default; }
.card.is-soon .card-media > *:not(.soon) { opacity: .55; filter: saturate(.6); }

/* ---------- generated artwork for scripts without a banner ---------- */
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.art::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .8;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.art svg { position: relative; width: 62%; height: 70%; overflow: visible; }
.art-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font: 500 12px/1 var(--mono); color: var(--muted);
}
.art[data-accent="red"] { --a: var(--red); background: radial-gradient(circle at 50% 55%, rgba(111, 166, 214, .22), transparent 60%), var(--bg-2); }
.art[data-accent="cyan"] { --a: var(--cyan); background: radial-gradient(circle at 50% 55%, rgba(182, 211, 238, .18), transparent 60%), var(--bg-2); }
.art[data-accent="gold"] { --a: var(--gold); background: radial-gradient(circle at 50% 55%, rgba(231, 196, 124, .18), transparent 60%), var(--bg-2); }
.art svg * { stroke: var(--a); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art svg { filter: drop-shadow(0 0 8px var(--a)); }
.art .wave line { animation: wave 1.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes wave { 50% { transform: scaleY(.35); } }
.feature-art .art svg { width: 70%; }

/* ---------- delivery steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li {
  position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
}
.steps li:not(:last-child)::after {
  content: ''; position: absolute; top: 44px; right: -21px; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}
.step-no { font: 500 13px/1 var(--mono); color: var(--red); }
.steps h3 { font-size: 19px; margin: 14px 0 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why article { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.why svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(182, 211, 238, .5)); }
.why article:nth-child(even) svg { stroke: var(--red); filter: drop-shadow(0 0 6px rgba(111, 166, 214, .5)); }
.why h3 { font-size: 17px; margin: 18px 0 8px; }
.why p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font: 600 16px/1.4 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 400 22px/1 var(--mono); color: var(--red); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { margin-top: 110px; border-top: 1px solid var(--line); background: rgba(6, 7, 10, .6); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 36px 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; filter: drop-shadow(0 0 8px rgba(111, 166, 214, .5)); }
.footer-brand strong { font: 800 15px/1 var(--display); letter-spacing: .06em; }
.footer-brand p { margin: 4px 0 0; font-size: 12.5px; color: var(--dim); }
.footer-note { margin: 0; font-size: 13px; color: var(--dim); max-width: 520px; }
.footer-copy { margin: 0; font-size: 13px; color: var(--dim); }

/* ---------- drawer, modal, toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 50; width: min(420px, 100%); height: 100%;
  display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line-2);
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; font-size: 22px; line-height: 1; color: var(--muted); }
.icon-btn:hover { color: var(--text); border-color: var(--dim); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; }
.drawer-empty { margin: auto; text-align: center; color: var(--muted); }
.drawer-empty strong { display: block; font: 700 17px var(--display); color: var(--text); margin-bottom: 6px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.line-thumb { position: relative; width: 64px; height: 44px; border-radius: 7px; overflow: hidden; background: var(--bg); }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-thumb .art svg { width: 70%; height: 70%; }
.line-thumb .art-label { display: none; }
.line-item h4 { margin: 0; font: 600 14.5px/1.3 var(--display); }
.line-item span { font-size: 13px; color: var(--muted); }
.line-remove { background: none; border: 0; color: var(--dim); font-size: 13px; padding: 4px; }
.line-remove:hover { color: var(--red); }
.drawer-foot:empty { display: none; }
.drawer-foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.total { display: flex; align-items: baseline; justify-content: space-between; }
.total span, .total dt { color: var(--muted); }
.total strong, .total dd { font: 800 24px/1 var(--display); }
.fine { margin: 0; font-size: 12.5px; color: var(--dim); text-align: center; }

.signed-in {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px;
  font-size: 13.5px; color: var(--muted); background: var(--cyan-soft); border: 1px solid rgba(182, 211, 238, .25);
}
.signed-in strong { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signed-in .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.coupon { display: flex; gap: 8px; }
.coupon input {
  flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 9px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: 500 14px var(--mono); text-transform: uppercase;
}
.coupon input::placeholder { text-transform: none; color: var(--dim); font-family: var(--body); }
.coupon input:focus { outline: none; border-color: rgba(182, 211, 238, .5); }
.coupon-list { display: flex; flex-wrap: wrap; gap: 6px; }
.coupon-list .tag { color: var(--gold); gap: 6px; }
.coupon-list button { background: none; border: 0; padding: 0; color: var(--dim); font-size: 15px; line-height: 1; }
.coupon-list button:hover { color: var(--red); }
.sums { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.sums div { display: flex; justify-content: space-between; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; }
.sums .total { padding-top: 10px; border-top: 1px solid var(--line); }
.line-remove[disabled] { opacity: .4; cursor: wait; }
.drawer-empty.done { display: grid; justify-items: center; gap: 14px; max-width: 300px; }
.drawer-empty.done strong { color: var(--cyan); margin: 0; }
.price s { font-size: .7em; font-weight: 500; color: var(--dim); margin-right: 8px; }

.tebex-desc { color: var(--muted); font-size: 15px; }
.tebex-desc :is(h1, h2, h3, h4) { color: var(--text); font-size: 17px; margin: 22px 0 8px; }
.tebex-desc img { border-radius: 10px; margin: 12px 0; }
.tebex-desc a { color: var(--cyan); }

.modal {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px;
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.modal.is-open { pointer-events: auto; opacity: 1; }
.modal-card {
  position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2);
  transform: translateY(16px) scale(.98); transition: transform .3s var(--ease);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 1);
}
.modal.is-open .modal-card { transform: none; }
.modal-media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: var(--bg); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--bg-2)); }
.modal-media[data-shot-main] { aspect-ratio: 16 / 9; }
.modal-media[data-shot-main]::after { background: linear-gradient(180deg, transparent 75%, var(--bg-2)); }
.shots { display: flex; gap: 8px; padding: 12px 32px 4px; overflow-x: auto; scrollbar-width: thin; }
.shot {
  flex: none; width: 104px; aspect-ratio: 16 / 9; padding: 0; border-radius: 7px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg); opacity: .55; transition: opacity .2s, border-color .2s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover { opacity: .85; }
.shot.is-active { opacity: 1; border-color: var(--red); box-shadow: 0 0 10px rgba(111, 166, 214, .5); }
@media (max-width: 820px) { .shots { padding-inline: 20px; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(6, 7, 10, .7); backdrop-filter: blur(6px); }
.modal-content { display: grid; grid-template-columns: 1fr 280px; gap: 32px; padding: 8px 32px 32px; }
.modal-content h2 { font-size: 30px; font-weight: 800; }
.modal-tagline { color: var(--cyan); margin: 8px 0 18px; font-size: 15px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { padding-left: 20px; position: relative; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); box-shadow: 0 0 8px var(--red); transform: rotate(45deg); }
.feature-list strong { display: block; font: 600 15px/1.4 var(--display); }
.feature-list span { color: var(--muted); font-size: 14.5px; }
.buy-box { align-self: start; position: sticky; top: 0; padding: 22px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel); display: grid; gap: 14px; }
.buy-box .price { font-size: 30px; }
.buy-meta { display: grid; gap: 8px; margin: 0; font-size: 13.5px; }
.buy-meta div { display: flex; justify-content: space-between; gap: 12px; }
.buy-meta dt { color: var(--muted); }
.buy-meta dd { margin: 0; text-align: right; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 10px; background: #12151b; border: 1px solid var(--line-2);
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  box-shadow: 0 16px 40px -12px #000;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--cyan); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; width: min(340px, 80%); margin-inline: auto; }
  .float-code { display: none; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-art { min-height: 220px; order: -1; }
  .feature-copy { padding: 28px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .modal-content { grid-template-columns: 1fr; padding: 8px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 580px) {
  .grid, .why { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-stats dt { font-size: 20px; }
  .nav-discord { display: none; }
  .account-long { display: none; }
  .account-name { max-width: 90px; }
  .brand-word span { display: none; }
  .section { padding-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
