@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/assets/fonts/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 800; font-display: swap; src: url(/assets/fonts/figtree-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: Karla; font-weight: 400; font-display: swap; src: url(/assets/fonts/karla-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Karla; font-weight: 500; font-display: swap; src: url(/assets/fonts/karla-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Karla; font-weight: 700; font-display: swap; src: url(/assets/fonts/karla-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --paper: #ffffff;
  --panel: #f3f3f0;
  --ink: #121211;
  --sun: #ffca45;
  --sun-deep: #f0b92a;
  --mute: #6a6963;
  --line: #dcdbd5;
  --bad: #b3261e;
  --r: 6px;
  --head: Figtree, system-ui, sans-serif;
  --body: Karla, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --top-h: 68px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.5rem; border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--sun); color: var(--ink); font: 700 1.05rem/1 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink); transform: translateY(0); transition: transform .08s, box-shadow .08s, background .15s;
}
.btn:hover { background: var(--sun-deep); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { background: var(--panel); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn-ink:hover { background: #2a2a28; }
.btn-small { min-height: 40px; padding: 0 1rem; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }
.btn-small:active { transform: translateY(3px); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--mute); text-decoration: underline; cursor: pointer; }

/* header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; height: var(--top-h);
  display: flex; align-items: center; gap: 1.25rem; padding: 0 var(--gutter);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: #fff; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.15rem/1 var(--head); letter-spacing: -0.02em; }
.mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--mute); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.lang { font: 500 .85rem/1 var(--mono); text-decoration: none; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: var(--r); }
.lang:hover { border-color: var(--ink); }
@media (max-width: 860px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0;
  min-height: calc(100vh - var(--top-h)); min-height: calc(100svh - var(--top-h));
}
.hero-copy { padding: clamp(2.5rem, 7vw, 6rem) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; }
.hero h1 { font-size: clamp(3.4rem, 8.4vw, 7.6rem); line-height: .92; letter-spacing: -0.045em; max-width: 8ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #3a3a37; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.facts { list-style: none; padding: 1.4rem 0 0; margin: .4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--head); font-size: 1.05rem; }
.facts span { color: var(--mute); font-size: .92rem; line-height: 1.45; display: block; margin-top: .2rem; }
.stage { position: relative; background: var(--sun); overflow: hidden; }
.stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.hero-stage { min-height: 460px; }
.stage-hint {
  position: absolute; left: 50%; top: 1.5rem; transform: translateX(-50%); pointer-events: none;
  font: 500 .85rem/1 var(--mono); background: var(--ink); color: #fff; padding: .5rem .75rem; border-radius: 999px;
}
.hero-swatches { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; gap: .55rem; padding: .5rem; background: rgba(255,255,255,.85); border-radius: 999px; }
.sw { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid rgba(0,0,0,.18); cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { order: -1; height: 62vh; min-height: 360px; }
  .facts { grid-template-columns: 1fr; }
}

/* sections */
.sec { padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); }
.sec-panel { background: var(--panel); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: .9rem; }
.sec-head p { color: var(--mute); font-size: 1.1rem; }
.note { color: var(--mute); font-size: .95rem; margin-top: 1.2rem; max-width: 46rem; }

.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.model { text-decoration: none; display: grid; gap: .55rem; align-content: start; }
.model img { background: var(--panel); border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: .45rem; transition: background .2s; }
.model:hover img { background: var(--sun); }
.model p { color: var(--mute); font-size: .97rem; line-height: 1.45; }
.model-meta { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding-top: .55rem; font-size: .85rem !important; }
.model-meta .num { color: var(--ink); }
@media (max-width: 1000px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: s; }
.how li { display: grid; gap: .6rem; align-content: start; padding-top: 1.1rem; border-top: 3px solid var(--ink); }
.how-n { font-size: .95rem; color: var(--mute); }
.how p { color: #3f3f3b; font-size: .98rem; line-height: 1.5; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }

.prices { width: 100%; max-width: 860px; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prices th, .prices td { text-align: right; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prices thead th { font: 700 .95rem/1.2 var(--body); color: var(--mute); border-bottom: 2px solid var(--ink); }
.prices th:first-child { text-align: left; padding-left: 0; }
.prices tbody tr:hover { background: var(--panel); }

.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.uses li { display: grid; gap: .5rem; align-content: start; }
.uses p { color: var(--mute); font-size: .98rem; line-height: 1.5; }
@media (max-width: 900px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .uses { grid-template-columns: 1fr; } }

.faq { max-width: 48rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font: 700 1.1rem/1.35 var(--head); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .95rem; font: 400 1.5rem/1 var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 0 1.2rem; color: #3f3f3b; max-width: 42rem; }

.cta { background: var(--sun); padding: clamp(4rem, 9vw, 7rem) var(--gutter); display: grid; gap: 1.2rem; justify-items: start; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.04em; }
.cta p { max-width: 34rem; font-size: 1.15rem; }

.foot { border-top: 1px solid var(--line); padding: 2.5rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.foot p { color: var(--mute); font-size: .92rem; margin-top: .7rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; }
.foot-links a { color: var(--mute); font-size: .95rem; }

.thanks { min-height: 60vh; display: grid; align-content: center; gap: 1.4rem; max-width: 46rem; }
.thanks h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -0.04em; }
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; letter-spacing: -0.01em; }
.legal p { margin: .5rem 0; color: #33332f; }

/* ---------- order wizard ---------- */
.page-order .foot { display: none; }
.wiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 560px); min-height: calc(100vh - var(--top-h)); }
.wiz-stage { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); height: calc(100vh - var(--top-h) - env(safe-area-inset-top, 0px)); }
.stage-price {
  position: absolute; left: 1.25rem; bottom: 1.25rem; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r);
  padding: .7rem 1rem; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .5rem; box-shadow: 0 4px 0 var(--ink);
}
.sp-unit { font-size: 1.6rem; font-weight: 500; }
.sp-label { color: var(--mute); font-size: .9rem; }
.sp-total { grid-column: 1 / -1; font-size: .85rem; color: var(--mute); }
.sp-total .num { color: var(--ink); }
.wiz-panel { padding: 2rem clamp(1.25rem, 3vw, 2.5rem) calc(3rem + env(safe-area-inset-bottom, 0px)); border-left: 1px solid var(--line); }
.wiz-title { font-size: 1.1rem; letter-spacing: -0.01em; color: var(--mute); font-weight: 700; margin-bottom: 1rem; }
.rail { list-style: none; padding: 0 0 1.2rem; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--line); }
.rail button {
  display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: .3rem .7rem .3rem .35rem; font: 500 .85rem/1 var(--body); color: var(--ink); cursor: pointer;
}
.rail button .num { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--panel); font-size: .75rem; }
.rail button[aria-current="step"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.rail button[aria-current="step"] .num { background: var(--sun); color: var(--ink); }
.rail button:disabled { color: #a9a8a2; cursor: default; }
.step { display: grid; gap: 1.3rem; }
.step h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); outline: none; }
.step-lead { color: var(--mute); margin-top: -.6rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; min-width: 0; }
legend { font: 700 1rem/1.3 var(--body); padding: 0; margin-bottom: .6rem; }

