@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --navy:     #0A1E3D;
  --navy-md:  #122447;
  --navy-lt:  #1a3260;
  --slate:    #4A6FA5;
  --slate-lt: #EAF0F8;
  --white:    #FFFFFF;
  --offwhite: #F8F9FB;
  --border:   #E2E6ED;
  --text:     #0A1E3D;
  --text-md:  #4B5563;
  --text-lt:  #9CA3AF;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-btn {
  background: rgba(255,255,255,0.1) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.78rem !important;
  transition: background 0.2s !important;
}

.nav-btn:hover { background: rgba(255,255,255,0.18) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  transition: all 0.25s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #edf2f8; }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-lt); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-outline-navy:hover { border-color: var(--navy); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 100px 40px 112px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

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

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-headline em {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.hero-eyebrow {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
}

.hero-manifesto {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-graphic {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-graphic svg { width: 100%; max-width: 420px; }

/* Tier bar hover states */
.tier-bar { cursor: default; }

.tier-bar .tile {
  stroke: transparent;
  stroke-width: 1;
  transition: fill 0.25s, stroke 0.25s;
}
.tier-bar .accent { transition: fill 0.25s; }

.t3 .tile   { fill: rgba(255,255,255,0.10); }
.t3 .accent { fill: rgba(255,255,255,0.45); }

.t2 .tile   { fill: rgba(255,255,255,0.15); }
.t2 .accent { fill: rgba(255,255,255,0.60); }

.t1 .tile   { fill: rgba(255,255,255,0.21); }
.t1 .accent { fill: rgba(255,255,255,0.80); }

.tier-bar:hover .tile   { fill: rgba(255,255,255,0.28); stroke: rgba(255,255,255,0.18); }
.tier-bar:hover .accent { fill: rgba(255,255,255,0.95); }

/* ── SHARED SECTION ── */
.section { padding: 96px 40px; }

.section-inner { max-width: 1120px; margin: 0 auto; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  font-weight: 700;
  color: var(--slate);
}

.section-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-md);
  margin-bottom: 36px;
  line-height: 1.6;
}

.section-rule {
  width: 36px;
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

/* ── THE PROBLEM ── */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}

.why-body {
  font-size: 1rem;
  color: var(--text-md);
  line-height: 1.85;
}

.why-body p + p { margin-top: 20px; }

.callout {
  background: var(--offwhite);
  border-left: 2px solid var(--navy);
  padding: 40px 36px;
}

.callout-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 20px;
}

.callout blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--navy);
}

/* ── HOW IT WORKS ── */
.how {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
}

.how-subtitle {
  max-width: 100%;
  margin-bottom: 56px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.how-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 8px;
}

.how-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-md);
  margin-bottom: 12px;
  line-height: 1.2;
}

.how-rule {
  width: 28px;
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.how-desc {
  font-size: 0.95rem;
  color: var(--text-md);
  line-height: 1.8;
}

/* ── FRAMEWORK TILES ── */
.framework { background: var(--white); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tier-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.tier-card:hover {
  box-shadow: 0 6px 32px rgba(10,30,61,0.08);
  border-color: rgba(10,30,61,0.2);
}

.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tier-num {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.tier-badge {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  background: var(--slate-lt);
  color: var(--slate);
}

.tier-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.tier-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.tier-lead {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 14px;
}

.tier-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.78;
}

.tier-divider {
  height: 1px;
  background: var(--border);
  margin-top: 24px;
  margin-bottom: 18px;
}

.tier-list-label {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 10px;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 152px;
}

.tier-list li {
  font-size: 0.82rem;
  color: var(--text-lt);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.tier-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 1px;
  background: var(--border);
}

/* ── THE PAPER ── */
.paper {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
}

.paper-card {
  margin-top: 48px;
  width: 100%;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--white);
}

.paper-spine {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.paper-spine-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.paper-body { padding: 48px 56px; }

.paper-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.paper-meta {
  font-size: 0.85rem;
  color: var(--text-lt);
  margin-bottom: 32px;
  line-height: 1.55;
}

.paper-actions { display: flex; gap: 12px; }

/* ── EMAIL CAPTURE ── */
.email-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 80px 40px;
}

.email-section .section-title {
  max-width: 520px;
  margin: 0 auto 12px;
}

.email-section .section-rule { margin: 0 auto 28px; }

.email-sub {
  font-size: 0.93rem;
  color: var(--text-lt);
  margin-bottom: 36px;
  font-weight: 300;
}

.email-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: none;
  padding: 12px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--offwhite);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.email-input:focus {
  border-color: var(--navy);
  background: var(--white);
}

.email-input::placeholder { color: var(--text-lt); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 28px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
}

.footer-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.footer-flag svg { width: 40px; height: 24px; }

.footer-made {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-graphic {
    align-items: center;
    order: -1;
  }

  .hero-graphic svg { max-width: 280px; }

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

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

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

  .paper-card {
    grid-template-columns: 80px 1fr;
  }

  .paper-body { padding: 32px 28px; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-md);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.is-open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .nav-btn {
    margin: 8px 24px 0 !important;
    padding: 10px 18px !important;
    display: block !important;
    text-align: center !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
  }

  .hero { padding: 64px 20px 72px; }

  .section { padding: 64px 20px; }

  .email-section { padding: 64px 20px; }

  footer { padding: 28px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 16px; }

  .footer-flag { justify-content: flex-start; }

  .footer-note { text-align: left; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .hero-actions .btn { width: 100%; text-align: center; }

  .email-form { flex-direction: column; gap: 8px; }

  .email-input { border-right: 1px solid var(--border); }

  .email-form .btn { width: 100%; text-align: center; }

  .paper-card { grid-template-columns: 1fr; }

  .paper-spine {
    padding: 16px;
    writing-mode: horizontal-tb;
  }

  .paper-spine-label {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.12em;
  }
}
