/* ClearWeek Studio. Warm paper background, deep green ink, one serif for headings and a
   highly legible sans for reading. Self-hosted fonts (SIL OFL); nothing loads from third parties. */

@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #f7f4ec;
  --paper-2: #efe9dc;
  --card: #fffdf8;
  --ink: #1c2420;
  --ink-2: #48534d;
  --line: #d9d1c1;
  --line-2: #e7e1d4;
  --green: #2e5a44;
  --green-dark: #1f4433;
  --green-tint: #e2eae3;
  --mark: #f0dfa6;
  --soon-bg: #fbf1d8;
  --soon-line: #e4cd8c;
  --error: #9b2c1f;
  --footer: #1f3a2d;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(48, 38, 16, .06), 0 10px 30px -12px rgba(48, 38, 16, .18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
main { display: block; }
main:focus { outline: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.012em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); }
h3 { font-size: 1.22rem; }
p, ul, ol, dl, table, figure { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .3em; }
strong { font-weight: 700; }
abbr[title] { text-decoration: none; }
code { font-size: .92em; background: var(--paper-2); padding: .05em .35em; border-radius: 4px; }

a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; border-radius: 3px; }

.container { width: min(100% - 32px, 1140px); margin-inline: auto; }
.narrow { width: min(100% - 32px, 780px); margin-inline: auto; }
.container .narrow { width: 100%; max-width: 780px; }
.lead { font-size: 1.24rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: .94rem; }
.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; }
.mark { background: linear-gradient(transparent 55%, var(--mark) 55%, var(--mark) 90%, transparent 90%); padding: 0 .08em; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--green-dark); color: #fff; padding: .6em 1em; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* Header ------------------------------------------------------------------------------ */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.logo { flex: none; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav li { margin: 0; }
.nav a { display: inline-block; padding: .35em .7em; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 1.02rem; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--green-dark); background: var(--green-tint); font-weight: 700; }
@media (max-width: 559px) {
  .site-header nav { width: 100%; }
  .nav { justify-content: space-between; gap: 2px; margin-inline: -.45em; }
  .nav a { padding: .35em .45em; font-size: .98rem; }
}

/* Buttons ----------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: 10px; border: 2px solid var(--green); background: var(--green); color: #fff; font: 700 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-tint); color: var(--green-dark); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: #b9bfb9; border-color: #b9bfb9; color: #2d332f; cursor: not-allowed; }

/* Notices ----------------------------------------------------------------------------- */
.notice { border-radius: 10px; padding: .9em 1.1em; margin: 0 0 1.25rem; border: 1px solid var(--line); background: var(--card); }
.notice p { margin: 0; }
.notice-soon { background: var(--soon-bg); border-color: var(--soon-line); }
.callout { border-left: 4px solid var(--green); background: var(--green-tint); padding: .8em 1em; border-radius: 0 8px 8px 0; }

