/* Pure Noble Kava public site. System fonts only; no external requests. */
:root {
  --clay: #ac512d;
  --clay-deep: #8e3f20;
  --cream: #faf5e9;
  --sand: #f3ead8;
  --sand-deep: #eadfc8;
  --ink: #26221f;
  --ink-soft: #4d453e;
  --muted: #5f564d;
  --teal: #426365;
  --teal-soft: #dde6e3;
  --line: #ded5c6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(38, 34, 31, .06), 0 12px 32px -18px rgba(38, 34, 31, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; letter-spacing: .02em; }
i, em { font-style: italic; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
/* On the dark bands the teal ring is only 2.4:1; cream keeps the focus ring at 3:1 or better. */
:is(.band-ink, .site-footer, .tier-chips) :focus-visible { outline-color: var(--cream); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--cream); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header */

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 245, 233, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; font-family: var(--serif); }
.brand-name { font-size: 1.22rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-kava { font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 4px; padding-left: .2em; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { display: block; padding: 8px 10px; text-decoration: none; color: var(--ink-soft); font-size: .9375rem; border-radius: 4px; }
.nav-desktop a:hover { color: var(--clay-deep); }
.nav-desktop a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--clay); border-radius: 0; }
.nav-mobile { display: none; }

/* ---------- Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--clay); color: #fff; border: 1.5px solid var(--clay); border-radius: 999px;
  padding: 13px 26px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--clay-deep); }
.btn-small { padding: 9px 18px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--clay-deep); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link .i { width: 18px; height: 18px; }
.text-link-light { color: var(--cream); }
.text-link-light:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 28px; }

.eyebrow { font: 600 .75rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.eyebrow-light { color: #a9c4c2; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 40em; }
.muted { color: var(--muted); }
.fineprint { font-size: .875rem; color: var(--muted); margin-top: 20px; }
.tag { display: inline-block; font: 600 .6875rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; vertical-align: middle; margin: 0; }
.tag-draft { background: var(--teal-soft); color: #2f4a4c; }
.notice { border-left: 3px solid var(--teal); background: var(--teal-soft); color: #22383a; padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; max-width: 46em; }
.notice-warn { border-color: var(--clay); background: #f6dccd; color: #5e2711; }
.draft-flag { margin-top: 18px; background: #f6dccd; color: #5e2711; padding: 12px 16px; border-radius: var(--radius); border: 1px dashed #c4805e; max-width: 46em; }

/* ---------- Pattern art */
.pattern-strip { background: url("/img/pattern-strip.png") repeat-y 0 0 / 100% auto; }
.pattern-band { height: 34px; background: url("/img/pattern-band.png") repeat-x 0 0 / auto 100%; }

/* ---------- Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-strip { position: absolute; inset: 0 auto 0 0; width: clamp(28px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); padding-left: calc(var(--gutter) + clamp(28px, 5vw, 72px)); }
.display { font-size: clamp(3rem, 8.2vw, 6.4rem); line-height: .98; letter-spacing: -.03em; margin-bottom: .32em; }
.display em { color: var(--clay); font-style: italic; display: inline-block; }
.tagline { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.hero-figure { margin: 0; position: relative; justify-self: center; width: min(100%, 420px); }
.arch { border-radius: 999px 999px 8px 8px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-seal { position: absolute; width: 34%; left: -12%; bottom: 8%; filter: drop-shadow(0 10px 20px rgba(38, 34, 31, .22)); }

/* ---------- Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tight { padding-top: clamp(36px, 5vw, 64px); }
.section-sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.band { padding: clamp(36px, 5vw, 56px) 0; }
.band-trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--ink); color: #e9e1d2; padding: clamp(56px, 8vw, 104px) 0; }
.band-ink h2 { color: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-center { align-items: center; }
/* Grid children may shrink below their content's width, so long labels wrap instead of pushing
   the page sideways at 320 px or with large text (WCAG 1.4.10 reflow). */
:is(.hero-grid, .split, .offer-grid, .quote-wrap, .find-grid, .prose-grid, .care, .form-grid, .check-grid, .origin-grid, .pay-grid, .compare) > * { min-width: 0; }

.page-head { position: relative; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--cream), var(--sand)); overflow: hidden; }
.page-head-strip { position: absolute; inset: 0 0 0 auto; width: clamp(18px, 3.4vw, 48px); }
.page-head-inner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); padding-right: calc(var(--gutter) + clamp(18px, 3.4vw, 48px)); }
.page-head h1 { max-width: 15em; }

