/* ==========================================================================
   SiphonTokens — site styles
   Palette pulled from the logo: deep space black, globe blue,
   copper circuit traces, red eye accent.
   ========================================================================== */

:root {
  --bg: #04060b;
  --bg-2: #080d18;
  --surface: #0c1322;
  --surface-2: #111a2e;
  --line: rgba(110, 150, 255, 0.14);
  --line-strong: rgba(110, 150, 255, 0.28);

  --text: #e9eefb;
  --muted: #95a2c0;
  --dim: #66718d;

  --blue: #3d8bff;
  --blue-2: #7cb8ff;
  --copper: #e0954f;
  --copper-2: #f6c08e;
  --red: #ff3d52;

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint circuit grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(61, 139, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 139, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- text helpers ---------- */

.gradient-copper {
  background: linear-gradient(100deg, var(--copper-2) 0%, var(--copper) 45%, #ff7a3d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gradient-blue {
  background: linear-gradient(100deg, #b9dcff 0%, var(--blue-2) 40%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--copper-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 61, 82, 0.18), 0 0 14px var(--red);
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--copper-2), var(--copper) 55%, #d6702c);
  color: #1b0d02;
  box-shadow: 0 8px 30px rgba(224, 149, 79, 0.35);
}
.btn-primary:hover { color: #1b0d02; box-shadow: 0 12px 38px rgba(224, 149, 79, 0.5); }

.btn-ghost {
  background: rgba(61, 139, 255, 0.08);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(61, 139, 255, 0.16); border-color: var(--blue); color: #fff; }

.btn-youtube { background: #ff0033; color: #fff; box-shadow: 0 8px 26px rgba(255, 0, 51, 0.3); }
.btn-youtube:hover { color: #fff; box-shadow: 0 12px 34px rgba(255, 0, 51, 0.45); }

.btn[disabled], .btn.is-disabled {
  opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 6, 11, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img {
  width: 42px; height: 42px; border-radius: 50%;
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.55);
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--copper); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(61, 139, 255, 0.14); }
.nav-links .btn { padding: 9px 16px; margin-left: 8px; font-size: 0.9rem; }
.nav-links a.btn-youtube,
.nav-links a.btn-youtube:hover { color: #fff; background: #ff0033; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px 22px;
    background: rgba(6, 9, 16, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* ---------- sections ---------- */

section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head-row .section-head { margin-bottom: 0; }

.divider-top { border-top: 1px solid var(--line); }

/* ---------- hero ---------- */

.hero { padding: 80px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.22) 0%, transparent 62%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }

.hero-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px;
  font-size: 0.84rem; color: var(--muted);
  border: 1px solid var(--line); background: rgba(12, 19, 34, 0.6);
}

.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: center; width: 100%; }
.hero-art img {
  position: relative; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 64%, transparent 71%);
  mask-image: radial-gradient(circle, #000 64%, transparent 71%);
  animation: float 7s ease-in-out infinite;
}
.hero-art .ring {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 1px dashed rgba(224, 149, 79, 0.35);
  animation: spin 60s linear infinite;
}
.hero-art .ring.r2 { inset: -3%; border-style: solid; border-color: rgba(61, 139, 255, 0.18); animation-duration: 90s; animation-direction: reverse; }
.hero-art .ring::after {
  content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--copper); box-shadow: 0 0 14px var(--copper);
}
.hero-art .ring.r2::after { background: var(--blue-2); box-shadow: 0 0 14px var(--blue); left: auto; right: -5px; top: 30%; }
.hero-art::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%; z-index: 1;
  box-shadow: 0 0 120px 20px rgba(61, 139, 255, 0.35);
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 360px; order: -1; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero { padding: 76px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .lead { max-width: 60ch; }

/* ---------- cards ---------- */

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--line-strong); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* steps (learn / build / siphon) */
.step { position: relative; overflow: hidden; }
.step-num {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--copper); margin-bottom: 18px; display: block;
}
.step-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: rgba(61, 139, 255, 0.12); border: 1px solid var(--line-strong); color: var(--blue-2);
}
.step-icon svg { width: 26px; height: 26px; }
.step:nth-child(3) .step-icon { background: rgba(224, 149, 79, 0.12); border-color: rgba(224, 149, 79, 0.35); color: var(--copper-2); }
.step p { color: var(--muted); margin: 0; }
.step::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.14), transparent 70%);
}

