:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #17201c;
  --muted: #59645f;
  --line: #d8ded8;
  --green: #1f6b4d;
  --blue: #275f88;
  --gold: #b36b22;
  --soft-green: #e9f3ed;
  --soft-blue: #e8f0f6;
  --shadow: 0 18px 44px rgba(33, 43, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: rgba(31, 107, 77, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green);
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.7rem 0.9rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.4rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav,
.section,
.notice-band,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.6rem);
  color: var(--muted);
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: clamp(620px, 76vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #dfe7de;
  border-bottom: 1px solid var(--line);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.93) 0%, rgba(251, 250, 247, 0.78) 38%, rgba(251, 250, 247, 0.15) 78%), linear-gradient(0deg, rgba(23, 32, 28, 0.18), rgba(23, 32, 28, 0));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(3.2rem, 8vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 1.2rem 0 0;
  color: #2b3631;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 780;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.notice-band {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice-band p {
  margin: 0;
}

.section {
  padding: clamp(3.4rem, 7vw, 5.2rem) 0;
}

.intro,
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.intro > p,
.newsletter .checklist {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.text-link,
.read-more {
  color: var(--green);
  font-weight: 780;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.post-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-card.muted {
  background: var(--soft-blue);
}

.post-card p {
  color: var(--muted);
}

.post-card .read-more {
  margin-top: auto;
}

.tag-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.checklist {
  padding-left: 1.2rem;
}

.checklist li + li {
  margin-top: 0.65rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-main {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-main h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.page-main p,
.page-main li {
  color: var(--muted);
}

.content-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 2rem;
  align-items: start;
}

.post-body {
  min-width: 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--surface);
}

.post-body th,
.post-body td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.post-body th {
  background: var(--soft-green);
}

.sidebar {
  position: sticky;
  top: 96px;
}

.disclosure-card {
  padding: 1rem;
  background: #fff8ed;
  border: 1px solid #e4cda7;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.product-pick {
  margin: 1.4rem 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-pick h3 {
  margin-bottom: 0.5rem;
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-weight: 780;
  text-decoration: none;
}

.video-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin-top: 0.8rem;
  background: #101816;
  color: #fff;
  border-radius: 8px;
  font-weight: 780;
}

@media (max-width: 820px) {
  .nav,
  .site-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(251, 250, 247, 0.96) 0%, rgba(251, 250, 247, 0.78) 50%, rgba(251, 250, 247, 0.18) 100%);
  }

  .intro,
  .newsletter,
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .tag-row {
    flex-direction: column;
  }
}
