:root {
  --ink: #17211b;
  --muted: #5e6862;
  --paper: #ffffff;
  --soft: #f2f5f1;
  --line: #d8ded9;
  --green: #216e4a;
  --green-dark: #155136;
  --coral: #d85f45;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: white; padding: .75rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand span { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .93rem; }
.menu-button { display: none; border: 0; background: transparent; font-size: 1.5rem; color: var(--ink); }
.hero {
  min-height: min(70vh, 700px);
  background: #f4f2ee url("images/home-fitness-kitchen-tech.png") center/cover no-repeat;
  display: flex;
  align-items: flex-start;
}
.hero-copy {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding-top: clamp(3rem, 9vh, 7rem);
}
.eyebrow { margin: 0 0 .7rem; color: var(--green-dark); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.13; letter-spacing: 0; }
h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  text-shadow: 0 0 4px #fff, 0 1px 18px rgba(255,255,255,.98);
}
.hero-copy p {
  max-width: 480px;
  margin: 1.1rem 0 1.5rem;
  color: #26322c;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  text-shadow: 0 0 3px #fff, 0 0 10px #fff, 0 1px 20px rgba(255,255,255,.98);
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: white;
  font-weight: 750;
  text-decoration: none;
  border-radius: 4px;
}
.button:hover { background: var(--ink); color: white; }
.band { padding: clamp(3.5rem, 7vw, 6.5rem) 1rem; }
.band.soft { background: var(--soft); }
.container { width: min(100%, var(--max)); margin: auto; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin: 0; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.topic { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.topic + .topic { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.topic-number { color: var(--coral); font-weight: 850; }
.topic h3 { margin: .5rem 0; font-size: 1.35rem; }
.topic p { margin: 0; color: var(--muted); }
.article-list { border-top: 1px solid var(--line); }
.article-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.article-row time, .article-meta { color: var(--muted); font-size: .88rem; }
.article-row h3 { margin: 0 0 .35rem; font-size: 1.28rem; }
.article-row p { margin: 0; color: var(--muted); }
.article-row > a { font-weight: 750; white-space: nowrap; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trust-strip h3 { margin-bottom: .4rem; }
.trust-strip p { color: var(--muted); margin: 0; }
.site-footer { padding: 2.5rem 1rem; background: var(--ink); color: #dfe8e1; }
.footer-grid { width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.copyright { width: min(100%, var(--max)); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid #425047; font-size: .86rem; color: #bac7be; }
.page-hero { padding: 5rem 1rem 3rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .container { max-width: 860px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 700px; }
.prose { width: min(calc(100% - 2rem), 760px); margin: 0 auto; padding: 3.5rem 0 5rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.8rem; }
.prose h3 { margin-top: 1.8rem; }
.prose li { margin-bottom: .55rem; }
.prose .notice { padding: 1rem 1.15rem; border-left: 4px solid var(--coral); background: #fff5f2; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); }
.guide-index { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 3rem 0 5rem; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.guide-item { padding: 1.6rem; background: white; }
.guide-item h2 { margin: .35rem 0 .6rem; font-size: 1.45rem; }
.guide-item p { color: var(--muted); }
.disclosure { font-size: .86rem; color: var(--muted); }

@media (max-width: 760px) {
  .menu-button { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 1rem; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-links.static-nav {
    display: flex;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .nav-links a { font-size: .84rem; }
  .hero { min-height: 590px; background-position: 58% center; }
  .hero-copy { padding-top: 2.5rem; }
  .hero-copy h1 { max-width: 82%; font-size: clamp(2.5rem, 12vw, 3.3rem); }
  .hero-copy p { max-width: 76%; }
  .section-head, .footer-grid { grid-template-columns: 1fr; }
  .topic-grid, .trust-strip, .guide-grid { grid-template-columns: 1fr; }
  .topic + .topic { padding-left: 0; border-left: 0; }
  .article-row { grid-template-columns: 1fr; gap: .4rem; }
}