/* ---------- videos ---------- */

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

.video-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-align: left; color: inherit; font: inherit; padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
button.video-card { cursor: pointer; }
.video-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }

.video-thumb { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.04); }

.video-thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
}
.video-thumb .play span {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 61, 82, 0.92); color: #fff;
  box-shadow: 0 0 30px rgba(255, 61, 82, 0.6);
  transform: scale(0.9); opacity: 0.92; transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-thumb .play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover .play span { transform: scale(1); opacity: 1; }

.video-thumb.placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(61, 139, 255, 0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(224, 149, 79, 0.28), transparent 50%),
    linear-gradient(135deg, #0b1630, #05070c);
}
.video-thumb.placeholder img {
  width: 34%; height: auto; border-radius: 50%; opacity: 0.85;
  box-shadow: 0 0 40px rgba(61, 139, 255, 0.5);
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(4, 6, 11, 0.8); border: 1px solid var(--line-strong); color: var(--copper-2);
}
.duration {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 2px 8px; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
  background: rgba(0, 0, 0, 0.8);
}

.video-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-meta { display: flex; gap: 10px; font-size: 0.8rem; color: var(--copper-2); font-weight: 600; letter-spacing: 0.04em; }
.video-meta .level { color: var(--dim); }
.video-body h3 { margin: 0; font-size: 1.12rem; }
.video-body p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* filter bar */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  margin-bottom: 34px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font: 500 0.9rem var(--font-body);
  color: var(--muted); background: rgba(12, 19, 34, 0.7); border: 1px solid var(--line);
  transition: all 0.15s ease;
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.active { color: #fff; background: rgba(61, 139, 255, 0.2); border-color: var(--blue); }

.search {
  position: relative; flex: 0 1 300px;
}
.search input {
  width: 100%; padding: 11px 16px 11px 42px; border-radius: 999px;
  font: 0.95rem var(--font-body); color: var(--text);
  background: rgba(12, 19, 34, 0.8); border: 1px solid var(--line);
}
.search input:focus { outline: none; border-color: var(--blue); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

/* modal player */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(2, 3, 7, 0.88); backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-inner { width: min(1000px, 100%); position: relative; }
.modal-frame {
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 0 80px rgba(61, 139, 255, 0.3);
}
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close {
  position: absolute; top: -52px; right: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); color: #fff;
  cursor: pointer; display: grid; place-items: center;
}
.modal-close svg { width: 20px; height: 20px; }
.modal-title { margin-top: 16px; font-family: var(--font-head); font-size: 1.15rem; }

/* ---------- store ---------- */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-icon {
  width: 54px; height: 54px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, var(--blue), #1b3f8f);
  box-shadow: 0 6px 22px rgba(61, 139, 255, 0.35);
}
.product.affiliate .product-icon {
  background: linear-gradient(135deg, var(--copper), #8a4516);
  box-shadow: 0 6px 22px rgba(224, 149, 79, 0.3);
}
.product-tag {
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-2); background: rgba(61, 139, 255, 0.12); border: 1px solid var(--line-strong);
}
.product.affiliate .product-tag { color: var(--copper-2); background: rgba(224, 149, 79, 0.1); border-color: rgba(224, 149, 79, 0.35); }
.product h3 { margin: 6px 0 0; font-size: 1.25rem; }
.product .tagline { color: var(--copper-2); font-size: 0.92rem; font-weight: 500; margin: 0; }
.product p.desc { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.product li { font-size: 0.9rem; color: var(--muted); display: flex; gap: 8px; }
.product li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--copper); }
.product-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line);
}
.price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }
.price small { font-size: 0.8rem; color: var(--dim); font-weight: 500; margin-left: 4px; }
.product-foot .btn { padding: 10px 18px; font-size: 0.9rem; }