/* Trust row */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { padding: 6px clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .i { width: 34px; height: 34px; color: var(--clay); margin-bottom: 12px; }
.trust-item h3 { font-size: 1.2rem; margin-bottom: .3em; }
.trust-item p { font-size: .9375rem; color: var(--ink-soft); margin: 0; }

/* Origins */
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.origin-card { position: relative; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.origin-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid var(--teal-soft); }
.origin-vanuatu::after { border-color: #f4dccd; }
.origin-index { font-family: var(--serif); font-size: .95rem; color: var(--clay); letter-spacing: .1em; margin-bottom: 8px; }
.origin-card h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.origin-card p { color: var(--ink-soft); max-width: 30em; position: relative; }
.pill-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .875rem; background: var(--cream); }

.range-photo { margin: 0; background: var(--sand); }
.range-photo img { width: 100%; max-height: 680px; object-fit: cover; }
.range-photo figcaption { font-size: .875rem; color: var(--muted); padding-top: 12px; padding-bottom: 12px; }

.compare-mini { margin: 0; border-top: 1px solid var(--line); }
.compare-mini div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.compare-mini dt { font-family: var(--serif); font-size: 1.35rem; }
.compare-mini dd { margin: 0; color: var(--ink-soft); align-self: center; }

.tier-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #4a423b; border: 1px solid #4a423b; border-radius: var(--radius); overflow: hidden; }
.tier-chips li { background: var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.tier-chips span { font-size: .875rem; color: #c9bfae; }
.tier-chips strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--cream); font-variant-numeric: tabular-nums; }

.mark-panel { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--sand); border-radius: var(--radius); background-image: radial-gradient(circle at 50% 50%, var(--cream) 0 34%, transparent 35%); }
.mark-panel img { width: 34%; max-width: 168px; }
.mark-panel-hero { aspect-ratio: 4 / 5; border-radius: 999px 999px 8px 8px; box-shadow: var(--shadow); background-image: radial-gradient(circle at 50% 50%, var(--cream) 0 44%, transparent 45%); }
.mark-panel-hero img { width: 72%; max-width: 300px; }

/* ---------- Shop */
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.product-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.product-grid-two { grid-template-columns: repeat(2, 1fr); }
.product-mark { display: grid; place-items: center; padding: 28px 0; background: var(--sand); border-bottom: 1px solid var(--line); }
.product-mark img { width: 96px; height: 96px; }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.55rem; margin-bottom: .15em; }
.product-body .eyebrow { margin-bottom: 8px; }
.product-body .muted { font-size: .9rem; }
.pack-prices { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-variant-numeric: tabular-nums; }
.pack-prices th, .pack-prices td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.pack-prices thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.pack-prices td { font-weight: 600; }
.product-body .btn { margin-top: auto; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.table-wrap:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.price-table, .range-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; padding: 16px 20px 4px; font-size: .8125rem; color: var(--muted); }
.price-table th, .price-table td, .range-table th, .range-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tbody tr:last-child > *, .range-table tbody tr:last-child > * { border-bottom: 0; }
.price-table thead th, .range-table thead th { font: 600 .75rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price-table tbody th { font-weight: 600; white-space: nowrap; }
.price-table strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--clay-deep); }
.price-table td:last-child { color: var(--ink-soft); font-size: .9375rem; }
.range-table tbody tr:nth-child(4n+1), .range-table tbody tr:nth-child(4n+2) { background: rgba(243, 234, 216, .45); }
.range-table code { color: var(--teal); white-space: nowrap; }

