@font-face { font-family: Inter; src: url('/brand/inter.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Atlas Sans'; src: url('/brand/atlas-sans.otf') format('opentype'); font-weight: 500; font-display: swap; }
:root { color-scheme: light dark; font-family: var(--ui-font); color: var(--ui-ink); background: var(--ui-layer-1); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: var(--ui-layer-0); border-bottom: 1px solid var(--ui-edge); }
.bar, main { width: min(720px, calc(100% - 40px)); margin: 0 auto; }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.bar img { display: block; height: auto; }
.product { border-left: 1px solid var(--ui-edge); padding-left: 16px; color: var(--ui-text); font-size: .875rem; }
.nav { margin-left: auto; font-size: .8125rem; padding-block: 12px; color: var(--ui-link); }
main { padding: clamp(32px, 6vw, 64px) 0; }
h1 { margin: 0; font: 500 clamp(2rem, 6vw, 2.75rem)/1.08 'Atlas Sans', var(--ui-font); letter-spacing: -.035em; }
h2 { margin: 0; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; }
p { color: var(--ui-text); line-height: 1.6; font-size: .9375rem; }
#intro, #identity { max-width: 60ch; margin: 12px 0 24px; }
section { padding: clamp(16px, 4vw, 24px); border: 1px solid var(--ui-edge); border-radius: var(--ui-radius-lg); margin-bottom: 16px; background: var(--ui-layer-0); }
#drop { margin-top: 16px; padding: 24px 16px; border-radius: var(--ui-radius-md); border: 1px dashed var(--ui-edge-strong); background: var(--ui-layer-1); text-align: center; }
#drop.active { border-color: var(--ui-accent); background: var(--ui-layer-2); }
#drop p { font-weight: 600; margin: 0 0 4px; color: var(--ui-ink); }
#drop span, small { color: var(--ui-text); font-size: .8125rem; }
.choose { position: relative; display: flex; width: fit-content; margin: 16px auto 0; }
.choose input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.choose:focus-within, a:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 3px; }
a.btn { text-decoration: none; }
.section-head, .receipt, .copy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
ul { list-style: none; padding: 0; margin: 0; }
li { padding: 12px 0; border-top: 1px solid var(--ui-edge-subtle); overflow-wrap: anywhere; font-size: .875rem; }
li:first-child { margin-top: 12px; }
li:last-child { padding-bottom: 0; }
li small, #reference { display: block; margin-top: 6px; line-height: 1.5; }
.status { flex-shrink: 0; border-radius: var(--ui-radius-full); padding: 3px 8px; font-size: .75rem; background: var(--ui-success-fill); color: var(--ui-success); border: 1px solid var(--ui-success-line); }
progress { accent-color: var(--ui-accent); width: 100%; height: 8px; margin-top: 8px; }
li button { margin-top: 10px; }
#receipt-message:empty, #feedback:empty { display: none; }
.fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 20px 0; }
.copy-row { margin: 6px 0 12px; }
#result label { font-size: .8125rem; color: var(--ui-text); }
#result { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .bar, main { width: calc(100% - 32px); }
  .bar { gap: 10px; } .product { padding-left: 10px; }
  .fields { grid-template-columns: 1fr; }
}
@media (pointer: coarse) { .btn, .ui-input { min-height: var(--ui-height-touch); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
