:root {
  --bg: #1c1917;
  --bg-soft: #262220;
  --card: #2b2724;
  --line: #3a3430;
  --text: #ece7e1;
  --muted: #a89f95;
  --accent: #c2410c;
  --accent-bright: #ea580c;
  --good: #7dba6a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* nav */
nav {
  border-bottom: 1px solid var(--line);
  background: rgba(28,25,23,.92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; letter-spacing: .02em; color: var(--text); font-size: 15px; }
.brand span { color: var(--accent-bright); }
nav .links { display: flex; gap: 28px; font-size: 15px; }
nav .links a { color: var(--muted); }
nav .links a:hover { color: var(--text); text-decoration: none; }

/* hero */
header.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-bright); margin-bottom: 18px;
}
h1 { font-size: clamp(34px, 5.4vw, 54px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 .thin { font-weight: 300; color: var(--muted); }
.sub { margin-top: 22px; font-size: 20px; color: var(--muted); max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.cover-box { text-align: center; }
.cover-box img { max-width: 100%; border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.5); border: 1px solid var(--line); }
.cover-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 6px;
  font-weight: 700; font-size: 17px; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }
.price-tag { color: var(--muted); font-size: 15px; }
.price-tag s { opacity: .6; }
.price-tag strong { color: var(--text); font-size: 19px; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.stat { background: var(--bg-soft); padding: 26px 20px; text-align: center; }
.stat .n { font-size: 30px; font-weight: 800; color: var(--accent-bright); }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); }
h2 { font-size: 30px; letter-spacing: -0.01em; margin-bottom: 10px; }
h2 + .lede { color: var(--muted); margin-bottom: 36px; max-width: 660px; }

.findings { display: grid; gap: 18px; }
.finding {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 28px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
}
.finding .num { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; }
.finding h3 { font-size: 18px; margin-bottom: 6px; }
.finding p { color: var(--muted); font-size: 15.5px; }
.finding code { color: var(--text); background: #38322d; padding: 1px 6px; border-radius: 4px; font-size: 14px; }

table.matrix { width: 100%; border-collapse: collapse; font-size: 15px; }
table.matrix th, table.matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.matrix th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
table.matrix td:first-child { font-weight: 600; }
table.matrix .win { color: var(--good); font-weight: 700; }

/* sample */
.sample-frame { border: 1px solid var(--line); border-radius: 8px; background: var(--card); padding: 36px 40px; }
.sample-frame .chapter-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); font-weight: 700; margin-bottom: 8px; }
.sample-frame h3 { font-size: 22px; margin-bottom: 14px; }
.sample-frame p { color: #cfc7bf; margin-bottom: 14px; }
.sample-frame pre {
  background: #14110f; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px; font-size: 13px; line-height: 1.5; overflow-x: auto; color: #b8cfa8;
}

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); position: relative; }
.plan.featured::before {
  content: "MOST POPULAR"; position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; padding: 4px 10px; border-radius: 4px;
}
.plan .p-name { font-weight: 700; font-size: 17px; }
.plan .p-price { font-size: 36px; font-weight: 800; margin: 10px 0 4px; }
.plan .p-desc { color: var(--muted); font-size: 14px; margin-bottom: 16px; min-height: 44px; }
.plan ul { list-style: none; margin: 0 0 22px; flex-grow: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; color: #cfc7bf; font-size: 14.5px; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--accent-bright); }
.plan .btn { text-align: center; }

/* faq */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; }
.faq summary::before { content: "+ "; color: var(--accent-bright); }
.faq details[open] summary::before { content: "− "; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* affiliate page */
.aff-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hiw { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hiw .step { font-size: 22px; font-weight: 800; color: var(--accent); }
.copyblock { background: #14110f; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; font-size: 14px; position: relative; }
.copyblock + .copyblock { margin-top: 14px; }
.copyblock .cb-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-bright); font-weight: 700; margin-bottom: 8px; }
.copyblock pre { white-space: pre-wrap; font-family: inherit; color: #cfc7bf; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

@media (max-width: 800px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  nav .links { gap: 16px; font-size: 14px; }
}
