/* ============================================================
   MemRigDMA — design system (v2, multi-page)
   Precision-instrument storefront. Brand cyan #00d4ff on near-black.
   Distinct type: Sora (display, system fallback) + JetBrains Mono (data).
   Backwards compatible with account.html (keep .wrap/.card/.btn/.status/.lic-table…).
   ============================================================ */

:root {
  /* surfaces — near-black, cool, layered */
  --bg0: #07090c;
  --bg1: #0a0d12;
  --bg2: #0e1218;
  --bg3: #141a23;
  --plate: rgba(13, 17, 24, 0.66);

  /* hairlines */
  --line: rgba(150, 193, 226, 0.16);
  --line-strong: rgba(0, 212, 255, 0.28);

  /* text */
  --text: #eaf0f6;
  --text-2: #a7b4c5;
  --text-3: #7d8da0;

  /* brand */
  --accent: #00d4ff;
  --accent-deep: #008fc7;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-faint: rgba(0, 212, 255, 0.055);
  --accent-text: #03232e;

  /* status */
  --good: #2ee6a4;
  --good-dim: rgba(46, 230, 164, 0.12);
  --warn: #e9b44c;
  --warn-dim: rgba(233, 180, 76, 0.12);
  --bad: #ff5f6d;
  --bad-dim: rgba(255, 95, 109, 0.14);

  /* brand accent originally used Discord blue as the accent; the store's own
     signature is cyan #00d4ff. Keep a Discord blue token for the login button. */
  --discord: #5865f2;

  /* type */
  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Sora", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* shape */
  --r-sm: 8px;
  --r-md: 13px;
  --r-lg: 20px;
  --r-xl: 26px;

  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 2px 0 rgba(0, 0, 0, 0.32);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1.6px) 0 0 / 26px 26px,
    var(--bg0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
::selection { background: rgba(0, 212, 255, 0.28); color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- type utilities ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-2); }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px 64px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 15.5px; }
.section { padding: 72px 0 8px; }
.rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); opacity: .5; }
.section-more { text-align: center; margin-top: 34px; }