/* Hero -------------------------------------------------------------------------------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 8px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.4em; }
.hero-prices { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 1rem; color: var(--ink-2); }
.hero-prices li { margin: 0; display: flex; flex-wrap: wrap; gap: .2em .6em; align-items: baseline; }
.hero-prices .price { font-size: 1rem; }
.hero-figure { margin: 0; }
.hero-figure img { border-radius: 16px; box-shadow: var(--shadow); }
.hero-figure figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .6em; text-align: right; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 56px; }
}

/* Sections ---------------------------------------------------------------------------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-sm { padding: 28px 0 40px; }
.band { background: var(--paper-2); border-block: 1px solid var(--line-2); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--ink-2); }
.page-header { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.page-header h1 { margin-bottom: .3em; }

.breadcrumb ol { list-style: none; margin: 0 0 1.1em; padding: 0; display: flex; flex-wrap: wrap; gap: .2em; font-size: .95rem; color: var(--ink-2); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 .45em; color: #9a9384; }

/* Prices ------------------------------------------------------------------------------ */
.price { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.price abbr { font-family: var(--sans); font-size: .62em; font-weight: 700; color: var(--ink-2); margin-left: .3em; letter-spacing: .04em; }

/* Kit cards --------------------------------------------------------------------------- */
.kit-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .kit-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.kit { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.kit-image { display: block; background: #f3efe5; border-bottom: 1px solid var(--line-2); }
.kit-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kit-name { font-size: 1.6rem; margin-bottom: .2em; }
.kit-name a { color: var(--ink); text-decoration: none; }
.kit-name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.kit-price { margin-bottom: .7em; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em .7em; }
.kit-terms { font-size: .95rem; color: var(--ink-2); }
.kit-format { font-size: .95rem; color: var(--ink-2); margin-top: auto; padding-top: .4em; }
.kit .btn { margin-top: .4em; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.1em; }
.check-list li { display: flex; gap: .55em; align-items: flex-start; margin: 0; padding: .18em 0; }
.tick { width: 1.15em; height: 1.15em; flex: none; margin-top: .25em; color: var(--green); }

/* Page previews ----------------------------------------------------------------------- */
.look-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .look-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.page-shot { margin: 0; }
.page-shot img { background: #fff; border-radius: 4px; box-shadow: var(--shadow); }
.page-shot figcaption { font-size: .95rem; color: var(--ink-2); margin-top: .8em; }

/* Fact grid --------------------------------------------------------------------------- */
.fact-grid { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.fact-grid > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.fact-grid dt { font-weight: 700; }
.fact-grid dd { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) {
  .fact-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .fact-grid > div { grid-template-columns: 9.5rem 1fr; gap: 16px; }
}

/* Steps ------------------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: step; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: .7em; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-2); }
.after-steps { margin-top: 1.4rem; }

.timeline-steps { list-style: none; padding: 0; margin: 0 0 2.5rem; counter-reset: step; }
.timeline-steps > li { counter-increment: step; position: relative; padding: 0 0 2rem 3.4rem; margin: 0; }
.timeline-steps > li::before { content: counter(step); position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }
.timeline-steps > li::after { content: ""; position: absolute; left: 1.12rem; top: 2.7rem; bottom: .4rem; width: 2px; background: var(--line); }
.timeline-steps > li:last-child::after { display: none; }
.timeline-steps h2 { font-size: 1.45rem; margin-bottom: .35em; }

.prose-block { margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.trouble { margin: 0; }
.trouble > div { padding: 1rem 0; border-bottom: 1px solid var(--line-2); }
.trouble dt { font-weight: 700; margin-bottom: .2em; }
.trouble dd { margin: 0; color: var(--ink-2); }
.trouble dd p:last-child, .trouble dd ul:last-child { margin-bottom: 0; }
.trouble.big dt { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.help-panel { margin: 2rem 0 3rem; }

/* FAQ --------------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); margin-bottom: 1.4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 2.4rem 1rem 0; position: relative; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 1.35rem; width: .7rem; height: .7rem; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq summary:hover { color: var(--green-dark); }
.faq .answer { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 68ch; }
.faq .answer > :last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 2.6rem; }
.faq-group h2 { font-size: 1.55rem; }
.jump ul { list-style: none; padding: 0; margin: 0 0 2.4rem; display: flex; flex-wrap: wrap; gap: 8px; }
.jump li { margin: 0; }
.jump a { display: inline-block; padding: .35em .85em; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; font-size: .98rem; }
.jump a:hover { border-color: var(--green); }

/* Panels, tables ---------------------------------------------------------------------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 1.35rem; }
.panel > :last-child { margin-bottom: 0; }

.table-wrap { position: relative; overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap table { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: .7em .9em; border-bottom: 1px solid var(--line-2); }
thead th { background: var(--green-tint); color: var(--green-dark); font-weight: 700; border-bottom: 1px solid var(--line); }
tbody tr:last-child > * { border-bottom: 0; }
.compare { min-width: 560px; }
.compare tbody th { font-weight: 400; }
.compare td { text-align: center; white-space: nowrap; }
.compare thead th:not(:first-child) { text-align: center; }
.compare .yes .tick { margin: 0 auto; width: 1.3em; height: 1.3em; }
.compare .no { color: #8f8a7e; }
.compare .price { font-size: 1.2rem; }
.file-table { min-width: 560px; }
.file-name { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; word-break: break-all; }
.compat { min-width: 600px; }
.compat tbody th { font-weight: 700; }
table.kv { border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--card); }
table.kv th { width: 34%; font-weight: 700; background: #faf7f0; }

/* Product page ------------------------------------------------------------------------ */
.product { padding-top: clamp(24px, 4vw, 44px); }
.product-top { display: grid; gap: 28px; grid-template-areas: "intro" "gallery" "buy"; margin-bottom: 1rem; }
.product-intro { grid-area: intro; }
.gallery { grid-area: gallery; }
.buy-box { grid-area: buy; }
@media (min-width: 940px) {
  .product-top { grid-template-columns: 1.08fr .92fr; grid-template-areas: "gallery intro" "gallery buy"; column-gap: 52px; row-gap: 22px; align-items: start; }
}
.product-desc { font-size: 1.16rem; color: var(--ink-2); }
.gallery-main { margin: 0; background: #ece6d8; border-radius: 14px; padding: clamp(14px, 3vw, 28px); }
.gallery-main img { margin-inline: auto; max-height: 760px; width: auto; box-shadow: var(--shadow); background: #fff; }
.gallery-main figcaption { font-size: .95rem; color: var(--ink-2); margin-top: .9em; text-align: center; }
.gallery-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs li { margin: 0; }
.gallery-thumbs a { display: grid; place-items: center; height: 100%; padding: 6px; border: 2px solid var(--line); border-radius: 8px; background: var(--card); }
.gallery-thumbs a:hover { border-color: var(--green); }
.gallery-thumbs a[aria-current="true"] { border-color: var(--green-dark); }
.gallery-thumbs img { max-height: 92px; width: auto; }

.buy-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.buy-price { margin: 0 0 .1em; }
.buy-price .price { font-size: 2.2rem; }
.buy-terms { color: var(--ink-2); margin-bottom: 1rem; }
.buy-box .btn { margin-bottom: 1.2rem; }
.facts { margin: 0; border-top: 1px solid var(--line-2); }
.facts > div { padding: .7em 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 6.2rem 1fr; gap: 10px; font-size: 1rem; }
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-2); }

.detail { display: grid; gap: 8px 48px; padding: 2.6rem 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .detail { grid-template-columns: 15rem 1fr; } }
.detail > h2 { font-size: 1.6rem; }
.detail-body { max-width: 72ch; }
.detail-body h3 { margin-top: 1.6em; }
.detail-body h3:first-child { margin-top: 0; }
.detail-body > :last-child { margin-bottom: 0; }
.page-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.page-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px; padding: .8em 0; border-bottom: 1px solid var(--line-2); margin: 0; }
.page-list .pg { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--green); }
.page-list p { margin: .1em 0 0; color: var(--ink-2); }
.sheet-list { margin: 0 0 1.2em; border-top: 1px solid var(--line-2); }
.sheet-list > div { padding: .6em 0; border-bottom: 1px solid var(--line-2); display: grid; gap: 2px 18px; }
@media (min-width: 640px) { .sheet-list > div { grid-template-columns: 10rem 1fr; } }
.sheet-list dt { font-weight: 700; }
.sheet-list dd { margin: 0; color: var(--ink-2); }
.file-line { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9rem; color: var(--ink-2); margin-bottom: .6em; }
.fit { display: grid; gap: 8px 36px; }
@media (min-width: 700px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit h3 { font-size: 1.12rem; margin-top: 0 !important; }

/* Checkout review --------------------------------------------------------------------- */
.checkout-grid { display: grid; gap: 22px; padding-bottom: 64px; }
@media (min-width: 940px) { .checkout-grid { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 32px; } }
.checkout-main { display: grid; gap: 22px; }
.order-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px 16px; align-items: center; }
.order-item img { border-radius: 8px; border: 1px solid var(--line-2); width: 96px; }
.order-item p { margin: 0; }
.order-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.order-name a { color: var(--ink); text-decoration: none; }
.order-price { grid-column: 1 / -1; }
@media (min-width: 560px) { .order-item { grid-template-columns: 120px 1fr auto; } .order-item img { width: 120px; } .order-price { grid-column: auto; } }
.mini-steps { padding-left: 1.3em; }
.seller { margin: 0; }
.seller > div { display: grid; gap: 2px 16px; padding: .55em 0; border-bottom: 1px solid var(--line-2); }
.seller > div:last-child { border-bottom: 0; }
@media (min-width: 560px) { .seller > div { grid-template-columns: 11rem 1fr; } }
.seller dt { font-weight: 700; }
.seller dd { margin: 0; color: var(--ink-2); }
.summary { position: relative; }
@media (min-width: 940px) { .summary { position: sticky; top: 16px; } }
.summary-rows { margin: 0 0 1em; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: .55em 0; border-bottom: 1px solid var(--line-2); }
.summary-rows dt { color: var(--ink-2); }
.summary-rows dd { margin: 0; text-align: right; font-weight: 700; }
.summary-rows .total { border-bottom: 0; font-size: 1.2rem; padding-top: .8em; }
.summary-rows .total dt { color: var(--ink); font-weight: 700; }
.consent-form fieldset { border: 0; margin: 0 0 1em; padding: 0; }
.consent-form legend { font-weight: 700; font-size: 1.08rem; margin-bottom: .6em; padding: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: .85em; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .7em; background: #fff; font-size: 1rem; }
.consent input { width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; accent-color: var(--green); }
.consent label { cursor: pointer; }
.consent-help { font-size: .97rem; color: var(--ink-2); margin: 0 0 .4em; }
.consent-help summary { cursor: pointer; color: var(--green-dark); font-weight: 700; padding: .2em 0; }
.consent-help p { margin: .5em 0; }
.form-error { color: var(--error); font-weight: 700; }
.policy-links { font-size: .95rem; margin: 1em 0 0; text-align: center; }

/* Contact ----------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-main { font-size: 1.18rem; font-weight: 700; font-style: normal; }
.contact-more { padding: 2.4rem 0 3.6rem; }
address { font-style: normal; }

/* Prose and legal pages --------------------------------------------------------------- */
.prose { padding-bottom: 3.5rem; }
.prose h2 { margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.legal { display: grid; gap: 28px; padding-bottom: 64px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 17rem minmax(0, 1fr); gap: 56px; align-items: start; } }
.legal-body { max-width: 74ch; padding-bottom: 0; }
.legal-body section { padding-top: .6rem; }
.legal-body section h2 { font-size: 1.45rem; margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal-body h2 .num { color: var(--green); margin-right: .15em; }
.legal-body h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; letter-spacing: 0; margin: 1.3em 0 .4em; }
.legal-toc details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.legal-toc summary { cursor: pointer; font-weight: 700; }
.legal-toc ol { list-style: none; padding: 0; margin: .7em 0 0; font-size: .97rem; }
.legal-toc li { margin: 0; }
.legal-toc a { display: block; padding: .28em 0; color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--green-dark); text-decoration: underline; }
@media (min-width: 1000px) { .legal-toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } }
.updated { color: var(--ink-2); font-size: 1rem; }
.in-short { background: var(--green-tint); border-radius: var(--radius); padding: 18px 22px; margin: 1.4em 0 1em; }
.in-short h2 { font-size: 1.25rem; margin: 0 0 .5em; padding: 0; border: 0; }
.in-short ul { margin-bottom: .6em; }
.in-short .small { margin: 0; color: var(--ink-2); }
.model-form { border: 1px dashed #a39c8c; border-radius: 10px; padding: 14px 18px; background: var(--card); font-size: 1rem; }
.model-form p { margin: 0 0 .5em; }

/* Footer ------------------------------------------------------------------------------ */
.site-footer { background: var(--footer); color: #e5ece6; padding: 52px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer :focus-visible { outline-color: #f0dfa6; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: #fff; margin-bottom: .6em; }
.footer-brand .logo rect { fill: #fff; }
.footer-brand .logo path { stroke: var(--footer); }
.footer-about p { max-width: 34ch; }
.footer-heading { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9cbbf; margin-bottom: .9em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .45em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .94rem; color: #cbd8cf; }
.footer-bottom p { margin: 0; }

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

@media print {
  .site-header nav, .site-footer, .skip-link, .legal-toc { display: none; }
  body { background: #fff; }
}

/* Grid and flex children may shrink below their content width, so wide tables scroll inside
   their own wrapper instead of widening the page. */
.hero-grid > *, .kit-grid > *, .product-top > *, .detail > *, .checkout-grid > *, .checkout-main > *, .legal > *, .footer-grid > *, .contact-grid > *, .fact-grid > div > * { min-width: 0; }
