/* === TOKENS === */
:root {
  --bg:       #f5f0e8;
  --ink:      #0d0d0d;
  --rust:     #b84c27;
  --gold:     #c9a84c;
  --sage:     #4a6741;
  --cream:    #ede8dc;
  --muted:    #7a7060;
  --ink-soft: #2a2a2a;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-mono:   'DM Mono', 'Courier New', monospace;
  --font-body:   'Crimson Pro', Georgia, serif;

  --max-w: 1200px;
  --pad-x: 48px;
  --pad-y: 64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === BASE === */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* === MASTHEAD === */
.masthead {
  border-bottom: 1.5px solid var(--ink);
  padding: 14px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.issue-info {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.pub-name {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
}

/* === HERO === */
.hero {
  padding: var(--pad-y) var(--pad-x) calc(var(--pad-y) * 1.2);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-kicker::before {
  content: '';
  display: block;
  width: 36px;
  height: 1.5px;
  background: var(--rust);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--rust);
}

.hero-deck {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 520px;
}

/* STAT SIDEBAR */
.hero-sidebar {
  position: sticky;
  top: 60px;
}

.stat-block {
  background: var(--ink);
  color: var(--bg);
  padding: 32px 28px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-top: 6px;
  display: block;
}

.stat-divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 22px 0;
}

.stat-item { margin-bottom: 18px; }
.stat-item:last-child { margin-bottom: 0; }

.stat-item-val {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  display: block;
  line-height: 1.2;
}

.stat-item-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #777;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  display: block;
  margin-top: 3px;
}

/* === WHAT IT IS === */
.whatitis {
  background: var(--cream);
  border-bottom: 1px solid var(--ink);
}

.whatitis-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: start;
}

.whatitis-label {
  padding-top: 6px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-block;
  border: 1px solid var(--rust);
  padding: 4px 10px;
}

.whatitis-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.whatitis-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.whatitis-body p:last-of-type { margin-bottom: 24px; }

.whatitis-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-sep { color: var(--gold); }

/* === BLUEPRINTS === */
.blueprints {
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--ink);
  max-width: var(--max-w);
  margin: 0 auto;
}

.blueprints-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid var(--ink);
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.blueprint-card {
  padding: 40px 36px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}

.blueprint-card:nth-child(even) { border-right: none; }
.blueprint-card:nth-last-child(-n+2) { border-bottom: none; }

.card-number {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 900;
  color: var(--cream);
  line-height: 0.8;
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 16px;
  user-select: none;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.card-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--cream);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.card-difficulty {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* === PRINCIPLES === */
.principles {
  background: var(--ink);
  color: var(--bg);
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--ink);
}

.principles-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.principles-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0 20px;
}

.principles-body {
  font-size: 17px;
  line-height: 1.7;
  color: #aaa;
  font-style: italic;
}

.principles-list {
  list-style: none;
  padding-top: 48px;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 17px;
  color: #ccc;
  line-height: 1.5;
}

.principle-item:last-child { border-bottom: none; }

.p-icon {
  font-family: var(--font-mono);
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.p-text {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* === CLOSING === */
.closing {
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 40px;
}

.closing-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 32px;
}

.closing-terms {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
  border-top: 1.5px solid var(--ink);
  padding: 24px var(--pad-x);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-name {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-sep { color: var(--gold); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  :root {
    --pad-x: 28px;
    --pad-y: 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-sidebar { position: static; }

  .stat-block { padding: 24px; }

  .whatitis-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .whatitis-label { display: none; }

  .blueprint-grid {
    grid-template-columns: 1fr;
  }

  .blueprint-card { border-right: none; }
  .blueprint-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .blueprint-card:last-child { border-bottom: none; }

  .principles-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .principles-list { padding-top: 0; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 20px;
    --pad-y: 40px;
  }

  .masthead { padding: 12px var(--pad-x); }

  .hero-headline { font-size: 48px; }

  .card-number { font-size: 72px; }

  .card-body { padding: 0; }

  .blueprint-card { padding: 28px 20px; }
}

/* === ENTRANCE ANIMATION === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.masthead { animation: fadeUp 0.5s ease forwards; }
.hero-content { animation: fadeUp 0.6s ease 0.1s both; }
.hero-sidebar { animation: fadeUp 0.6s ease 0.25s both; }
.whatitis-inner > * { animation: fadeUp 0.6s ease 0.3s both; }
.blueprint-card:nth-child(1) { animation: fadeUp 0.6s ease 0.3s both; }
.blueprint-card:nth-child(2) { animation: fadeUp 0.6s ease 0.4s both; }
.blueprint-card:nth-child(3) { animation: fadeUp 0.6s ease 0.5s both; }
.blueprint-card:nth-child(4) { animation: fadeUp 0.6s ease 0.6s both; }
.principles-left { animation: fadeUp 0.6s ease 0.3s both; }
.principles-right { animation: fadeUp 0.6s ease 0.45s both; }
.closing-inner { animation: fadeUp 0.6s ease 0.3s both; }

/* === SUBSCRIBE FORM === */
.subscribe-form-wrap {
  margin: 32px 0 36px;
}

.subscribe-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.form-row input[type="text"],
.form-row input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus {
  border-color: var(--rust);
}

.form-row input::placeholder {
  color: var(--muted);
  font-style: italic;
}

.form-row button {
  background: var(--ink);
  color: var(--bg);
  border: 1.5px solid var(--ink);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  min-width: 200px;
}

.form-row button:hover:not(:disabled) {
  background: var(--rust);
  border-color: var(--rust);
}

.form-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rust);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

.form-success {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sage);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

.subscriber-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  text-align: center;
  margin: 0 0 8px;
}

@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
  }

  .form-row button {
    min-width: 0;
    width: 100%;
  }
}

/* ── Go Pro upsell ─────────────────────────────────── */
.go-pro-section {
  margin: 48px 0 0;
}

.go-pro-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.go-pro-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  opacity: 0.35;
}

.go-pro-divider-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.go-pro-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 40px;
  text-align: center;
}

.go-pro-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.go-pro-headline {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.go-pro-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.6;
}

.go-pro-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.go-pro-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  min-width: 130px;
}

.go-pro-btn:hover { opacity: 0.85; }

.go-pro-btn-monthly {
  background: var(--paper);
  border: 1px solid var(--border);
}

.go-pro-btn-annual {
  background: var(--accent);
  border: 1px solid var(--accent);
}

.go-pro-btn-label {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.go-pro-btn-annual .go-pro-btn-label { color: var(--paper); }

.go-pro-btn-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
}

.go-pro-btn-annual .go-pro-btn-sub { color: rgba(255,255,255,0.75); }

.go-pro-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 640px) {
  .go-pro-card {
    padding: 28px 24px;
  }
  .go-pro-headline {
    font-size: 22px;
  }
  .go-pro-pricing {
    gap: 12px;
  }
  .go-pro-btn {
    padding: 12px 20px;
    min-width: 110px;
  }
}
