:root {
  --bg: #0a0a0a;
  --bg-raised: #141414;
  --bg-elev: #1a1a1a;
  --border: #222;
  --border-strong: #2e2e2e;
  --text: #ededed;
  --text-dim: #9a9a9a;
  --text-mute: #6a6a6a;
  --accent: #f7931a;
  --accent-soft: rgba(247, 147, 26, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1120px;
  --gap: 24px;
  --gap-lg: 48px;
  --header-h: 68px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; }
h5 { font-size: 0.85rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; }

p { margin: 0 0 1em; color: var(--text-dim); }
p.lede { color: #c8c8c8; font-size: 1.08rem; max-width: 52ch; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* ── Header ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand:hover { color: var(--text); }

.brand-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.15);
}

.brand-name { color: var(--text); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
}

.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a:hover { color: var(--accent); }

.nav-cta {
  padding: 8px 16px;
  background: var(--accent);
  color: #0a0a0a !important;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover { background: #ffa328; color: #0a0a0a !important; }

/* ── Buttons ─────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
  font-family: inherit;
}

.button:active { transform: translateY(1px); }

.button-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.button-primary:hover { background: #ffa328; color: #0a0a0a; }

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.button-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap-lg);
  align-items: center;
  padding: clamp(48px, 9vw, 96px) 0 clamp(64px, 11vw, 120px);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-art img,
.hero-art svg {
  width: 100%;
  height: auto;
  max-width: 380px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

/* ── Features ────────────────────────────────────────────── */

.features {
  padding: clamp(32px, 5vw, 64px) 0;
  border-top: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.feature {
  padding: 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon svg { width: 20px; height: 20px; }

.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--text-dim); font-size: 0.94rem; }

/* ── Product feature (home) ──────────────────────────────── */

.product-feature {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap-lg);
  align-items: center;
  padding: clamp(56px, 9vw, 112px) 0;
  border-top: 1px solid var(--border);
}

.product-feature h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 16px;
}

.product-feature p {
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 24px;
}

.product-feature-art img,
.product-feature-art svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

/* ── Assurance ───────────────────────────────────────────── */

.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 9vw, 100px);
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.assurance-item h4 {
  color: var(--text);
  margin-bottom: 6px;
}

.assurance-item p { font-size: 0.92rem; margin: 0; }

/* ── Product pages ───────────────────────────────────────── */

.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap-lg);
  align-items: center;
  padding: clamp(40px, 7vw, 80px) 0;
}

.product-hero-art img,
.product-hero-art svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  border-top: 1px solid var(--border);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.spec-list span { color: var(--text-mute); }
.spec-list strong { color: var(--text); font-weight: 600; }

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-top: 12px;
}

.buy-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-top: 12px;
}

.buy-stack .price { flex-direction: row; align-items: baseline; gap: 12px; }
.buy-stack .price-amount { font-size: 1.6rem; }

.express-checkout { min-height: 48px; }
.express-checkout:empty { display: none; }

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Thanks page */

.thanks {
  padding: clamp(60px, 12vw, 140px) 0;
  max-width: 640px;
}

.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.thanks .lede { max-width: 48ch; margin-bottom: 28px; }

.thanks-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.price { display: flex; flex-direction: column; }
.price-amount { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.price-note { font-size: 0.82rem; color: var(--text-mute); }

.stock {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-mute);
  font-family: var(--font-mono);
}

.stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
}

/* ── How it works ────────────────────────────────────────── */

.how-it-works {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  padding: 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}

.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: 0.94rem; }

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 64px) 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent); }

.footer-tag {
  margin: 8px 0 0;
  color: var(--text-mute);
  font-size: 0.88rem;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 0.84rem;
}

/* ── Use cases (product page) ────────────────────────────── */

.use-cases {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.use-card {
  padding: 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.use-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.use-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.use-card h3 { margin-bottom: 6px; }
.use-card p { margin: 0; font-size: 0.94rem; }

/* ── Extras (upsell block) ───────────────────────────────── */

.extras {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border);
}

.extras-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--gap-lg);
  align-items: center;
  padding: 32px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.extras-inner h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 14px;
}

.extras-inner p { margin: 0 0 14px; color: var(--text-dim); }

.extras-note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-bottom: 20px !important;
}

.extras-art img,
.extras-art svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* ── Checkout modal ──────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  animation: fadeIn 0.18s ease-out;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: slideUp 0.22s ease-out;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  color: var(--text-mute);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
}

.modal-close:hover { color: var(--accent); background: var(--bg); }

.modal-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.modal-price {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}

.modal-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-method {
  display: block;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.modal-method:hover {
  border-color: var(--accent);
  background: #191919;
  color: var(--text);
}

.modal-method[data-method="btcpay"]::before { content: "₿  "; color: var(--accent); }
.modal-method[data-method="stripe"]::before { content: "▢  "; color: var(--text-mute); }
.modal-method[data-method="paypal"]::before { content: "P  "; color: var(--text-mute); }

.modal-note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--text-mute);
}

.modal-empty {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.modal-empty code {
  font-family: var(--font-mono);
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.85em;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero,
  .product-hero,
  .product-feature,
  .extras-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-art img, .hero-art svg,
  .product-hero-art img, .product-hero-art svg,
  .product-feature-art img, .product-feature-art svg { max-width: 420px; }
  .feature-grid,
  .steps,
  .use-grid,
  .assurance { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 540px) {
  .site-header { padding: 0 16px; }
  main { padding: 0 16px; }
  .site-nav { gap: 14px; }
  .feature-grid,
  .steps,
  .use-grid,
  .assurance,
  .footer-grid { grid-template-columns: 1fr; }
  .extras-inner { padding: 22px; }
  .buy-row { flex-direction: column; align-items: stretch; }
  .buy-row .button { width: 100%; }
  .footer-base { flex-direction: column; gap: 6px; }
}

/* ── Focus visibility ────────────────────────────────────── */

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

/* ── Reduced motion ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
