/* Stealth Manager hub
   Palette sampled from the sales deck itself:
   near-black #030303, white type, one green accent #43B821 used as a rule,
   the same way the deck uses green dividers. */

:root {
  --ink: #050505;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --line: #232323;
  --line-soft: #1a1a1a;
  --fg: #ffffff;
  --fg-dim: #b4b4b4;
  --fg-muted: #7d7d7d;
  --accent: #43b821;
  --accent-bright: #5ad42c;
  --accent-dim: rgba(67, 184, 33, 0.16);
  --danger: #e5533d;

  --radius: 4px;
  --shell: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: inherit; }

/* height:auto matters: every <img> carries width/height attributes so the page
   does not reflow while images stream in, and without this the intrinsic
   height sticks when the width scales down. */
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: #04120a; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- type ---------- */

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.06rem; letter-spacing: -0.01em; }

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--fg-dim);
  max-width: 54ch;
}

.muted { color: var(--fg-muted); }
.fine { font-size: 0.82rem; line-height: 1.5; color: var(--fg-muted); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark svg { width: 17px; height: 17px; flex: none; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
}

.header-nav a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-nav a:hover { color: var(--fg); }

@media (max-width: 720px) {
  .header-nav .hide-sm { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { border-color: #3d3d3d; background: var(--surface-2); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04120a;
}

.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #04120a; }

.btn-ghost { border-color: transparent; color: var(--fg-dim); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { background: transparent; color: var(--fg); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

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

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

/* the deck's chevron, very faint, same trick the cover uses */
.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  width: min(1000px, 128vw);
  aspect-ratio: 1 / 0.72;
  transform: translateX(-50%);
  background: linear-gradient(#151515, #050505);
  clip-path: polygon(50% 0, 100% 100%, 78% 100%, 50% 44%, 22% 100%, 0 100%);
  opacity: 0.85;
  pointer-events: none;
}

.hero .shell { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { margin: 20px 0 22px; }
.hero h1 .accent { color: var(--accent); }

.hero-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.93rem;
  color: var(--fg-dim);
}

.hero-points li {
  display: flex;
  gap: 11px;
  align-items: baseline;
}

.hero-points li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 7px;
  background: var(--accent);
}

/* ---------- talk widget ---------- */

.talk {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(22px, 3vw, 30px);
}

.talk::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  border-radius: 6px 0 0 6px;
}

.talk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.talk-title { font-size: 0.94rem; font-weight: 600; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-muted);
  flex: none;
}

.pill[data-state="live"] { color: var(--accent-bright); border-color: rgba(67, 184, 33, 0.4); }
.pill[data-state="live"] .dot { background: var(--accent-bright); animation: pulse 1.6s ease-in-out infinite; }
.pill[data-state="ready"] .dot { background: var(--accent); }
.pill[data-state="error"] { color: var(--danger); border-color: rgba(229, 83, 61, 0.4); }
.pill[data-state="error"] .dot { background: var(--danger); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

/* the call button */
.talk-cta {
  width: 100%;
  padding: 17px 22px;
  font-size: 1.02rem;
}

.talk-cta .mic { width: 18px; height: 18px; flex: none; }

/* live meter */
.meter {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin: 0 0 18px;
}

.meter i {
  flex: 1;
  min-height: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.55;
  transition: height 0.09s linear, opacity 0.09s linear;
}

.talk-live {
  display: grid;
  gap: 16px;
}

.talk-timer {
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.talk-actions { display: flex; gap: 10px; }
.talk-actions .btn { flex: 1; }

.btn-end { border-color: rgba(229, 83, 61, 0.45); color: #ff8b78; }
.btn-end:hover { background: rgba(229, 83, 61, 0.12); border-color: var(--danger); }

.talk-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.talk-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--danger);
  background: rgba(229, 83, 61, 0.07);
  font-size: 0.86rem;
  color: #ffb3a5;
}

[hidden] { display: none !important; }

/* ---------- proof strip ---------- */

.proof-band { border-bottom: 1px solid var(--line-soft); }

/* Whatever ends up last inside main sits directly against the footer, which
   draws its own top border — two 1px rules with nothing between them read as
   one thick smudge. Deliberately not scoped to a particular section: the tester
   LP has been cut twice already (proof band out 2026-08-13, sections before it
   out the same day), and each cut handed "last" to a different element. This
   way the seam stays right whatever ends up there next. */
main > :last-child {
  border-bottom: 0;
  padding-bottom: clamp(10px, 2.5vw, 26px);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof div {
  padding: 30px 24px 30px 0;
  border-left: 1px solid var(--line-soft);
  padding-left: 24px;
}

.proof div:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; }
.proof span { font-size: 0.82rem; color: var(--fg-muted); }

@media (max-width: 720px) {
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof div:nth-child(3) { border-left: 0; }
  .proof div:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
}

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

.section {
  padding: clamp(56px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 46px); }
.section-head h2 { margin: 16px 0 16px; }

/* cards, echoing the deck's green vertical rules */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.card {
  background: var(--ink);
  padding: 26px 24px 28px;
  position: relative;
}

.card .num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.card h3 { margin: 12px 0 9px; }
.card p { font-size: 0.9rem; color: var(--fg-dim); }

/* ---------- deck block ---------- */

.deck-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 860px) { .deck-block { grid-template-columns: 1fr; } }

.deck-cover {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.deck-cover:hover { border-color: var(--accent); transform: translateY(-2px); }
.deck-cover img { width: 100%; }

.deck-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- offers ---------- */

.offers { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }

/* Two columns since prices came off the page (2026-08-10). The .price rule below is
   kept on purpose: putting prices back is adding the third track here plus the span. */
.offer {
  background: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.offer h3 { font-size: 1.14rem; }
.offer p { font-size: 0.9rem; color: var(--fg-dim); }

.offer .price {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 780px) {
  .offer { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- final cta ---------- */

.cta { padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.cta h2 { margin-bottom: 18px; }
.cta .lede { margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

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

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 34px 0 46px;
  font-size: 0.84rem;
  color: var(--fg-muted);
}

.site-footer .shell { display: block; }

.site-footer a { color: var(--fg-dim); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 32px;
}

.footer-tagline {
  margin: 10px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.footer-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 24px;
}

.footer-cols h4 {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols li:last-child { margin-bottom: 0; }
.footer-cols a { transition: color 0.15s ease; }

.footer-legal {
  max-width: 62ch;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.footer-copy { margin: 22px 0 0; color: var(--fg-muted); }

@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
}

/* ---------- deck viewer ---------- */

.viewer { padding: 26px 0 70px; }

.viewer-bar {
  position: sticky;
  top: 68px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 22px;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.viewer-count { font-size: 0.85rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.viewer-count b { color: var(--fg); font-weight: 600; }

.pages { display: grid; gap: 18px; }

.page-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
}

.page-wrap img { width: 100%; height: auto; }

.page-wrap .idx {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 0.7rem;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

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