/* Iprasadi website
   Idea: a restaurant counter. Brushed steel surfaces, thermal paper slips, a ticket rail,
   saffron (the app's brand orange) for action, haldi yellow for highlights, stamp-pad blue for labels.
   Physical things (paper, device screens) keep their own colours in dark mode, like real objects do. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/martian-mono-latin.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: "Martian Mono"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/martian-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Yatra One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/yatra-one-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Yatra One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/yatra-one-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF; }

/* ---------- Tokens ---------- */
:root {
  --bg: #e6e9ed;          /* brushed steel counter */
  --bg-2: #d8dde3;        /* deeper steel band */
  --surface: #f3f5f7;     /* raised steel plate */
  --ink: #14171b;
  --ink-2: #434b55;
  --line: #b3bcc6;
  --line-2: #cbd2da;
  --saffron: #c63f0c;     /* buttons, white text on it: 5.2:1 */
  --saffron-brand: #d9480f;
  --saffron-ink: #a9360a; /* saffron text on steel: 5.3:1 */
  --haldi: #f2b31b;
  --haldi-soft: #f7d777;
  --stamp: #2443a6;
  --ok: #17703d;
  --amber: #9a5a00;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(20,23,27,.08), 0 8px 24px -12px rgba(20,23,27,.25);
  --steel-grain: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, rgba(0,0,0,.018) 1px 2px, transparent 2px 5px);

  /* Things that don't change with the theme */
  --paper: #fdfdfc;
  --paper-ink: #16161a;
  --paper-ink-2: #55565c;
  --bezel: #0d0f12;
  --kds-bg: #15191e;

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-hi: "Yatra One", "Noto Sans Devanagari", "Kohinoor Devanagari", "Mangal", serif;

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1240px;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317; --bg-2: #161a1f; --surface: #1b2026; --ink: #eef1f4; --ink-2: #a9b2bc;
    --line: #353d47; --line-2: #262c34; --saffron: #ff6b2c; --saffron-brand: #ff6b2c; --saffron-ink: #ff8a55;
    --haldi: #f5c13a; --haldi-soft: #6b5414; --stamp: #93a9ff; --ok: #4cc382; --amber: #f0a73a;
    --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -14px rgba(0,0,0,.8);
    --steel-grain: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, rgba(0,0,0,.12) 1px 2px, transparent 2px 5px);
    --paper: #e9eaec; --paper-ink: #131316; --paper-ink-2: #4d4e54;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101317; --bg-2: #161a1f; --surface: #1b2026; --ink: #eef1f4; --ink-2: #a9b2bc;
  --line: #353d47; --line-2: #262c34; --saffron: #ff6b2c; --saffron-brand: #ff6b2c; --saffron-ink: #ff8a55;
  --haldi: #f5c13a; --haldi-soft: #6b5414; --stamp: #93a9ff; --ok: #4cc382; --amber: #f0a73a;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -14px rgba(0,0,0,.8);
  --steel-grain: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, rgba(0,0,0,.12) 1px 2px, transparent 2px 5px);
  --paper: #e9eaec; --paper-ink: #131316; --paper-ink-2: #4d4e54;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background-color: var(--bg); background-image: var(--steel-grain);
  color: var(--ink); font-family: var(--f-sans); font-size: 17px; line-height: 1.55;
  font-variation-settings: "wdth" 100; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--saffron); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[lang="hi"] { font-family: var(--f-hi); font-weight: 400; letter-spacing: 0; }
