@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --carbon: #0e1116;
  --graphite: #171b22;
  --line: #282c38;
  --bone: #ecf0f4;
  --slate: #a4acb8;
  --apricot: #f0b478;
  --stage: #dadde2;
  --ink: #12151a;
  --ink-soft: #454b57;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(44px, 5.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--carbon);
  color: var(--bone);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 60ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0;
  font-stretch: 116%;
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.2; letter-spacing: -0.012em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--slate); }
.lead { font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.45; }

:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 2px; }
.on-stage :focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--apricot); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.35em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 620;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--apricot); color: var(--ink); }
.btn-primary:hover { background: #f6c595; }
.btn-ghost { border-color: #4a5160; color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); }
.btn-ink { background: var(--apricot); color: #12151a; }
.btn-ink:hover { background: #f6c594; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
.logo img { width: 232px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--slate); font-size: 1rem; padding: 6px 0; }
.nav a:hover { color: var(--bone); }
.nav a.nav-cta { color: var(--apricot); }
.nav a.nav-cta:hover { color: #f6c595; }

/* Hero: the tagline set across two screens, split by the bezel gap */
.hero { padding: clamp(6px, 1vw, 12px) 0 clamp(22px, 2.6vw, 32px); }
.hero + .stage { padding-top: clamp(28px, 3.4vw, 44px); }
.screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.4vw, 18px);
  perspective: 1800px;
  font-size: clamp(1.3rem, 4.2vw, 3.8rem);
}
.screen {
  display: flex; align-items: flex-end;
  aspect-ratio: 21 / 9;
  padding: clamp(12px, 2.4vw, 34px);
  border: clamp(5px, 0.75vw, 10px) solid #030405;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #2b303b, 0 40px 60px -30px rgba(0, 0, 0, 0.8);
}
.screen-problem {
  background: radial-gradient(130% 150% at 20% 0%, #1a1f29 0%, #10141a 65%);
  color: var(--slate);
  transform: rotateY(7deg);
  transform-origin: right center;
}
.screen-solution {
  background: radial-gradient(130% 150% at 80% 0%, #2c3646 0%, #151a22 70%);
  color: var(--bone);
  transform: rotateY(-7deg);
  transform-origin: left center;
}
.hero-below {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px 56px;
  align-items: center;
  margin-top: clamp(16px, 2vw, 24px);
}
.hero-below .btn-row { justify-content: flex-end; }

/* Product stage: light surface so the black parts read clearly */
.stage {
  --ink: #ecf0f4; --ink-soft: #a4acb8;
  background: var(--graphite);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: var(--section) 0;
}
.stage .muted { color: var(--ink-soft); }
.kit-views {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: clamp(12px, 3vw, 44px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.kit-views img { filter: drop-shadow(0 20px 16px rgba(18, 21, 26, 0.3)); }
.kit-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 64px;
  align-items: start;
}
.kit-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px 64px;
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1.5px solid #2f3542;
}
.kit-kind { margin: 14px 0 0; font-size: 1.15rem; font-weight: 560; max-width: 20ch; line-height: 1.35; }
.kit-list { max-width: 26rem; }
.kit-facts { align-items: start; }
.options { margin: 18px 0 26px; }
.options div { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: 4px 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #2f3542; }
.options div:first-child { border-top: 1px solid #2f3542; }
.options dt { font-stretch: 112%; font-weight: 640; font-size: 1.2rem; }
.options dd { margin: 0; }
.options .covers { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.4; }
.options .price { font-stretch: 116%; font-weight: 640; font-size: 1.7rem; letter-spacing: -0.02em; }
.guarantee { font-weight: 620; border-left: 3px solid var(--ink); padding-left: 16px; }
.p-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "gal head" "gal buy"; grid-template-rows: auto 1fr; gap: 0 64px; align-items: start; }
.p-head { grid-area: head; }
.p-gallery { grid-area: gal; }
.p-buy { grid-area: buy; }
.p-view { aspect-ratio: 3 / 2; background: #cdd1d7; border-radius: 6px; display: grid; place-items: center; padding: 12px; }
.p-view img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(18, 21, 26, 0.26)); }
.p-thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.p-thumbs button { display: block; width: 100%; aspect-ratio: 1; padding: 5px; background: #cdd1d7; border: 2px solid transparent; border-radius: 5px; cursor: pointer; }
.p-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.p-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.p-thumbs button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.p-head .kit-kind { max-width: none; margin-top: 10px; }
.p-buy .kit-kind { max-width: none; margin-top: 10px; }
.p-pitch { margin: 18px 0 0; }
.p-buy .options { margin: 24px 0 18px; }
.p-stock { font-weight: 620; margin: 0; }
.p-stock::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #5cc38d; margin-right: 10px; }
.p-buy .fit-cta { margin-top: 20px; }
.p-buy .btn { width: 100%; text-align: center; padding: 1em 1.35em; font-size: 1.1rem; }
.p-assure { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid #2f3542; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 1rem; color: var(--ink-soft); }
.p-block { margin-top: clamp(28px, 3.6vw, 44px); padding-top: clamp(22px, 2.8vw, 32px); border-top: 1.5px solid #2f3542; }
.p-block > h3, .p-split h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 18px; }
.p-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.p-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.p-features li { padding: 16px 0; border-bottom: 1px solid #2f3542; }
.p-features strong, .p-steps strong { font-weight: 640; }
.p-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: pstep; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.p-steps li { counter-increment: pstep; position: relative; padding: 16px 0 16px 3rem; border-bottom: 1px solid #2f3542; }
.p-steps li::before { content: counter(pstep); position: absolute; left: 0; top: 12px; font-stretch: 118%; font-weight: 640; font-size: 1.7rem; line-height: 1.2; }
.p-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.p-table th, .p-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid #2f3542; }
.p-table thead th { font-weight: 620; color: var(--ink-soft); border-bottom: 1.5px solid #4a5261; }
.p-table tbody th { font-weight: 620; width: 38%; }
.p-table td:last-child { padding-right: 0; }
.p-faq details { border-bottom: 1px solid #2f3542; }
.p-faq details:first-child { border-top: 1px solid #2f3542; }
.p-faq summary { cursor: pointer; padding: 15px 0; font-weight: 620; }
.p-faq details p { margin: 0 0 16px; color: var(--ink-soft); }
.small { font-size: 1rem; margin-top: -0.4em; padding-left: 19px; }
.fc-intro { max-width: 62ch; }
.fc-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; margin-top: 26px; }
.fc-controls fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.fc-controls legend, .fc-range > span { font-weight: 620; padding: 0; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.fc-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-seg label { cursor: pointer; }
.fc-seg input { position: absolute; opacity: 0; }
.fc-seg span { display: block; padding: 9px 14px; border: 1.5px solid #4a5261; border-radius: 6px; font-size: 1rem; }
.fc-seg input:checked + span { background: var(--ink); color: #12151a; border-color: var(--ink); }
.fc-seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.fc-range { display: block; margin-bottom: 22px; }
.fc-range input { width: 100%; accent-color: var(--ink); margin: 0; }
.fc-range small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 0.95rem; }
.fc-range output { font-variant-numeric: tabular-nums; }
.fc-top { width: 100%; height: auto; max-height: 340px; display: block; }
.fc-mon { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.fc-strip { fill: none; stroke: #f0b478; stroke-linecap: round; }
.fc-seat { fill: none; stroke: var(--ink); stroke-width: 3; }
.fc-verdict { font-weight: 660; font-size: 1.3rem; margin: 18px 0 4px; padding-left: 22px; position: relative; }
.fc-verdict::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: #5cc38d; }
#fitcheck[data-status="flat"] .fc-verdict::before, #fitcheck[data-status="bezel"] .fc-verdict::before { background: #f0b478; }
.fc-note { margin: 0; color: var(--ink-soft); max-width: 56ch; }
.fc-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px 32px; align-items: start; margin-top: 24px; padding-top: 20px; border-top: 1px solid #2f3542; }
.fc-detail figure { margin: 0; }
.fc-zoom { width: 100%; height: auto; display: block; }
.fc-lit { stroke: #6f7885; stroke-width: 2.5; fill: none; stroke-linecap: round; }
.fc-under { stroke: #5cc38d; stroke-width: 4; fill: none; }
.fc-bezel { stroke: var(--ink); stroke-width: 6; fill: none; }
.fc-sheet { stroke: #f0b478; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.fc-detail figcaption { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.fc-detail .k { display: inline-block; width: 14px; height: 5px; border-radius: 2px; margin-left: 8px; }
.fc-detail .k:first-child { margin-left: 0; }
.k-bezel { background: var(--ink); } .k-under { background: #5cc38d; } .k-sheet { background: #f0b478; }
.fc-facts { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 16px; font-size: 1rem; }
.fc-facts dt, .fc-facts dd { margin: 0; padding: 8px 0; border-bottom: 1px solid #2f3542; }
.fc-facts dd { font-weight: 620; text-align: right; font-variant-numeric: tabular-nums; }
.fc-foot { margin-top: 26px; max-width: 70ch; }
@media (max-width: 860px) { .fc-grid, .fc-detail { grid-template-columns: 1fr; } }
.fit-figure figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; text-align: center; max-width: 520px; }
.plain-list { list-style: none; margin: 14px 0 0; padding: 0; }
.plain-list li { padding: 11px 0; border-bottom: 1px solid #2f3542; }
.plain-list li:first-child { border-top: 1px solid #2f3542; }
.fit h3 { margin-bottom: 14px; }
.fit-cta { margin-top: 28px; }
.fit-figure { margin: 0; }
.fit-figure svg { width: 100%; max-width: 520px; }
.fit-figure text { font-family: inherit; font-size: 19px; font-weight: 560; fill: var(--ink); }
.fit-figure .thin { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.fit-figure .dash { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 4 4; }
.fit-figure .body { fill: var(--ink); }
.fit-figure .tip { fill: var(--ink); }
.fit-figure .seat { fill: none; stroke: var(--ink-soft); stroke-width: 1.3; }
.fit-figure .seat-label { fill: var(--ink-soft); font-weight: 450; }

/* Custom work */
.custom { padding: var(--section) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.case {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(10px, 1.4vw, 18px);
}
.tile { background: #000; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.tile img { width: 100%; }
.tile-main { grid-row: span 2; padding: clamp(10px, 3vw, 40px); }
.case-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 12px 64px;
  margin-top: 28px;
}
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  margin: clamp(36px, 4.5vw, 56px) 0 0;
}
.services div { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.services dt { font-stretch: 112%; font-weight: 620; font-size: 1.3rem; letter-spacing: -0.012em; margin-bottom: 8px; }
.services dd { margin: 0; color: var(--slate); max-width: 44ch; }

.steps-block { margin-top: clamp(36px, 4.5vw, 56px); }
.steps {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1.5px solid var(--apricot); padding-top: 18px; }
.steps li::before {
  content: counter(step);
  display: block;
  font-stretch: 120%; font-weight: 300;
  font-size: 3.2rem; line-height: 1; color: var(--apricot);
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); }

/* About */
.about { padding: var(--section) 0; background: var(--graphite); }
.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 64px;
}

/* Contact */
.contact { padding: var(--section) 0; }
.routes {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(24px, 3vw, 36px);
}
.route {
  border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(22px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.route h3 { margin-bottom: 10px; }
.route p { margin-bottom: 0; }
.route ul { margin: 10px 0 28px; padding-left: 1.1em; color: var(--slate); }
.route li { margin-bottom: 6px; padding-left: 4px; }
.route .btn { margin-top: auto; }
.address {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 24px; border-top: 1px solid var(--line);
}
.address a { font-weight: 600; overflow-wrap: anywhere; }
.copy-btn {
  font: inherit; font-size: 0.95rem; font-weight: 560;
  color: var(--bone); background: transparent;
  border: 1.5px solid #4a5160; border-radius: 4px; padding: 6px 12px; cursor: pointer;
}
.copy-btn:hover { border-color: var(--bone); }
.copy-status { color: var(--slate); font-size: 0.98rem; min-height: 1.6em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 32px; color: var(--slate); font-size: 0.98rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; }
.site-footer img { width: 190px; }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .hero-below, .kit-intro, .kit-detail, .section-head, .case-caption, .about .wrap, .routes, .services { grid-template-columns: 1fr; }
  .hero-below .btn-row { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .kit-list { max-width: none; }
  .kit-kind { max-width: none; }
  .p-top, .p-split, .p-features, .p-steps { grid-template-columns: 1fr; }
  .p-top { grid-template-areas: "head" "gal" "buy"; grid-template-rows: auto; gap: 20px 0; }
  .p-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services { gap: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .logo img { width: 196px; }
  .nav { gap: 4px 16px; }
  .nav a { font-size: 0.94rem; }
  .screens { grid-template-columns: 1fr; perspective: none; font-size: clamp(2rem, 10.5vw, 3rem); }
  .screen { aspect-ratio: auto; min-height: 116px; }
  .screen-problem, .screen-solution { transform: none; }
  .kit-views { grid-template-columns: 1fr 1fr; }
  .kit-views img:nth-child(2) { grid-column: 1 / -1; grid-row: 1; width: 86%; margin: 0 auto; }
  .case { grid-template-columns: 1fr 1fr; }
  .tile-main { grid-column: 1 / -1; grid-row: auto; }
}

.stage .btn-primary { color: #12151a; }
.p-view, .p-thumbs button { background: #d3d7dd; }

/* Inner pages: custom work and the project form */
.nav a[aria-current="page"] { color: var(--bone); }
main > .custom:first-child { padding-top: clamp(20px, 3vw, 36px); }
main > .custom:first-child .section-head { align-items: start; }
.custom h1, .form-page h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.section-head .btn-row { margin-top: 20px; }
.start-box {
  display: grid; grid-template-columns: minmax(0, 1.25fr) auto; gap: 20px 48px; align-items: center;
  margin-top: clamp(36px, 4.5vw, 56px);
  padding: clamp(22px, 3vw, 36px);
  background: var(--graphite); border: 1px solid var(--line); border-left: 3px solid var(--apricot); border-radius: 6px;
}
.start-box h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.start-box p { color: var(--slate); }

.form-page { padding: clamp(24px, 3vw, 36px) 0 var(--section); }
.form-page .wrap { max-width: 860px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--slate); font-size: 1rem; text-decoration: none; }
.back:hover { color: var(--bone); }
.form-intro { margin-top: 14px; color: var(--slate); }
.project-form { margin-top: clamp(24px, 3vw, 36px); }
.project-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 22px 0 6px; min-width: 0; }
.project-form legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; font-stretch: 112%; font-weight: 620; font-size: 1.3rem; letter-spacing: -0.012em; }
.project-form legend + * { clear: both; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 18px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 620; font-size: 1rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--slate); }
.field .hint { display: block; color: var(--slate); font-size: 0.95rem; margin-top: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%;
  font: inherit; font-size: 1.0625rem; line-height: 1.4; color: var(--bone);
  background: #12161c; border: 1.5px solid #4a5160; border-radius: 4px; padding: 11px 13px;
}
.field textarea { min-height: 7.5em; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #a4acb8 50%), linear-gradient(135deg, #a4acb8 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #6b7382; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--apricot); outline-offset: 1px; border-color: var(--apricot); }
.field ::placeholder { color: #6f7785; }
.field [aria-invalid="true"] { border-color: #f08a78; }
.field .error { display: block; color: #f6a596; font-size: 0.95rem; margin-top: 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { margin: 0; cursor: pointer; font-weight: 500; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: block; padding: 9px 14px; border: 1.5px solid #4a5160; border-radius: 6px; font-size: 1rem; }
.checks label:hover span { border-color: #6b7382; }
.checks input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.checks input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 3px; }
.form-actions { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.form-actions p { color: var(--slate); font-size: 1rem; flex: 1 1 18rem; }
.form-done { margin-top: 24px; padding: clamp(20px, 3vw, 30px); background: var(--graphite); border: 1px solid var(--line); border-left: 3px solid #5cc38d; border-radius: 6px; }
.form-done h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.form-done p { color: var(--slate); }
.form-done .btn-row { margin-top: 18px; align-items: center; }
.form-done pre { margin: 18px 0 0; padding: 14px 16px; background: #12161c; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 0.98rem; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 16em; overflow: auto; }
@media (max-width: 860px) { .start-box { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
