:root {
  --ink: #18201d;
  --muted: #5f6b66;
  --line: #d8dfdb;
  --paper: #f7f4eb;
  --white: #fffdf8;
  --green: #1f7a5a;
  --green-dark: #10513a;
  --mint: #dfeee6;
  --sun: #f2b84b;
  --blue: #1f5f8b;
  --shadow: 0 18px 40px rgba(24, 32, 29, 0.12);
}

* { box-sizing: border-box; }

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

a { color: var(--green-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }

.update-banner {
  position: relative;
  z-index: 11;
  padding: 9px clamp(18px, 4vw, 56px);
  color: #153427;
  background: #f6ce6b;
  border-bottom: 1px solid rgba(24, 32, 29, 0.14);
  font-size: 0.94rem;
  font-weight: 650;
  text-align: center;
}

.update-banner a {
  color: inherit;
  text-decoration: none;
}

.update-banner a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(216, 223, 219, 0.8);
  backdrop-filter: blur(16px);
}

.site-header.compact { position: relative; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 68% 30%, var(--sun) 0 5px, transparent 6px),
    linear-gradient(135deg, var(--green) 0 48%, var(--green-dark) 49% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(16, 81, 58, 0.2);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.brand-mark::before {
  left: 10px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 4px 4px 7px 7px;
}

.brand-mark::after {
  left: 15px;
  top: 26px;
  width: 4px;
  height: 7px;
  border-radius: 0 0 3px 3px;
}

.brand-name {
  font-size: 1.18rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.92rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: rgba(31, 122, 90, 0.22);
  color: var(--green-dark);
  background: var(--mint);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img { object-fit: cover; }

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 19, 0.66), rgba(10, 24, 19, 0.28) 44%, rgba(10, 24, 19, 0.05)),
    linear-gradient(0deg, rgba(10, 24, 19, 0.34), transparent 36%);
}

.hero-content {
  position: relative;
  width: min(700px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 72px);
  color: white;
}

.eyebrow,
.card-kicker,
.status-pill {
  display: inline-block;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #f8d77e; }

h1,
h2 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5.3vw, 4.8rem);
}

h2 { font-size: clamp(1.55rem, 3.1vw, 2.75rem); }

.lede,
.standfirst {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions,
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary { color: white; background: var(--green); }
.button.secondary { color: white; border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.12); }

.status-band,
.comparison-band,
.newsletter,
.tool-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(42px, 8vw, 86px) clamp(18px, 6vw, 72px);
}

.status-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.status-band p,
.comparison-band p,
.tool-copy p { margin: 0; max-width: 760px; color: var(--muted); font-size: 1.08rem; }

.status-pill {
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.26);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(42px, 8vw, 86px) clamp(18px, 6vw, 72px);
}

