:root {
  --gold: #f2c14e;
  --gold-dark: #b9801c;
  --cream: #fff6e0;
  --paper: #fffaf0;
  --sand: #f7ecd2;
  --brown: #3a2a14;
  --brown-2: #4b381d;
  --muted: #6d5a3d;
  --line: #ead9b4;
  --white: #ffffff;
  --red: #d64545;
  --radius: 18px;
  --max: 1100px;
  --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", Quicksand, Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --comic: "Comic Sans MS", "Comic Neue", "Chalkboard SE", ui-rounded, cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.hl { color: var(--gold-dark); }

.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .9em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 36em; }

/* Notice */
.notice { background: var(--brown); color: var(--cream); font-size: .92rem; padding: 10px 0; text-align: center; }
.notice strong { color: var(--gold); margin-right: 4px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8em 1.5em;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font: inherit; font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brown);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--brown-2); transform: translateY(-1px); }
.btn:focus-visible, .filter:focus-visible, .reading a:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--sand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,250,240,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark { display: flex; flex-direction: column; font-size: 1.2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.wordmark small { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--gold-dark); }

/* Hero */
.hero { padding: 64px 0 76px; background: linear-gradient(180deg, #fde9ae, var(--paper)); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero-art img { width: 240px; height: 240px; border-radius: 48px; box-shadow: 0 24px 50px rgba(58,42,20,.22); transform: rotate(-4deg); }
.wow { position: absolute; font-family: var(--comic); font-weight: 700; font-size: 1.25rem; }
.w1 { top: 2%; left: 4%; color: #d64593; transform: rotate(-8deg); font-size: 1.6rem; }
.w2 { top: 10%; right: -2%; color: #2f8fd8; transform: rotate(6deg); }
.w3 { bottom: 8%; left: -2%; color: #2faa63; transform: rotate(5deg); }
.w4 { bottom: 0; right: 6%; color: #e2702b; transform: rotate(-5deg); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--brown); color: var(--cream); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .lead { color: rgba(255,246,224,.8); }

/* Timeline */
.tl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tl-head h2 { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-weight: 700; font-size: .9rem; padding: .5em 1.05em; border-radius: 999px; background: var(--white); color: var(--brown); border: 2px solid var(--line); cursor: pointer; }
.filter:hover { border-color: var(--gold-dark); }
.filter.is-active { background: var(--gold); border-color: var(--gold); }

.timeline { list-style: none; margin: 40px 0 0; padding: 0 0 0 30px; border-left: 4px solid var(--gold); display: grid; gap: 18px; max-width: 800px; }
.event { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.event::before { content: ""; position: absolute; left: -43px; top: 26px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 4px solid var(--gold-dark); }
.event-date { margin: 0 0 .2em; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.event h3 { margin-bottom: .3em; font-size: 1.3rem; }
.event p:last-child { margin: 0; color: var(--muted); }

/* Facts */
.facts { margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facts div { background: var(--white); border-radius: 14px; padding: 18px 20px; }
.facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.facts dd { margin: 6px 0 0; font-weight: 700; line-height: 1.35; }
.compare { margin-top: 20px; background: var(--white); border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 26px; }
.compare p { margin: 0; color: var(--muted); max-width: 56em; }

/* Steps */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--brown-2); border-radius: var(--radius); padding: 22px 24px; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: rgba(255,246,224,.78); }
.step-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--brown); font-weight: 800; }

/* Reading list */
.reading { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.reading a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .15s, transform .15s; }
.reading a:hover { border-color: var(--gold-dark); transform: translateY(-2px); }
.read-title { font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.read-title::after { content: " ↗"; color: var(--gold-dark); }
.read-meta { margin-top: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.read-why { color: var(--muted); font-size: .95rem; }

/* Risks */
.risks { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.risk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.risk-list li { display: flex; flex-direction: column; background: var(--white); border-left: 5px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; }
.risk-list strong { font-size: 1.1rem; }
.risk-list span { color: var(--muted); }

/* Footer */
.site-footer { background: var(--brown); color: rgba(255,246,224,.82); font-size: .9rem; }
.footer-inner { display: flex; align-items: flex-start; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.footer-inner img { flex: none; border-radius: 9px; }
.footer-inner p { margin: 0 0 .5em; }
.legal { font-size: .85rem; color: rgba(255,246,224,.65); max-width: 64em; margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-inner, .risks { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 44px 0 56px; }
  .hero-art { min-height: 260px; max-width: 380px; }
  .hero-art img { width: 190px; height: 190px; border-radius: 40px; }
  .section { padding: 62px 0; }
  .steps, .reading { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .notice { font-size: .84rem; }
  .wordmark { font-size: 1.05rem; }
  .timeline { padding-left: 22px; }
  .event::before { left: -35px; }
  .event { padding: 18px 18px; }
  .facts { grid-template-columns: 1fr; }
  .wow { font-size: 1.05rem; }
  .w1 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
