/* Risiti website — the same "till slip" identity as the app.
   Mist page, ink slip in light; night page, paper slip in dark. One family (Instrument Sans) with condensed numerals,
   JetBrains Mono wherever something is printed on a receipt. */

/* Fonts are served from this site (SIL Open Font License, see assets/fonts/*-OFL.txt): no third-party requests. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(/assets/fonts/instrument-sans-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url(/assets/fonts/instrument-sans-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(/assets/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F1F2F4; --bg-2: #E9EBEE; --surface: #FFFFFF; --raised: #F6F7F8; --well: #ECEEF1; --line: #E1E4E9; --line-2: #CDD2D9;
  --fg: #15171C; --fg-2: #464D5A; --fg-3: #636B78;
  --accent: #F2B33D; --accent-fg: #8A5A00; --on-accent: #1B1405; --accent-soft: rgba(242, 179, 61, .16);
  --in: #10A36E; --in-fg: #0B7A53; --out: #C27C06;
  --ink: #16181D; --ink-fg: #F6F4EF; --ink-fg-2: rgba(246, 244, 239, .74); --ink-fg-3: rgba(246, 244, 239, .5); --ink-line: rgba(246, 244, 239, .14); --ink-dots: rgba(246, 244, 239, .3);
  --paper: #FDFCF8; --paper-fg: #17181C; --paper-fg-2: rgba(23, 24, 28, .68); --paper-dots: rgba(23, 24, 28, .28);
  --wa: #E2F6E8; --wa-fg: #0E5A33;
  --card: 0 0 0 1px rgba(16, 24, 40, .05), 0 1px 2px rgba(16, 24, 40, .05);
  --lift: 0 0 0 1px rgba(16, 24, 40, .05), 0 18px 40px -18px rgba(16, 24, 40, .28);
  --drop: drop-shadow(0 26px 34px rgba(16, 20, 28, .2)) drop-shadow(0 2px 4px rgba(16, 20, 28, .1));
  --f: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.2, 1.1, .3, 1);
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0C0F; --bg-2: #101216; --surface: #15171B; --raised: #1B1E23; --well: #1F2228; --line: #24282F; --line-2: #333944;
    --fg: #F2F3F5; --fg-2: #B0B6C0; --fg-3: #8B929E;
    --accent: #F5BC4C; --accent-fg: #F7C866; --accent-soft: rgba(245, 188, 76, .13);
    --in: #2FCB85; --in-fg: #5DDDA3; --out: #E0A64A;
    --ink: #F1EDE4; --ink-fg: #17181C; --ink-fg-2: rgba(23, 24, 28, .72); --ink-fg-3: rgba(23, 24, 28, .52); --ink-line: rgba(23, 24, 28, .12); --ink-dots: rgba(23, 24, 28, .28);
    --paper: #F1EDE4;
    --wa: #12261B; --wa-fg: #8FE3B2;
    --card: 0 0 0 1px rgba(255, 255, 255, .06);
    --lift: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -18px rgba(0, 0, 0, .7);
    --drop: drop-shadow(0 26px 36px rgba(0, 0, 0, .55));
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 18px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.h-display { font: 600 clamp(46px, 7vw, 84px)/.94 var(--f); font-stretch: 80%; letter-spacing: -.022em; }
.h2 { font: 600 clamp(34px, 5vw, 62px)/.98 var(--f); font-stretch: 82%; letter-spacing: -.02em; }
.h3 { font: 600 clamp(24px, 2.6vw, 32px)/1.08 var(--f); font-stretch: 88%; letter-spacing: -.012em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--fg-2); max-width: 36em; margin: 20px 0 0; text-wrap: pretty; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 16px;
  font: 600 16.5px/1 var(--f); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .2s var(--spring), box-shadow .2s ease, background .2s ease; }
.btn .ic { width: 20px; height: 20px; transition: transform .25s var(--spring); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary:hover { box-shadow: 0 18px 36px -12px color-mix(in srgb, var(--accent) 95%, transparent), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { background: var(--surface); color: var(--fg); box-shadow: var(--card); }
.btn-ghost:hover { box-shadow: var(--lift); }
.btn-sm { height: 42px; padding: 0 16px; border-radius: 13px; font-size: 15px; }
.btn-ink { background: var(--ink-fg); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease; padding-top: env(safe-area-inset-top, 0px); }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--fg); }
.brand b { font: 650 24px/1 var(--f); font-stretch: 86%; letter-spacing: -.04em; }
.glyph { width: 25px; height: 29px; flex: none; }
.glyph .p { fill: var(--accent); } .glyph .l { stroke: var(--on-accent); } .glyph .d { fill: var(--on-accent); }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--fg-2); font-weight: 550; font-size: 15px; padding: 9px 12px; border-radius: 10px; transition: color .15s ease, background .15s ease; }
.nav-links a:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav .btn { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1180px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--card); font-size: 14px; font-weight: 550; color: var(--fg-2); margin-bottom: 26px; }
.eyebrow .tag { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-fg); white-space: nowrap; }
@media (max-width: 479.98px) { .hero .eyebrow { padding: 8px 14px; font-size: 13.5px; } .eyebrow .tag { display: none; } .cta-row .btn { flex: 1 1 100%; } }
.total-line { position: relative; display: inline-block; white-space: nowrap; }
.nw { white-space: nowrap; }
.total-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .11em; border-top: .028em solid var(--accent); border-bottom: .028em solid var(--accent); }
.hero .lede b { color: var(--fg); }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--fg-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .ic { width: 18px; height: 18px; color: var(--in-fg); }

/* the printer scene: messages on the left, a receipt rising out of the till on the right */
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; }
@media (min-width: 640px) { .scene { grid-template-columns: minmax(0, 1fr) minmax(0, 310px); align-items: end; justify-items: stretch; gap: 22px; width: 100%; max-width: 720px; margin: 0 auto; } }
@media (min-width: 1180px) { .scene { max-width: none; margin: 0; } }
.sources { display: grid; gap: 12px; width: 100%; max-width: 380px; align-self: center; }
.src { position: relative; border-radius: 18px; padding: 12px 14px 13px; font-size: 13.5px; line-height: 1.42; box-shadow: var(--lift); background: var(--surface); transition: opacity .5s var(--ease), transform .6s var(--spring); }
.motion .src:not(.on) { opacity: 0; transform: translateY(10px) scale(.98); }
.src:nth-child(1) { margin-right: 14%; } .src:nth-child(2) { margin-left: 10%; } .src:nth-child(3) { margin-right: 6%; } .src:nth-child(4) { margin-left: 16%; }
.src-h { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--f); color: var(--fg-3); margin-bottom: 6px; }
.src-h .ic { width: 16px; height: 16px; }
.src-h time { margin-left: auto; font: 500 11.5px/1 var(--mono); }
.src p { margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--fg); }
.src .to { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font: 600 11.5px/1 var(--mono); letter-spacing: .02em; color: var(--accent-fg); text-transform: uppercase; }
.src .to .ic { width: 14px; height: 14px; }
.src.wa { background: var(--wa); }
.src.wa .src-h { color: var(--wa-fg); }
.src.sms .src-h .ic { color: var(--in-fg); }
.src.photo { display: flex; gap: 12px; align-items: center; }
.src.photo .thumb { width: 46px; height: 58px; flex: none; border-radius: 6px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 6px 12px -6px rgba(0, 0, 0, .3); transform: rotate(-4deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 7px, rgba(23, 24, 28, .18) 7px 8.5px); background-size: 70% 100%; background-repeat: no-repeat; background-position: 50% 10px; }
/* phones: the messages become four small tags that light up as their line prints */
@media (max-width: 639.98px) {
  .scene { gap: 16px; }
  .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
  .src { margin: 0 !important; padding: 10px 11px; border-radius: 13px; box-shadow: var(--card); }
  .src p, .src .to, .src.photo .thumb { display: none; }
  .src-h { margin: 0; font-size: 12px; }
  .src-h time { display: none; }
  .motion .src:not(.on) { opacity: 1; transform: none; }
  .src.on { box-shadow: 0 0 0 1.5px var(--accent), var(--card); }
}
.till { position: relative; width: 100%; max-width: 340px; justify-self: center; }
@media (min-width: 640px) { .till { max-width: 310px; } }
.feed { position: relative; height: var(--h, 520px); overflow: hidden; padding: 0 10px; filter: var(--drop); }
.paper { position: absolute; left: 10px; right: 10px; bottom: 0; background: var(--paper); color: var(--paper-fg); padding: 26px 22px 18px; font: 500 13px/1.6 var(--mono);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 50% 0 / 14px 100% repeat-x; mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 50% 0 / 14px 100% repeat-x; }
/* with motion on (and room for the scene), the slip waits inside the till until it is in view, then prints in steps.
   On phones the slip is already printed and its lines light up instead. */