/* page head (store / how-it-works / faq) */
.page-head { max-width: 720px; margin: 0 auto 0; padding: clamp(28px, 5vw, 52px) 0 8px; }
.page-head .eyebrow { display: inline-block; margin-bottom: 14px; }
.page-head h1 { font-size: clamp(30px, 5.2vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.page-head p { color: var(--text-2); margin-top: 16px; font-size: 16.5px; max-width: 620px; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 12, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px clamp(18px, 4vw, 34px);
  min-height: 62px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .14s ease, background-color .14s ease;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }
.nav-links a.active { color: var(--accent); background: var(--accent-faint); }
.nav-toggle { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line), 0 0 18px -6px rgba(0, 212, 255, 0.5);
}
.brand-word {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em; color: var(--text);
}
.brand-word em { color: var(--accent); font-style: normal; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; }
.logo span { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.nav-user img { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--line); }
.nav-user .nm { color: var(--text); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 11px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn, button.btn, a.btn-primary, button.btn-primary {
  background: var(--accent); color: var(--accent-text);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}
.btn:hover, button.btn:hover, a.btn-primary:hover, button.btn-primary:hover { background: #33ddff; }

.secondary, .btn-secondary, a.btn-secondary, button.btn.secondary, .btn.secondary {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.secondary:hover, .btn-secondary:hover, a.btn-secondary:hover, button.btn.secondary:hover, .btn.secondary:hover { background: var(--accent-faint); border-color: var(--accent); color: var(--accent); }

.ghost, .btn-ghost, a.btn-ghost {
  background: transparent; color: var(--text-2); border-color: var(--line);
}
.ghost:hover, .btn-ghost:hover, a.btn-ghost:hover { color: var(--text); border-color: var(--text-3); background: var(--bg3); }

.discord, .btn-discord, a.btn-discord { background: var(--discord); color: #fff; }
.discord:hover, .btn-discord:hover, a.btn-discord:hover { filter: brightness(1.08); background: var(--discord); }

.btn-sm { min-height: 38px; padding: 0 15px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(44px, 8vw, 84px) 22px 44px;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { display: inline-block; margin-bottom: 16px; }
.hero-title {
  font-size: clamp(38px, 7.5vw, 68px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.0;
  margin: 4px auto 18px; max-width: 780px;
}
.hero-sub { color: var(--text-2); font-size: clamp(15px, 2.1vw, 17.5px); max-width: 580px; margin: 0 auto; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  margin-top: 40px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-3); font-family: var(--font-mono);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; opacity: .8; }

/* DMA data-path diagram */
.hero-diagram {
  display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2.5vw, 26px);
  margin: clamp(36px, 6vw, 60px) auto 0;
  max-width: 720px;
}
.diagram-node {
  position: relative;
  min-width: 0;
  width: clamp(96px, 20vw, 168px);
  padding: clamp(14px, 2.4vw, 22px) 10px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(closest-side at 50% 30%, rgba(0, 212, 255, 0.11), transparent 80%),
    linear-gradient(180deg, var(--plate), var(--bg1));
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 2px 0 rgba(0,0,0,0.32);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.diagram-node .node-icon { font-size: clamp(20px, 3.4vw, 30px); line-height: 1; filter: grayscale(0.4) contrast(1.05); }
.diagram-node .node-name {
  font-family: var(--font-mono); font-size: clamp(11px, 1.8vw, 13px); font-weight: 600;
  letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase;
}
.diagram-node .node-cap { font-size: clamp(9px, 1.4vw, 11px); color: var(--text-3); letter-spacing: 0.03em; }
.diagram-node.node-card { border-color: var(--accent); }
.diagram-node.node-card .node-icon { filter: none; text-shadow: 0 0 18px rgba(0,212,255,0.6); }

.diagram-pulse { width: clamp(24px, 6vw, 52px); display: flex; align-items: center; justify-content: center; }
.pulse-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px rgba(0,212,255,0.5); }

/* ---------- product grid ---------- */
.prod-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.prod-card {
  position: relative;
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--bg2), var(--bg1));
  padding: 22px 20px 20px;
  text-decoration: none; color: var(--text);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
a.prod-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
a.prod-card:focus-visible { outline-offset: -2px; }

.prod-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.platform { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--text-3); text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; }
.badge.live { color: var(--good); background: var(--good-dim); border: 1px solid rgba(46, 230, 164, 0.25); }
.badge.live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.badge.coming { color: var(--text-3); background: rgba(105, 121, 141, 0.14); border: 1px solid var(--line); }

.prod-name { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.prod-name em { font-style: normal; color: var(--accent); font-weight: 700; }
.prod-tag { color: var(--text-2); font-size: 13.5px; margin-top: 6px; }
.prod-spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.prod-spec span { border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
.prod-foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod-price { line-height: 1; }
.prod-price .from { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.prod-price .amount { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); font-family: var(--font-mono); font-weight: 600; }

/* coming-soon cards */
.coming { border-color: var(--line); background: linear-gradient(180deg, #0c0f14, #0a0d11); filter: saturate(0.45) brightness(0.82); pointer-events: none; cursor: default; }
.coming .prod-name { color: var(--text-3); }
.coming .prod-name em { color: var(--text-3); }
.coming .prod-tag { color: var(--text-3); }
.coming .prod-foot { visibility: hidden; }
.coming-block { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-3); border: 1px dashed var(--line); border-radius: 8px; padding: 9px 0; text-align: center; margin-top: auto; }
.coming-block::before { content: "Coming soon"; }

/* ---------- why / pillars ---------- */
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.pillar { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg2); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.pillar svg { width: 22px; height: 22px; stroke: var(--accent); margin-bottom: 8px; }
.pillar h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.pillar p { font-size: 13.5px; color: var(--text-2); }

/* ---------- reviews ---------- */
.review-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.review-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--bg2), var(--bg1)); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 11px; }
.review-ava { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--bg3), var(--bg1)); border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--accent); flex: none; }
.review-meta { line-height: 1.2; }
.review-meta .nm { font-size: 13.5px; font-weight: 600; }
.review-meta .sub { font-size: 11px; font-family: var(--font-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.review-stars { color: var(--accent); font-size: 13px; letter-spacing: 2px; }
.review-card blockquote { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.review-card blockquote::before { content: "\201C"; font-family: var(--font-mono); color: var(--accent); font-size: 18px; }
.review-card .chip { margin-top: auto; font-size: 11px; font-family: var(--font-mono); color: var(--text-3); letter-spacing: .06em; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; margin-top: 40px; padding: clamp(40px, 7vw, 68px) 22px; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line-strong); background: radial-gradient(closest-side at 50% 0%, rgba(0, 212, 255, 0.14), transparent 72%), linear-gradient(180deg, var(--plate), #0a0d12); }
.cta-band h2 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
.cta-band p { color: var(--text-2); max-width: 520px; margin: 14px auto 26px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-note { margin-top: 24px; font-size: 11px; font-family: var(--font-mono); color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- footer ---------- */
footer.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 40px 22px 48px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35)); }
.foot-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 24px; height: 24px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.foot-brand span { font-weight: 700; letter-spacing: 0.12em; font-size: 14px; }
.foot-brand span em { font-style: normal; color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--text-2); }
.foot-links a { color: var(--text-2); }
.foot-links a:hover { color: var(--accent); }
.foot-copy { width: 100%; font-size: 11.5px; font-family: var(--font-mono); color: var(--text-3); letter-spacing: 0.06em; margin-top: 10px; }

/* ---------- How it works ---------- */
.hiw-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-bottom: 64px; }
.hiw-item { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--bg2), var(--bg1)); padding: 28px 22px 24px; }
.hiw-step { position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); opacity: .6; }
.hiw-item h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.hiw-item p { font-size: 13.5px; color: var(--text-2); }
.hiw-title { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.hiw-title h2 { margin-bottom: 0; }
.hiw-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-strong); background: var(--accent-faint); }
.hiw-icon svg { width: 20px; height: 20px; }
.hiw-why { margin-bottom: 40px; }
.hiw-why > h2 { text-align: center; font-size: clamp(24px, 3.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 40px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg2); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: color .14s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 8px; height: 8px; flex: none; border: solid var(--accent); border-width: 0 2px 2px 0; padding: 2px; transform: rotate(-45deg); margin-top: -2px; transition: transform .18s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); margin-top: 2px; }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { padding: 0 20px 18px; color: var(--text-2); font-size: 14px; }

