@font-face { font-family: "Archivo Black"; src: url(fonts/archivo-black.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url(fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-prime-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(fonts/courier-prime-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --manila: #EAD7A1; --manila-dark: #D8C17F; --manila-edge: #C9AE66;
  --green: #1F5D46; --green-deep: #174836; --red: #C0283C; --graphite: #2B2B2B; --amber: #7A4F10;
  --paper-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .33  0 0 0 0 .12  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --field-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 .1  0 0 0 0 .05  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --head: "Archivo Black", "Arial Black", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
  --pad: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--manila-dark) var(--green-deep); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--green) var(--field-noise); color: var(--manila); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; line-height: 1.02; }
p { margin: 0; }
::selection { background: var(--red); color: var(--manila); }
:focus-visible { outline: 3px solid var(--manila); outline-offset: 3px; }
.card :focus-visible { outline-color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--manila); color: var(--graphite); padding: 10px 14px; font-weight: 700; border-radius: 4px; }
.skip:focus { top: 12px; }
.typed { font-family: var(--type); }
.muted { opacity: .62; font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); max-width: 1440px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--manila-dark); }
.brand-name { font-family: var(--head); font-size: 23px; letter-spacing: -.01em; }
.brand-tick { font-family: var(--type); font-weight: 700; font-size: 15px; opacity: .8; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--manila); }
.nav .nav-demo { margin-left: 8px; border: 2px solid var(--manila); border-radius: 4px; font-weight: 700; }
.nav .nav-demo:hover { background: rgba(234,215,161,.1); }

/* ---------- buttons ---------- */
.btn-main { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; background: var(--manila) var(--paper-noise); color: var(--graphite); font-family: var(--head); font-size: 20px; text-decoration: none; border-radius: 4px; box-shadow: 4px 4px 0 var(--graphite); transition: transform .12s ease, box-shadow .12s ease; }
.btn-main:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--graphite); }
.btn-main:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--graphite); }
.btn-main.dark { background: var(--green); color: var(--manila); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; max-width: 1440px; margin: 0 auto; padding: clamp(16px, 2.5vw, 36px) var(--pad) 72px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.025em; line-height: 1; }
.hero h1 span { display: block; white-space: nowrap; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 34em; }
.actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }

