/* === TOKENS === */
:root {
  --cream: #FFFBEB;
  --cream-dark: #FEF3C7;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --amber-pale: #FEF9E7;
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --white: #FFFFFF;
}

/* === BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 600; line-height: 1.2; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--navy);
  margin-bottom: 20px;
}

.section-body {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.7;
  max-width: 580px;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.header-tagline {
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* === HERO === */
.hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--amber-pale) 60%, var(--cream-dark) 100%);
  padding: 96px 32px 80px;
  text-align: center;
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1.5px solid var(--amber);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 32px;
}

.hero-headline {
  font-size: clamp(42px, 7vw, 80px);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  font-optical-sizing: auto;
}

.hero-sub {
  font-size: 19px;
  color: var(--navy-mid);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 48px;
}

.hero-constraint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  border-radius: 100px;
  padding: 10px 24px 10px 16px;
}

.constraint-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-light);
  letter-spacing: -0.04em;
}

.constraint-label {
  font-size: 13px;
  line-height: 1.3;
  opacity: 0.8;
  letter-spacing: 0.01em;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--navy);
  padding: 80px 32px;
}

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

.manifesto-quote {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(24px, 4vw, 40px);
  color: var(--white);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.manifesto-quote strong {
  color: var(--amber-light);
  font-style: normal;
}

/* === FORMAT === */
.format {
  padding: 96px 32px;
  background: var(--cream);
}

.format-inner {
  max-width: 760px;
  margin: 0 auto;
}

.rule-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rule {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.rule-marker {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  background: var(--cream-dark);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.rule-content {
  font-size: 16px;
  color: var(--navy-mid);
  padding-top: 8px;
  max-width: 600px;
  line-height: 1.65;
}

.rule-content strong {
  color: var(--navy);
}

/* === HOW === */
.how {
  padding: 96px 32px;
  background: var(--cream-dark);
  border-top: 1px solid rgba(217, 119, 6, 0.12);
  border-bottom: 1px solid rgba(217, 119, 6, 0.12);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}

.step {
  flex: 1;
  padding: 0 24px;
  text-align: center;
}

.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--amber);
  box-shadow: 0 2px 12px rgba(217, 119, 6, 0.1);
}

.step-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-body {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cream-dark), var(--amber), var(--cream-dark));
  align-self: center;
  margin-top: 20px;
  border-radius: 2px;
}

/* === CLOSING === */
.closing {
  padding: 96px 32px;
  background: var(--cream);
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing-statement {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(28px, 4.5vw, 48px);
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* === FOOTER === */
footer {
  background: var(--navy);
  padding: 40px 32px;
}

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

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

.footer-wordmark {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-desc {
  font-size: 13px;
  color: var(--slate-light);
}

.footer-meta {
  font-size: 13px;
  color: var(--slate-light);
}

.footer-meta a {
  color: var(--amber-light);
  text-decoration: none;
}

.footer-meta a:hover { text-decoration: underline; }

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .header-inner { padding: 14px 20px; }
  .header-tagline { display: none; }
  .hero { padding: 64px 20px 56px; }
  .hero-constraint { transform: scale(0.9); }
  .manifesto { padding: 56px 20px; }
  .format { padding: 64px 20px; }
  .how { padding: 64px 20px; }
  .step-row { flex-direction: column; gap: 40px; }
  .step-connector { display: none; }
  .step { padding: 0; }
  .closing { padding: 64px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .desktop-only { display: none; }
}

@media (max-width: 375px) {
  .hero-headline { font-size: 36px; }
  .constraint-num { font-size: 40px; }
  .section-headline { font-size: 28px; }
}