/* Surry Village Creations — shared styles
   Layout: one centered column (max 1120px); shop grid of print cards, a sticky
   top bar with the Heritage mark, and a slide-in cart. */
:root {
  --paper: #F4F1E8;
  --card: #FBFAF5;
  --ink: #1D241F;
  --muted: #59625B;
  --line: #DBD5C6;
  --pine: #2F6B3A;
  --pine-deep: #1F4D2A;
  --wood: #A8743F;
  --wood-deep: #7A4E26;
  --btn-bg: #1F4D2A;
  --btn-fg: #F7F4EC;
  --btn-hover: #2F6B3A;
  --tint: #E7EDE3;
  --brand: #1F4D2A;
  --danger: #9B2C1F;
  --shadow: 0 1px 2px rgba(29, 36, 31, .06), 0 8px 24px rgba(29, 36, 31, .08);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-label: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.2rem;
  --step-4: clamp(2.2rem, 5vw, 3.4rem);
  --radius: 10px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121A15;
    --card: #19241D;
    --ink: #ECE8DD;
    --muted: #A7B1A9;
    --line: #2D3A31;
    --pine: #6DB27A;
    --pine-deep: #3F7F4C;
    --wood: #C9935A;
    --wood-deep: #E2B985;
    --btn-bg: #7CC089;
    --btn-fg: #0E1611;
    --btn-hover: #93CF9E;
    --tint: #1F2D23;
    --brand: #ECE8DD;
    --danger: #F08A7A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121A15;
  --card: #19241D;
  --ink: #ECE8DD;
  --muted: #A7B1A9;
  --line: #2D3A31;
  --pine: #6DB27A;
  --pine-deep: #3F7F4C;
  --wood: #C9935A;
  --wood-deep: #E2B985;
  --btn-bg: #7CC089;
  --btn-fg: #0E1611;
  --btn-hover: #93CF9E;
  --tint: #1F2D23;
  --brand: #ECE8DD;
  --danger: #F08A7A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: -.01em; }
h2 { font-size: var(--step-3); letter-spacing: -.005em; }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wood-deep);
}
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--card); padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 54px; height: 35px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--brand); }
.brand-name span { font-family: var(--font-label); font-weight: 600; font-size: .68rem; letter-spacing: .42em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav a {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .03em;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
}
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -2px 0 var(--pine); border-radius: 0; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 1rem var(--font-label);
  letter-spacing: .03em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer;
}
.cart-btn:hover { background: var(--btn-hover); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--btn-fg); color: var(--btn-bg);
  font-size: .8rem; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
}

/* Heritage mark: colors come from tokens so it follows the theme */
.mk-back { fill: var(--pine-deep); }
.mk-pine { fill: var(--pine); }
.mk-wood { fill: var(--wood); }
.mk-roof { fill: var(--wood-deep); }
.mk-house { stroke: var(--paper); }
.mk-hole { fill: var(--paper); }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1.05rem var(--font-label); letter-spacing: .03em;
  min-height: 46px; padding: 10px 20px; border-radius: 8px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg);
}
.btn:hover { background: var(--btn-hover); color: var(--btn-fg); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font: 600 .95rem var(--font-label); letter-spacing: .04em; }
.field .hint { font-size: .85rem; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 10px 12px; min-height: 46px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 25%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice {
  border: 1px solid var(--line); background: var(--tint); border-radius: var(--radius);
  padding: 12px 14px; font-size: .95rem;
}
.notice.error { border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); color: var(--danger); background: var(--card); }

/* ---------- Page sections ---------- */
main { display: block; }
.section { padding-block: 56px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; max-width: 62ch; }