.filebox { margin-top: 40px; max-width: 560px; }
.filebox-title { font-size: 20px; margin-bottom: 12px; }
.filebox-well { position: relative; background: var(--green-deep); border-radius: 6px 6px 4px 4px; padding: 14px 12px 0; box-shadow: inset 0 10px 18px rgba(0,0,0,.35); }
.receipts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.receipt { position: relative; display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; gap: 0 12px; align-items: baseline; margin-top: -8px; padding: 8px 14px 14px; background: var(--manila) var(--paper-noise); color: var(--graphite); font-family: var(--type); font-size: 15px; line-height: 1.35; border-radius: 4px 4px 0 0; box-shadow: 0 -2px 4px rgba(0,0,0,.22); }
.receipt:first-child { margin-top: 0; }
.r-turn { font-weight: 700; grid-row: 1; grid-column: 1; }
.r-name { grid-row: 1; grid-column: 2; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-meta { grid-row: 2; grid-column: 2; font-size: 13.5px; }
.r-stamp { grid-row: 1 / 3; grid-column: 3; align-self: center; font-family: var(--head); font-size: 12px; color: var(--red); border: 2px solid var(--red); border-radius: 3px; padding: 1px 6px; line-height: 1.3; transform: rotate(-7deg); text-transform: uppercase; filter: url(#ink); mix-blend-mode: multiply; }
.receipt.hold { background-color: #DCCB98; }
.receipt.hold .r-stamp { color: var(--amber); border-color: var(--amber); }
.filebox-front { position: relative; z-index: 2; margin: -6px -12px 0; height: 58px; background: var(--graphite); border-radius: 0 0 6px 6px; display: flex; align-items: center; justify-content: center; box-shadow: 0 -3px 0 rgba(0,0,0,.25), 0 14px 24px -10px rgba(0,0,0,.5); }
.filebox-front span { font-family: var(--type); font-size: 13px; color: var(--manila); border: 1px solid rgba(234,215,161,.5); padding: 4px 10px; border-radius: 2px; }

/* ---------- cards ---------- */
.card { position: relative; background: var(--manila) var(--paper-noise); color: var(--graphite); border-radius: 6px; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 2px 2px rgba(0,0,0,.18), 0 24px 40px -18px rgba(0,0,0,.6); }
.hero-card { position: relative; }
.kennel { padding: 54px clamp(22px, 2.6vw, 40px) 26px; transform: rotate(.6deg); transform-origin: 50% 0; }
.hole { position: absolute; top: 16px; left: 50%; margin-left: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); border: 5px solid var(--manila-dark); box-shadow: inset 0 2px 3px rgba(0,0,0,.45); }
.card-head { max-width: calc(100% - 250px); border-bottom: 3px solid var(--red); padding-bottom: 12px; }
.card-title { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.015em; }
.card-sub { font-size: 14px; margin-top: 6px; opacity: .75; }
.photo { position: absolute; top: 30px; right: clamp(18px, 2.4vw, 34px); width: 222px; margin: 0; padding: 8px; background: #F6F1E4; transform: rotate(3deg); box-shadow: 0 2px 3px rgba(0,0,0,.25), 0 10px 18px -8px rgba(0,0,0,.45); z-index: 3; }
.photo img { filter: grayscale(1) contrast(1.05); aspect-ratio: 820 / 642; object-fit: cover; width: 100%; }
.clip { position: absolute; top: -16px; left: 50%; width: 74px; height: 26px; margin-left: -37px; z-index: 2; }
.clip::before { content: ""; position: absolute; inset: 0; background: var(--graphite); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.clip::after { content: ""; position: absolute; left: 50%; top: -22px; width: 54px; height: 30px; margin-left: -27px; border: 3px solid #A7A7A2; border-bottom: 0; border-radius: 10px 10px 0 0; }

.fields { margin: 10px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.field { display: grid; grid-template-columns: 9.4em minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 9px 0 7px; border-bottom: 1px solid rgba(43,43,43,.28); }
.f-turn, .f-place { grid-column: 1; }
.f-charity, .f-wallet, .f-min, .f-meter, .f-next, .f-log { grid-column: 1 / -1; }
.field dt { font-size: 13px; font-weight: 600; opacity: .72; }
.field dd { margin: 0; font-size: 19px; font-weight: 700; min-width: 0; }
.f-turn dd { font-size: 26px; line-height: 1; }
.f-charity { padding-top: 14px; }
.f-charity dd { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1; min-height: 2.2em; overflow-wrap: anywhere; }
.f-charity .where { display: block; font-size: 14px; font-weight: 400; margin-top: 4px; min-height: 1.3em; }
.meter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bar { position: relative; display: block; flex: 0 1 260px; height: 16px; border: 2px solid var(--graphite); border-radius: 3px; background: rgba(43,43,43,.08); overflow: hidden; }
.bar span { position: absolute; inset: 0 auto 0 0; width: calc(var(--f, 0) * 100%); background: var(--green); }
.meter.over .bar span { background: var(--red); }
.meter-note { font-family: var(--type); font-weight: 700; font-size: 14.5px; }
.meter.over .meter-note { color: var(--red); }
dd.small { font-size: 15px; font-weight: 400; min-height: 2.8em; }
.live-note { margin-top: 18px; font-weight: 700; font-size: 16px; max-width: 34em; padding-left: 12px; border-left: 4px solid var(--red); }
.sim-stamp { position: absolute; right: 26px; bottom: 54px; font-family: var(--head); font-size: 20px; text-transform: uppercase; color: var(--red); border: 4px solid var(--red); border-radius: 5px; padding: 1px 10px; transform: rotate(-6deg); filter: url(#ink); mix-blend-mode: multiply; opacity: .85; pointer-events: none; }
.tick { animation: tick .35s ease-out; }
@keyframes tick { from { background: rgba(192,40,60,.18); } to { background: transparent; } }
.caret::after { content: "_"; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.card-foot { margin-top: 16px; font-size: 13px; line-height: 1.45; opacity: .85; }

.stamp { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-9deg); pointer-events: none; z-index: 5; opacity: 0; visibility: hidden; }
.stamp.show { opacity: 1; visibility: visible; }
.stamp-ink { display: flex; flex-direction: column; align-items: center; padding: 10px 26px 12px; color: var(--red); border: 6px solid var(--red); border-radius: 8px; box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 7px var(--red); filter: url(#ink); mix-blend-mode: multiply; white-space: nowrap; }
.stamp-big { font-family: var(--head); font-size: clamp(44px, 5.4vw, 84px); line-height: 1; }
.stamp-small { font-family: var(--head); font-size: clamp(16px, 1.5vw, 22px); letter-spacing: .04em; margin-top: 4px; }
.stamp.kept .stamp-big { font-size: clamp(32px, 3.9vw, 60px); }

.desk { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.btn-stamp { min-height: 52px; padding: 0 24px; font-family: var(--head); font-size: 18px; color: var(--manila); background: transparent; border: 3px solid var(--manila); border-radius: 4px; cursor: pointer; }
.btn-stamp:hover { background: rgba(234,215,161,.1); }
.btn-stamp:active { transform: translateY(2px); }
.btn-stamp[disabled] { opacity: .55; cursor: default; }
.desk-note { font-size: 15px; max-width: 30em; opacity: .9; }

/* ---------- how ---------- */
.sec-title { font-size: clamp(36px, 4.2vw, 64px); letter-spacing: -.02em; }
.sec-lede { font-size: clamp(17px, 1.3vw, 19px); max-width: 32em; margin-top: 14px; opacity: .92; }
/* how a turn works: the live five minutes, as big as the screen allows */
.how { position: relative; max-width: 1440px; margin: 0 auto; padding: 72px var(--pad) 72px; border-top: 1px solid rgba(234,215,161,.25); }
.how-title { position: relative; z-index: 2; font-size: clamp(22px, 2vw, 28px); }
.clock-who { margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--manila-dark); min-height: 1.5em; }
.clock-big { margin: .12em 0 0; font-family: var(--head); font-size: clamp(120px, 27vw, 400px); line-height: .86; letter-spacing: -.04em; color: var(--manila); white-space: nowrap; }
.clock-says { font-family: var(--head); font-size: clamp(22px, 2.6vw, 40px); line-height: 1.15; max-width: 26em; margin-top: 10px; }
.rail { list-style: none; margin: 56px 0 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 4px solid var(--manila); position: relative; }
.rail li { position: relative; padding-top: 6px; }
.rail li::before { content: ""; position: absolute; top: -41px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 4px solid var(--manila); }
.rail li:nth-child(2)::before { background: var(--red); border-color: var(--red); }
.rail li:last-child::before { background: transparent; border-style: dashed; }
.rail-at { display: block; font-size: 15px; font-weight: 700; color: var(--manila-dark); margin-bottom: 8px; }
.rail h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.12; }
.rail p { margin-top: 10px; font-size: 16px; max-width: 26em; }

/* ---------- promo ---------- */
.promo { max-width: 1440px; margin: 0 auto; padding: 40px var(--pad) 40px; }
.promo-frame { position: relative; margin: 0 auto; background: var(--graphite); padding: 14px; border-radius: 8px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.7); width: min(100%, 1180px); }
.promo-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; border-radius: 3px; }
.promo-sound { position: absolute; right: 28px; bottom: 28px; min-height: 44px; padding: 0 16px; background: var(--manila); color: var(--graphite); border: 0; border-radius: 4px; font-family: var(--head); font-size: 15px; cursor: pointer; box-shadow: 3px 3px 0 var(--graphite); }

/* ---------- itemised receipt ---------- */
.itemised { max-width: 1440px; margin: 0 auto; padding: 72px var(--pad) 64px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.slip { position: relative; background: #F6F1E4; color: var(--graphite); padding: 34px 30px 40px; transform: rotate(-1.2deg); box-shadow: 0 2px 3px rgba(0,0,0,.25), 0 30px 40px -20px rgba(0,0,0,.6);
  -webkit-mask: radial-gradient(circle 7px at 10px 0, transparent 6.5px, #000 7px) top left / 20px 51% repeat-x, radial-gradient(circle 7px at 10px 100%, transparent 6.5px, #000 7px) bottom left / 20px 51% repeat-x;
  mask: radial-gradient(circle 7px at 10px 0, transparent 6.5px, #000 7px) top left / 20px 51% repeat-x, radial-gradient(circle 7px at 10px 100%, transparent 6.5px, #000 7px) bottom left / 20px 51% repeat-x; }
.slip-top { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-align: center; border-bottom: 2px dashed rgba(43,43,43,.45); padding-bottom: 12px; }
.slip-title { font-size: clamp(30px, 2.8vw, 42px); text-align: center; margin-top: 18px; }
.slip-meta { text-align: center; font-size: 14px; margin-top: 10px; }
.slip-lines { list-style: none; margin: 22px 0 0; padding: 0; border-top: 2px dashed rgba(43,43,43,.45); }
.slip-lines li { display: grid; grid-template-columns: 1.8em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px dotted rgba(43,43,43,.4); font-size: 16px; }
.slip-lines .amt { font-weight: 700; white-space: nowrap; }
.slip-lines .total { font-size: 21px; font-weight: 700; border-bottom: 3px double var(--graphite); padding: 14px 0; }
.slip-lines .zero { color: var(--red); font-weight: 700; }
.ln { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--red); color: #F6EBCB; font-family: var(--type); font-weight: 700; font-size: 13px; line-height: 1; }
.notes { list-style: none; margin: 26px 0 0; padding: 0; }
.notes li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(234,215,161,.3); }
.notes .ln { font-size: 15px; margin-top: 2px; }
.notes p { font-size: 17.5px; max-width: 34em; }
.notes b { font-family: var(--head); font-weight: 400; font-size: 19px; display: block; margin-bottom: 2px; }
.slip-foot { margin-top: 18px; font-size: 13px; text-align: center; line-height: 1.6; }
.slip-stamp { position: absolute; right: 22px; top: 44%; font-family: var(--head); font-size: 34px; color: var(--red); border: 5px solid var(--red); border-radius: 6px; padding: 2px 14px; transform: rotate(-14deg); text-transform: uppercase; filter: url(#ink); mix-blend-mode: multiply; opacity: .9; }
.item-text .sec-title { margin-bottom: 8px; }

/* ---------- the line ---------- */
.line { max-width: 1440px; margin: 0 auto; padding: 72px var(--pad) 56px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.line-text p { margin-top: 18px; max-width: 30em; }
.line-text .sec-title + p { margin-top: 22px; }
.line-facts { margin: 26px 0 0; border-top: 2px solid var(--manila); }
.line-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(234,215,161,.35); }
.line-facts dt { font-family: var(--body); font-size: 15.5px; }
.line-facts dd { margin: 0; font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; }
.endorse { font-weight: 700; }
.line-photo { position: relative; margin: 36px 0 0; width: min(320px, 80%); padding: 8px 8px 30px; background: #F6F1E4; transform: rotate(2.5deg); box-shadow: 0 2px 3px rgba(0,0,0,.25), 0 14px 24px -10px rgba(0,0,0,.5); }
.line-photo img { filter: grayscale(1) contrast(1.05); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.find { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.find label { font-weight: 600; font-size: 16px; }
.find input { min-height: 52px; padding: 0 16px; font-family: var(--type); font-size: 18px; font-weight: 700; background: var(--manila) var(--paper-noise); color: var(--graphite); border: 0; border-radius: 4px; box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.find input::placeholder { color: rgba(43,43,43,.55); }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.drawer { position: relative; }
.drawer-cards { list-style: none; margin: 0; padding: 24px 18px 0; background: var(--green-deep); border-radius: 6px 6px 0 0; box-shadow: inset 0 12px 20px rgba(0,0,0,.35); min-height: 120px; }
.dcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; padding: 14px 18px 16px; background: var(--manila) var(--paper-noise); color: var(--graphite); border-radius: 0 4px 0 0; box-shadow: 0 -2px 5px rgba(0,0,0,.25); }
.dcard:first-child { margin-top: 26px; }
.dcard + .dcard { margin-top: 30px; }
.tab { position: absolute; top: -24px; height: 26px; padding: 3px 12px 0; background: var(--manila) var(--paper-noise); border-radius: 5px 5px 0 0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dcard:nth-child(3n+1) .tab { left: 0; } .dcard:nth-child(3n+2) .tab { left: 36%; } .dcard:nth-child(3n) .tab { left: 70%; }
.dname { font-family: var(--type); font-size: 19px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dwhere { grid-column: 1; font-size: 13.5px; opacity: .78; }
.dstat { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 14px; white-space: nowrap; text-align: right; }
.dcard.paid .dstat { color: var(--green); font-weight: 600; }
.dcard.now { transform: translateY(-8px); box-shadow: 0 -2px 5px rgba(0,0,0,.25), 0 10px 16px -8px rgba(0,0,0,.5); z-index: 2; }
.dcard.now .tab { background: #A41E31; color: #F6EBCB; }
.dcard.now .dstat { font-family: var(--head); color: var(--red); text-transform: uppercase; font-size: 15px; border: 3px solid var(--red); padding: 2px 8px; border-radius: 4px; transform: rotate(-4deg); filter: url(#ink); mix-blend-mode: multiply; }
.dempty { padding: 20px 6px 30px; font-family: var(--type); color: var(--manila); }
.drawer-rest { height: 34px; background: var(--green-deep); position: relative; }
.drawer-rest::before { content: ""; position: absolute; left: 18px; right: 18px; top: 8px; height: 26px; background: var(--manila-dark); box-shadow: 0 -5px 0 -1px var(--manila-edge), 0 -10px 0 -2px var(--manila-dark), 0 -15px 0 -3px var(--manila-edge); border-radius: 3px 3px 0 0; }
.drawer-front { position: relative; z-index: 3; height: 104px; margin: 0 -10px; background: var(--graphite); border-radius: 4px 4px 8px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-shadow: 0 -3px 0 rgba(0,0,0,.3), 0 24px 30px -16px rgba(0,0,0,.6); }
.drawer-label { background: var(--manila); color: var(--graphite); font-size: 14px; font-weight: 700; padding: 4px 14px; border: 3px solid #9C9C96; border-radius: 2px; text-align: center; }
.drawer-handle { width: 150px; height: 14px; border-radius: 8px; background: #8E8E88; box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); }
.small-label { margin-top: 22px; font-size: 13.5px; opacity: .85; max-width: 46em; }

/* ---------- token papers ---------- */
.token { max-width: 1440px; margin: 0 auto; padding: 72px var(--pad) 64px; }
.papers { padding: 58px clamp(22px, 4vw, 60px) 40px; transform: rotate(-.5deg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 12px 48px; }
.papers-head { grid-column: 1; grid-row: 1; border-bottom: 3px solid var(--red); padding-bottom: 14px; }
.papers-fields { grid-column: 1; grid-row: 2; }
.papers-note { grid-row: 3; }
.papers-head h2 { font-size: clamp(38px, 4.4vw, 68px); letter-spacing: -.02em; }
.papers-head p { margin-top: 8px; font-size: 16px; opacity: .78; }
.papers-fields { margin: 6px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.papers-fields div { display: grid; grid-template-columns: 8.4em minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 12px 0 10px; border-bottom: 1px solid rgba(43,43,43,.28); }
.papers-fields .wide { grid-column: 1 / -1; }
.papers-fields dt { font-size: 13.5px; font-weight: 600; opacity: .72; }
.papers-fields dd { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.papers-note { grid-column: 1; margin-top: 14px; font-size: 15px; font-weight: 600; }
.papers-photo { grid-column: 2; grid-row: 1 / 4; align-self: start; position: relative; margin: -24px 0 0; padding: 8px 8px 10px; background: #F6F1E4; transform: rotate(3.5deg); box-shadow: 0 2px 3px rgba(0,0,0,.25), 0 14px 24px -10px rgba(0,0,0,.5); }
.papers-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.papers-photo figcaption { font-size: 18px; font-weight: 700; padding: 8px 4px 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 1440px; margin: 0 auto; padding: 72px var(--pad) 56px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 24px; }
.faq-cards { display: flex; flex-direction: column; gap: 14px; }
.qa { padding: 0; }
.qa:nth-child(odd) { transform: rotate(-.35deg); }
.qa:nth-child(even) { transform: rotate(.35deg); }
.qa summary { list-style: none; display: grid; grid-template-columns: 4em minmax(0, 1fr) 24px; gap: 12px; align-items: center; min-height: 64px; padding: 14px 22px; cursor: pointer; font-family: var(--head); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.2; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 14px; height: 14px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg) translateY(-4px); justify-self: end; }
.qa[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.q-no { font-size: 15px; font-weight: 700; color: var(--red); }
.qa p { padding: 0 22px 20px calc(22px + 4em + 12px); font-size: 16.5px; line-height: 1.55; max-width: calc(36em + 22px + 4em + 12px); border-top: 1px solid rgba(43,43,43,.22); padding-top: 14px; margin: 0 0 0; }

/* ---------- buy ---------- */
.buy { max-width: 1440px; margin: 0 auto; padding: 48px var(--pad) 72px; display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.seal { margin: 0; justify-self: center; text-align: center; }
.seal img { width: clamp(220px, 26vw, 380px); height: auto; transform: rotate(-9deg); filter: url(#ink); }
.seal figcaption { margin-top: 18px; font-size: 15px; max-width: 24em; opacity: .9; }
.buy-card { max-width: 760px; padding: 36px 36px 34px; transform: rotate(-.6deg); }
.buy-card h2 { font-size: clamp(34px, 3.4vw, 52px); border-bottom: 3px solid var(--red); padding-bottom: 10px; }
.buy-card p { margin-top: 16px; font-size: 17px; }
.buy-ca { font-size: 19px; font-weight: 700; border-bottom: 1px solid rgba(43,43,43,.28); padding-bottom: 8px; }
.buy-card .btn-main { margin-top: 24px; }
.buy-stamp { position: absolute; right: 30px; top: 30px; font-family: var(--head); font-size: 22px; color: var(--red); border: 4px solid var(--red); border-radius: 5px; padding: 2px 10px; transform: rotate(8deg); text-transform: uppercase; filter: url(#ink); mix-blend-mode: multiply; }

/* ---------- footer ---------- */
.foot { max-width: 1440px; margin: 0 auto; padding: 40px var(--pad) 56px; border-top: 1px solid rgba(234,215,161,.25); }
.foot-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; align-items: start; max-width: 980px; }
.foot-logo { width: 72px; height: 72px; border-radius: 50%; }
.foot-name { font-family: var(--head); font-size: 24px; margin-bottom: 8px; }
.foot-name span { font-size: 15px; opacity: .8; }
.foot-card p + p { margin-top: 10px; }
.foot-card p { max-width: 62ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }
.credit { margin-top: 26px; font-size: 13.5px; line-height: 1.6; opacity: .9; max-width: 80ch; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .nav a:not(.nav-demo) { display: none; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-text { display: contents; }
  .hero h1, .lede, .actions { order: -1; }
  .filebox { order: 2; margin-top: 8px; max-width: none; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .itemised, .line, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .seal img { width: 200px; }
  .papers { grid-template-columns: minmax(0, 1fr); }
  .papers-head { max-width: none; }
  .papers-photo { grid-column: 1; grid-row: auto; width: min(320px, 80%); margin: 18px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { padding-top: 10px; padding-bottom: 10px; }
  .brand-name { font-size: 20px; }
  .brand-tick { display: none; }
  .nav .nav-demo { margin-left: 0; padding: 0 10px; font-size: 14px; }
  .hero { gap: 22px; padding-top: 8px; }
  .hero h1 { font-size: clamp(30px, 9.3vw, 46px); }
  .lede { margin-top: 0; }
  .actions { margin-top: 0; gap: 14px; }
  .kennel { padding: 48px 18px 20px; transform: rotate(.4deg); }
  .photo { width: 128px; top: 26px; right: 14px; padding: 5px; }
  .clip { width: 54px; margin-left: -27px; height: 20px; top: -12px; }
  .clip::after { width: 40px; margin-left: -20px; top: -16px; height: 22px; }
  .card-head { max-width: calc(100% - 136px); }
  .card-title { font-size: 28px; }
  .card-sub { font-size: 13px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .f-turn, .f-place { grid-column: 1 / -1; }
  .field { grid-template-columns: 7.4em minmax(0, 1fr); gap: 8px; }
  .field dd { font-size: 17px; }
  .f-turn dd { font-size: 22px; }
  .f-charity, .f-log { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .f-charity dd { font-size: 24px; min-height: 3.3em; }
  dd.small { white-space: normal; min-height: 2.7em; font-size: 14px; }
  .bar { flex-basis: 100%; }
  .meter-note { font-size: 13.5px; }
  .live-note { font-size: 15px; margin-top: 0; order: -1; }
  .sim-stamp { font-size: 15px; right: 14px; bottom: 64px; }
  .stamp-ink { padding: 8px 16px 10px; border-width: 5px; }
  .stamp-big { font-size: 46px; }
  .stamp.kept .stamp-big { font-size: 30px; }
  .stamp-small { font-size: 14px; }
  .stamp { top: 60%; }
  .desk { margin-top: 18px; gap: 12px; }
  .btn-stamp { width: 100%; }
  .receipt { grid-template-columns: 2.9em minmax(0, 1fr); font-size: 14px; padding: 8px 10px 14px; gap: 0 6px; }
  .r-meta { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .r-stamp { display: none; }
  .how { padding-top: 56px; padding-bottom: 56px; }
  .clock-big { font-size: 31vw; }
  .rail { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 4px solid var(--manila); padding: 0 0 0 26px; margin-top: 36px; gap: 28px; }
  .rail li::before { top: 4px; left: -41px; }
  .promo { padding-left: 12px; padding-right: 12px; }
  .promo-frame { padding: 8px; width: auto; max-width: calc(85svh * 9 / 16 + 16px); }
  .promo-video { aspect-ratio: 9 / 16; max-height: 85svh; }
  .promo-sound { right: 18px; bottom: 18px; }
  .slip { padding: 30px 20px 36px; }
  .slip-lines div { font-size: 14.5px; }
  .slip-lines .total { font-size: 18px; }
  .slip-stamp { font-size: 24px; right: 12px; }
  .notes p { font-size: 16px; }
  .notes b { font-size: 17.5px; }
  .dcard { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 14px; }
  .dname { font-size: 17px; white-space: normal; }
  .dstat { grid-row: auto; grid-column: 1; text-align: left; justify-self: start; margin-top: 4px; white-space: normal; }
  .dcard.now .dstat { margin-top: 8px; }
  .dcard:nth-child(3n+2) .tab { left: 28%; }
  .dcard:nth-child(3n) .tab { left: 52%; }
  .drawer-front { margin: 0 -6px; }
  .papers { padding: 52px 18px 28px; transform: none; }
  .papers-fields { grid-template-columns: minmax(0, 1fr); }
  .papers-fields div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .papers-fields dd { font-size: 17px; }
  .qa summary { grid-template-columns: 3.2em minmax(0, 1fr) 20px; padding: 12px 16px; font-size: 17px; }
  .qa p { padding: 12px 16px 18px; font-size: 15.5px; }
  .buy-card { padding: 28px 20px; }
  .buy-stamp { position: static; display: inline-block; margin: 22px 0 0 6px; font-size: 18px; }
  .foot-card { grid-template-columns: minmax(0, 1fr); }
}

.pending { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .caret::after, .tick { animation: none; }
  .pending { opacity: 1; }
  .btn-main { transition: none; }
}
