/* The customer's quote page: black and gold like the office, with the price on the thermal label. */
:root {
  --ink: #0f0e0c;
  --panel: #171512;
  --rule: #2e2a23;
  --text: #ede7da;
  --muted: #9c9384;
  --gold: #d4af37;
  --gold-pale: #eadc8e;
  --gold-grad: linear-gradient(180deg, var(--gold-pale), var(--gold));
  --paper: #f4f0e6;
  --paper-ink: #1c1a16;
  --danger: #ef7563;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(120% 60% at 50% -10%, #221d12 0%, var(--ink) 60%) no-repeat, var(--ink);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--gold-pale); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.shell { max-width: 460px; margin: 0 auto; padding: 22px 16px calc(40px + env(safe-area-inset-bottom)); }
.brand { display: flex; justify-content: center; margin-bottom: 14px; }
.brand img { width: 84px; height: auto; }
.loading { text-align: center; color: var(--muted); padding: 40px 0; }
.eyebrow { margin: 0 0 12px; text-align: center; font: 600 11px/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

/* The thermal label, printed out of a slot when the page opens. */
.label {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  font: 400 13px/1.5 var(--font-mono);
  padding: 20px 20px 22px;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  margin-bottom: 34px;
  transform-origin: top center;
  animation: print .7s cubic-bezier(.2, .8, .2, 1) backwards;
}
.label::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: radial-gradient(circle at 10px 10px, transparent 7px, var(--paper) 7.5px) 0 0 / 20px 10px repeat-x; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 -12px 0); transform: none; } } /* backwards: nothing stays applied once printed */
.label-top { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.rule { border: 0; border-top: 2px solid var(--paper-ink); margin: 12px 0; }
.rule.dashed { border-top: 1px dashed var(--paper-ink); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.total strong { font: 800 54px/1 var(--font-display); letter-spacing: .01em; }
.line { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; font-weight: 600; }
.dots { flex: 1; border-bottom: 1px dotted rgba(28, 26, 22, .5); transform: translateY(-4px); }
.label-note { margin: 8px 0 0; font-size: 12px; }
.held { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* The three steps */
.steps { display: grid; gap: 14px; }
.step { background: linear-gradient(180deg, #1a1813, #14120f); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 18px; box-shadow: inset 0 1px 0 rgba(212, 175, 55, .12); }
.step h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font: 800 24px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.step p { margin: 0; }
.n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 600 13px/1 var(--font-mono); }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 12px !important; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 4px; background: var(--ink); border: 1px solid var(--rule); border-radius: 999px; }
.app { font: 600 14px/1 var(--font-body); color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 12px 6px; cursor: pointer; transition: color .15s, background .15s; }
.app:hover { color: var(--text); }
.app.is-on { color: var(--ink); background: var(--gold-grad); }

.how { margin: 16px 0 14px; padding-left: 22px; color: #d9d2c3; font-size: 15px; }
.how li + li { margin-top: 5px; }
.copies { display: grid; gap: 8px; }
.copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 3px; align-items: center; padding: 10px 10px 10px 14px; background: var(--ink); border: 1px solid var(--rule); border-radius: 10px; }
.copy-label { grid-column: 1; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.copy-value { grid-column: 1; grid-row: 2; font: 600 15px/1.3 var(--font-mono); overflow-wrap: anywhere; }
.copy { grid-column: 2; grid-row: 1 / span 2; font: 600 13px/1 var(--font-body); color: var(--gold-pale); background: transparent; border: 1px solid rgba(212, 175, 55, .45); border-radius: 999px; padding: 9px 13px; cursor: pointer; }

.shot { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px; border: 1.5px dashed rgba(212, 175, 55, .55); border-radius: 12px; cursor: pointer; color: var(--muted); font-size: 14px; transition: border-color .15s, background .15s; }
.shot:hover, .shot:focus-within { border-color: var(--gold); background: rgba(212, 175, 55, .05); }
.shot strong { color: var(--text); font-weight: 600; }
.shot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.shot-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); font: 600 24px/1 var(--font-body); }
.shot.has-shot { border-style: solid; }
.shot img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }

.terms { margin: 0; padding-left: 20px; color: #c9c1b1; font-size: 13.5px; }
.terms li + li { margin-top: 6px; }

.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.field input { font: 500 17px/1.2 var(--font-body); color: var(--text); background: var(--ink); border: 1px solid var(--rule); border-radius: 10px; padding: 14px; width: 100%; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .15); }
.error { margin: 12px 0 0 !important; color: var(--danger); font-weight: 500; }

.btn { display: block; width: 100%; margin-top: 14px; text-align: center; text-decoration: none; font: 600 17px/1 var(--font-body); color: var(--ink); background: var(--gold-grad); border: 1px solid var(--gold); border-radius: 999px; padding: 17px 20px; cursor: pointer; box-shadow: 0 14px 26px -14px rgba(212, 175, 55, .7); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--gold-pale); box-shadow: none; margin-top: 10px; }
.fine { margin-top: 12px !important; color: var(--muted); font-size: 12.5px; text-align: center; }

.notice { text-align: center; padding: 26px 8px 8px; }
.notice h1 { margin: 0 0 10px; font: 800 38px/1.02 var(--font-display); letter-spacing: .03em; text-transform: uppercase; color: var(--gold-pale); }
.notice p { margin: 0 auto; max-width: 32ch; color: #d9d2c3; }

.foot { margin-top: 34px; text-align: center; color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .label { animation: none; }
}
