/* Strategic Newsletter site — shared stylesheet.
   Two looks: the Hub (slate + crimson) is the default; the OS sales page sets
   data-theme="os" on <html> to switch to the Strategic Newsletter OS blue.
   Gold is reserved for the one "do this here" button on every page. */

:root {
  --bg: #eef1f7;
  --panel: #ffffff;
  --panel-2: #f6f8fc;
  --line: #dde3ee;
  --accent: #b0121a;
  --accent-hover: #8f0e15;
  --accent-soft: #fbe9ea;
  --ink: #131722;
  --muted: #56607a;
  --gold: #dfa100;
  --gold-hover: #c48d00;
  --gold-ink: #1a1400;
  --dark: #0d1017;
  --dark-2: #151a24;
  --dark-text: #e9edf5;
  --dark-muted: #94a0b8;
  --radius: 14px;
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-theme="os"] {
  --bg: #ffffff;
  --panel: #f4f7fd;
  --panel-2: #eaf1fc;
  --line: #d6e0f0;
  --accent: #1557b2;
  --accent-hover: #10428a;
  --accent-soft: #e3edfb;
  --accent-bright: #188bf6;
  --ink: #0b0f1a;
  --muted: #4b5568;
  --dark: #08132b;
  --dark-2: #0f1d3d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
strong { font-weight: 700; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1060px; }
.wrap--narrow { max-width: 720px; }

/* ---------- header / footer ---------- */
header.site {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
header.site .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }
header.site img.logo { height: 54px; width: auto; }
.header-note { font-size: 0.85rem; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 0.86rem;
  background: var(--panel);
}
footer.site .foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 22px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .disclaimer { margin-top: 14px; max-width: 760px; font-size: 0.8rem; line-height: 1.55; }

/* ---------- type ---------- */
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 680px; }
p + p { margin-top: 16px; }
.prose p { max-width: 700px; }
.prose ul { margin: 16px 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.center { text-align: center; }
.center .lead, .center p { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.hl { color: var(--accent); }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.hero { padding: 72px 0 56px; }
section.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--dark); color: var(--dark-text); }
section.dark h2, section.dark h3, section.dark h1 { color: #ffffff; }
section.dark .lead, section.dark p { color: var(--dark-text); }
section.dark .muted { color: var(--dark-muted); }
section.dark .eyebrow { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.2;
  padding: 18px 32px;
  border-radius: 12px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 10px 26px rgba(223, 161, 0, .32);
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-wide { width: 100%; max-width: 520px; }
.cta { margin-top: 28px; }
.cta .sub { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
section.dark .cta .sub { color: var(--dark-muted); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
}
.card.accent { border-top: 4px solid var(--accent); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card .value { margin-top: 14px; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.card .value s { color: var(--muted); font-weight: 500; margin-right: 6px; }

/* two-column media + copy */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
@media (max-width: 760px) { .split, .split.rev { grid-template-columns: 1fr; direction: ltr; } }
.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.figure.plain { border: 0; background: transparent; }
.caption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* check lists */
.checks { list-style: none; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checks li strong { color: var(--ink); }
section.dark .checks li::before { background: var(--gold); }
section.dark .checks li strong { color: #ffffff; }

/* numbered steps */
.steps { counter-reset: step; list-style: none; }
.steps li { position: relative; padding-left: 58px; margin-bottom: 22px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center; }
.stat b { display: block; font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.stat span { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* quote */
.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 1.02rem;
}
.quote p { color: var(--ink); }
.quote .who { margin-top: 10px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }

/* price */
.price-box {
  background: var(--panel);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 36px 30px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.price-box .big { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price-box .big small { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price-box .or { margin: 10px 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.price-box .was { color: var(--muted); font-size: 1rem; }
.price-box .was s { margin-right: 6px; }
.price-box ul.checks { text-align: left; max-width: 460px; margin: 22px auto 0; }

/* guarantee */
.guarantee { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
@media (max-width: 560px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .guarantee img { margin: 0 auto; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 720px; }

/* video */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(13, 16, 23, .18);
}
.video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0; background: #000;
  cursor: pointer; display: block;
}
.video-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-cover .play {
  position: absolute; left: 50%; top: 50%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
}
.video-cover .play::after { content: ""; border-left: 26px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }
.video-cover:hover .play { transform: scale(1.06); }
.video-cover.hidden { display: none; }
.video-ph {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--dark-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 24px;
  border: 2px dashed var(--dark-muted);
}
.video-ph .play {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.video-ph .play::after { content: ""; border-left: 24px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video-ph p { color: var(--dark-muted); font-size: 0.92rem; max-width: 420px; }

/* ---------- popup opt-in ---------- */
.veil {
  position: fixed; inset: 0;
  background: rgba(13, 16, 23, .72);
  display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 50;
}
.veil.open { display: flex; }
.modal {
  background: var(--panel);
  border-radius: 18px;
  width: 100%; max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px 28px 24px;
  position: relative;
  border-top: 5px solid var(--accent);
}
.modal .close {
  position: absolute; top: 10px; right: 12px;
  background: transparent; border: 0;
  font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.modal .step { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.modal h2 { font-size: 1.45rem; margin-bottom: 6px; }
.modal .note { font-size: 0.92rem; color: var(--muted); margin-bottom: 16px; }
.modal iframe { width: 100%; border: 0; border-radius: 8px; }
.modal .fineprint { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  section.hero { padding: 52px 0 40px; }
  .btn { width: 100%; padding: 17px 20px; }
  header.site .btn { width: auto; padding: 11px 16px; font-size: 0.9rem; flex: none; }
  .card { padding: 22px 20px; }
  .modal { padding: 24px 18px 18px; }
}