.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--clay); font-size: 1.05rem; letter-spacing: .08em; margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; }
.steps-three { grid-template-columns: repeat(3, 1fr); }
.steps p { color: var(--ink-soft); font-size: .975rem; margin: 0; }

/* ---------- Bulk */
.offer-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 16px; height: 9px; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(-45deg); }
.proof-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: proof; }
.proof-grid li { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.proof-grid .i { width: 30px; height: 30px; color: var(--teal); margin-bottom: 14px; }
.proof-grid p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.proof-grid-three { grid-template-columns: repeat(3, 1fr); }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.download { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.download > .i { width: 28px; height: 28px; color: var(--clay); margin-top: 2px; }
.download h3 { font-size: 1.2rem; margin-bottom: .2em; }
.download p { margin: 0 0 8px; color: var(--ink-soft); font-size: .95rem; }
.download .tag { text-transform: none; letter-spacing: .01em; font-size: .78rem; line-height: 1.35; padding: 4px 8px; }
.file-meta { font-size: .8125rem; color: var(--muted); white-space: nowrap; }

/* ---------- Quote form */
.quote-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote-form { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--shadow); }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.quote-form > .field { margin-bottom: 18px; }
.field label, .checks legend { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: .8125rem; color: var(--muted); margin: 0; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #857a6b; border-radius: 4px; padding: 11px 12px; width: 100%; min-height: 46px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--clay); }
.field-error { margin: 0; font-size: .875rem; font-weight: 600; color: #8e3f20; }
.checks[aria-invalid="true"] .check { border-color: var(--clay); }
.checks .field-error { margin-top: 10px; }
.form-status ul { margin: 6px 0 0; padding-left: 1.2em; }
.form-status li { margin: 2px 0; }
.form-status a { color: inherit; font-weight: 600; }
.checks legend { margin-bottom: 10px; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.check { overflow-wrap: anywhere; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 4px; padding: 9px 12px; cursor: pointer; font-size: .9375rem; background: #fff; min-height: 44px; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--clay); flex: none; }
.check:has(input:checked) { border-color: var(--clay); background: #fdf3ec; }
.check-solo { display: inline-flex; margin-bottom: 20px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; }
.form-status.ok { background: var(--teal-soft); color: #1f3537; border-left: 3px solid var(--teal); }
.form-status.err { background: #f6dccd; color: #5e2711; border-left: 3px solid var(--clay); }
.form-status p:last-child { margin: 0; }

/* ---------- Know your kava */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.compare-two { grid-template-columns: repeat(2, 1fr); }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); background: #fffdf8; }
.compare-card h3 { font-size: 2rem; }
.compare-card p { color: var(--ink-soft); }
.compare-card dl { margin: 18px 0 0; border-top: 1px solid var(--line); }
.compare-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.compare-card dt { color: var(--muted); }
.compare-card dd { margin: 0; text-align: right; }
.care { border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px 48px; }
.care ul { margin: 0; padding-left: 1.1em; }
.care li { margin-bottom: 8px; }
.care-note { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.05rem; }

/* ---------- Find us */
.find-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pickup-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.pickup-card h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1.7rem; }
.pickup-card h2 .i { width: 26px; height: 26px; color: var(--clay); }
.facts { margin: 0 0 8px; }
.facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9375rem; }
.facts dd { margin: 0; font-weight: 600; }
.map-figure { margin: 0; }
.map { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.map-figure figcaption { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.pay-card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pay-card p { margin: 0; color: var(--ink-soft); }

/* ---------- About, legal */
.prose-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: clamp(28px, 6vw, 88px); }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.about-aside img { width: 100%; max-width: 280px; margin: 0 auto; }
.about-aside .fineprint { text-align: center; }
.notfound { text-align: center; }
.notfound img { margin: 0 auto 20px; }
.notfound .lead { margin-left: auto; margin-right: auto; }
.notfound .actions { justify-content: center; }

/* ---------- Footer */
.site-footer { background: var(--ink); color: #d8cfbf; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 36px; }
.footer-brand img { width: 104px; margin-bottom: 18px; background: var(--cream); border-radius: 10px; padding: 10px; box-sizing: content-box; }
.footer-brand p { max-width: 22em; }
.footer-h { font: 600 .75rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #a9c4c2; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-small { border-top: 1px solid #4a423b; padding-top: 20px; padding-bottom: 28px; font-size: .8125rem; color: #bdb3a2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-small p { margin: 0; }

/* ---------- Responsive */
@media (max-width: 1080px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .9375rem; min-height: 44px; }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; background: var(--ink); position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -5px; } .burger::after { top: 5px; }
  .nav-mobile[open] .burger { background: transparent; }
  .nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
  .nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
  .nav-mobile nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
  .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
  .nav-mobile li a:not(.btn) { display: block; padding: 12px 12px; text-decoration: none; color: var(--ink); border-radius: 4px; font-size: 1.05rem; }
  .nav-mobile li a:not(.btn):hover { background: var(--sand); }
  .nav-mobile li a[aria-current="page"] { background: var(--sand); box-shadow: inset 3px 0 0 var(--clay); }
  .nav-mobile .btn { width: 100%; margin-top: 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-three, .proof-grid-three { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .split, .offer-grid, .quote-wrap, .find-grid, .prose-grid, .compare, .care { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 40px; }
  .hero-figure { width: min(78%, 360px); }
  .trust { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-aside { order: -1; }
  .about-aside img { max-width: 180px; margin: 0; }
  .about-aside .fineprint { text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-row { min-height: 64px; gap: 12px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.02rem; }
  .origin-grid, .pay-grid, .tier-chips { grid-template-columns: 1fr; }
  .tier-chips { grid-template-columns: 1fr 1fr; }
  .tier-chips li { padding: 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 0; }
  .trust-item, .trust-item:nth-child(3) { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .trust-item:first-child { border-top: 0; }
  .trust-item .i { grid-row: span 2; margin: 2px 0 0; }
  .proof-grid, .steps, .form-grid, .check-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .compare-mini div { grid-template-columns: 1fr; gap: 4px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .price-table th, .price-table td, .range-table th, .range-table td { padding: 12px 12px; }
  /* Bulk price tiers become stacked cards: order size and price on one line, the detail below. */
  .price-table, .price-table tbody { display: block; }
  .price-table caption { display: block; padding: 14px 16px 4px; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody tr > * { display: block; padding: 0; border: 0; }
  .price-table td.line-note { grid-column: 1 / -1; font-size: .9375rem; }
  .download { grid-template-columns: auto 1fr; }
  .file-meta { grid-column: 2; margin-top: -10px; }
  .hero-seal { width: 30%; left: -6%; }
  .footer-small { flex-direction: column; }
}

@media (max-width: 400px) {
  /* 320 px (400 % zoom): one column so the price chips fit. */
  .check-grid, .tier-chips { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer .pattern-band, .quote-form { display: none; }
}

/* Narrow phones: fit the tables without sideways scrolling. */
@media (max-width: 520px) {
  .range-table th, .range-table td, .price-table th, .price-table td { padding: 10px 8px; font-size: .875rem; }
  .range-table thead th, .price-table thead th { letter-spacing: .06em; }
}
@media (max-width: 520px) {
  /* Range rows become stacked cards: code and price, then origin, mix and form. Nothing is hidden. */
  .range-table, .range-table tbody { display: block; }
  .range-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .range-table tbody tr { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "code code code from" "origin mix form form"; gap: 2px 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .range-table tbody tr:last-child { border-bottom: 0; }
  .range-table tbody tr > * { display: block; padding: 0; border: 0; font-size: .875rem; }
  .range-table td:nth-child(1) { grid-area: code; }
  .range-table td:nth-child(2) { grid-area: origin; }
  .range-table td:nth-child(3) { grid-area: mix; }
  .range-table td:nth-child(4) { grid-area: form; }
  .range-table td:nth-child(5) { grid-area: from; }
  .range-table td:nth-child(n+2):not(.num) { color: var(--ink-soft); }
  .range-table code { font-size: .875rem; }
}
