/* Site styles: one file, no frameworks, no external requests.
   Palette (contrast checked against the page background):
   ink #1D2021, muted #5B6166, accent #1F5C4F (hover #174A40), hairline #E4E4DF. */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --tint: #F3F3EE;
  --ink: #1D2021;
  --muted: #5B6166;
  --accent: #1F5C4F;
  --accent-hover: #174A40;
  --accent-tint: #E8F0ED;
  --border: #E4E4DF;
  --border-strong: #C9C9C2;
  --control: #868B90;
  --danger: #B3261E;
  --danger-tint: #FBEDEC;
  --warn-tint: #FFF6DC;
  --warn-edge: #8A6100;
  --radius: 10px;
  --maxw: 1120px;
  --gutter: max(16px, calc((100% - var(--maxw)) / 2));
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 106.25%; /* 17px at the browser default, still follows user settings */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img, svg { max-width: 100%; }
img { height: auto; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.5rem + 2.4vw, 3.15rem); letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: -0.005em; }

p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1em; }
p { text-wrap: pretty; }

/* Headings that follow running text get room above them (legal pages, guides). */
main :is(p, ul, ol, dl, blockquote, table, figure, .table-wrap) + h2 { margin-top: 2.2em; }
main :is(p, ul, ol, dl, blockquote, table, figure, .table-wrap) + h3 { margin-top: 1.6em; }