.disclosure {
  margin-top: 42px; padding: 18px 22px; border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--muted);
  background: rgba(224, 149, 79, 0.06); border: 1px solid rgba(224, 149, 79, 0.22);
}
.disclosure strong { color: var(--copper-2); }

/* ---------- about ---------- */

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

.about-portrait {
  position: sticky; top: 110px;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong);
  background: #000; box-shadow: 0 0 80px rgba(61, 139, 255, 0.18);
}
.about-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-portrait figcaption {
  padding: 16px 20px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 900px) { .about-portrait { position: static; max-width: 420px; } }

.prose p { color: #c9d2ea; font-size: 1.06rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.7rem; }
.prose h2:first-child { margin-top: 0; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { padding: 20px 22px; }
.value h3 { font-size: 1.02rem; margin-bottom: 6px; color: var(--text); }
.value p { font-size: 0.93rem; color: var(--muted); margin: 0; }

.contact-card {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  padding: 36px 40px;
  background:
    radial-gradient(circle at 0% 0%, rgba(61, 139, 255, 0.18), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(224, 149, 79, 0.15), transparent 50%),
    var(--surface);
}
.contact-card h2 { margin-bottom: 8px; }
.contact-card p { margin: 0; color: var(--muted); }
.email-line {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--text);
}
.copy-btn {
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  font: 600 0.78rem var(--font-body); color: var(--muted);
  background: transparent; border: 1px solid var(--line-strong);
}
.copy-btn:hover { color: #fff; border-color: var(--blue); }
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 22px;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 64px 56px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 15% 20%, rgba(61, 139, 255, 0.3), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 61, 82, 0.18), transparent 45%),
    linear-gradient(135deg, #0b1428, #06080f);
  display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0; max-width: 52ch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 44px 28px; } }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 40px; padding: 60px 0 36px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(8, 13, 24, 0.9));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h4 {
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-tagline { color: var(--muted); max-width: 34ch; margin-top: 14px; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.85rem; color: var(--dim);
}

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   SiphonToken
   ========================================================================== */

.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-token {
  background: linear-gradient(135deg, #5aa2ff, var(--blue) 60%, #2257c9);
  color: #fff; box-shadow: 0 8px 26px rgba(61, 139, 255, 0.35);
}
.btn-token:hover { color: #fff; box-shadow: 0 12px 34px rgba(61, 139, 255, 0.5); }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.small { font-size: 0.88rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.88rem; word-break: break-all; }

.token-hero { grid-template-columns: 1.3fr 0.7fr; }
.token-coin { position: relative; width: min(300px, 70vw); justify-self: center; }
.token-coin img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 6px solid rgba(224, 149, 79, 0.75);
  box-shadow: 0 0 0 10px rgba(224, 149, 79, 0.12), 0 0 90px rgba(61, 139, 255, 0.45);
  animation: float 7s ease-in-out infinite;
}
.coin-label {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--copper-2), var(--copper)); color: #1b0d02;
}
@media (max-width: 900px) { .token-hero { grid-template-columns: 1fr; } .token-coin { order: -1; width: 200px; } }

.token-panel { padding: 0; overflow: hidden; }
.token-soon { padding: 48px 40px; text-align: center; }
.token-soon .btn { margin-top: 8px; }
.token-live { display: grid; grid-template-columns: 1fr 1fr; }
.token-live[hidden] { display: none; }
.wallet-side, .buy-side { padding: 36px 40px; }
.wallet-side { border-right: 1px solid var(--line); background: rgba(61, 139, 255, 0.04); }
@media (max-width: 820px) {
  .token-live { grid-template-columns: 1fr; }
  .wallet-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .wallet-side, .buy-side { padding: 28px 24px; }
}