@media (min-width: 640px) {
  .motion .feed:not(.printing) .paper { transform: translateY(100%); }
  .motion .feed.printing .paper { animation: print var(--t, 3.4s) steps(18, end) both; }
  .motion .feed.printed .paper { animation: none; transform: none; }
}
@keyframes print { from { transform: translateY(100%); } to { transform: translateY(0); } }
.r-head { text-align: center; font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.r-sub { text-align: center; color: var(--paper-fg-2); font-size: 11.5px; letter-spacing: .02em; margin-top: 2px; }
.r-rule { border: 0; border-top: 1.5px dashed var(--paper-dots); margin: 12px 0; }
.r-sec { font-weight: 700; font-size: 11.5px; letter-spacing: .16em; margin: 2px 0 4px; color: var(--paper-fg-2); }
.r-line { display: flex; align-items: baseline; gap: 8px; border-radius: 4px; transition: background .4s ease; padding: 0 2px; margin: 0 -2px; }
.r-line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.r-line i { flex: 1; min-width: 10px; border-bottom: 1.5px dotted var(--paper-dots); transform: translateY(-4px); }
.r-line b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-line.out b { color: #9A5B00; }
.r-line.flash { background: rgba(242, 179, 61, .28); }
.r-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 3px double var(--paper-fg); padding-top: 10px; margin-top: 12px; }
.r-total span { font-weight: 700; letter-spacing: .1em; font-size: 12.5px; white-space: nowrap; }
.r-total b { font: 650 30px/1 var(--f); font-stretch: 76%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-foot { text-align: center; color: var(--paper-fg-2); font-size: 11px; margin-top: 12px; letter-spacing: .04em; }
.bars { height: 26px; margin: 10px auto 0; width: 70%; background: repeating-linear-gradient(90deg, var(--paper-fg) 0 2px, transparent 2px 4px, var(--paper-fg) 4px 5px, transparent 5px 8px, var(--paper-fg) 8px 11px, transparent 11px 12px); opacity: .85; }
.mouth { position: relative; z-index: 2; margin-top: -12px; height: 36px; border-radius: 14px; background: #1A1C22; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 30px -16px rgba(0, 0, 0, .55); }
.mouth::before { content: ""; position: absolute; left: 14px; right: 14px; top: 9px; height: 6px; border-radius: 6px; background: #050608; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .8); }
.mouth::after { content: "risiti"; position: absolute; right: 16px; bottom: 5px; font: 600 10px/1 var(--f); letter-spacing: .04em; color: rgba(255, 255, 255, .32); }
@media (prefers-color-scheme: dark) { .mouth { background: #23262D; } }

/* ---------- problem: receipt stubs ---------- */
.stubs { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .stubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stubs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.stub { position: relative; padding: 26px 22px 24px; background: var(--surface); box-shadow: var(--card); transform: rotate(var(--r, 0deg)); transition: transform .4s var(--spring), box-shadow .3s ease;
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 50% 0 / 14px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) 50% 100% / 14px 51% repeat-x;
  mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) 50% 0 / 14px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) 50% 100% / 14px 51% repeat-x; }
.stub:nth-child(6n+1) { --r: -1.4deg; } .stub:nth-child(6n+2) { --r: 1.1deg; } .stub:nth-child(6n+3) { --r: -.7deg; }
.stub:nth-child(6n+4) { --r: .9deg; } .stub:nth-child(6n+5) { --r: -1deg; } .stub:nth-child(6n+6) { --r: 1.3deg; }
.stub:hover { transform: rotate(0deg) translateY(-3px); }
.stub-n { font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--fg-3); }
.stub h3 { margin: 16px 0 12px; font: 600 22px/1.15 var(--f); font-stretch: 90%; letter-spacing: -.01em; }
.stub p { margin: 0; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font: 500 12.5px/1.55 var(--mono); color: var(--fg-3); }
.stub .faded { opacity: .45; filter: blur(.3px); }
.turn { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(40px, 6vw, 72px); font: 600 clamp(22px, 3vw, 32px)/1.1 var(--f); font-stretch: 88%; letter-spacing: -.012em; text-align: center; }
.turn .ic { width: 28px; height: 28px; color: var(--accent-fg); transform: rotate(90deg); }

/* ---------- how it works ---------- */
.how { background: var(--bg-2); }
.steps { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.step { background: var(--surface); border-radius: 26px; padding: 26px; box-shadow: var(--card); display: grid; gap: 14px; align-content: start; }
.step .num { font: 600 12.5px/1 var(--mono); letter-spacing: .1em; color: var(--accent-fg); }
.step h3 { font: 600 26px/1.08 var(--f); font-stretch: 86%; letter-spacing: -.012em; }
.step p { margin: 0; color: var(--fg-2); font-size: 16px; }
.mini { margin-top: 6px; border-radius: 18px; background: var(--raised); box-shadow: 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 8px; font: 500 12.5px/1.4 var(--mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font: 600 12.5px/1 var(--f); color: var(--fg-2); }
.chip .ic { width: 16px; height: 16px; color: var(--fg-3); }
.row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row i { flex: 1; min-width: 8px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.row b { font-weight: 600; white-space: nowrap; }
.row .ok { width: 16px; height: 16px; color: var(--in-fg); align-self: center; }
.row.dup span, .row.dup b { text-decoration: line-through; color: var(--fg-3); }
.row .tag { font: 600 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 6px; background: var(--well); color: var(--fg-3); text-transform: uppercase; letter-spacing: .04em; align-self: center; }
.in-c { color: var(--in-fg); } .out-c { color: var(--out); }
.mini.slipmini { background: var(--ink); color: var(--ink-fg); box-shadow: none; padding: 16px 16px 20px; border-radius: 16px 16px 4px 4px;
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 4.5px, #000 5px) 50% 100% / 12px 100% repeat-x; mask: radial-gradient(circle at 50% 100%, transparent 4.5px, #000 5px) 50% 100% / 12px 100% repeat-x; }
.slipmini .row i { border-bottom-color: var(--ink-dots); }
.slipmini .row span { color: var(--ink-fg-2); }
.slipmini .big { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; padding-top: 10px; border-top: 3px double var(--ink-dots); }
.slipmini .big span { font-weight: 700; letter-spacing: .1em; font-size: 11.5px; }
.slipmini .big b { font: 650 28px/1 var(--f); font-stretch: 76%; font-variant-numeric: tabular-nums; }

/* ---------- showcase ---------- */
.window { position: relative; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(16, 24, 40, .45); }
.window img { width: 100%; height: auto; }
/* phones get the phone version of Home, in a phone frame */
@media (max-width: 639.98px) {
  .window { width: min(300px, 78vw); margin: 0 auto; border-radius: 46px; padding: 9px; background: #0E0F12; box-shadow: 0 0 0 1.5px #2A2D34, 0 40px 70px -30px rgba(10, 14, 22, .55); }
  .window img { border-radius: 37px; }
}
.window-cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; color: var(--fg-3); font-size: 14.5px; }
.window-cap span { display: inline-flex; align-items: center; gap: 8px; }
.window-cap i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: var(--fg); }
.window-cap .k-in { background: var(--in); } .window-cap .k-out { background: var(--accent); }
.shot-fig { margin: 0; }
.feature { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; margin-top: clamp(80px, 11vw, 150px); }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .feature.flip .f-copy { order: 2; } }
.f-copy { max-width: 520px; }
.f-copy .h3 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.02; font-stretch: 82%; }
.f-copy p { color: var(--fg-2); margin: 18px 0 0; font-size: 18px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.ticks li { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--fg-2); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .ic { width: 18px; height: 18px; color: var(--in-fg); align-self: center; }
.ticks b { color: var(--fg); }
.devices { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.phone { position: relative; width: min(300px, 74vw); border-radius: 46px; padding: 9px; background: #0E0F12; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 0 1.5px #2A2D34, 0 40px 70px -30px rgba(10, 14, 22, .55); flex: none; }
.phone img { border-radius: 37px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; background: var(--bg); }
.phone.back { position: absolute; width: min(250px, 60vw); transform: translate(-46%, -36px) rotate(-5deg); opacity: .98; }
.phone.back + .phone { transform: translateX(22%); }
@media (max-width: 520px) { .phone.back { display: none; } .phone.back + .phone { transform: none; } }
.quote-slip { margin-top: 26px; display: inline-block; background: var(--ink); color: var(--ink-fg); padding: 14px 18px 18px; border-radius: 12px 12px 3px 3px; font: 500 13.5px/1.55 var(--mono);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 4.5px, #000 5px) 50% 100% / 12px 100% repeat-x; mask: radial-gradient(circle at 50% 100%, transparent 4.5px, #000 5px) 50% 100% / 12px 100% repeat-x; }
.quote-slip span { display: block; color: var(--ink-fg-3); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- who it's for ---------- */
.who { background: var(--ink); color: var(--ink-fg); padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.who .kicker { color: var(--ink-fg-3); }
.who .h2 { max-width: 15em; }
.who p { color: var(--ink-fg-2); max-width: 40em; margin: 18px 0 0; font-size: 18px; }
.tape { margin-top: clamp(40px, 6vw, 70px); display: grid; gap: 10px; }
.tape-row { --dur: 70s; display: flex; width: max-content; gap: 0; animation: slide var(--dur) linear infinite; }
.tape-row.rev { --dur: 80s; animation-direction: reverse; }
.tape-row span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 clamp(30px, 4.6vw, 58px)/1.1 var(--f); font-stretch: 78%; letter-spacing: -.015em; white-space: nowrap; }
.tape-row span::after { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.tape-row.rev span { color: var(--ink-fg-3); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- privacy ---------- */
.priv-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .priv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.priv-points { display: grid; gap: 18px; margin-top: 30px; }
.pp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.pp .ic-box { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--card); color: var(--fg); }
.pp h3 { font: 600 18px/1.25 var(--f); margin: 2px 0 4px; }
.pp p { margin: 0; color: var(--fg-2); font-size: 15.5px; }
.ledger { background: var(--paper); color: var(--paper-fg); border-radius: 6px 6px 0 0; padding: 30px 26px 34px; font: 500 13.5px/1.7 var(--mono); filter: var(--drop);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) 50% 100% / 16px 100% repeat-x; mask: radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) 50% 100% / 16px 100% repeat-x; }
.ledger h3 { text-align: center; font: 700 14px/1.3 var(--mono); letter-spacing: .14em; margin: 0; }
.ledger .r-sub { margin-bottom: 14px; }
.ledger .lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 9px 0; border-top: 1.5px dashed var(--paper-dots); }
.ledger .lrow span { color: var(--paper-fg); }
.ledger .lrow b { font-weight: 700; text-align: right; }
.ledger .lrow small { grid-column: 1 / -1; color: var(--paper-fg-2); font-size: 12px; line-height: 1.5; }
.ledger .stamp { display: inline-block; margin-top: 16px; padding: 6px 10px; border: 2px solid #0B7A53; color: #0B7A53; border-radius: 6px; font-weight: 700; letter-spacing: .12em; transform: rotate(-4deg); font-size: 12px; }
.ledger .stamp-row { text-align: center; }
.ledger-note { margin: 18px 4px 0; font-size: 15px; color: var(--fg-3); }
.ledger-note a { color: var(--fg-2); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* ---------- install ---------- */
.install { background: var(--bg-2); }
.inst-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .inst-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.inst { background: var(--surface); border-radius: 24px; padding: 24px; box-shadow: var(--card); }
.inst-h { display: flex; align-items: center; gap: 12px; }
.inst-h .ic-box { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--well); }
.inst-h b { font-size: 18px; }
.inst ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.inst li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 15.5px; color: var(--fg-2); }
.inst li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-fg); font: 700 12.5px/1 var(--mono); }
.inst li .ic { width: 17px; height: 17px; vertical-align: -3px; margin: 0 2px; }
.inst li a { color: var(--fg); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.offline { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--fg-2); font-size: 15.5px; text-align: center; }
.offline .ic { color: var(--fg-3); }

/* ---------- faq ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border-radius: 20px; box-shadow: var(--card); transition: box-shadow .2s ease; }
.faq-list details[open] { box-shadow: var(--lift); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 22px; font: 600 18px/1.3 var(--f); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q { font: 700 12px/1 var(--mono); color: var(--accent-fg); letter-spacing: .06em; }
.faq-list summary .ic { color: var(--fg-3); transition: transform .25s var(--spring); }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list .a { padding: 0 22px 22px 56px; color: var(--fg-2); font-size: 16px; }
.faq-list .a p { margin: 0 0 10px; } .faq-list .a p:last-child { margin: 0; }
@media (max-width: 560px) { .faq-list .a { padding-left: 22px; } }

/* ---------- final call ---------- */
#faq { padding-bottom: 0; }
.final { padding: clamp(64px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.final-slip { position: relative; max-width: 880px; margin: 0 auto; text-align: center; background: var(--ink); color: var(--ink-fg); padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px) clamp(52px, 7vw, 84px); border-radius: 32px 32px 8px 8px; filter: var(--drop);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 7px, #000 7.5px) 50% 100% / 20px 100% repeat-x; mask: radial-gradient(circle at 50% 100%, transparent 7px, #000 7.5px) 50% 100% / 20px 100% repeat-x; }
.final-slip .kicker { color: var(--ink-fg-3); justify-content: center; }
.final-slip p { color: var(--ink-fg-2); max-width: 32em; margin: 18px auto 0; font-size: 18px; }
.final-slip .cta-row { justify-content: center; }
.final-slip .btn-ghost { background: transparent; color: var(--ink-fg); box-shadow: 0 0 0 1.5px var(--ink-line); }
.final-lines { max-width: 420px; margin: 34px auto 0; font: 500 13px/1.6 var(--mono); color: var(--ink-fg-2); display: grid; gap: 2px; text-align: left; }
.final-lines .row i { border-bottom-color: var(--ink-dots); }
.final-lines .row b { color: var(--ink-fg); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--fg-3); font-size: 14.5px; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.foot p { margin: 12px 0 0; max-width: 30em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
@media (min-width: 800px) { .foot-links { justify-content: flex-end; } }
.foot-links a { color: var(--fg-2); text-decoration: none; font-weight: 550; }
.foot-links a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.thanks { margin-top: 34px; padding-top: 22px; border-top: 1.5px dashed var(--line-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font: 500 12.5px/1.4 var(--mono); letter-spacing: .06em; }
.thanks .code { height: 22px; width: 160px; background: repeating-linear-gradient(90deg, var(--fg-3) 0 2px, transparent 2px 4px, var(--fg-3) 4px 5px, transparent 5px 8px, var(--fg-3) 8px 11px, transparent 11px 12px); opacity: .6; }

/* ---------- legal pages ---------- */
.doc { padding: clamp(36px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); }
.doc-head { max-width: 760px; margin: 0 auto 36px; }
.doc-head .h2 { font-size: clamp(40px, 6vw, 68px); }
.doc-head .meta { margin-top: 16px; font: 500 13px/1.5 var(--mono); color: var(--fg-3); letter-spacing: .02em; }
.doc-body { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: 28px; box-shadow: var(--card); padding: clamp(24px, 4.6vw, 52px); }
.doc-body h2 { font: 600 24px/1.2 var(--f); font-stretch: 90%; letter-spacing: -.01em; margin: 40px 0 12px; scroll-margin-top: 90px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font: 600 18px/1.3 var(--f); margin: 24px 0 8px; }
.doc-body p, .doc-body li { color: var(--fg-2); font-size: 16.5px; line-height: 1.65; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul { margin: 0 0 16px; padding-left: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body li::marker { color: var(--accent-fg); }
.doc-body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.doc-body .short { background: var(--raised); box-shadow: 0 0 0 1px var(--line); border-radius: 20px; padding: 20px 22px 8px; margin: 0 0 8px; }
.doc-body .short h2 { margin-top: 0; font-size: 19px; }
.doc-toc { max-width: 760px; margin: 0 auto 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-toc a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--fg-2); padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--card); }
.doc-toc a:hover { color: var(--fg); }

/* ---------- 404 ---------- */
.void { min-height: 70vh; display: grid; place-items: center; padding: 60px 0; text-align: center; }
.void .ledger { max-width: 380px; margin: 0 auto 30px; text-align: left; }
.void h1 { text-align: center; font: 700 14px/1.3 var(--mono); letter-spacing: .14em; margin: 0; }
.void .ledger .r-sub { margin-bottom: 14px; }
.void .big { font: 650 72px/1 var(--f); font-stretch: 76%; letter-spacing: -.02em; text-align: center; margin: 18px 0 0; padding-top: 14px; border-top: 3px double var(--paper-fg); }
.void .stamp.void-stamp { border-color: #B42318; color: #B42318; font-size: 18px; padding: 6px 14px; transform: rotate(-8deg); }
.void-note { margin: 0 0 4px; color: var(--fg-2); }
.void .cta-row { justify-content: center; margin-top: 22px; }
.void + .foot .thanks { margin-top: 0; }

/* ---------- motion ---------- */
.reveal { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.motion .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tape-row { animation: none !important; flex-wrap: wrap; width: auto; }
  .tape-row:nth-child(n+2) { display: none; }
  .stub { transform: none; }
}
@media print { .nav, .skip { display: none; } }
