/* Garage 8 bits / 8-Bit Garage — site styles */


:root {
  --ink: #1D1B18;
  --ink-2: #3A3630;
  --muted: #5C564D;
  --body: #4A453E;
  --bg: #F3EEE4;
  --surface: #FBF8F2;
  --card: #FFFFFF;
  --line: #DDD5C7;
  --line-soft: #E4DDD0;
  --line-strong: #CFC6B6;
  --dark: #23201C;
  --dark-2: #2B2723;
  --dark-text: #F3EEE4;
  --dark-muted: #D6CEC1;
  --dark-line: #4A443D;
  --accent: #B5481A;
  --accent-ink: #FFFFFF;
  --gold: #D9952B;
  --teal: #1E6B73;
  --chip-soon-bg: #EFE2C4;
  --chip-soon-fg: #5E440E;
  --chip-ok-bg: #DCEDEC;
  --chip-ok-fg: #164F55;
  --chip-sold-bg: #E4DDD0;
  --chip-sold-fg: #3A3630;
  --error: #A12A12;
  --screen: #0E1611;
  --phosphor: #8EF0A6;
  --radius: 12px;
  --max: 1240px;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'IBM Plex Sans Condensed', 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-pixel: 'Press Start 2P', var(--font-mono);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
.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-link { position: absolute; left: 16px; top: -60px; background: var(--dark); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 20; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.eyebrow.accent { color: var(--accent); font-weight: 500; }
.lead { font-size: 19px; color: var(--body); max-width: 600px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Stripe */
.stripe { height: 6px; display: flex; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: #B5481A; }
.stripe span:nth-child(2) { background: #D9952B; }
.stripe span:nth-child(3) { background: #1E6B73; }
.stripe span:nth-child(4) { background: #23201C; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px; border-radius: 6px;
  font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #9C3C14; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { font-size: 17px; padding: 16px 26px; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-arrow { font-weight: 600; font-size: 15px; padding: 10px 0; display: inline-block; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 60px; height: 60px; }
.brand-text { display: flex; flex-direction: column; gap: 6px; }
.brand-name { font-family: var(--font-pixel); font-size: 16px; line-height: 1.2; letter-spacing: .02em; }
.brand-name b { color: var(--accent); font-weight: 400; }
.brand-sub { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-nav a { display: block; padding: 10px 0; text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; font-family: var(--font-mono); font-size: 13px; }
.lang-switch a, .lang-switch span { padding: 11px 12px; text-decoration: none; color: var(--ink); line-height: 1; }
.lang-switch [aria-current] { background: var(--dark); color: var(--surface); }
.menu-toggle { display: none; }

@media (max-width: 1360px) {
  .header-inner .brand-sub { display: none; }
  .site-nav ul { gap: 0 18px; }
}
@media (max-width: 1180px) {
  .header-inner .brand-sub { display: block; }
  .header-inner { gap: 10px 16px; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 14px;
    background: transparent; border: 1.5px solid var(--ink); border-radius: 6px; color: var(--ink);
    font: 600 15px var(--font-body); cursor: pointer;
  }
  .site-nav { order: 10; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; border-top: 1px solid var(--line); padding-top: 6px; }
  .site-nav a { padding: 12px 0; font-size: 17px; }
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 520px) {
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 13px; }
  .brand-sub { font-size: 11px; }
}

/* Language suggestion banner */
.lang-hint { background: var(--dark); color: var(--dark-text); font-size: 15px; }
.lang-hint .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.lang-hint a { color: #fff; font-weight: 600; }
.lang-hint button { margin-left: auto; background: none; border: 1px solid var(--dark-line); color: var(--dark-text); border-radius: 6px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4vw, 40px); }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* Page header (inner pages) */
.page-head { padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(36px, 5vw, 52px); margin-top: 10px; }
.page-head .lead { margin-top: 14px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.01em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; font-size: 15px; color: var(--ink-2); }
.promises li { display: flex; gap: 10px; align-items: baseline; }
.promises li::before { content: '>'; font-family: var(--font-mono); color: var(--accent); }
.hero-visual { flex: 1 1 440px; min-width: 0; }

.terminal { background: var(--dark-2); border-radius: 18px; padding: 22px; box-shadow: 0 1px 0 #fff inset, 0 18px 40px rgba(35,32,28,.18); }
.terminal-screen { background: var(--screen); border-radius: 10px; padding: 22px 22px 26px; overflow-x: auto; }
.terminal pre { margin: 0; font-family: var(--font-mono); font-size: 14px; line-height: 1.75; color: var(--phosphor); white-space: pre; }
.terminal .cursor { background: var(--phosphor); color: var(--screen); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .terminal .cursor { animation: none; } }
.terminal-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 0; font-family: var(--font-mono); font-size: 11px; color: #C9C0B2; letter-spacing: .1em; }
.terminal-foot .led { display: inline-flex; gap: 6px; align-items: center; }
.terminal-foot .led::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #E0563A; }

/* Cards & grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 { font-size: 20px; font-weight: 600; font-family: var(--font-body); }
.sys-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.sys-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-soft); }
.sys-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sys-list .soon { color: var(--muted); }

.chip { font-family: var(--font-mono); font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--bg); white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }
.chip-soon { background: var(--chip-soon-bg); color: var(--chip-soon-fg); }
.chip-available { background: var(--chip-ok-bg); color: var(--chip-ok-fg); }
.chip-on-hold { background: var(--chip-soon-bg); color: var(--chip-soon-fg); }
.chip-sold { background: var(--chip-sold-bg); color: var(--chip-sold-fg); }
.chip-sample { background: var(--dark); color: var(--dark-text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.packages { margin-top: 12px; }
.package { background: var(--bg); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.package h3 { font-family: var(--font-head); font-size: 28px; }
.package p { font-size: 15px; color: var(--body); }
.package .price { margin-top: auto; font-family: var(--font-mono); font-size: 15px; color: var(--ink); }
.package .price strong { font-size: 24px; font-weight: 500; }
.package .detail { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.package.featured { background: var(--dark); color: var(--dark-text); }
.package.featured .eyebrow { color: var(--gold); }
.package.featured p, .package.featured .detail { color: var(--dark-muted); }
.package.featured .price { color: var(--dark-text); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { border-top: 3px solid var(--line-strong); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps li:first-child { border-top-color: var(--accent); }
.steps .num { font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.steps li:first-child .num { color: var(--accent); }
.steps strong { font-size: 18px; font-weight: 600; }
.steps span:last-child { font-size: 15px; color: var(--body); }

/* Project cards */
.project-card { text-decoration: none; color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.project-card:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(35,32,28,.08); }
.project-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.split { position: relative; display: flex; aspect-ratio: 16 / 9; background: var(--line); }
.split img { width: 50%; height: 100%; object-fit: cover; }
.split::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; }
.split .split-label { position: absolute; bottom: 10px; font-family: var(--font-mono); font-size: 11px; background: rgba(255,255,255,.9); padding: 2px 6px; border-radius: 3px; letter-spacing: .06em; }
.split .split-label.l { left: 10px; }
.split .split-label.r { right: 10px; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 19px; font-weight: 600; line-height: 1.3; font-family: var(--font-body); }
.card-body p { font-size: 15px; color: var(--body); }
.card-body .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: auto; }

/* Unit cards */
.unit-card { overflow: hidden; display: flex; flex-direction: column; }
.unit-card .photo { aspect-ratio: 4 / 3; background: #E2DACB; }
.unit-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.unit-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.unit-price { font-family: var(--font-mono); font-size: 18px; font-weight: 500; }
.unit-card h3 { font-size: 18px; font-weight: 600; font-family: var(--font-body); }
.unit-card dl { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.unit-card dt { font-weight: 600; }
.unit-card dd { margin: 0 0 4px; color: var(--muted); }
.unit-card .btn { margin-top: auto; width: 100%; }
.unit-card.is-sold { opacity: .7; }

/* Warranty band */
.band { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.band-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band-copy .eyebrow { color: var(--gold); }
.band-copy h2 { font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 36px); line-height: 1.15; }
.band-copy p { color: var(--dark-muted); max-width: 640px; font-size: 16px; }
.band-links { flex: 0 1 340px; display: flex; flex-direction: column; }
.band-links a { display: flex; justify-content: space-between; text-decoration: none; color: var(--dark-text); padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-weight: 500; }
.band-links a:hover { color: #fff; }

/* CTA box */
.cta-box { border: 2px solid var(--ink); border-radius: 16px; padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; background: var(--surface); }
.cta-box > div { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-box p { font-size: 17px; color: var(--body); }
@media (max-width: 600px) { .cta-box { padding: 32px 24px; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 96px; height: 96px; flex-shrink: 0; }
.footer-brand > span { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand-name { font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-col strong { font-weight: 600; }
.footer-col span { color: var(--muted); }
.footer-col a { padding: 2px 0; }
.footer-bottom { border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 28px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* Prose (legal pages, posts) */
.prose { max-width: 720px; font-size: 17px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-family: var(--font-head); font-size: 28px; margin-top: 40px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose blockquote { margin-left: 0; padding: 12px 18px; border-left: 4px solid var(--gold); background: var(--surface); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose img { border-radius: 8px; }
.prose code { font-family: var(--font-mono); font-size: .92em; background: var(--surface); padding: 1px 5px; border-radius: 4px; }
.prose a { font-weight: 500; }
.with-aside { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.with-aside > .prose { flex: 999 1 560px; min-width: 0; }
.with-aside > aside { flex: 1 1 260px; min-width: 0; }
.toc { position: sticky; top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 15px; }
.toc ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.toc a { text-decoration: none; display: block; padding: 4px 0; }
.toc a:hover { text-decoration: underline; }

.sample-note { display: flex; gap: 10px; align-items: center; background: var(--chip-soon-bg); color: var(--chip-soon-fg); border-radius: 8px; padding: 10px 14px; font-size: 14px; }

/* Services page */
.price-section + .price-section { margin-top: 48px; }
.price-section h2 { font-family: var(--font-head); font-size: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.price-table th, .price-table td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table thead th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--surface); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td.price { white-space: nowrap; font-family: var(--font-mono); font-size: 15px; }
.price-table td.price small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); white-space: normal; }
.notes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.notes-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 15px; color: var(--body); }
.notes-list strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* Project filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); font: 500 14px var(--font-body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* Before/after compare */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--line); aspect-ratio: 4 / 3; --pos: 50%; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare .handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); display: grid; place-items: center; font: 500 15px var(--font-mono); color: var(--ink); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input[type=range]:focus-visible + .handle::after { outline: 3px solid var(--accent); outline-offset: 2px; }
.compare .tag { position: absolute; bottom: 12px; font-family: var(--font-mono); font-size: 12px; background: rgba(255,255,255,.92); padding: 3px 8px; border-radius: 4px; pointer-events: none; }
.compare .tag.l { left: 12px; }
.compare .tag.r { right: 12px; }
.no-js .compare .before { clip-path: none; width: 50%; right: auto; }
.no-js .compare .after { left: 50%; width: 50%; }
.no-js .compare input, .no-js .compare .handle { display: none; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; font-size: 15px; }
.facts dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0 0 8px; }

/* Request form */
.form-shell { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.form-main { flex: 999 1 600px; min-width: 0; }
.form-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.progress { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; counter-reset: step; }
.progress li { font-family: var(--font-mono); font-size: 12px; color: var(--muted); border-top: 4px solid var(--line-strong); padding-top: 8px; letter-spacing: .04em; }
.progress li.done { border-top-color: var(--teal); color: var(--ink-2); }
.progress li[aria-current="step"] { border-top-color: var(--accent); color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .progress li span { display: none; } }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.form-step legend { padding: 0; font-family: var(--font-head); font-size: 30px; font-weight: 700; margin-bottom: 4px; }
.js .form-step[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field-label { font-weight: 600; font-size: 16px; }
.hint { font-size: 14px; color: var(--muted); }
.req { color: var(--error); }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  font: 16px var(--font-body); color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; width: 100%; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: 3px solid rgba(181,72,26,.25); outline-offset: 0; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.group-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 -8px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--card); cursor: pointer; min-height: 52px; }
.choice:hover { border-color: var(--ink-2); }
.choice input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #FFF9F4; }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice .c-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.choice .c-title { font-weight: 600; font-size: 15px; }
.choice .c-sub { font-size: 13px; color: var(--muted); }
.choice .c-price { margin-left: auto; font-family: var(--font-mono); font-size: 13px; white-space: nowrap; padding-left: 8px; }
.choice-list { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.notice { border-radius: 10px; padding: 14px 16px; font-size: 15px; background: var(--chip-soon-bg); color: var(--chip-soon-fg); }
.notice.info { background: #E6EEF0; color: #164F55; }
.notice.error { background: #F7E1DA; color: var(--error); }
.field-error { color: var(--error); font-size: 14px; font-weight: 500; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.choice-grid[aria-invalid="true"] .choice, .choice-list[aria-invalid="true"] .choice { border-color: var(--error); }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
.summary dl { margin: 0; }
.summary div { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 520px) { .summary div { grid-template-columns: 1fr; gap: 2px; } }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.side-card h2 { font-family: var(--font-body); font-size: 17px; font-weight: 600; }
.side-card ul { margin: 0; padding-left: 18px; color: var(--body); }
.side-card li + li { margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done-box { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.done-box .ref { font-family: var(--font-mono); font-size: 24px; background: var(--dark); color: var(--phosphor); padding: 12px 18px; border-radius: 8px; align-self: flex-start; }
.unit-summary { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.unit-summary img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
pre.json-out { background: var(--dark); color: var(--phosphor); padding: 16px; border-radius: 8px; overflow: auto; font-size: 13px; max-height: 360px; }

/* 404 */
.notfound { padding: 96px 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.notfound .code { font-family: var(--font-pixel); font-size: 40px; color: var(--accent); }

@media print {
  .site-header, .site-footer, .lang-hint, .stripe, .btn { display: none !important; }
  body { background: #fff; }
}

.price-table { table-layout: fixed; }
.price-table th:last-child, .price-table td.price { width: 36%; }
@media (max-width: 600px) { .price-table th:last-child, .price-table td.price { width: 42%; } }
