/* @strata/tokens — everything. Import this, or pick files:
     fonts.css       @font-face for Geist + IBM Plex Mono (latin 400/500/600, OFL)
     carbon.css      :root palette (dark, default) + semantic aliases
     paper.css       [data-theme="paper"] light edition
     typography.css  faces, scales, tracking
     spacing.css     grid, radii, chrome dimensions, motion
     base.css        minimal reset + .num
   Other Prints themes stay in Prints; they are a per-app preference. */
/* Strata — faces. Geist for sentences and headlines, IBM Plex Mono for
   everything operational. Vendored so desktop apps render with no network. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/geist-sans-latin-400-normal-gapTbOY8.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/geist-sans-latin-500-normal-uokXdC-Q.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/geist-sans-latin-600-normal-DFOURf8L.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2") format("woff2"); }
/* Strata — carbon edition. The brand and the default; declared on :root.
   Semantic tokens only — components never reference raw hexes.
   Set data-theme="paper" (paper.css) or an app's own theme id to override. */

:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #0C0D0F;          /* the ground */
  --surface: #121316;     /* every panel */
  --surface-2: #191B1F;   /* menus, raised */
  --surface-3: #1F2227;   /* overlays */
  --canvas: #1B1C1F;      /* 3D viewport / map ground */

  /* strata surfaces */
  --well: #060708;        /* cameras, code */
  --inset: #101216;       /* input wells */
  --line: #1C1F24;        /* inside a panel */
  --edge-highlight: rgba(255, 255, 255, 0.07);
  --edge-highlight-strong: rgba(255, 255, 255, 0.10);
  --wash-selected: rgba(255, 255, 255, 0.07);

  /* lines */
  --border: #26292F;          /* panel outline */
  --control-border: #707885; /* readable input boundaries across tools */
  --artwork-paper: #f4f3ed; /* neutral backing for imported artwork thumbnails */
  --border-strong: #3A3E47;   /* selected, window */

  /* text */
  --text-1: #E8EAED;
  --text-2: #9BA1AB;
  --text-3: #8E97A6;

  /* accent — Strata blue */
  --accent: #1B6DEB;
  --accent-hover: #1558C4;
  --accent-fg: #FFFFFF;
  --accent-muted: rgba(27, 109, 235, 0.14);

  /* semantics */
  --ok: #3ECF8E;
  --warn: #E7B549;
  --err: #F4604F;
  --info: #5CA8FF;
  --ok-muted: rgba(62, 207, 142, 0.14);
  --warn-muted: rgba(231, 181, 73, 0.14);
  --err-muted: rgba(244, 96, 79, 0.14);
  --info-muted: rgba(92, 168, 255, 0.14);

  /* 3D axes */
  --axis-x: #FF4564;
  --axis-y: #55D65A;
  --axis-z: #45A3FF;

  /* interaction */
  --hover: rgba(255, 255, 255, 0.05);
  --press: rgba(255, 255, 255, 0.09);
  --ring: #5CA8FF;
  --selection: rgba(27, 109, 235, 0.25);
}

/* Status + alias tokens are declared on BOTH :root and the themed element on
   purpose — do not "simplify" this back into :root. A var() inside a custom
   property substitutes at computed-value time on the element where it is
   DECLARED: declared only on :root, these would resolve once on <html> against
   carbon primitives, and the frozen results would inherit straight past the
   [data-theme] primitive overrides on <body>. Re-declaring them on
   [data-theme] makes them re-resolve against that theme's primitives. */
:root,
[data-theme] {
  /* fleet status */
  --status-printing: var(--accent);
  --status-idle: var(--ok);
  --status-queued: var(--info);
  --status-paused: var(--warn);
  --status-error: var(--err);
  --status-offline: var(--text-3);

  /* aliases */
  --focus: var(--ring);
  --surface-card: var(--surface);
  --surface-raised: var(--surface-2);
  --surface-overlay: var(--surface-3);
  --text-body: var(--text-1);
  --text-muted: var(--text-2);
  --scrim: rgba(0, 0, 0, 0.6);
}
/* Strata — paper edition. The light default and the site's print face.
   Strata blue remains the accent across light and dark surfaces. */