/* ---------- Shop ---------- */
.shop-intro { padding-block: 44px 24px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
.shop-intro p.lede { font-size: var(--step-1); color: var(--muted); max-width: 48ch; margin-top: 14px; }
.promise { display: grid; gap: 10px; font-size: .98rem; }
.promise div { display: flex; gap: 10px; align-items: baseline; }
.promise b { font-family: var(--font-label); font-weight: 600; letter-spacing: .04em; min-width: 7.5em; white-space: nowrap; color: var(--wood-deep); }
@media (max-width: 760px) { .shop-intro { grid-template-columns: minmax(0, 1fr); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  font: 600 .95rem var(--font-label); letter-spacing: .04em;
  padding: 8px 14px; min-height: 40px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1 / 1; background: var(--tint); position: relative; max-width: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.card-meta { font-size: .88rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.price { font: 700 1.2rem var(--font-label); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tag {
  position: absolute; top: 10px; left: 10px;
  font: 600 .75rem var(--font-label); letter-spacing: .12em; text-transform: uppercase;
  background: var(--card); color: var(--ink); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--line);
}
.placeholder-art { width: 100%; height: 100%; display: grid; place-items: center; }
.placeholder-art svg { width: 46%; height: auto; opacity: .55; }
.empty { padding: 48px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; }

/* ---------- Dialogs (product + cart) ---------- */
dialog { color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 0; }
dialog::backdrop { background: rgba(10, 16, 12, .5); }
.product-dialog { width: min(920px, calc(100vw - 32px)); border-radius: 14px; max-height: calc(100dvh - 48px); }
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pd-media { background: var(--tint); display: flex; flex-direction: column; gap: 10px; padding: 16px; min-width: 0; }
.pd-main { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--tint); max-width: 100%; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--card); }
.thumbs button[aria-current="true"] { border-color: var(--pine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pd-info h2 { font-size: var(--step-2); }
.pd-desc { white-space: pre-line; color: var(--ink); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; margin: 0; }
.specs dt { font: 600 .9rem var(--font-label); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.specs dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--tint); }
.qty output { min-width: 36px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.close-x {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.3rem; line-height: 1;
}
@media (max-width: 720px) {
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd-info { padding: 20px; }
}

.cart-dialog {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw);
  border-radius: 0; border-width: 0 0 0 1px;
}
.cart { display: flex; flex-direction: column; height: 100%; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: var(--step-2); }
.cart-head .close-x { position: static; }
.cart-lines { flex: 1; overflow-y: auto; padding: 8px 20px; display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: center; }
.line-img { width: 64px; height: 64px; border-radius: 6px; overflow: hidden; background: var(--tint); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 600; line-height: 1.3; }
.line .qty button { width: 34px; height: 34px; }
.line .qty output { min-width: 26px; }
.line-price { font: 600 1.05rem var(--font-label); font-variant-numeric: tabular-nums; text-align: right; }
.remove { background: none; border: 0; color: var(--muted); font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 4px 0; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: grid; gap: 10px; }
.sum { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sum.total { font: 700 1.2rem var(--font-label); letter-spacing: .02em; padding-top: 6px; border-top: 1px dashed var(--line); }
.small { font-size: .85rem; color: var(--muted); }

/* ---------- About & projects ---------- */
.about-hero { padding-block: 52px 40px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.about-hero p { font-size: var(--step-1); color: var(--muted); margin-top: 16px; max-width: 52ch; }
.about-hero .hero-mark svg { width: 100%; max-width: 360px; height: auto; margin-inline: auto; display: block; }
@media (max-width: 760px) { .about-hero { grid-template-columns: minmax(0, 1fr); } .about-hero .hero-mark { order: -1; } .about-hero .hero-mark svg { max-width: 220px; } }
.crafts { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.craft { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 3px solid var(--wood); }
.craft ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .98rem; }
.craft .best { font-size: .92rem; }
@media (max-width: 860px) { .crafts { grid-template-columns: minmax(0, 1fr); } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); font: 700 1.9rem var(--font-display); color: var(--wood); line-height: 1; }
.steps strong { font-family: var(--font-label); font-size: 1.1rem; letter-spacing: .03em; }
.steps p { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.project { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: 36px; }
.project + .project { border-top: 1px solid var(--line); }
.project:nth-of-type(even) .project-shot { order: -1; }
.project-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.project-text h3 { font-size: var(--step-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .97rem; }
.facts dt { font: 600 .85rem var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; }
@media (max-width: 860px) { .project { grid-template-columns: minmax(0, 1fr); } .project:nth-of-type(even) .project-shot { order: 0; } }

/* Mini mockups of each project, styled after the real sites */
.shot { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 100%; }
.shot-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: var(--tint); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.shot-bar span { margin-left: 8px; font: 500 .8rem var(--font-label); color: var(--muted); letter-spacing: .03em; }
/* BuildReport: drawing-sheet look (fixed light paper, like the real report) */
.br { background: #FDFDFB; color: #1E2328; padding: 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; font-family: var(--font-label); }
.br-plan { border: 1.5px solid #1E2328; aspect-ratio: 4 / 3; position: relative; max-width: 100%; }
.br-plan svg { width: 100%; height: 100%; }
.br-tbl { display: grid; gap: 0; border: 1.5px solid #1E2328; font-size: .82rem; align-content: start; }
.br-tbl div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-bottom: 1px solid #C8CCD0; font-variant-numeric: tabular-nums; }
.br-tbl div:last-child { border-bottom: 0; }
.br-tbl b { font-weight: 700; }
.br-tbl sup { color: #6B7178; }
.br-cap { grid-column: 1 / -1; font-size: .75rem; color: #6B7178; letter-spacing: .06em; text-transform: uppercase; }
/* Choose Tonight's Game: its own dark look */
.ctg { background: #1C1A17; color: #F2EADC; padding: 26px 22px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.ctg-modes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ctg-modes span { font: 600 .8rem var(--font-label); letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; border: 1px solid #4A443B; color: #CFC4B1; }
.ctg-modes span:first-child { background: #F2EADC; color: #1C1A17; border-color: #F2EADC; }
.ctg h4 { margin: 0; font: 700 1.6rem var(--font-display); }
.ctg-btn { font: 700 1rem var(--font-label); letter-spacing: .05em; background: #E0A13C; color: #1C1A17; padding: 12px 26px; border-radius: 8px; }
.ctg-pick { font-size: .85rem; color: #CFC4B1; }
/* Create My Character: maroon character-sheet look */
.cmc { background: #F6EFE4; color: #2B1A1C; padding: 18px; display: grid; gap: 12px; font-family: var(--font-label); }
.cmc-head { background: #5D1A21; color: #F6EFE4; padding: 10px 12px; border-radius: 6px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cmc-head b { font-family: var(--font-display); font-size: 1.1rem; }
.cmc-head span { font-size: .8rem; letter-spacing: .08em; opacity: .85; }
.cmc-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cmc-stats div { border: 1.5px solid #5D1A21; border-radius: 6px; text-align: center; padding: 6px 2px; background: #FFF9F0; }
.cmc-stats small { display: block; font-size: .68rem; letter-spacing: .1em; color: #7A4A4F; }
.cmc-stats strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.cmc-row { display: flex; gap: 8px; flex-wrap: wrap; font-size: .82rem; }
.cmc-row span { background: #EADCC8; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 420px) { .cmc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .br { grid-template-columns: minmax(0, 1fr); } }

.request { display: grid; gap: 40px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.request-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.two { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .request { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .two { grid-template-columns: minmax(0, 1fr); } }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.contact-line code { font: 600 1rem var(--font-body); background: var(--tint); padding: 6px 10px; border-radius: 6px; user-select: all; overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: start; }
.faq-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: flex; flex-direction: column; gap: 4px; }
.faq-nav a { font: 600 1rem var(--font-label); letter-spacing: .03em; color: var(--muted); text-decoration: none; padding: 6px 0; }
.faq-nav a:hover { color: var(--ink); }
.faq-body { display: flex; flex-direction: column; gap: 44px; min-width: 0; max-width: 70ch; }
.faq-group { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 110px; }
.faq-group h2 { font-size: var(--step-2); }
details { border-bottom: 1px solid var(--line); padding-block: 4px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.4rem var(--font-label); color: var(--wood-deep); line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 14px; color: var(--muted); display: grid; gap: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 .85rem var(--font-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td:last-child, th:last-child { text-align: right; }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; } }

/* ---------- Thanks ---------- */
.thanks { padding-block: 64px; display: grid; gap: 18px; max-width: 620px; }
.receipt { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: grid; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer .wrap { padding-block: 28px 36px; display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; font-size: .92rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 600; z-index: 60;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