.wallet-addr { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; margin-bottom: 20px; }
.wallet-addr .dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.wallet-addr a { color: var(--text); }
.balances { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.bal { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); }
.bal span { display: block; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--dim); font-weight: 600; }
.bal strong { font-family: var(--font-head); font-size: 1.5rem; }

.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field-input { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg-2); }
.field-input:focus-within { border-color: var(--blue); }
.field-input input, .field-input select {
  flex: 1; min-width: 0; padding: 14px 16px; background: transparent; border: 0; color: var(--text);
  font: 600 1.25rem var(--font-head);
}
.field-input input:focus { outline: none; }
.field-input em { font-style: normal; padding-right: 16px; color: var(--muted); font-weight: 600; }
.quick-amounts { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.quick-amounts button {
  padding: 6px 14px; border-radius: 999px; cursor: pointer; font: 600 0.85rem var(--font-body);
  color: var(--muted); background: transparent; border: 1px solid var(--line-strong);
}
.quick-amounts button:hover { color: #fff; border-color: var(--blue); }
.receive { margin-bottom: 18px; font-size: 1rem; }
.receive strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--copper-2); }

.status { min-height: 1.4em; margin: 14px 0 0; font-size: 0.92rem; color: var(--muted); }
.status.ok { color: #5fe39b; }
.status.error { color: #ff7d8a; }
.status.warn { color: var(--copper-2); }
.status a { text-decoration: underline; }

.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.detail { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.detail span { display: block; font-size: 0.8rem; color: var(--dim); margin-bottom: 4px; }
.detail strong { font-family: var(--font-head); }
.detail.wide { grid-column: span 3; }
@media (max-width: 820px) { .details-grid { grid-template-columns: 1fr; } .detail.wide { grid-column: auto; } }

.token-pay {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 2px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(61, 139, 255, 0.08); border: 1px solid var(--line-strong); font-size: 0.9rem;
}
.token-pay[hidden] { display: none; }
.token-pay em { font-style: normal; color: #5fe39b; font-weight: 600; margin-left: 4px; }

.checkout { width: min(460px, 100%); position: relative; padding: 32px; }
.checkout .modal-close { top: 16px; right: 16px; }
.checkout h3 { font-size: 1.4rem; margin-bottom: 18px; }
.checkout-cost {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line);
}
.checkout-cost strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--copper-2); }
.checkout .btn-block { margin-top: 10px; }
.order-code {
  display: block; padding: 12px 14px; margin: 6px 0 10px; border-radius: 10px;
  background: var(--bg-2); border: 1px dashed var(--copper); color: var(--copper-2);
  font-size: 0.78rem; word-break: break-all;
}

/* ---------- admin ---------- */
.admin { padding-top: 40px; }
.admin-grid { display: grid; gap: 22px; }
.admin-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.admin-card > p { color: var(--muted); font-size: 0.95rem; }
.admin-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: end; margin-top: 14px; }
.admin-row .field { margin: 0; }
.admin-row .field-input input, .admin-row .field-input select { font-size: 1rem; padding: 11px 14px; }
.admin-row select option { background: var(--surface); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 12px; }
.code-out {
  white-space: pre; overflow-x: auto; padding: 16px; border-radius: 10px; margin-top: 14px;
  background: #02040a; border: 1px solid var(--line-strong); color: #9fd0ff; font: 0.85rem ui-monospace, Consolas, monospace;
}
.admin table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 12px; }
.admin th, .admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { color: var(--dim); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-inline { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.badge-inline.ok { background: rgba(61, 220, 132, 0.15); color: #5fe39b; }
.badge-inline.off { background: rgba(255, 61, 82, 0.15); color: #ff7d8a; }

/* ---------- tidy line wrapping ---------- */
h1, h2, h3, .lead { text-wrap: balance; }
p, li, summary { text-wrap: pretty; }

/* ---------- coming-soon boxes ---------- */
.empty-state h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 8px; }
.empty-state p { margin: 0 0 20px; }
.empty-state p:last-child { margin-bottom: 0; }