[data-theme="paper"] {
  color-scheme: light;

  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-2: #F2F0EB;
  --surface-3: #EAE7E0;
  --canvas: #EAE7E0;

  --well: #EFEDE8;
  --inset: #F7F6F3;
  --line: #ECE9E2;
  --edge-highlight: rgba(255, 255, 255, 0.6);
  --edge-highlight-strong: rgba(255, 255, 255, 0.9);
  --wash-selected: rgba(28, 27, 24, 0.06);

  --border: #E3E0D8;
  --control-border: #707885;
  --artwork-paper: #f4f3ed;
  --border-strong: #C9C5BA;

  --text-1: #1C1B18;
  --text-2: #5F5C55;
  --text-3: #97938A;

  --accent: #1B6DEB;
  --accent-hover: #1558C4;
  --accent-fg: #FFFFFF;
  --accent-muted: rgba(27, 109, 235, 0.10);

  --ok: #1D8A5A;
  --warn: #A87710;
  --err: #C2402F;
  --info: #2F6FD0;
  --ok-muted: rgba(29, 138, 90, 0.10);
  --warn-muted: rgba(168, 119, 16, 0.12);
  --err-muted: rgba(194, 64, 47, 0.10);
  --info-muted: rgba(47, 111, 208, 0.10);

  --hover: rgba(28, 27, 24, 0.045);
  --press: rgba(28, 27, 24, 0.09);
  --ring: #1558C4;
  --selection: rgba(27, 109, 235, 0.18);
  --scrim: rgba(28, 27, 24, 0.4);
}
/* Strata — typography.
   Two voices: Geist for sentences and headlines, IBM Plex Mono for everything
   operational (UI text, data, labels). No serif anywhere.
   Numerals rule: if it has a unit or it changes, it is Plex Mono, tabular,
   at any size. Geist only inside sentences and headlines. */

:root {
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* mono scale — readable; density comes from layout, not sub-readable type */
  --text-xs: 12px;     /* micro labels, axis ticks */
  --text-sm: 13px;     /* table cells, secondary UI */
  --text-md: 14px;     /* default body / UI */
  --text-lg: 16px;     /* emphasized values */
  --text-xl: 20px;     /* big numerals */

  /* stat numerals — mono 600 tabular */
  --stat-md: 20px;
  --stat-lg: 26px;

  /* sans display scale */
  --display-sm: 20px;  /* panel headings, section titles */
  --display-md: 26px;  /* page and dialog titles */
  --display-lg: 40px;  /* site and empty-state headlines */

  --leading-tight: 1.25;
  --leading-body: 1.5;

  /* uppercase mono labels */
  --tracking-label: 0.08em;
  /* display headings pull in slightly */
  --tracking-display: -0.02em;

  --text-body-size: var(--text-md);
}
/* Strata — spacing, radii, chrome, borders, shadows, motion.
   Dense by default: 4px base grid, tight paddings, hairline borders. */

:root {
  /* spacing */
  --sp-05: 2px;
  --sp-1: 4px;
  --sp-15: 6px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;

  /* composition — page layouts use these roles instead of inventing spacing */
  --page-inset: var(--sp-6);
  --page-block: var(--sp-6);
  --page-gap: var(--sp-6);
  --region-gap: var(--sp-4);
  --region-pad: var(--sp-4);
  --row-pad-y: var(--sp-3);
  --row-pad-x: var(--sp-4);
  --inline-gap: var(--sp-2);
  --micro-gap: var(--sp-1);

  /* Focused forms stay readable; operational and record surfaces fill shell. */
  --layout-form: 880px;

  /* radii — sharp, sleek */
  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;
  --r-full: 999px;
  --r-panel: 6px;
  --r-window: 12px;

  /* shell grammar — one frame, five regions */
  --topbar-h: 44px;            /* top strip, web */
  --toolbar-h: 46px;           /* top strip, desktop (traffic lights) */
  --traffic-inset: 78px;       /* desktop: column reserved for window controls */
  --rail-w: 216px;
  --rail-w-slim: 48px;
  --sidebar-w: var(--rail-w);
  --desktop-sidebar-w: 232px;  /* desktop source list */
  --panel-w-min: 240px;
  --panel-w-max: 360px;
  --statusbar-h: 26px;
  --palette-w: 560px;
  --row-h: 44px;               /* rail / list rows, web + touch */
  --row-h-dense: 32px;         /* desktop */

  /* controls */
  --control-h: 28px;
  --control-h-lg: 36px;

  /* borders */
  --bw: 1px;

  /* shadows — minimal; dark themes lean on borders, not shadows */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.18);
  --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-overlay: 0 12px 40px rgba(0, 0, 0, 0.4);

  /* motion — fast fades, no bounce */
  --dur-fast: 120ms;
  --dur-med: 200ms;
  --ease: cubic-bezier(0.3, 0, 0.2, 1);
}