.drop {
  border: 2px dashed #b9b8b1; border-radius: var(--r); padding: 2rem 1.2rem; display: grid; justify-items: center; gap: .45rem; text-align: center;
  cursor: pointer; background: var(--panel); transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over { border-color: var(--ink); background: #fff6dc; }
.drop strong { font-family: var(--head); font-size: 1.1rem; }
.drop > span:not(.btn) { color: var(--mute); font-size: .92rem; }
.drop .btn { margin-top: .4rem; pointer-events: none; }
.file-row { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; background: var(--panel); border-radius: var(--r); font-size: .95rem; }
.file-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-state { color: var(--mute); margin-left: auto; white-space: nowrap; }

.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
input[type="text"], input:not([type]), input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1.5px solid #b9b8b1; border-radius: var(--r);
  font: 400 1rem/1.3 var(--body); color: var(--ink); background: #fff;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 2px solid var(--sun); outline-offset: 0; }
input[type="range"] { accent-color: var(--ink); width: 100%; }
.help { color: var(--mute); font-size: .88rem; line-height: 1.45; }
.err { color: var(--bad); font-size: .9rem; font-weight: 500; }
.field.bad input { border-color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-zip { grid-template-columns: 9rem 1fr; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } .grid-zip { grid-template-columns: 7rem 1fr; } }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: .55rem .4rem; max-width: 30rem; }
.swatch { cursor: pointer; display: grid; justify-items: center; gap: .25rem; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 100%; max-width: 46px; aspect-ratio: 1; border-radius: var(--r); background: var(--c); border: 1.5px solid rgba(0,0,0,.15); transition: transform .1s; }
.swatch em { font-style: normal; font-size: .72rem; color: var(--mute); text-align: center; line-height: 1.2; }
.swatch input:checked + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch input:checked ~ em { color: var(--ink); font-weight: 700; }
.swatch input:focus-visible + span { outline: 3px solid var(--sun-deep); outline-offset: 2px; }

.choices { display: grid; gap: .55rem; }
.choice { cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff;
}
.choice-body strong { font-family: var(--head); font-size: 1.05rem; }
.choice-body > span:not(.choice-price):not(.choice-meta) { grid-column: 1; color: var(--mute); font-size: .92rem; line-height: 1.4; }
.choice-price, .choice-meta { grid-column: 2; grid-row: 1; font-size: .85rem; color: var(--mute); align-self: center; }
.choice input:checked + .choice-body { border-color: var(--ink); background: #fff6dc; box-shadow: inset 4px 0 0 var(--sun); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--sun-deep); outline-offset: 2px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: grid; justify-items: center; gap: .1rem; padding: .7rem .4rem; font-weight: 700; border-right: 1px solid var(--line); }
.segmented label:last-child span { border-right: 0; }
.segmented em { font-style: normal; font-weight: 400; font-size: .8rem; color: var(--mute); }
.segmented input:checked + span { background: var(--ink); color: #fff; }
.segmented input:checked + span em { color: var(--sun); }
.segmented input:focus-visible + span { outline: 3px solid var(--sun-deep); outline-offset: -3px; }
.btn-hear { justify-self: start; }
.btn-hear svg { width: 22px; height: 22px; }

.tiers { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: -.5rem; }
.tier { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .85rem; cursor: pointer; font-size: .9rem; }
.tier[aria-pressed="true"] { border-color: var(--ink); background: var(--sun); }

.sum { width: 100%; border-collapse: collapse; font-size: .97rem; }
.sum td { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.sum td:last-child { text-align: right; }
.sum-total td { font-weight: 700; border-bottom: 2px solid var(--ink); font-size: 1.1rem; }
.breakdown { background: var(--panel); border-radius: var(--r); padding: .8rem 1rem; }

.rev { margin: 0 0 1.2rem; display: grid; }
.rev div { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rev dt { color: var(--mute); font-size: .9rem; }
.rev dd { margin: 0; overflow-wrap: anywhere; }
.rev .link { font-size: .85rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-size: .97rem; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); margin-top: 1px; flex: none; }
.pay { display: grid; gap: .7rem; }
.pay-opt {
  display: grid; gap: .2rem; text-align: left; padding: 1rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--sun); color: var(--ink); cursor: pointer; font: inherit; box-shadow: 0 4px 0 var(--ink); transition: transform .08s, box-shadow .08s;
}
.pay-opt strong { font: 800 1.15rem/1.2 var(--head); }
.pay-opt span { font-size: .9rem; color: #3a3a37; }
.pay-opt[data-mode="invoice"] { background: #fff; }
.pay-quote { background: var(--panel); border-color: var(--line); box-shadow: none; }
.pay-opt:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.pay-opt:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .wiz { grid-template-columns: 1fr; }
  .wiz-stage { top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); height: 40vh; height: 40svh; z-index: 5; }
  .wiz-panel { border-left: 0; }
  .stage-price { left: .75rem; bottom: .75rem; padding: .45rem .7rem; }
  .sp-unit { font-size: 1.2rem; }
}