.feature-card {
  min-height: 320px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card h2 {
  margin-top: 14px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.feature-card p { color: var(--muted); }
.feature-card a { font-weight: 800; }

.tool-section { align-items: start; background: #e9f0ed; }

.calculator,
.newsletter form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #b9c5bf;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

input[type="range"] { padding: 0; accent-color: var(--green); }

.estimate {
  display: block;
  padding: 16px;
  border-radius: 6px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.comparison-band {
  align-items: center;
  background: var(--ink);
  color: white;
}

.comparison-band .eyebrow { color: var(--sun); }
.comparison-band p { color: rgba(255, 255, 255, 0.76); margin-top: 16px; }

.newsletter {
  align-items: center;
  background: var(--white);
}

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

.article-layout {
  padding: clamp(42px, 8vw, 84px) clamp(18px, 6vw, 72px);
}

.article-layout.wide {
  padding-top: clamp(34px, 6vw, 66px);
}

.article {
  width: min(780px, 100%);
  margin: 0 auto;
}

.article h1 {
  max-width: 16ch;
  margin-top: 8px;
  font-size: clamp(2.25rem, 4.8vw, 4.1rem);
}

.article h2 { margin-top: 42px; font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
.article p { color: var(--muted); font-size: 1.08rem; }
.article .standfirst { color: var(--ink); font-size: 1.18rem; }
.article-meta { color: var(--green-dark); font-weight: 800; }

.check-list,
.rank-list {
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li,
.rank-list li { margin: 12px 0; }

.notice {
  margin: 26px 0;
  padding: 18px;
  border-left: 5px solid var(--sun);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-index-header {
  width: min(920px, 100%);
  margin: 0 auto 30px;
}

.article-index-header h1 {
  max-width: 15ch;
  margin-top: 8px;
  font-size: clamp(2.25rem, 4.8vw, 4.1rem);
}

.article-index-header .standfirst {
  color: var(--ink);
}

.intro-copy {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.06rem;
}

.search-box {
  margin-top: 24px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.article-card,
.kit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-card {
  padding: 24px;
}

.article-card h2 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

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

.kit-article {
  width: min(940px, 100%);
}

.kit-list {
  display: grid;
  gap: 18px;
  margin: 32px 0;
}

.worth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 22px;
  width: min(1040px, 100%);
  margin: 0 auto;
  align-items: start;
}

.worth-form,
.worth-result {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.worth-result {
  position: sticky;
  top: 92px;
}

.result-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-pill.yes {
  color: #10412f;
  background: #cfeedd;
}

.result-pill.maybe {
  color: #5e4204;
  background: #f8df9d;
}

.result-pill.no {
  color: #722116;
  background: #f4d2ca;
}

.worth-result h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.worth-result p {
  margin: 0;
  color: var(--muted);
}

.result-stats {
  display: grid;
  gap: 10px;
  margin: 0;
}

.result-stats div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.result-stats dt {
  color: var(--muted);
  font-weight: 800;
}

.result-stats dd {
  margin: 0;
  color: var(--green-dark);
  font-weight: 900;
}

.worth-guide {
  display: grid;
  gap: 18px;
  width: min(1040px, 100%);
  margin: 44px auto 0;
}

.worth-guide > div:first-child,
.worth-guide > h2,
.worth-guide > h3,
.worth-guide > p,
.worth-guide > ul {
  width: min(780px, 100%);
}

.worth-guide h2 {
  margin: 18px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.worth-guide h3 {
  margin: 0;
  font-size: 1.22rem;
}

.worth-guide p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.worth-guide > h2 + .check-list,
.worth-guide > h2 + h3,
.worth-guide > h3 + p {
  margin-top: -4px;
}

.worth-guide .check-list {
  margin-bottom: 0;
}

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

.scenario-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.scenario-grid h3 {
  margin-top: 10px;
}

.kit-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.kit-image {
  margin: 0 0 22px;
}

.kit-image img {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eef1ed;
}

.kit-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.kit-card h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.kit-award {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 8px 0 10px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(242, 184, 75, 0.34);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kit-card .button {
  margin-top: 8px;
}

.kit-points {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.price-box {
  display: grid;
  gap: 7px;
  width: fit-content;
  min-width: 180px;
  margin: 18px 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 122, 90, 0.2);
  border-radius: 8px;
  background: #eef7f2;
}

.price-box small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.price-box strong {
  color: var(--green-dark);
  font-size: 1.7rem;
  line-height: 1.1;
}

.stock-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.stock-badge.in-stock {
  color: #10412f;
  background: #cfeedd;
}

.stock-badge.out-of-stock {
  color: #722116;
  background: #f4d2ca;
}

.rank {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--sun);
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #111815;
}

.footer p { max-width: 760px; margin: 0; }
.footer a { color: white; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 800px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header { gap: 12px; }

  .nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar { display: none; }

  .nav a { flex: 0 0 auto; }

  .hero { min-height: 72vh; }
  .hero-content { margin-right: 18px; }

  .status-band,
  .comparison-band,
  .newsletter,
  .tool-section,
  .content-grid,
  .article-list,
  .worth-layout,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .worth-result {
    position: static;
  }

  .kit-card {
    grid-template-columns: 1fr;
  }

  .feature-card { min-height: auto; }
  .inline-form { flex-direction: column; }
}