/* Comfortable keeps the larger target treatment available without making
   every pointer-driven workspace pay the density cost. */
[data-density="comfortable"] {
  --control-h: 44px;
  --control-h-lg: 44px;
  --row-h: 44px;
}

/* Desktop density: 32px rows, controls stay 28. */
[data-density="dense"] {
  --row-h: var(--row-h-dense);
}

/* Touch input always gets the larger targets, even when this browser prefers
   compact information density. */
@media (pointer: coarse), (max-width: 760px) {
  :root {
    --control-h: 44px;
    --control-h-lg: 44px;
    --row-h: 44px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-inset: var(--sp-3);
    --page-block: var(--sp-4);
    --page-gap: var(--sp-4);
    --region-pad: var(--sp-3);
    --row-pad-x: var(--sp-3);
  }
}
/* Strata — minimal base layer. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--selection); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  margin: 0;
}

/* Numerals rule: anything with a unit, or that changes, is mono and tabular. */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

body { font-family: var(--font-sans); }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
button, input, textarea { font: inherit; }
button, input, textarea, progress { accent-color: var(--accent); }
input, textarea { caret-color: var(--accent); }
.site-header, main, footer { max-width: 1160px; margin-inline: auto; padding-inline: 40px; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
.brand, #brand-mark { display: flex; align-items: center; gap: 10px; }
.brand { color: var(--text-1); gap: 16px; }
#brand-mark svg:first-child { width: 23px; height: 25px; }
#brand-mark svg:last-child { width: 59px; height: 14px; }
.brand > span:last-child { border-left: 1px solid var(--border-strong); padding-left: 16px; font: 12px var(--font-mono); }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); min-height: 44px; }
.back-link svg { width: 15px; height: 15px; }
main { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 76px; padding-block: 72px 88px; align-items: start; }
h1 { font-size: clamp(36px, 4vw, 49px); letter-spacing: -.03em; line-height: 1.12; font-weight: 500; }
.lead { font-size: 17px; line-height: 1.7; color: var(--text-2); max-width: 345px; margin: 23px 0 0; }
.next { margin-top: 58px; border-top: 1px solid var(--border-strong); padding-top: 24px; max-width: 330px; }
.next h2 { font-size: 16px; letter-spacing: -.01em; }
.next p { font-size: 14px; line-height: 1.75; color: var(--text-2); margin: 10px 0 18px; }
.next a { font-size: 13px; color: var(--accent-hover); }
.request { min-width: 0; }
.request h2 { font-size: 24px; font-weight: 500; margin-bottom: 30px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { margin-bottom: 24px; min-width: 0; }
label { display: block; font: 500 12px/1.6 var(--font-mono); margin-bottom: 8px; }
.hint { font-size: 12px; line-height: 1.65; color: var(--text-2); margin: 8px 0 0; }
#file-hint { margin: -2px 0 12px; }
.drop-zone { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; min-height: 132px; padding: 24px 16px; border: 1px dashed var(--control-border); border-radius: 8px; background: var(--surface); cursor: pointer; font-family: var(--font-sans); font-size: 14px; font-weight: 400; transition: border-color 150ms, background-color 150ms; }
.drop-zone > svg { width: 25px; height: 25px; color: var(--text-2); }
.drop-zone strong { color: var(--accent-hover); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.drop-hint { color: var(--text-2); }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--accent); background: var(--accent-muted); }
.drop-zone:focus-within { outline: 2px solid var(--ring); outline-offset: 4px; }
.drop-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
input:not([type=file]), textarea { display: block; width: 100%; min-height: 46px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--control-border); border-radius: 5px; color: var(--text-1); font-size: 15px; line-height: 1.5; }
textarea { resize: vertical; min-height: 112px; }
textarea::placeholder { color: var(--text-2); font-size: 14px; }
input:focus-visible, textarea:focus-visible { border-color: var(--accent); outline-offset: 2px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.phone-field { max-width: 250px; }
.optional { color: var(--text-2); font-weight: 400; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.file-info { min-width: 0; }
.file-info strong { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.file-info small { font: 11px var(--font-mono); color: var(--text-2); }
.remove-file { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: none; background: transparent; color: var(--text-2); cursor: pointer; border-radius: 5px; }
.remove-file:hover { color: var(--err); background: var(--err-muted); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.send-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
button[type=submit], .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 13px 18px; background: var(--accent); color: var(--accent-fg); border: 1px solid transparent; border-radius: 5px; font: 500 12px var(--font-mono); cursor: pointer; transition: background-color 150ms; }
button[type=submit]:hover { background: var(--accent-hover); }
button:disabled { opacity: .6; cursor: wait; }
.send-row .hint { margin: 0; font-size: 11px; }
.privacy { margin: 20px 0 0; max-width: 390px; font-size: 11px; line-height: 1.7; color: var(--text-2); }
.form-error, .field-error { color: var(--err); font-size: 13px; line-height: 1.6; }
.form-error { padding: 14px; background: var(--err-muted); border-radius: 5px; }
.upload-status { margin-top: 16px; font-size: 12px; color: var(--text-2); }
progress { display: block; width: 100%; height: 6px; margin-bottom: 8px; border: 0; border-radius: 3px; overflow: hidden; }
progress::-webkit-progress-bar { background: var(--border); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.success { padding-block: 12px 50px; animation: receipt-in 240ms cubic-bezier(.16, 1, .3, 1); }
.success-mark { width: 48px; height: 48px; color: var(--ok); margin-bottom: 24px; }
.success h2 { font-size: 30px; margin-bottom: 16px; }
.success p { color: var(--text-2); line-height: 1.8; max-width: 440px; }
.success p strong { color: var(--text-1); font-weight: 500; overflow-wrap: anywhere; }
.reference { font: 12px var(--font-mono); border-block: 1px solid var(--border); padding-block: 20px; margin-block: 28px; }
.reference strong { margin-left: 10px; }
.secondary { background: transparent; color: var(--accent-hover); border-color: var(--border-strong); }
.secondary:hover { background: var(--accent-muted); }
footer { border-top: 1px solid var(--border); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-2); font: 11px/1.8 var(--font-mono); }
footer a { color: var(--text-2); overflow-wrap: anywhere; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px; background: var(--surface); }
.skip-link:focus { top: 12px; }
@keyframes receipt-in { from { transform: translateY(8px); } to { transform: translateY(0); } }
@media (max-width: 900px) { main { gap: 40px; grid-template-columns: .8fr 1.2fr; } .contact-fields { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 680px) {
  input:not([type=file]), textarea { font-size: 16px; }
  .site-header, main, footer { padding-inline: 24px; }
  .site-header { height: 80px; }
  .brand { gap: 10px; }
  .brand > span:last-child { padding-left: 10px; font-size: 11px; }
  .back-link { font-size: 0; gap: 0; width: 44px; justify-content: end; }
  .back-link svg { width: 20px; height: 20px; }
  main { grid-template-columns: 1fr; gap: 38px; padding-block: 40px 56px; }
  h1 { font-size: 39px; }
  .lead { font-size: 15px; margin-top: 16px; max-width: 430px; }
  .next { margin-top: 22px; padding-top: 18px; max-width: none; }
  .next p { margin-bottom: 10px; font-size: 13px; }
  .next h2 { font-size: 14px; }
  .request h2 { font-size: 22px; margin-bottom: 24px; }
  .send-row { gap: 14px; }
  .send-row .hint { font-size: 10px; }
}
@media (max-width: 380px) { .send-row { align-items: stretch; flex-direction: column; } .send-row .hint br { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
