/* SignalSift - one stylesheet for every page. Dark, chart-like, no hype. */

:root {
  --bg: #0a0e13;
  --bg-soft: #0f151d;
  --card: #131b25;
  --card-hi: #18222e;
  --line: #22303d;
  --line-soft: #1a242f;
  --text: #e8eef5;
  --muted: #93a3b4;
  --muted-dim: #6b7c8d;
  --accent: #34d399;
  --accent-ink: #052018;
  --buy: #34d399;
  --sell: #f87171;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  --wrap: 1120px;
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(52, 211, 153, 0.10), transparent 70%),
    radial-gradient(700px 400px at 5% 0%, rgba(56, 132, 255, 0.07), transparent 70%);
  z-index: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 14px; }

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 19, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; display: block; }
.brand span b { color: var(--accent); font-weight: 650; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 0.93rem; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #4ae3ab; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted-dim); background: var(--card); }
.btn[aria-disabled="true"] { background: var(--card-hi); color: var(--muted); cursor: default; transform: none; border-color: var(--line); }

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

.hero { padding: 84px 0 48px; }
.hero .lede { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-dim); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--line); }

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

section { padding: 44px 0; }
.section-head { margin-bottom: 26px; }
.section-head p { color: var(--muted); margin: 0; max-width: 60ch; }

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

.tool-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }

.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tool-card:hover { border-color: var(--line); transform: translateY(-2px); text-decoration: none; }

.tool-card .shot { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.tool-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.tool-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tool-card h3 { margin: 0 0 6px; }
.tool-card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 16px; }
.tool-card .card-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.tool-card .more { margin-left: auto; color: var(--accent); font-size: 0.9rem; font-weight: 600; }

/* ---------- chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.chip {
  font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--bg-soft);
}
.chip-free { border-color: rgba(52, 211, 153, 0.4); color: var(--accent); background: rgba(52, 211, 153, 0.08); }
.chip-soon { border-color: rgba(251, 191, 36, 0.35); color: var(--warn); background: rgba(251, 191, 36, 0.07); }

/* ---------- steps ---------- */

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 14px;
  border-radius: 9px; background: rgba(52, 211, 153, 0.12); color: var(--accent);
  font-weight: 700; font-size: 0.95rem;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- plain note panel ---------- */

.panel { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px; }
.panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.panel li { margin-bottom: 9px; }
.panel li:last-child { margin-bottom: 0; }

.note {
  border-left: 3px solid var(--warn);
  background: rgba(251, 191, 36, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 0.93rem;
}
.note strong { color: var(--text); }

/* ---------- product page ---------- */

.back-link { display: inline-block; color: var(--muted); font-size: 0.9rem; margin: 26px 0 8px; }
.back-link:hover { color: var(--text); text-decoration: none; }

.product-head { display: grid; gap: 34px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; padding: 10px 0 34px; }
.product-head .lede { color: var(--muted); font-size: 1.05rem; }

.buy-box { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.buy-box .price { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.buy-box .price small { display: block; font-size: 0.85rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.buy-box .btn { width: 100%; margin-top: 14px; }
.buy-box .fine { font-size: 0.82rem; color: var(--muted-dim); margin: 14px 0 0; }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery figure { margin: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); cursor: zoom-in; }
.gallery img { width: 100%; display: block; }
.gallery figcaption { font-size: 0.82rem; color: var(--muted); padding: 9px 12px; font-family: var(--mono); letter-spacing: 0.02em; }

.detail-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.detail h3 { margin-bottom: 10px; }
.detail ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.95rem; }
.detail li { margin-bottom: 8px; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  background: rgba(4, 7, 10, 0.9); padding: 28px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- faq ---------- */

.faq details { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--accent); font-weight: 700; width: 14px; }
.faq details[open] summary::before { content: "\2212"; }
.faq p { color: var(--muted); margin: 10px 0 0 24px; font-size: 0.95rem; }

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

.site-foot { border-top: 1px solid var(--line-soft); margin-top: 40px; padding: 34px 0 44px; color: var(--muted-dim); font-size: 0.88rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.site-foot a { color: var(--muted); }
.site-foot .spacer { margin-left: auto; }
.disclaimer { max-width: 70ch; margin-top: 18px; font-size: 0.82rem; line-height: 1.6; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .product-head { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 34px; }
  .site-nav { gap: 14px; }
  .site-nav a.hide-sm { display: none; }
}
