:root {
  --paper: #f6f4ec;
  --ink: #172019;
  --muted: #59635b;
  --line: #d9d8ce;
  --yellow: #f5c84b;
  --teal: #087a72;
  --teal-dark: #05635d;
  --coral: #ef6a4c;
  --white: #fffef9;
  --radius: 20px;
  --shadow: 0 18px 50px rgb(23 32 25 / 8%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

h1, h2, h3, .wordmark {
  margin-top: 0;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.55rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgb(246 244 236 / 92%); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { position: relative; display: inline-block; color: var(--ink); font-size: 1.2rem; letter-spacing: .04em; text-decoration: none; }
.wordmark::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 5px; border-radius: 99px; background: var(--yellow); content: ""; transform: rotate(-1deg); }
.site-header nav { display: flex; gap: 28px; font-size: .94rem; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--teal); }

.hero { overflow: hidden; padding: clamp(70px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 18%, rgb(245 200 75 / 35%), transparent 28%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: end; gap: clamp(40px, 8vw, 100px); }
.hero h1 { max-width: 850px; margin-bottom: 28px; }
.hero h1::after { display: inline-block; width: .22em; height: .22em; margin-left: .08em; border-radius: 50%; background: var(--coral); content: ""; }
.hero-copy { max-width: 650px; margin-bottom: 38px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.4rem); }
.eyebrow { margin-bottom: 16px; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border: 0; border-radius: 12px; color: white; background: var(--teal); font: inherit; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgb(8 122 114 / 18%); cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--teal-dark); transform: translateY(-2px); }
.button--wide { width: 100%; }
.hero-note { display: grid; grid-template-columns: 42px 1fr; gap: 18px 14px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(255 254 249 / 72%); box-shadow: var(--shadow); }
.hero-note p { margin: 0; color: var(--muted); font-size: .94rem; }
.hero-note strong { color: var(--ink); }
.hero-note-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--yellow); font-size: .75rem; font-weight: 900; }

.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p { max-width: 470px; justify-self: end; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgb(23 32 25 / 13%); }
.card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #d7e3d8; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.article-card:hover .card-image img { transform: scale(1.025); }
.card-body { padding: clamp(22px, 4vw, 32px); }
.card-body h3 { margin-bottom: 16px; }
.card-body h3 a { text-decoration: none; }
.card-body > p:not(.eyebrow) { color: var(--muted); }
.card-meta, .article-meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: .86rem; }
.empty-state { grid-column: 1 / -1; padding: 50px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.about { border-top: 1px solid var(--line); background: var(--yellow); }
.about-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: 40px; }
.about .eyebrow { color: var(--ink); }
.about h2 { max-width: 850px; }
.about-grid div p { max-width: 700px; margin-bottom: 0; }

.article-header { max-width: 980px; padding-top: clamp(55px, 9vw, 112px); padding-bottom: 45px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; color: var(--muted); font-size: .84rem; }
.breadcrumbs a:hover { color: var(--teal); }
.article-header h1 { margin-bottom: 28px; font-size: clamp(2.35rem, 6vw, 4.9rem); }
.article-lead { max-width: 790px; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); }
.article-visual { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #d7e3d8; }
.article-visual img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 1fr); align-items: start; gap: clamp(42px, 7vw, 90px); padding-top: clamp(50px, 7vw, 90px); padding-bottom: 50px; }
.prose { min-width: 0; font-size: 1.05rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 .7em; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h3 { margin: 1.8em 0 .6em; font-size: 1.35rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.25em; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--teal); font-weight: 700; }
.prose blockquote { margin: 2em 0; padding: 24px 26px; border: 0; border-left: 6px solid var(--yellow); border-radius: 0 14px 14px 0; background: var(--white); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose table { display: block; width: 100%; margin: 2em 0; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--yellow); }
.prose img { margin: 2em 0; border-radius: 16px; }
.offer-box { position: sticky; top: 30px; padding: 26px; border: 1px solid var(--line); border-top: 8px solid var(--yellow); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.offer-box > p:not(.eyebrow) { color: var(--muted); }
.offer-box small { display: block; margin-top: 12px; color: var(--muted); text-align: center; }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 28px; padding-bottom: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); }
.share-button { display: none; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 10px; color: var(--ink); background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.share-button.is-supported { display: inline-block; }

.not-found { display: grid; min-height: 68vh; place-items: center; padding: 80px 0; text-align: center; }
.not-found h1 { margin-bottom: 20px; }
.not-found p:not(.error-code) { max-width: 580px; margin: 0 auto 30px; color: var(--muted); }
.error-code { margin: 0; color: var(--coral); font-size: clamp(5rem, 18vw, 11rem); font-weight: 900; line-height: .8; }
.site-footer { padding: 52px 0; border-top: 1px solid var(--line); background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr; align-items: start; gap: 50px; }
.wordmark--footer { color: white; }
.footer-grid div p { margin: 20px 0 0; color: #bfc6c0; }
.disclosure { max-width: 650px; margin: 0; color: #bfc6c0; font-size: .83rem; }

@media (max-width: 820px) {
  .hero-grid, .section-heading, .about-grid, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 520px; }
  .article-grid { grid-template-columns: 1fr; }
  .section-heading > p { justify-self: start; }
  .article-layout { gap: 20px; }
  .offer-box { position: static; order: -1; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .site-header nav { gap: 14px; font-size: .82rem; }
  .site-header nav a:last-child { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 2.65rem; }
  .article-header h1 { font-size: 2.35rem; }
  .article-visual { width: 100%; border-radius: 0; }
  .share-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .offer-box, .share-row { display: none; }
  body { background: white; color: black; }
  .article-layout { display: block; }
  .article-visual { max-height: 400px; }
}