.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; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--ink-2); }
::selection { background: var(--haldi); color: #14171b; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- Buttons & small parts ---------- */
.btn {
  --b: var(--ink); --t: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 2px solid var(--b);
  background: var(--b); color: var(--t); font: 700 15.5px/1 var(--f-sans); font-variation-settings: "wdth" 108;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s;
  box-shadow: 0 3px 0 0 color-mix(in srgb, var(--b) 60%, #000);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 0 color-mix(in srgb, var(--b) 60%, #000); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 0 color-mix(in srgb, var(--b) 60%, #000); }
.btn-saffron { --b: var(--saffron); --t: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
:root[data-theme="dark"] .btn-saffron { --t: #170a03; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-saffron { --t: #170a03; } }
.btn .arr { font-family: var(--f-mono); font-weight: 500; }

/* A section label styled like a KOT number, instead of icons. */
.kot {
  display: inline-flex; align-items: stretch; font: 600 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px solid var(--stamp); color: var(--stamp); border-radius: 6px; overflow: hidden; margin-bottom: 22px;
}
.kot b { background: var(--stamp); color: var(--bg); padding: 7px 9px; font-weight: 700; }
.kot span { padding: 7px 10px; }

.hl { background: linear-gradient(transparent 58%, var(--haldi) 58% 92%, transparent 92%); padding: 0 .08em; color: inherit; }
:root[data-theme="dark"] .hl { background: linear-gradient(transparent 80%, var(--haldi) 80% 92%, transparent 92%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { background: linear-gradient(transparent 80%, var(--haldi) 80% 92%, transparent 92%); } }

/* Placeholders: always visible as unfinished. */
.ph {
  font-family: var(--f-mono); font-size: .82em; font-weight: 600; letter-spacing: 0;
  color: var(--stamp); background: color-mix(in srgb, var(--stamp) 9%, transparent);
  border: 1.5px dashed var(--stamp); border-radius: 5px; padding: .05em .4em; white-space: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.paper .ph, .slip .ph { color: #2443a6; border-color: #2443a6; background: #eef1fb; }

.stamp {
  display: inline-block; font: 700 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--stamp); border: 2px solid currentColor; border-radius: 5px; padding: 6px 8px 5px;
  transform: rotate(-4deg); opacity: .9; mix-blend-mode: multiply;
}
:root[data-theme="dark"] .stamp { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stamp { mix-blend-mode: normal; } }
.stamp-saffron { color: var(--saffron-ink); }
.tag-draft { font: 700 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 4px; padding: 3px 4px 2px; margin-left: 4px; vertical-align: 2px; color: var(--stamp); }

/* Thermal paper, with a torn zigzag edge */
.paper {
  --zig: 9px;
  position: relative; background: var(--paper); color: var(--paper-ink);
  font-family: var(--f-mono); font-size: 13px; line-height: 1.65;
  padding: 22px 22px calc(22px + var(--zig));
  filter: drop-shadow(0 10px 14px rgba(20,23,27,.16)) drop-shadow(0 1px 1px rgba(20,23,27,.12));
}
.paper::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--zig) + 1px); height: var(--zig);
  background: inherit;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
}
.paper hr { border: 0; border-top: 1.5px dashed #9a9ba1; margin: 10px 0; }
.paper .row { display: flex; justify-content: space-between; gap: 12px; }
.paper .ctr { text-align: center; }
.paper .big { font-size: 1.25em; font-weight: 700; }
.paper .dim { color: var(--paper-ink-2); }

/* Steel plate with four screws */
.plate {
  position: relative; background: var(--surface); background-image: var(--steel-grain);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.plate.screws::before, .plate.screws::after,
.plate.screws > .screw-b::before, .plate.screws > .screw-b::after {
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 15%, #aab2bb 45%, #6d757e 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.plate.screws > .screw-b { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.plate.screws::before { top: 10px; left: 10px; } .plate.screws::after { top: 10px; right: 10px; }
.plate.screws > .screw-b::before { bottom: 10px; left: 10px; } .plate.screws > .screw-b::after { bottom: 10px; right: 10px; }

/* ---------- Status bar + header ---------- */
.statusbar { background: var(--ink); color: var(--bg); font: 500 11px/1 var(--f-mono); letter-spacing: .03em; }
.statusbar-row { display: flex; gap: 22px; align-items: center; min-height: 30px; }
.sb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; opacity: .9; }
.sb-clock { margin-left: auto; font-variant-numeric: tabular-nums; }
.sb-dot { width: 7px; height: 7px; border-radius: 50%; background: #39c06f; box-shadow: 0 0 0 3px rgba(57,192,111,.25); }

.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid var(--line-2); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; }
.brand-word { font-weight: 800; font-size: 23px; font-variation-settings: "wdth" 118; letter-spacing: -0.02em; }
.brand:hover .steam { animation: steam 1.4s ease-in-out infinite; }
@keyframes steam { 50% { transform: translateY(-14px); opacity: .6; } }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 12px; border-radius: 8px;
  font-weight: 650; font-size: 15.5px; text-decoration: none; font-variation-settings: "wdth" 104;
}
.site-nav a:not(.btn):hover { background: var(--bg-2); }
.site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--saffron-brand); border-radius: 8px 8px 0 0; }
.nav-no { font: 500 10.5px/1 var(--f-mono); color: var(--ink-2); }
.nav-cta { margin-left: 8px; min-height: 42px; }
.theme-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; margin-left: 4px;
  border: 1.5px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
  font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em;
}
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-btn:hover { border-color: var(--ink); }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .sb-wide { display: none; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 10px;
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 700 14px/1 var(--f-sans); cursor: pointer;
  }
  .menu-btn-lines, .menu-btn-lines::before, .menu-btn-lines::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .menu-btn-lines::before, .menu-btn-lines::after { content: ""; position: absolute; left: 0; }
  .menu-btn-lines::before { top: -5px; } .menu-btn-lines::after { top: 5px; }
  .menu-btn[aria-expanded="true"] .menu-btn-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn-lines::before { transform: translateY(5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn-lines::after { transform: translateY(-5px) rotate(-45deg); }
  .head-row { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; width: 100%; padding-bottom: 10px; }
  .js .site-nav { display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 16px; }
  .js .site-nav.open { display: flex; }
  .js .site-nav a:not(.btn) { font-size: 22px; padding: 12px 6px; font-variation-settings: "wdth" 90; border-bottom: 1px dashed var(--line); border-radius: 0; }
  .js .site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 4px 0 0 var(--saffron-brand); padding-left: 14px; }
  .js .nav-cta { margin: 12px 0 0; min-height: 52px; font-size: 17px; }
  .js .theme-btn { margin: 10px 0 0; align-self: flex-start; }
}

/* ---------- Type helpers ---------- */
.eyebrow { font: 600 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.display {
  font-size: clamp(50px, 9.2vw, 140px); line-height: .86; letter-spacing: -0.035em; font-weight: 850;
  font-variation-settings: "wdth" 66;
}
.title { font-size: clamp(36px, 5.6vw, 76px); font-variation-settings: "wdth" 72; line-height: .92; letter-spacing: -0.025em; font-weight: 820; }
.title-sm { font-size: clamp(28px, 3.6vw, 46px); font-variation-settings: "wdth" 78; line-height: .98; letter-spacing: -0.02em; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 60ch; color: var(--ink-2); }
.lede strong { color: var(--ink); }
.hi-line { font-size: clamp(22px, 2.6vw, 34px); color: var(--saffron-ink); line-height: 1.25; margin: 0; text-wrap: balance; }
.paper pre { font: inherit; margin: 0; white-space: pre; overflow-x: auto; font-size: 10.5px; line-height: 1.7; }
.hi-tr { font: 500 12px/1.4 var(--f-mono); color: var(--ink-2); margin-top: 6px; letter-spacing: .02em; }

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Reveal on scroll (only when JS runs and motion is fine) */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .rise.in { opacity: 1; transform: none; }
}

/* ---------- Home: hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px 56px; align-items: start; }
.hero h1 { margin: 10px 0 0; }
.hero h1 .l { display: block; }
.hero h1 .l2 { padding-left: .55em; }
.hero h1 .l3 { display: flex; align-items: center; gap: .18em; flex-wrap: wrap; }
.h1-switch { display: inline-flex; align-items: center; width: 1.28em; height: .66em; border-radius: 1em; background: var(--ink); position: relative; flex: none; margin: 0 .08em; top: .03em; box-shadow: inset 0 -.04em 0 rgba(255,255,255,.12); }
.h1-switch::after { content: ""; position: absolute; left: .08em; width: .5em; height: .5em; border-radius: 50%; background: var(--bg); box-shadow: 0 .02em .04em rgba(0,0,0,.3); }
.h1-switch.on { background: var(--ok); }
.h1-switch.on::after { left: auto; right: .08em; }
.hero h1 .off { color: var(--saffron-brand); }
.hero-sub { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 20px 48px; margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.hero-sub .lede { margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-slip { position: relative; margin-top: 54px; transform: rotate(1.6deg); transform-origin: top center; }
.hero-slip .paper { font-size: 12.2px; }
.clip { position: absolute; top: -26px; left: 50%; width: 76px; height: 34px; translate: -50% 0; z-index: 2;
  background: linear-gradient(#cfd5dc, #9aa3ad); border-radius: 6px 6px 3px 3px; box-shadow: 0 2px 3px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.7); }
.clip::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 7px; height: 3px; border-radius: 2px; background: rgba(0,0,0,.25); }
.rail-bar { height: 12px; border-radius: 6px; background: linear-gradient(#f2f4f6, #aab3bd 60%, #8d96a0); box-shadow: 0 3px 6px rgba(0,0,0,.18), inset 0 1px 0 #fff; }
:root[data-theme="dark"] .rail-bar { background: linear-gradient(#5b636d, #2c3239 60%, #1d2227); box-shadow: 0 3px 6px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rail-bar { background: linear-gradient(#5b636d, #2c3239 60%, #1d2227); box-shadow: 0 3px 6px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.15); } }
.hero-slip .rail-bar { position: absolute; left: -40px; right: -40px; top: -32px; }
.tick { color: #17703d; font-weight: 700; }

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slip { display: none; }
  .hero-sub { grid-template-columns: 1fr; }
}

/* ---------- The counter demo (signature) ---------- */
.demo { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 22px; }
.demo-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-variation-settings: "wdth" 80; }
.demo-head p { margin: 0; max-width: 54ch; color: var(--ink-2); }

.stage {
  position: relative; border-radius: 22px; padding: clamp(14px, 2vw, 26px);
  background: var(--surface); background-image: var(--steel-grain); border: 1px solid var(--line); box-shadow: var(--shadow);
  --stage-gap: clamp(12px, 1.6vw, 22px);
}
.netbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 4px 4px 16px; border-bottom: 1.5px dashed var(--line); margin-bottom: var(--stage-gap); }
.net-switch {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 14px 7px 8px; border-radius: 999px; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--line); color: var(--ink); font: 700 15px/1 var(--f-sans);
}
.net-switch .track { width: 50px; height: 28px; border-radius: 99px; background: #59616b; position: relative; transition: background .2s; }
.net-switch .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .2s cubic-bezier(.3,.7,.3,1.3); }
.net-switch[aria-checked="true"] .track { background: var(--ok); }
.net-switch[aria-checked="true"] .knob { transform: translateX(22px); }
.net-switch .net-state { font: 700 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--saffron-ink); min-width: 3ch; }
.net-switch[aria-checked="true"] .net-state { color: var(--ok); }
.errands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; flex: 1; }
.errands li { display: inline-flex; align-items: center; gap: 7px; font: 500 11.5px/1.2 var(--f-mono); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2); }
.errands li b { color: var(--ink); font-weight: 700; }
.errands .e-dot { width: 7px; height: 7px; border-radius: 50%; background: #8b939c; flex: none; }
.errands li[data-state="ok"] .e-dot { background: var(--ok); }
.errands li[data-state="wait"] .e-dot { background: var(--amber); }
.errands li[data-state="busy"] .e-dot { background: var(--stamp); animation: blink .7s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.net-note { font: 500 11.5px/1.4 var(--f-mono); color: var(--ink-2); margin: 0; flex-basis: 100%; }

.stage-grid {
  display: grid; gap: var(--stage-gap);
  grid-template-columns: minmax(0, 1.5fr) minmax(170px, .56fr) minmax(0, 1fr);
  grid-template-areas: "counter printer kitchen" "counter printer customer";
}
.node { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.node-counter { grid-area: counter; } .node-printer { grid-area: printer; } .node-kitchen { grid-area: kitchen; } .node-customer { grid-area: customer; }
.dev-label { font: 600 11px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.screen { position: relative; flex: 1; border-radius: 14px; background: var(--bezel); padding: 9px; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 26px -14px rgba(0,0,0,.6); }
.screen-in { height: 100%; border-radius: 7px; overflow: hidden; position: relative; }
.node.flash .screen { animation: flash .6s ease; }
@keyframes flash { 30% { box-shadow: 0 0 0 4px var(--saffron-brand), 0 12px 26px -14px rgba(0,0,0,.6); } }

/* POS app screen, looks like the real app */
.app { background: #f4f5f7; color: #1f2328; font-family: var(--f-sans); display: flex; flex-direction: column; min-height: 404px; }
.app-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border-bottom: 1px solid #e5e7eb; font-size: 12.5px; font-weight: 700; }
.app-top .app-logo { width: 18px; height: 18px; border-radius: 4px; }
.app-top .app-table { background: #fff4e6; color: #a9360a; border-radius: 6px; padding: 3px 7px; font-size: 11.5px; }
.app-net { margin-left: auto; font: 600 10.5px/1 var(--f-mono); color: #6b7280; display: inline-flex; align-items: center; gap: 5px; }
.app-net::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa1aa; }
.stage[data-net="on"] .app-net::before { background: #2b8a3e; }
.app-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px; align-content: start; }
.dish {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; cursor: pointer;
  padding: 8px 9px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #1f2328;
  font: 600 13px/1.15 var(--f-sans); min-height: 54px; position: relative; transition: transform .08s, border-color .15s;
}
.dish:hover { border-color: #d9480f; }
.dish:active { transform: scale(.97); }
.dish .d-price { font: 500 11px/1 var(--f-mono); color: #6b7280; }
.dish .d-code { position: absolute; top: 6px; right: 7px; font: 600 9px/1 var(--f-mono); color: #9aa1aa; }
.dish::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--veg, #2b8a3e); }
.dish.nonveg { --veg: #c92a2a; }
.cart { display: flex; flex-direction: column; background: #fff; border-left: 1px solid #e5e7eb; min-height: 0; }
.cart-head { display: flex; justify-content: space-between; padding: 8px 10px; font: 600 10.5px/1 var(--f-mono); color: #6b7280; text-transform: uppercase; border-bottom: 1px solid #f0f1f3; }
.cart-lines { list-style: none; margin: 0; padding: 4px 0; flex: 1; overflow: auto; min-height: 120px; max-height: 236px; }
.cart-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 5px 10px; font-size: 12.5px; }
.cart-lines li.new { background: #fff9db; }
.cart-lines .q { font: 700 11px/1 var(--f-mono); min-width: 22px; text-align: center; background: #f1f3f5; border-radius: 5px; padding: 4px 3px; }
.cart-lines .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-lines .amt { font: 500 11px/1 var(--f-mono); }
.cart-lines .minus:disabled { opacity: .3; cursor: not-allowed; }
.cart-lines .minus { border: 1px solid #e5e7eb; background: #fff; border-radius: 5px; width: 22px; height: 22px; cursor: pointer; font: 700 13px/1 var(--f-mono); color: #6b7280; padding: 0; margin-left: 4px; }
.cart-empty { padding: 18px 12px; font-size: 12px; color: #6b7280; }
.cart-tot { border-top: 1px dashed #d0d4d9; padding: 8px 10px; font: 500 11px/1.6 var(--f-mono); color: #4b5563; }
.cart-tot .row { display: flex; justify-content: space-between; }
.cart-tot .grand { font: 800 16px/1.3 var(--f-sans); color: #1f2328; margin-top: 2px; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.app-btn { min-height: 42px; border-radius: 8px; border: 1px solid #d0d4d9; background: #fff; color: #1f2328; font: 700 13px/1.1 var(--f-sans); cursor: pointer; padding: 4px 8px; }
.app-btn.primary { background: #c2410c; border-color: #c2410c; color: #fff; }
.app-btn.ok { background: #2b8a3e; border-color: #2b8a3e; color: #fff; }
.app-btn:disabled { opacity: .42; cursor: not-allowed; }
.app-btn kbd { font: 500 9px/1 var(--f-mono); opacity: .75; margin-left: 3px; }

/* Printer + slip */
.node-printer { align-items: stretch; }
.printer { position: relative; z-index: 2; height: 84px; border-radius: 16px 16px 10px 10px; background: linear-gradient(#3a4048, #1f2328); box-shadow: 0 10px 20px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.15); }
.printer::before { content: ""; position: absolute; left: 14px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #39c06f; box-shadow: 0 0 8px #39c06f; }
.printer.busy::before { background: #ffb02e; box-shadow: 0 0 8px #ffb02e; animation: blink .4s steps(2) infinite; }
.printer .slot { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 7px; border-radius: 4px; background: #08090b; box-shadow: inset 0 2px 2px rgba(0,0,0,.8); }
.printer .p-brand { position: absolute; right: 14px; top: 12px; font: 600 9px/1 var(--f-mono); color: #8a929c; letter-spacing: .08em; }
.slip-wrap { position: relative; margin: -14px 18px 0; z-index: 1; min-height: 120px; }
@media (min-width: 1081px) {
  /* The slip hangs inside the printer column without stretching the row; long bills scroll. */
  .slip-wrap { flex: 1; min-height: 0; contain: size; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 16px; margin-left: 10px; margin-right: 10px; }
  .slip-wrap::-webkit-scrollbar { display: none; }
}
.slip { --zig: 7px; font-size: 10.5px; line-height: 1.55; padding: 22px 12px calc(12px + var(--zig)); transform-origin: top; }
.slip.printing { animation: feed var(--feed, 1.1s) steps(14, end) both; }
@keyframes feed { from { clip-path: inset(0 0 100% 0); transform: translateY(-30px); } to { clip-path: inset(0 0 -20px 0); transform: none; } }
.slip.torn { animation: tear .5s ease-in forwards; }
@keyframes tear { to { transform: translateY(40px) rotate(4deg); opacity: 0; } }
.slip .qr { width: 86px; margin: 6px auto 2px; }
.slip-idle { font: 500 11px/1.5 var(--f-mono); color: var(--ink-2); text-align: center; padding: 26px 8px; border: 1.5px dashed var(--line); border-radius: 8px; margin-top: 22px; }

/* Kitchen display */
.kds { background: var(--kds-bg); color: #e9edf1; min-height: 190px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.kds-head { display: flex; justify-content: space-between; font: 600 10px/1 var(--f-mono); color: #8b96a3; text-transform: uppercase; letter-spacing: .05em; padding: 2px 2px 4px; }
.kds-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; align-content: start; }
.kds-empty { font: 500 11px/1.5 var(--f-mono); color: #6f7a87; padding: 14px 4px; }
.ticket { background: #222830; border-radius: 7px; overflow: hidden; border-top: 4px solid #4d8dff; font-size: 12px; animation: drop .35s cubic-bezier(.2,.8,.3,1.2); }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }
.ticket[data-st="prep"] { border-top-color: #ffb02e; }
.ticket[data-st="ready"] { border-top-color: #39c06f; opacity: .75; }
.ticket-h { display: flex; justify-content: space-between; gap: 6px; padding: 6px 7px 4px; font: 700 11px/1.2 var(--f-mono); }
.ticket-h .t-time { color: #8b96a3; font-weight: 500; }
.ticket ul { list-style: none; margin: 0; padding: 0 7px 6px; font: 600 12px/1.45 var(--f-sans); }
.ticket .bump { width: 100%; border: 0; border-top: 1px solid #333b45; background: transparent; color: #cfd6de; font: 700 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding: 7px; cursor: pointer; }
.ticket .bump:hover { background: #2b323b; }
.ticket[data-st="ready"] .bump { color: #39c06f; cursor: default; }

/* Customer display */
.cds { background: #fff; color: #1f2328; min-height: 200px; display: grid; }
.cds > [data-phase] { display: none; padding: 12px; }
.cds[data-phase="idle"] > [data-phase="idle"], .cds[data-phase="order"] > [data-phase="order"],
.cds[data-phase="pay"] > [data-phase="pay"], .cds[data-phase="thanks"] > [data-phase="thanks"] { display: flex; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; } }
.cds-idle { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; background: #fff4e6; }
.cds-idle .namaste { font-size: 28px; color: #a9360a; line-height: 1.1; }
.cds-idle small { font: 500 10.5px/1.4 var(--f-mono); color: #6b7280; }
.cds-order { flex-direction: column; gap: 4px; }
.cds-order h4 { font: 600 10.5px/1 var(--f-mono); color: #6b7280; text-transform: uppercase; margin-bottom: 4px; }
.cds-lines { list-style: none; margin: 0; padding: 0; font-size: 13px; flex: 1; }
.cds-lines li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; border-bottom: 1px dotted #e1e4e8; }
.cds-lines li span:last-child { font: 500 11.5px/1.6 var(--f-mono); }
.cds-total { display: flex; justify-content: space-between; align-items: baseline; font: 800 20px/1.2 var(--f-sans); padding-top: 6px; }
.cds-total small { font: 500 10.5px/1 var(--f-mono); color: #6b7280; }
.cds-pay { align-items: center; gap: 14px; }
.cds-pay .qr { width: 118px; flex: none; }
.cds-pay .pay-amt { font: 850 30px/1 var(--f-sans); font-variation-settings: "wdth" 80; }
.cds-pay .pay-lbl { font: 600 10.5px/1.4 var(--f-mono); color: #6b7280; text-transform: uppercase; }
.cds-pay .pay-note { font: 500 10px/1.4 var(--f-mono); color: #2443a6; margin-top: 8px; }
.cds-thanks { flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #ebfbee; gap: 4px; }
.cds-thanks .big-tick { width: 48px; height: 48px; border-radius: 50%; background: #2b8a3e; color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.cds-thanks .dh { font-size: 26px; color: #1b6b30; line-height: 1.2; }
.cds-thanks small { font: 600 11px/1.4 var(--f-mono); color: #2b5a37; }

/* Wi-Fi bus + packets */
.wifi-bus { margin-top: var(--stage-gap); display: flex; align-items: center; gap: 12px; font: 600 11px/1.2 var(--f-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.wifi-bus::before, .wifi-bus::after { content: ""; flex: 1; height: 0; border-top: 2px dashed var(--line); }
.wifi-bus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.packets { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 5; }
.packet { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--saffron-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron-brand) 30%, transparent), 0 0 18px var(--saffron-brand); }
.packet.kot { background: #4d8dff; box-shadow: 0 0 0 4px rgba(77,141,255,.3), 0 0 18px #4d8dff; }
.packet.cloud { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 30%, transparent); }

.demo-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 18px; }
.demo-foot p { margin: 0; font: 500 12px/1.5 var(--f-mono); color: var(--ink-2); max-width: 80ch; }

@media (max-width: 1080px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "counter counter" "kitchen customer" "printer printer"; }
  .node-printer { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px 18px; align-items: start; }
  .node-printer .dev-label { grid-column: 1 / -1; }
  .slip-wrap { margin: 0; grid-column: 2; grid-row: 2; }
  .printer { grid-column: 1; grid-row: 2; }
  .slip-idle { margin-top: 0; }
}
@media (max-width: 640px) {
  .stage { border-radius: 16px; padding: 10px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "counter" "printer" "kitchen" "customer"; }
  .node-printer { grid-template-columns: 1fr; }
  .slip-wrap, .printer { grid-column: 1; }
  .slip-wrap { grid-row: 3; margin: -14px 14px 0; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .cart { border-left: 0; border-top: 1px solid #e5e7eb; }
  .cart-lines { min-height: 60px; }
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 6px; }
  .dish { font-size: 11.5px; padding: 7px 5px 6px 8px; min-height: 50px; }
  .dish .d-code { display: none; }
  .app { min-height: 0; }
  .kds { min-height: 140px; }
  .cds { min-height: 170px; }
  .net-switch { width: 100%; justify-content: flex-start; }
  .cds-pay { flex-direction: column; text-align: center; }
}

/* ---------- Home: errands (what runs where) ---------- */
.errands-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.onsite { position: relative; padding-top: 26px; }
.onsite .rail-bar { position: absolute; top: 0; left: -14px; right: -14px; }
.onsite .clip { top: -8px; }
.onsite .paper { margin: 0 14px; font-size: 13.5px; }
.onsite h3 { font: 700 14px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; text-align: center; margin: 4px 0 2px; }
.onsite ol { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.onsite li { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px dotted #c9cbd0; counter-increment: item; }
.onsite li::before { content: counter(item, decimal-leading-zero); color: var(--paper-ink-2); flex: none; }
.onsite li span:last-child { margin-left: auto; color: #17703d; font-weight: 700; }
.server-box { padding: clamp(22px, 3vw, 34px); }
.server-box h3 { font-size: 22px; font-variation-settings: "wdth" 85; margin-bottom: 4px; }
.server-box > p { color: var(--ink-2); font-size: 15.5px; }
.server-box ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.server-box li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.4; }
.server-box li b { display: block; font-size: 15.5px; }
.server-box li small { color: var(--ink-2); font-size: 14px; }
.server-box .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.server-box .ic svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-block; font: 700 10px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 4px 6px 3px; border-radius: 4px; vertical-align: 2px; margin-left: 6px; }
.badge-soon { color: var(--amber); border: 1.5px solid currentColor; }
.badge-live { color: var(--ok); border: 1.5px solid currentColor; }
.weigh { margin-top: 22px; font: 500 12.5px/1.5 var(--f-mono); color: var(--ink-2); display: grid; gap: 8px; }
.weigh .bar { height: 12px; border-radius: 3px; background: var(--ink); }
.weigh .bar.s { width: 9%; background: var(--saffron-brand); }
@media (max-width: 860px) { .errands-grid { grid-template-columns: 1fr; } }

/* ---------- Home: hardware rail ---------- */
.rail { position: relative; padding-top: 30px; }
.rail > .rail-bar { position: absolute; left: 0; right: 0; top: 0; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(214px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 4px 26px; margin: 0 -4px; scrollbar-width: thin; }
.rail-ticket { scroll-snap-align: start; position: relative; padding-top: 14px; }
.rail-ticket .clip { top: -12px; width: 54px; height: 26px; }
.rail-ticket:nth-child(odd) .paper { transform: rotate(-.8deg); }
.rail-ticket:nth-child(even) .paper { transform: rotate(.9deg); }
.rail-ticket .paper { height: 100%; font-size: 12.5px; padding-top: 26px; transition: transform .25s; }
.rail-ticket:hover .paper { transform: rotate(0) translateY(4px); }
.rail-ticket .t-no { display: flex; justify-content: space-between; color: var(--paper-ink-2); font-size: 11px; }
.rail-ticket svg.dev { width: 100%; height: 86px; margin: 10px 0 8px; fill: none; stroke: #16161a; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.rail-ticket svg.dev .f { fill: #d9480f; stroke: none; }
.rail-ticket svg.dev .g { fill: #e6e9ed; }
.rail-ticket h3 { font: 800 19px/1.1 var(--f-sans); font-variation-settings: "wdth" 85; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--paper-ink); }
.rail-ticket p { margin: 0; color: var(--paper-ink-2); font-size: 12px; line-height: 1.55; }
.rail-hint { font: 500 11.5px/1 var(--f-mono); color: var(--ink-2); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Home: customer screen setups ---------- */
.cds-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cds-wrap .sticky { position: sticky; top: 110px; }
.phases { display: flex; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.phases li { flex: 1 1 120px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.phases .ph-scr { height: 92px; display: grid; place-items: center; background: #fff; color: #1f2328; font-size: 12px; border-bottom: 1px solid var(--line); padding: 8px; }
.phases .ph-scr .qr { width: 64px; }
.phases .ph-cap { padding: 9px 11px; font: 600 11px/1.35 var(--f-mono); }
.phases .ph-cap span { color: var(--ink-2); font-weight: 500; display: block; }
.setups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.setup { padding: 20px; }
.setup svg { width: 100%; height: 120px; margin-bottom: 14px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.setup svg .f { fill: var(--saffron-brand); stroke: none; }
.setup svg .w { fill: var(--bg); }
.setup svg .d { stroke-dasharray: 4 5; stroke: var(--ink-2); }
.setup h3 { font-size: 20px; font-variation-settings: "wdth" 85; margin-bottom: 6px; }
.setup p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.setup .n { font: 600 11px/1 var(--f-mono); color: var(--stamp); display: block; margin-bottom: 10px; }
@media (max-width: 960px) { .cds-wrap { grid-template-columns: 1fr; } .cds-wrap .sticky { position: static; } }
@media (max-width: 560px) { .setups { grid-template-columns: 1fr; } }

/* ---------- Home: backup code ---------- */
.backup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.code-box { padding: clamp(20px, 3vw, 36px); }
.code-label { display: flex; justify-content: space-between; gap: 10px; font: 600 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 14px; }
.digits { display: flex; gap: clamp(4px, 1vw, 10px); align-items: center; }
.digits span { flex: 1; min-width: 0; aspect-ratio: 3 / 4; max-width: 64px; display: grid; place-items: center; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--line); font: 700 clamp(20px, 3.4vw, 40px)/1 var(--f-mono); box-shadow: inset 0 2px 0 rgba(0,0,0,.05); }
.digits span.on { border-color: var(--saffron-brand); }
.digits i { width: clamp(6px, 1vw, 12px); height: 3px; background: var(--ink-2); border-radius: 2px; flex: none; }
.restore { margin-top: 22px; }
.restore-bar { height: 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.restore-bar i { display: block; height: 100%; width: var(--p, 100%); background: repeating-linear-gradient(-45deg, var(--ok) 0 8px, color-mix(in srgb, var(--ok) 80%, #fff) 8px 16px); transition: width .2s linear; }
.restore-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font: 500 12.5px/1.4 var(--f-mono); }
.restore-steps li { display: flex; gap: 10px; color: var(--ink-2); }
.restore-steps li.done { color: var(--ink); }
.restore-steps li::before { content: "○"; color: var(--ink-2); }
.restore-steps li.done::before { content: "✓"; color: var(--ok); font-weight: 700; }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts li b { font: 600 12px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
@media (max-width: 860px) { .backup { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Kitchen board (ready / cooking) ---------- */
.board { background: var(--kds-bg); color: #e9edf1; border-radius: 22px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); border: 1px solid #2a3139; }
.board-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 11.5px/1.3 var(--f-mono); color: #8b96a3; text-transform: uppercase; letter-spacing: .05em; padding-bottom: 14px; border-bottom: 1px solid #2a3139; margin-bottom: 18px; }
.board-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.board-col h3 { display: flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; color: #fff; }
.board-col h3 i { width: 10px; height: 10px; border-radius: 50%; background: #39c06f; }
.board-col.cooking h3 i { background: #ffb02e; animation: blink 1.2s steps(2) infinite; }
.board-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bt { background: #222830; border-radius: 9px; border-top: 4px solid #39c06f; padding: 11px 12px 12px; }
.cooking .bt { border-top-color: #ffb02e; }
.bt b { display: block; font: 700 15px/1.25 var(--f-sans); color: #fff; margin-bottom: 3px; }
.bt span { font-size: 13px; color: #b6c0cb; line-height: 1.4; display: block; }
.bt .bt-no { font: 600 10px/1 var(--f-mono); color: #8b96a3; display: block; margin-bottom: 8px; }
@media (max-width: 860px) { .board-cols { grid-template-columns: 1fr; } }

/* ---------- Saffron band ---------- */
.band { background: var(--saffron); color: #fff; position: relative; overflow: hidden; }
:root[data-theme="dark"] .band { background: #c63f0c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band { background: #c63f0c; } }
.band .wrap { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px 56px; align-items: end; }
.band h2 { font-size: clamp(42px, 7.4vw, 112px); font-variation-settings: "wdth" 64; line-height: .86; letter-spacing: -0.03em; }
.band .hi-line { color: #fff; opacity: .92; margin-top: 16px; }
.band p { font-size: 18px; max-width: 46ch; }
.band .btn { --b: #fff; --t: #8a2c07; }
.band .btn-ghost { --b: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.band .btn-ghost:hover { border-color: #fff; }
.band .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 6px); pointer-events: none; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(48px, 7vw, 100px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line-2); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.page-hero h1 { font-size: clamp(48px, 8.6vw, 128px); font-variation-settings: "wdth" 66; line-height: .86; letter-spacing: -0.035em; margin-top: 14px; }
.page-hero .lede { margin: 0; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Product: a day at the counter ---------- */
.day { position: relative; }
.day-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, .9fr); gap: 24px clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.day-time { position: sticky; top: 100px; }
.day-time .t { font: 700 clamp(34px, 4vw, 52px)/1 var(--f-mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.day-time .am { font: 600 12px/1 var(--f-mono); color: var(--ink-2); margin-top: 8px; display: block; text-transform: uppercase; letter-spacing: .06em; }
.day-copy h2 { font-size: clamp(30px, 3.6vw, 48px); font-variation-settings: "wdth" 74; line-height: .95; margin-bottom: 16px; }
.day-copy > p { color: var(--ink-2); font-size: 17.5px; max-width: 54ch; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 16px; line-height: 1.45; }
.checks li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; border-radius: 4px; border: 2px solid var(--ok); background: linear-gradient(45deg, transparent 45%, var(--ok) 45% 60%, transparent 60%); }
.checks li.soon::before { border-color: var(--amber); background: none; border-style: dashed; }
.checks code, .day-copy code { font: 600 .84em var(--f-mono); background: var(--bg-2); padding: 1px 6px; border-radius: 5px; }
.day-art { min-width: 0; }
.day-art .paper { max-width: 340px; margin-left: auto; }
.day-row.alt .day-art .paper { transform: rotate(-1.2deg); }
.day-row:not(.alt) .day-art .paper { transform: rotate(1deg); }
.day-row.night { --ink: #eef1f4; --ink-2: #a9b2bc; color: var(--ink); background: #0b0d10 radial-gradient(ellipse at 20% 0%, rgba(217,72,15,.18), transparent 60%); margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); border-radius: 18px; border-bottom: 0; }
@media (max-width: 1000px) {
  .day-row { grid-template-columns: 1fr; }
  .day-time { position: static; display: flex; align-items: baseline; gap: 12px; }
  .day-time .am { margin-top: 0; }
  .day-art .paper { margin-left: 0; }
}
.mini-screen { border-radius: 14px; background: var(--bezel); padding: 9px; max-width: 360px; margin-left: auto; }
.mini-screen .screen-in { background: #fff; color: #1f2328; padding: 14px; }
@media (max-width: 1000px) { .mini-screen { margin-left: 0; } }

/* ---------- Hardware page ---------- */
.picker { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.picker fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.picker legend { font: 600 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 650; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.chip span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.chip input:checked + span::before { border-color: var(--saffron-brand); background: var(--saffron-brand); }
.chip input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.chip span:hover { border-color: var(--ink); }
.setup-slip { position: sticky; top: 100px; }
.setup-slip .paper { font-size: 12.5px; }
.setup-slip h3 { font: 700 14px/1.3 var(--f-mono); text-align: center; text-transform: uppercase; }
.setup-slip ol { margin: 0; padding: 0 0 0 1.4em; }
.setup-slip li { margin: 0 0 8px; }
.setup-slip li b { display: block; }
@media (max-width: 900px) { .picker { grid-template-columns: 1fr; } .setup-slip { position: static; } }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.matrix th, .matrix td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.matrix thead th { font: 600 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); background: var(--bg-2); }
.matrix tbody th { font-weight: 750; font-size: 16px; }
.matrix tbody th small { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.st { display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1.3 var(--f-mono); white-space: nowrap; }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.st-ok { --c: var(--ok); } .st-best { --c: var(--stamp); } .st-soon { --c: var(--amber); } .st-no { --c: #8b939c; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.brands li { font: 600 13px/1 var(--f-mono); padding: 10px 12px; border-radius: 8px; border: 1px dashed var(--line); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.ratecard { max-width: 760px; }
.ratecard .paper { font-size: 14px; padding: clamp(22px, 4vw, 40px) clamp(18px, 4vw, 40px) calc(clamp(22px, 4vw, 40px) + 9px); }
.ratecard h2 { font: 800 clamp(26px, 4vw, 40px)/1 var(--f-sans); font-variation-settings: "wdth" 72; text-align: center; color: var(--paper-ink); }
.ratecard .sub { text-align: center; color: var(--paper-ink-2); margin: 8px 0 0; }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16px, 48px) minmax(0, auto); gap: 10px; align-items: baseline; padding: 12px 0; }
.rate .price { max-width: 24ch; }
.rate .dots { border-bottom: 2px dotted #9a9ba1; transform: translateY(-4px); }
.rate .item { font-weight: 700; color: var(--paper-ink); }
.rate .item small { display: block; font-weight: 400; color: var(--paper-ink-2); font-size: 12px; margin-top: 2px; }
.rate .price { text-align: right; font-weight: 700; }
@media (max-width: 560px) { .rate { grid-template-columns: 1fr; gap: 4px; } .rate .dots { display: none; } .rate .price { text-align: left; } }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why .plate { padding: clamp(20px, 3vw, 32px); }
.why h3 { font-size: 24px; font-variation-settings: "wdth" 80; margin-bottom: 12px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 500 13px/1.4 var(--f-mono); }
.flow li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line-2); }
.flow li i { font-style: normal; color: var(--ink-2); }
.flow li.hot { border-color: var(--saffron-brand); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 750; font-size: 19px; font-variation-settings: "wdth" 92; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 500 24px/1 var(--f-mono); color: var(--saffron-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.faq .ans p:last-child { margin: 0; }

/* ---------- About ---------- */
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; border-top: 2px solid var(--ink); }
.principles li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 40px; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); counter-increment: p; align-items: baseline; }
.principles li::before { content: counter(p, decimal-leading-zero); font: 700 clamp(28px, 3vw, 40px)/1 var(--f-mono); color: var(--saffron-ink); }
.principles h3 { font-size: clamp(24px, 2.6vw, 34px); font-variation-settings: "wdth" 78; }
.principles p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .principles li { grid-template-columns: 60px minmax(0, 1fr); } .principles p { grid-column: 2; } }
.name-card { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 36px; align-items: center; }
.name-card .big-hi { font-size: clamp(64px, 10vw, 140px); line-height: 1; color: var(--saffron-ink); }
@media (max-width: 640px) { .name-card { grid-template-columns: 1fr; } }
.ledger { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.ledger div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { font: 600 12px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.ledger dd { margin: 0; }
@media (max-width: 600px) { .ledger div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Contact: KOT pad form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.kotpad { padding: clamp(22px, 3.5vw, 40px); padding-bottom: calc(clamp(22px, 3.5vw, 40px) + 9px); font-family: var(--f-sans); font-size: 16px; }
.kotpad-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 700 13px/1.2 var(--f-mono); border-bottom: 1.5px dashed #9a9ba1; padding-bottom: 12px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .lbl { font: 600 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--paper-ink-2); }
.field input, .field textarea, .field select {
  font: 500 16px/1.4 var(--f-sans); color: var(--paper-ink); background: transparent; border: 0; border-bottom: 2px solid #c3c5ca;
  padding: 8px 2px; border-radius: 0; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; border: 2px solid #c3c5ca; border-radius: 8px; padding: 10px; }
.field input:focus, .field textarea:focus { outline: none; border-color: #d9480f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.kotpad label.chip { font: inherit; text-transform: none; letter-spacing: 0; color: inherit; }
.kotpad .chips .chip span { background: #fff; border-color: #c3c5ca; color: #16161a; font-size: 14px; min-height: 40px; padding: 0 12px; }
.kotpad .chips .chip input:checked + span { background: #16161a; color: #fff; border-color: #16161a; }
.kotpad .chip span::before { border-radius: 3px; border-color: #c3c5ca; }
.form-note { font: 500 12px/1.5 var(--f-mono); color: var(--paper-ink-2); margin: 14px 0 0; }
.form-msg { font: 600 13px/1.5 var(--f-mono); color: #a9360a; margin-top: 10px; min-height: 1.5em; }
.contact-lines { display: grid; gap: 12px; }
.contact-line { padding: 18px 20px; display: grid; gap: 4px; }
.contact-line b { font: 600 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.contact-line span { font-size: 20px; font-weight: 700; font-variation-settings: "wdth" 90; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Legal drafts ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 100px; font: 500 13px/1.5 var(--f-mono); display: grid; gap: 6px; }
.legal-toc a { text-decoration: none; color: var(--ink-2); }
.legal-toc a:hover { color: var(--ink); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: clamp(24px, 2.6vw, 32px); font-variation-settings: "wdth" 82; margin: 44px 0 14px; scroll-margin-top: 100px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body li { margin-bottom: 6px; }
.legal-body strong { color: var(--ink); }
.draft-banner { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border: 2px dashed var(--stamp); border-radius: 12px; margin-bottom: 36px; color: var(--ink); }
.draft-banner .stamp { font-size: 16px; flex: none; }
.draft-banner p { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- 404 ---------- */
.notfound { padding: clamp(60px, 10vw, 140px) 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.notfound .paper { max-width: 320px; transform: rotate(2deg); }
.strike { text-decoration: line-through; text-decoration-thickness: 2px; }
@media (max-width: 760px) { .notfound { grid-template-columns: 1fr; } }

/* ---------- Footer: the bottom of the bill ---------- */
.site-foot { margin-top: 0; padding-top: 40px; }
.foot-paper { --zig: 12px; position: relative; background: var(--paper); color: var(--paper-ink); padding: clamp(48px, 6vw, 80px) 0 28px; }
.foot-paper::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--zig) + 1px); height: var(--zig); background: inherit;
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%; }
.foot-thanks { border-bottom: 1.5px dashed #9a9ba1; padding-bottom: 28px; margin-bottom: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.foot-hi { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.15; margin: 0; color: #a9360a; }
.foot-en { font: 600 14px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; margin: 0; color: var(--paper-ink-2); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-col p { margin: 0; }
.foot-col a { text-decoration: none; color: var(--paper-ink); }
.foot-col a:hover { text-decoration: underline; text-decoration-color: #d9480f; }
.foot-h { font: 600 11px/1.3 var(--f-mono) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--paper-ink-2); margin-bottom: 4px !important; }
.foot-col .tag-draft { color: #2443a6; }
.foot-bill dl { margin: 0; width: 100%; font: 500 12.5px/1.5 var(--f-mono); }
.foot-bill dl div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.foot-bill dd { margin: 0; font-weight: 700; text-align: right; }
.foot-bill .foot-total { border-top: 1.5px dashed #9a9ba1; margin-top: 6px; padding-top: 8px; font-size: 14px; }
.foot-word { font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(60px, 17.2vw, 268px); line-height: .8; letter-spacing: -0.05em; margin: 56px 0 18px; color: #16161a; white-space: nowrap; overflow: hidden; }
.site-foot .fine { font: 500 11.5px/1.6 var(--f-mono); color: var(--paper-ink-2); margin: 0; max-width: 110ch; }
.site-foot .ph { color: #2443a6; border-color: #2443a6; background: #eef1fb; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
