:root {
  --bg: #f7f4eb;
  --surface: #fffdf7;
  --surface-2: #edf3e8;
  --ink: #17231d;
  --muted: #627168;
  --line: #dce3da;
  --brand: #237c65;
  --brand-strong: #155d4d;
  --brand-soft: #d9eee6;
  --sun: #f2b95d;
  --coral: #de715b;
  --shadow: 0 22px 55px rgba(28, 51, 40, .12);
  --radius: 22px;
  --max: 1180px;
}

[data-theme="dark"] {
  --bg: #0e1713;
  --surface: #15231d;
  --surface-2: #1b2e25;
  --ink: #edf7ef;
  --muted: #adc0b4;
  --line: #2d4538;
  --brand: #5bc2a4;
  --brand-strong: #8fd9c3;
  --brand-soft: #203f34;
  --sun: #f1bf6f;
  --coral: #ef8b72;
  --shadow: 0 22px 60px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--brand-soft) 60%, transparent), transparent 27rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 14px; color: #fff; background: var(--brand-strong); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50% 46% 52% 44%; color: #fff; background: var(--brand); transform: rotate(-7deg); box-shadow: inset 0 -6px 12px rgba(0,0,0,.12); }
.brand-mark svg { width: 21px; transform: rotate(7deg); }
.brand em { color: var(--brand); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { padding: 10px 12px; border-radius: 12px; color: var(--muted); font-size: 14px; font-weight: 750; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: var(--surface); border-radius: 12px; cursor: pointer; }
.icon-btn:hover { transform: translateY(-1px); border-color: var(--brand); }
.menu-btn { display: none; }
.play-btn { padding: 10px 15px; border-radius: 12px; color: #fff; background: var(--brand-strong); font-size: 14px; font-weight: 850; box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 25%, transparent); }

.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--brand-strong); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 5px; }
.hero { padding: 72px 0 58px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(46px, 6.3vw, 84px); line-height: .95; letter-spacing: -.065em; }
.hero h1 span { color: var(--brand); }
.hero-lede { max-width: 640px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; font-weight: 850; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 60, 45, .1); }
.btn-primary { color: #fff; border-color: var(--brand-strong); background: var(--brand-strong); }
.btn-secondary { background: var(--surface); }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.quick-links a { padding: 7px 11px; color: var(--muted); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); border-radius: 999px; font-size: 12px; font-weight: 750; }
.hero-visual { position: relative; min-height: 510px; }
.hero-blob { position: absolute; inset: 24px 0 0 35px; background: var(--brand-soft); border-radius: 48% 52% 42% 58% / 49% 38% 62% 51%; transform: rotate(3deg); }
.hero-photo { position: absolute; inset: 0 22px 50px 0; width: calc(100% - 22px); height: calc(100% - 50px); object-fit: cover; border: 7px solid var(--surface); border-radius: 34px 80px 38px 72px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.video-card { position: absolute; right: 0; bottom: 6px; width: 64%; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: rotate(2deg); }
.video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
.play-circle { position: absolute; left: 50%; top: 44%; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: rgba(20, 85, 66, .88); border: 3px solid rgba(255,255,255,.8); border-radius: 50%; transform: translate(-50%, -50%); }
.video-card p { margin: 9px 4px 1px; font-size: 12px; font-weight: 800; }
.float-note { position: absolute; left: -16px; bottom: 70px; padding: 12px 15px; color: #26301c; background: var(--sun); border: 4px solid var(--surface); border-radius: 15px; box-shadow: var(--shadow); font-size: 12px; font-weight: 900; transform: rotate(-4deg); }

.stat-strip { margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; box-shadow: 0 12px 32px rgba(36, 61, 47, .07); }
.stat { padding: 23px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head h2, .content-head h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.section-head p { max-width: 580px; margin: 0; color: var(--muted); }
.text-link { color: var(--brand-strong); font-size: 14px; font-weight: 850; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.start-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.start-card { position: relative; min-height: 250px; padding: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); transition: .22s ease; }
.start-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.start-card .number { display: grid; width: 42px; height: 42px; place-items: center; color: var(--brand-strong); background: var(--brand-soft); border-radius: 13px; font-weight: 950; }
.start-card h3 { margin: 38px 0 8px; font-size: 21px; letter-spacing: -.025em; }
.start-card p { margin: 0; color: var(--muted); font-size: 14px; }
.start-card .arrow { position: absolute; right: 22px; bottom: 18px; color: var(--brand); font-size: 26px; transition: .2s ease; }
.start-card:hover .arrow { transform: translateX(5px); }

.feature-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.feature-card, .field-notes { border: 1px solid var(--line); background: var(--surface); border-radius: 24px; }
.feature-card { overflow: hidden; }
.feature-card img { width: 100%; height: 310px; object-fit: cover; }
.feature-body { padding: 24px; }
.kicker { color: var(--coral); font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.feature-body h3 { margin: 8px 0; font-size: 28px; letter-spacing: -.035em; }
.feature-body p { margin: 0; color: var(--muted); }
.field-notes { padding: 8px 22px; }
.note-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.note-row:last-child { border-bottom: 0; }
.note-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand-strong); background: var(--brand-soft); border-radius: 13px; font-size: 20px; }
.note-row h3 { margin: 0; font-size: 15px; }
.note-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.status-ready { color: #196b4e; background: #dcf5e9; }
.status-check { color: #956319; background: #fff0cf; }
[data-theme="dark"] .status-ready { color: #8be3bd; background: #1f4939; }
[data-theme="dark"] .status-check { color: #ffd18a; background: #4f3b1d; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; }
.guide-card:hover { border-color: var(--brand); box-shadow: 0 12px 30px rgba(30, 59, 44, .09); }
.guide-card small { color: var(--brand-strong); font-weight: 850; }
.guide-card h3 { margin: 8px 0 7px; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.guide-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.guide-card .card-link { margin-top: auto; color: var(--brand-strong); font-size: 13px; font-weight: 850; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 54px; }
.photo-stack { position: relative; min-height: 450px; }
.photo-stack img { position: absolute; width: 78%; height: 380px; object-fit: cover; border: 6px solid var(--surface); border-radius: 26px; box-shadow: var(--shadow); }
.photo-stack img:first-child { left: 0; top: 0; transform: rotate(-4deg); }
.photo-stack img:last-child { right: 0; bottom: 0; transform: rotate(5deg); }
.about-copy h2 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.055em; }
.about-copy p { color: var(--muted); font-size: 16px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 750; }
.check-list li::before { content: "✓"; display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-size: 12px; }

.cta-band { margin-bottom: 80px; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 46px; overflow: hidden; color: #f5fff8; background: #165d4d; border-radius: 30px; }
.cta-inner::after { content: ""; position: absolute; width: 270px; height: 270px; right: -80px; top: -120px; border: 45px solid rgba(255,255,255,.08); border-radius: 50%; }
.cta-inner h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(29px, 4vw, 44px); letter-spacing: -.04em; }
.cta-inner p { position: relative; z-index: 1; max-width: 670px; margin: 8px 0 0; color: #cfe9df; }
.cta-inner .btn { position: relative; z-index: 1; color: #173c31; background: #fff; border-color: #fff; }

.site-footer { padding: 52px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 42px; }
.footer-about p { max-width: 400px; color: var(--muted); font-size: 13px; }
.footer-col h3 { margin: 4px 0 14px; font-size: 13px; }
.footer-col a { display: block; margin: 8px 0; color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }

/* Inner pages */
.page-hero { padding: 54px 0 34px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.breadcrumbs span { color: var(--ink); }
.page-title-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-top: 28px; }
.page-title-row h1 { max-width: 850px; margin: 0; font-size: clamp(40px, 6vw, 66px); line-height: 1; letter-spacing: -.055em; }
.page-intro { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.updated { color: var(--muted); font-size: 12px; text-align: right; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; padding-bottom: 90px; }
.article { min-width: 0; }
.cover { width: 100%; aspect-ratio: 16/7.5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.answer-box { margin: 28px 0; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--line)); border-left: 5px solid var(--brand); background: var(--brand-soft); border-radius: 16px; }
.answer-box strong { display: block; margin-bottom: 5px; }
.article h2 { margin: 44px 0 12px; font-size: 31px; letter-spacing: -.035em; }
.article h3 { margin: 28px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.article p, .article li { color: var(--muted); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 7px 0; }
.info-table { width: 100%; overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: 15px; }
.info-table th, .info-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table tr:last-child td { border-bottom: 0; }
.info-table th { color: var(--ink); background: var(--surface-2); font-size: 12px; }
.info-table td { color: var(--muted); font-size: 13px; }
.side-card { margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; }
.side-card h2 { margin: 0 0 13px; font-size: 15px; }
.side-card a { display: block; padding: 9px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.side-card a:last-child { border-bottom: 0; }
.evidence-list { margin: 0; padding: 0; list-style: none; }
.evidence-list li { margin: 11px 0; color: var(--muted); font-size: 12px; }
.evidence-list strong { color: var(--ink); }
.all-guides-hero { padding-bottom: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.filter-btn { padding: 8px 13px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 850; }
.filter-btn.active { color: #fff; border-color: var(--brand-strong); background: var(--brand-strong); }
.empty-state { display: none; padding: 40px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 18px; }

@media (max-width: 980px) {
  .nav-links { position: fixed; left: 20px; right: 20px; top: 80px; display: none; flex-direction: column; align-items: stretch; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .menu-btn { display: grid; }
  .play-btn { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 460px; width: min(100%, 670px); }
  .start-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .feature-layout { grid-template-columns: 1fr; }
  .about-grid { gap: 28px; }
  .photo-stack { width: min(100%, 650px); }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 64px; gap: 12px; }
  .brand { font-size: 14px; }
  .nav-actions { margin-left: auto; }
  .hero { padding: 38px 0 36px; }
  .hero h1 { font-size: 49px; }
  .hero-grid { gap: 34px; }
  .hero-visual { min-height: 350px; }
  .hero-photo { inset-right: 8px; height: 305px; border-width: 5px; }
  .hero-blob { inset: 18px 0 0 18px; }
  .video-card { width: 63%; right: 0; bottom: 0; }
  .float-note { left: -5px; bottom: 30px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat strong { font-size: 19px; }
  .section { padding: 62px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 11px; }
  .start-grid, .guide-grid { grid-template-columns: 1fr; }
  .start-card { min-height: 215px; }
  .feature-card img { height: 230px; }
  .note-row { grid-template-columns: 44px 1fr; }
  .note-row .status { grid-column: 2; justify-self: start; }
  .photo-stack { min-height: 340px; }
  .photo-stack img { height: 290px; }
  .check-list { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; padding: 32px 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-title-row { grid-template-columns: 1fr; }
  .updated { text-align: left; }
  .article-aside { grid-template-columns: 1fr; }
  .page-title-row h1 { font-size: 42px; }
}

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