/* yoloprintworks
   Near-black stage, lime for the one thing that matters on each screen, light grey for the rest.
   Archivo (wide cuts) for display, JetBrains Mono for machine readouts. */

:root {
  --lime: #9be10a;
  --lime-deep: #8fd400;
  --ink: #0a0b0d;
  --ground: #0e1012;
  --panel: #14171a;
  --panel-2: #191c20;
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.16);
  --text: #f1f2f3;
  --muted: #9aa1a9;
  --faint: #8a9199;
  --error: #ff6b5a;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: clamp(2.6rem, 5.5vw, 5.6rem);
  --h2: clamp(2.1rem, 4.4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; color-scheme: dark; accent-color: var(--lime); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: #0a0b0d; }
input, textarea { caret-color: var(--lime); }
.light :focus-visible { outline-color: #3b6900; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-stretch: 112%; font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.lime { color: var(--lime); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--lime); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex; align-items: center; gap: 0.6rem;
}

/* Buttons */
.btn {
  --h: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: var(--h); padding: 0 1.5rem;
  border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn span { transition: transform 0.2s; }
.btn:hover span { transform: translateX(3px); }
.btn-lime { background: var(--lime); color: #0a0b0d; }
.btn-lime:hover { background: #b2f22e; }
.btn-ghost { background: rgb(255 255 255 / 0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.08); }
.btn-sm { --h: 2.5rem; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.text-link { display: inline-block; padding: 0.6rem 0; color: var(--muted); font-size: 0.9375rem; text-underline-offset: 0.25em; }
.text-link:hover { color: var(--text); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgb(10 11 13 / 0.88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 2rem; }
.nav-logo img { height: 38px; width: auto; }
.nav nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 0.9375rem; font-weight: 500; transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-inner { gap: 0.75rem; }
  .nav-logo { margin-right: auto; }
  .nav-logo img { height: 34px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.55rem; height: 2.5rem; padding: 0 0.9rem; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: 500 0.9375rem "Archivo", system-ui, sans-serif; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before { display: block; width: 14px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.2s; }
  .nav-toggle span::before { content: ""; position: absolute; top: -5px; }
  .nav-toggle span { box-shadow: 0 5px 0 currentColor; }
  .menu-open .nav-toggle span { box-shadow: none; transform: translateY(-2px) rotate(45deg); }
  .menu-open .nav-toggle span::before { top: 0; transform: rotate(-90deg); }
  .nav nav { display: none; position: fixed; inset: 64px 0 auto; height: calc(100svh - 64px); overflow-y: auto; margin: 0; padding: 0.5rem var(--gutter) 1.5rem; background: var(--ink); }
  .menu-open body { overflow: hidden; }
  .nav .btn-sm { white-space: nowrap; }
  .menu-open .nav nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav nav a { display: block; padding: 0.95rem 0; font-size: 1.25rem; color: var(--text); border-bottom: 1px solid var(--line); }
}
/* Narrow phones: icon-only menu button so "Get a quote" stays on one line */
@media (max-width: 440px) {
  .nav-logo img { height: 29px; }
  .nav-toggle { padding: 0; width: 2.5rem; justify-content: center; font-size: 0; }
  .nav .btn-sm { padding: 0 0.9rem; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 680px);
  display: grid; align-items: center;
  padding: 110px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 72% 62%, rgb(155 225 10 / 0.10), transparent 60%),
    radial-gradient(80% 60% at 70% 110%, rgb(255 255 255 / 0.06), transparent 60%),
    linear-gradient(180deg, #0a0b0d 0%, #0d0f12 60%, #0a0b0d 100%);
}
.hero::before { /* faint 42 mm grid, fading out toward the edges */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(70% 70% at 70% 55%, #000 10%, transparent 75%);
}
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-stage canvas { width: 100%; height: 100%; }
.hero-fallback { display: none; position: absolute; right: 4%; top: 50%; width: min(48vw, 640px); transform: translateY(-46%); }
.no-webgl .hero-fallback { display: block; }
.no-webgl #hero-canvas { display: none; }
.hero-copy { position: relative; }
.hero-copy > * { max-width: 40rem; }
.hero-copy h1 { max-width: none; }
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 { font-size: var(--display); margin: 1.4rem 0 1.6rem; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 33rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; margin-top: 2.25rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgb(155 225 10 / 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(155 225 10 / 0); } 100% { box-shadow: 0 0 0 0 rgb(155 225 10 / 0); } }

.hud { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: flex-end; align-items: flex-end; gap: 1.5rem; pointer-events: none; }
.hud-grid { display: grid; grid-template-columns: repeat(4, auto); gap: 0 2rem; margin: 0; font-family: var(--mono); padding: 0.85rem 1.1rem; border: 1px solid var(--line); border-radius: 10px; background: rgb(10 11 13 / 0.5); backdrop-filter: blur(8px); }
.hud-grid dt { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.hud-grid dd { margin: 0.15rem 0 0; font-size: 0.8125rem; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hud-replay { pointer-events: auto; font: 500 0.75rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); background: none; border: 1px solid rgb(155 225 10 / 0.35); border-radius: 999px; padding: 0.55rem 0.9rem; cursor: pointer; }
.hud-replay:hover { background: rgb(155 225 10 / 0.08); }

@media (max-width: 860px) {
  .hero { align-items: start; padding: 96px 0 0; min-height: auto; }
  .hero-stage { position: relative; inset: auto; height: 62vw; min-height: 300px; max-height: 460px; order: 2; margin-top: -0.5rem; }
  .hero-copy { order: 1; }
  .hero-fallback { position: static; transform: none; width: 70%; margin: 0 auto; }
  .hud { position: relative; bottom: auto; order: 3; justify-content: flex-start; padding-bottom: 2rem; }
  .hud-grid { grid-template-columns: repeat(2, auto); gap: 0.6rem 2rem; width: 100%; }
  .hero h1 { margin: 1.1rem 0 1.2rem; }
  .cta-row { margin-top: 1.75rem; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* Spec strip */
.specs { border-block: 1px solid var(--line); background: var(--ground); }
.spec-row { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.spec-row li { padding: 2rem 1.5rem; border-left: 1px solid var(--line); display: grid; gap: 0.35rem; }
.spec-row li:first-child { border-left: 0; padding-left: 0; }
.spec-row strong { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.spec-row small { font-family: var(--mono); font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-left: 0.3rem; letter-spacing: 0; }
.spec-row span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 860px) {
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec-row li { padding: 1.4rem 0 1.4rem 1.2rem; }
  .spec-row li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spec-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.feature { padding: clamp(4.5rem, 9vw, 8rem) 0; border-bottom: 1px solid var(--line); }

/* Light sections break up the dark scroll, like daylight on the bench. */
.light {
  --text: #101214; --muted: #50565d; --faint: #5c636a; --line: rgb(0 0 0 / 0.09); --line-2: rgb(0 0 0 / 0.18);
  --ground: #ffffff; --panel: #ffffff;
  background: #eeeeea; color: var(--text); border-bottom: 0; color-scheme: light;
}
.light .eyebrow { color: #3b6900; }
.light .stage { background: radial-gradient(70% 65% at 50% 45%, #ffffff, #e2e2dd 80%); border-color: rgb(0 0 0 / 0.06); }
.light .ticks li::before { background: repeating-linear-gradient(180deg, #5f9a00 0 2px, transparent 2px 3.5px); }
.light .meters dd { background: linear-gradient(90deg, #6fb300 calc(var(--v) * 20%), rgb(0 0 0 / 0.08) 0); }
.light .materials li::before { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
.section-head { display: grid; gap: 1.25rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2, .split-copy h2, .request-intro h2 { font-size: var(--h2); }
.section-lede { color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); max-width: 38rem; }

/* A "stage" is a product shot on a lit, gridded plate */
.stage {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 45%, rgb(255 255 255 / 0.07), transparent 70%),
    linear-gradient(180deg, #15181c, #0d0f12);
}
.stage-wide::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 42px 42px; background-position: center;
  mask-image: radial-gradient(65% 60% at 50% 55%, #000, transparent 80%);
}
.stage img { position: relative; width: 100%; height: auto; }
.stage-wide { aspect-ratio: 16 / 11; }
.stage-wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.callouts span {
  position: absolute; left: var(--x); top: var(--y);
  font: 500 0.6875rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
  padding: 0.45rem 0.7rem; border-radius: 999px; background: rgb(10 11 13 / 0.6); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.callouts span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 0.5rem; vertical-align: 1px; }
@media (max-width: 860px) { .callouts { display: none; } }

.split-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.flip .split-grid { grid-template-columns: 1fr 1.15fr; }
.flip .stage { order: 2; }
.split-copy { display: grid; gap: 1.4rem; }
.split-copy .cta-row { margin-top: 0.6rem; }
@media (max-width: 860px) {
  .split-grid, .flip .split-grid { grid-template-columns: 1fr; }
  .flip .stage { order: 0; }
}

.ticks { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 0.7rem; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--lime) 0 2px, transparent 2px 3.5px); }

/* Drawer planner */
.planner { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); overflow: hidden; }
.planner-copy { padding: clamp(1.5rem, 3.5vw, 3rem); display: grid; gap: 1.4rem; align-content: start; }
.planner-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-stretch: 112%; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.planner-form { display: grid; gap: 1rem; }
.planner-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.planner-fields label { display: grid; gap: 0.4rem; font: 500 0.6875rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.planner-fields input { font: 500 1.25rem var(--mono); color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 0.7rem 0.8rem; width: 100%; min-width: 0; }
.planner-fields input:focus { border-color: var(--lime); outline: none; }
.unit-toggle { display: inline-flex; justify-self: start; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.unit-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.unit-toggle span { display: block; font: 500 0.8125rem var(--mono); padding: 0.6rem 1rem; border-radius: 999px; color: var(--muted); cursor: pointer; }
.unit-toggle input:checked + span { background: var(--text); color: var(--ink); }
.unit-toggle input:focus-visible + span { outline: 2px solid var(--lime); }
.planner-out { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.planner-out div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.planner-out div:nth-child(odd) { padding-right: 1rem; }
.planner-out dt { font: 500 0.6875rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.planner-out dd { margin: 0.25rem 0 0; font-weight: 600; font-size: 1.0625rem; }
.planner-copy .btn { justify-self: start; }
.planner-view { background: #0b0c0e; border-left: 1px solid var(--line); display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); min-height: 360px; }
.planner-view svg { width: 100%; height: auto; max-height: 560px; }
.planner-view { align-content: center; gap: 1rem; }
.planner-legend { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.875rem; max-width: 30rem; }
.planner-legend i { flex: none; width: 26px; height: 0; border-top: 2px dashed var(--lime); }
@media (max-width: 860px) {
  .planner { grid-template-columns: 1fr; }
  .planner-view { border-left: 0; border-top: 1px solid var(--line); min-height: 260px; }
}

/* Materials */
.materials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.materials li { background: var(--ground); padding: 1.6rem 1.4rem 1.5rem; display: grid; gap: 0.7rem; align-content: start; position: relative; }
.materials li::before { content: ""; width: 2.6rem; height: 1.1rem; border-radius: 3px; margin-bottom: 0.6rem;
  background: repeating-linear-gradient(180deg, var(--swatch) 0 3px, color-mix(in srgb, var(--swatch) 70%, #000) 3px 4px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.materials h3 { font-size: 1.25rem; font-stretch: 112%; font-weight: 700; }
.materials li > p { color: var(--muted); font-size: 0.9375rem; min-height: 2.9em; }
.meters { margin: 0.4rem 0 0; display: grid; gap: 0.5rem; }
.meters div { display: grid; grid-template-columns: 4.6rem 1fr; align-items: center; gap: 0.6rem; }
.meters dt { font: 500 0.625rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.meters dd { margin: 0; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lime) calc(var(--v) * 20%), rgb(255 255 255 / 0.08) 0); }
.meters dd[data-v="1"] { --v: 1; } .meters dd[data-v="2"] { --v: 2; } .meters dd[data-v="3"] { --v: 3; } .meters dd[data-v="4"] { --v: 4; } .meters dd[data-v="5"] { --v: 5; }
.mat-spec { font: 400 0.75rem var(--mono); color: var(--faint); margin-top: 0.4rem; }
@media (max-width: 1100px) { .materials { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .materials { grid-template-columns: 1fr 1fr; } .materials li > p { min-height: 0; } }
@media (max-width: 440px) { .materials { grid-template-columns: 1fr; } }

/* Steps: the connecting line is a toolpath */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.05rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.steps li { position: relative; display: grid; gap: 0.7rem; align-content: start; }
.step-n { font: 500 0.8125rem var(--mono); color: var(--ink); background: var(--lime); justify-self: start; padding: 0.3rem 0.55rem; border-radius: 6px; position: relative; margin-bottom: 0.9rem; }
.steps p { color: var(--muted); font-size: 0.9875rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.8rem; padding-left: 3.4rem; }
  .steps::before { left: 1.05rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .step-n { position: absolute; left: -3.4rem; top: 0; margin: 0; }
}

/* Request */
.request-section { background: linear-gradient(180deg, var(--ink), #0d1012); }
.request-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.request-intro { display: grid; gap: 1.4rem; position: sticky; top: 110px; }
.request-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.1rem, 2.6vw, 2rem); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8); }
@media (max-width: 960px) { .request-grid { grid-template-columns: 1fr; } .request-intro { position: static; } }

.request { display: grid; gap: 1.25rem; }
.drop { position: relative; border-radius: 12px; border: 1.5px dashed var(--line-2); background:
    radial-gradient(70% 70% at 50% 50%, rgb(255 255 255 / 0.04), transparent 70%), var(--ground);
  aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; transition: border-color 0.2s, background-color 0.2s; }
.drop.is-over { border-color: var(--lime); background-color: rgb(155 225 10 / 0.05); }
.drop.has-model { border-style: solid; border-color: var(--line); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s; touch-action: none; cursor: grab; }
.drop.has-model canvas { opacity: 1; }
.drop-empty { text-align: center; display: grid; justify-items: center; gap: 0.6rem; padding: 1rem; color: var(--muted); }
.drop-empty svg { width: 40px; height: 40px; color: var(--lime); }
.drop-empty strong { color: var(--text); font-weight: 600; }
.link { color: var(--lime); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.hint { font: 400 0.75rem var(--mono); color: var(--faint); }
.drop.has-model .drop-empty { display: none; }
.drop-readout { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.8rem; display: grid; gap: 0.15rem; pointer-events: none; font-family: var(--mono); }
.readout-name { font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.readout-dims { font-size: 0.9375rem; color: var(--text); }
.readout-note { font-size: 0.75rem; color: var(--lime); }
.file-list { list-style: none; margin: -0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.file-list:empty { display: none; }
.file-list li { font: 400 0.75rem var(--mono); color: var(--muted); padding: 0.35rem 0.4rem 0.35rem 0.7rem; border: 1px solid var(--line-2); border-radius: 999px; display: inline-flex; align-items: center; gap: 0.4rem; max-width: 100%; }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 0.3rem; }
.file-list button:hover { color: var(--text); }

.field { display: grid; gap: 0.45rem; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; color: var(--text); padding: 0; }
.field legend { margin-bottom: 0.45rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=number], select, textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--ground); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 0.8rem 0.9rem; width: 100%; transition: border-color 0.2s;
}
textarea { resize: vertical; min-height: 6.5rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); }
::placeholder { color: var(--faint); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.segmented legend { grid-column: 1 / -1; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 0.8rem 0.6rem; border: 1px solid var(--line-2); border-radius: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all 0.2s; }
.segmented input:checked + span { border-color: var(--lime); color: var(--text); background: rgb(155 225 10 / 0.07); }
.segmented input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-size: 0.9375rem; }
.form-note { color: var(--muted); font-size: 0.8125rem; text-align: center; text-wrap: balance; }
.form-note a { color: var(--text); text-underline-offset: 0.2em; }
.form-note a:hover { color: var(--lime); }
.sent { text-align: center; display: grid; justify-items: center; gap: 1rem; padding: 3rem 1rem; }
.sent h3 { font-size: 2rem; font-stretch: 112%; font-weight: 700; letter-spacing: -0.03em; }
.sent p { color: var(--muted); max-width: 26rem; }
.sent:focus { outline: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-size: 1.125rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--lime), var(--lime)) center / 12px 2px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 2px 12px no-repeat; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.5rem 0; max-width: 40rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { margin-bottom: 0; } }

/* Footer */
.foot { padding: 4rem 0 3rem; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 2rem; align-items: start; color: var(--muted); font-size: 0.9375rem; }
.foot-logo { height: 44px; width: auto; }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { color: var(--lime); }
.foot-small { font: 400 0.75rem var(--mono); color: var(--faint); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* Scroll reveal (only when JavaScript is running and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot { animation: none; }
}