a {
  color: var(--accent);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

strong, b { font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

blockquote {
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.lead {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.placeholder {
  background: var(--warn-tint);
  color: var(--ink);
  padding: 0 .3em;
  border-radius: 4px;
}
.footer-legal address .placeholder { margin-left: -.3em; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 8px;
  top: -4rem;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 8px; outline-color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .72rem 1.3rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn:focus-visible { outline-color: var(--ink); }
.btn--secondary { background: transparent; color: var(--accent); }
.btn--secondary:hover { background: var(--accent-tint); color: var(--accent-hover); border-color: var(--accent-hover); }
.btn--small { padding: .5rem 1rem; font-size: .95rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }

/* ---------- Header and navigation ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: .75rem var(--gutter);
}
.wordmark {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--accent); text-decoration: none; }

.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-desktop a:not(.btn),
.nav-mobile nav a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.nav-desktop a:not(.btn) {
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:not(.btn):hover { color: var(--accent); border-bottom-color: var(--border-strong); }
.nav-desktop a[aria-current="page"] { border-bottom-color: var(--accent); }

.nav-mobile > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  padding: .5rem .95rem;
  border: 1.5px solid var(--control);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary::after {
  content: "";
  width: .45rem; height: .45rem;
  margin: -.2rem 0 0 .6rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.nav-mobile[open] > summary::after { transform: rotate(-135deg); margin-top: .15rem; }
.nav-mobile[open] > nav {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: .25rem var(--gutter) 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px -16px rgba(29, 32, 33, .25);
}
.nav-mobile nav a:not(.btn) {
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile nav a[aria-current="page"] { color: var(--accent); }
.nav-mobile nav .btn { margin-top: 1rem; }

@media (min-width: 760px) {
  .nav-desktop { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .nav-mobile { display: none; }
}

/* ---------- Page structure ---------- */

main:focus { outline: none; }

/* Top-level sections are full-width bands whose content is held to --maxw. */
main > section {
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--gutter);
}
/* Anything else placed directly in <main> lines up with the same column. */
main > :not(section) {
  margin-left: var(--gutter);
  margin-right: var(--gutter);
}
main > :not(section):first-child { margin-top: 3rem; }
main > :not(section):last-child { margin-bottom: 4rem; }

main > section :last-child { margin-bottom: 0; }

main p, main ul:not([class]), main ol:not([class]) { max-width: 68ch; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 46rem; }

main > section.page-head { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
main > section.page-head + section { padding-top: clamp(1.25rem, 2vw, 2rem); }
.hero { padding-top: clamp(3rem, 2rem + 6vw, 6.5rem); padding-bottom: clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero h1 { max-width: 22ch; }
.hero .actions, .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.tint { background: var(--tint); border-block: 1px solid var(--border); }

.cta-band { background: var(--accent); color: #fff; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: #E3EEEA; }
.cta-band a:not(.btn) { color: #fff; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--accent); }
.cta-band .btn:hover { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--accent-hover); }
.cta-band .btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn--secondary:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-band :focus-visible { outline-color: #fff; }

/* Grids and panels */

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.panel,
.card:not(.product-card):not(.category-card):not(.guide-card) {
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.notice {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.notice p:last-child { margin-bottom: 0; }
.notice--error { background: var(--danger-tint); border-left-color: var(--danger); }
.notice--pending { background: var(--warn-tint); border-left-color: var(--warn-edge); }

/* Numbered steps */

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li {
  counter-increment: step;
  padding: 1.25rem 1.4rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  margin-bottom: .85rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 650;
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin-bottom: 0; }

/* Check list */

.checklist { margin: 0 0 1em; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.85rem; margin-bottom: .55rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: .15rem; top: .5em;
  width: .85rem; height: .45rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* FAQ and any bare <details> inside content */

main details { border-top: 1px solid var(--border); padding: 1rem 0; max-width: 68ch; }
main details:last-of-type { border-bottom: 1px solid var(--border); }
main details > summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
main details > summary::-webkit-details-marker { display: none; }
main details > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--accent); }
main details[open] > summary::after { content: "\2013"; }
main details > :not(summary) { margin-top: .75rem; }
main details > :last-child { margin-bottom: 0; }

/* Tables */

.table-wrap { overflow-x: auto; margin-bottom: 1em; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .7rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  margin: 1.5rem 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s ease;
}
.card:hover { border-color: var(--border-strong); }

.card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tint);
  border-bottom: 1px solid var(--border);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media img.media-img--placeholder { object-fit: contain; padding: 2%; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.card__body p { max-width: none; }
.card__body > :last-child { margin-bottom: 0; }
.card__title { margin: 0 0 .35rem; font-size: 1.2rem; }
.card__link { color: var(--ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__link:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.card__cta { margin: auto 0 0; padding-top: .5rem; font-weight: 600; color: var(--accent); }

.card .eyebrow { margin-bottom: .3rem; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1rem;
  margin: .35rem 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.meta > div { display: flex; gap: .35em; }
.meta dt { margin: 0; }
.meta dt::after { content: ":"; }
.meta dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

.card__price { margin: auto 0 0; padding-top: .9rem; }
.price__from { color: var(--muted); font-size: .92rem; margin-right: .3em; }
.price__amount { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price__none { font-weight: 600; color: var(--ink); }
.price__note { display: block; margin-top: .15rem; font-size: .82rem; color: var(--muted); }

/* Range sections on /pods/ */

main > section.range { padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.range__blurb { color: var(--muted); }

/* ---------- Product page ---------- */

main > section.crumbs-bar { padding-top: 1.25rem; padding-bottom: 0; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0; padding: 0;
  list-style: none;
  font-size: .92rem;
  color: var(--muted);
  max-width: none;
}
.crumbs li + li::before {
  content: "/";
  content: "/" / "";
  padding: 0 .55em;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--ink); }

main > section.product-hero { padding-top: 1.5rem; }
.product-hero__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .product-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
}
.product-media {
  margin: 0;
  overflow: hidden;
  background: var(--tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.product-media__frame { display: grid; place-items: center; aspect-ratio: 4 / 3; }
.product-media__frame img { width: 100%; height: 100%; object-fit: contain; }
.product-media__frame img.media-img--placeholder { padding: 2%; }
.product-media figcaption {
  padding: .6rem 1rem;
  font-size: .85rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.price-block { margin: 1rem 0 1.25rem; }
.price-block .price__amount { font-size: 2.1rem; }
.price-block .price__none { font-size: 1.4rem; }
.price-block .price__note { font-size: .9rem; }
.price-block .price__hint { display: block; margin-top: .15rem; font-size: .9rem; color: var(--muted); }

.keyfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.25rem 0;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.keyfacts > div { padding: .8rem 1rem; background: var(--surface); }
.keyfacts dt { font-size: .76rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.keyfacts dd { margin: .1rem 0 0; font-size: 1.08rem; font-weight: 650; font-variant-numeric: tabular-nums; }

.delivery-line { max-width: none !important; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); }
.delivery-line strong { color: var(--ink); }

.product-details__grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .product-details__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3.5rem; }
}
.spec-table th { width: 40%; font-weight: 500; color: var(--muted); }
.spec-table td { color: var(--ink); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--border); }
.spec-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); max-width: 60ch; }

/* ---------- Forms ---------- */

.form { max-width: 46rem; }
.form-intro { color: var(--muted); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: minmax(0, 1fr); margin-bottom: 1.25rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: .3rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint, .hint { margin: 0 0 .4rem; font-size: .9rem; color: var(--muted); }
.field .hint:last-child { margin: .3rem 0 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  display: block;
  width: 100%;
  min-height: 2.9rem;
  padding: .6rem .8rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  border: 1.5px solid var(--control);
  border-radius: var(--radius);
}
textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-tint);
}
.field-error { margin: .35rem 0 0; font-size: .92rem; font-weight: 500; color: var(--danger); }

.field--check { display: flex; align-items: flex-start; gap: .7rem; }
.field--check input { flex: none; width: 1.3rem; height: 1.3rem; margin: .2rem 0 0; accent-color: var(--accent); }
.field--check label { margin: 0; font-weight: 400; }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-errors:empty { display: none; }
.form-errors {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--danger-tint);
  border: 1px solid #E8B9B5;
  border-left: 4px solid var(--danger);
  border-radius: var(--radius);
}
.form-errors p { margin: 0 0 .4rem; font-weight: 600; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--danger); }

.form-actions { margin: 0 0 .75rem; }
.form-note { font-size: .9rem; color: var(--muted); max-width: 60ch; }

.fallback { margin-top: 1.25rem; }
.fallback label { display: block; margin: 1rem 0 .3rem; font-weight: 600; }
.fallback__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 0; }
.fallback textarea { font-size: .92rem; min-height: 11rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--tint); border-top: 1px solid var(--border); font-size: .95rem; }
.site-footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 2.75rem var(--gutter) 2rem;
}
@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; }
}
.footer-legal p, .footer-legal address { margin: 0 0 .55rem; max-width: 46ch; }
.footer-legal address { font-style: normal; }
.footer-legal__name { font-size: 1.02rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .site-footer a { color: var(--ink); }
.footer-nav a { text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding: 1rem var(--gutter) 1.75rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--muted);
}
.site-footer__bar p { margin: 0; }
.site-footer__bar nav { display: flex; gap: 1.25rem; }
.site-footer__bar a { color: var(--muted); }
.site-footer__bar a:hover { color: var(--accent); }

/* ---------- Motion and print ---------- */

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

@media print {
  body { background: #fff; font-size: 11pt; }
  .skip-link, .nav-desktop, .nav-mobile, .footer-nav, .cta-band, .btn { display: none !important; }
  main > section { padding: 1rem 0; }
  a { color: inherit; }
}