/* ---------- Legal / terms ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 22px 72px; }
.legal-inner h1 { font-size: 28px; margin: 0 0 6px; }
.legal-lede { color: var(--text-2); margin: 0 0 26px; }
.legal-inner h2 { font-size: 18px; margin: 30px 0 8px; color: var(--accent); }
.legal-inner p { line-height: 1.6; margin: 10px 0; }
.legal-inner ul { margin: 10px 0; padding-left: 20px; }
.legal-inner li { line-height: 1.6; margin: 6px 0; }
.legal-back { margin-top: 40px; }

/* ---------- card (account.html) ---------- */
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-top: 18px; }
.card h2 { font-size: 17px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.card h3 { font-size: 15px; margin-bottom: 8px; font-weight: 600; }

/* ---------- notices ---------- */
.notice { padding: 13px 15px; border-radius: 11px; font-size: 14px; margin-top: 14px; border: 1px solid var(--line); }
.notice.good { background: var(--good-dim); color: var(--good); border-color: rgba(46, 230, 164, 0.25); }
.notice.bad { background: var(--bad-dim); color: var(--bad); border-color: rgba(255, 95, 109, 0.25); }
.notice.muted { background: var(--bg2); color: var(--text-2); border: 1px solid var(--line); }
.notice strong { color: var(--text); font-weight: 600; }

/* ---------- redeem banner (account.html) ---------- */
.redeem-banner { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border-radius: 12px; margin: 22px 0 0; border: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.redeem-banner .redeem-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; margin-top: 1px; }
.redeem-banner strong { font-size: 14.5px; letter-spacing: -0.01em; }
.redeem-banner span { display: block; color: var(--text-2); margin-top: 2px; }
.redeem-banner b { color: var(--text); font-weight: 600; }
.redeem-banner.ok { background: var(--good-dim); border-color: rgba(46, 230, 164, 0.3); }
.redeem-banner.ok .redeem-icon { background: var(--good); color: #04231a; }
.redeem-banner.err { background: var(--bad-dim); border-color: rgba(255, 95, 109, 0.3); }
.redeem-banner.err .redeem-icon { background: var(--bad); color: #2a060a; }

/* ---------- form controls ---------- */
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg1); color: var(--text); font-size: 15px; font-family: var(--font-body); min-height: 44px; transition: border-color .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
label { font-size: 13px; color: var(--text-2); }
.mt { margin-top: 14px; }
.mb { margin-bottom: 14px; }
.center { text-align: center; }
.form-grid { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }

.lic-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lic-table th, .lic-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.lic-table th { color: var(--text-3); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.lic-table td { font-family: var(--font-body); }

.status { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.status.sold { background: var(--accent-dim); color: var(--accent); }
.status.redeemed { background: var(--good-dim); color: var(--good); }
.status.revoked { background: var(--bad-dim); color: var(--bad); }
.status.expired { background: rgba(105, 121, 141, 0.18); color: var(--text-3); }

/* ---------- product page ---------- */
.backlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 22px; }
.backlink:hover { color: var(--accent); }
.backlink svg { width: 14px; height: 14px; }
.product-layout { display: grid; gap: 26px; grid-template-columns: 1.4fr 1fr; align-items: start; margin-top: 12px; }
.prod-head { padding: 6px 0 4px; }
.prod-head .eyebrow { margin-bottom: 10px; display: inline-block; }
.prod-title { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.prod-title em { font-style: normal; color: var(--accent); }
.prod-sub { color: var(--text-2); margin-top: 12px; font-size: 16px; max-width: 480px; }
.prod-flag { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; }
.prod-flag .price-ref { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.prod-flag .price-ref b { color: var(--accent); font-weight: 600; }

.buy-panel { border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: radial-gradient(closest-side at 90% 0%, rgba(0, 212, 255, 0.10), transparent 70%), linear-gradient(180deg, var(--plate), var(--bg1)); padding: 24px; position: sticky; top: 84px; box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 2px 0 rgba(0,0,0,0.32); }
.buy-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.buy-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.field { display: block; margin-top: 20px; }
.field-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; transform: translateY(-70%) rotate(45deg); border: solid var(--accent); border-width: 0 1.6px 1.6px 0; padding: 3px; pointer-events: none; }
.var-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; background: var(--bg1); font-weight: 500; color: var(--text); }
.var-select option { background: var(--bg2); color: var(--text); }
.buy-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; padding: 16px 2px 6px; border-top: 1px dashed var(--line); }
.buy-total .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.price-readout { font-family: var(--font-mono); font-size: 30px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.buy-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.buy-features { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.buy-features li { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.buy-features li::before { content: ""; width: 9px; height: 9px; flex: none; border: 1.5px solid var(--accent); background: var(--accent-dim); border-radius: 2px; transform: rotate(45deg); }
.buy-trust { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.trust-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.45; color: var(--text-2); }
.trust-tick { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--good-dim); color: var(--good); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }

/* countdown cells (account + admin) */
.countdown { white-space: nowrap; font-variant-numeric: tabular-nums; }
.countdown .num { font-weight: 600; color: var(--accent); }
.countdown.low .num { color: var(--warn); }
.countdown.zero .num { color: var(--bad); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .prod-grid, .pillars, .review-grid, .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .buy-panel { position: static; }
  .hero-diagram { flex-wrap: wrap; max-width: 480px; }
  .diagram-pulse { width: 100%; order: 9; }
}
@media (max-width: 768px) {
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--bg2); cursor: pointer; color: var(--text); }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links {
    display: none; width: 100%; order: 9; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 10px 2px 6px; border-top: 1px solid var(--line); margin-top: 4px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .nav-cta-mobile { display: none; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-item { padding: 24px 18px 20px; }
  .hiw-step { position: static; float: right; margin-left: 10px; }
}
@media (max-width: 640px) {
  .prod-grid, .pillars, .review-grid, .hiw-grid { grid-template-columns: 1fr; }
  .nav-user .nm { display: none; }
  .brand-word { font-size: 13.5px; }
  .section { padding-top: 52px; }
  .hero-diagram { gap: 10px; }
  .diagram-node { width: 30%; padding: 12px 8px; }
  .diagram-pulse { width: 5%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
