/* Nextdab theme 1.06 · logo colours: a soft mist ground (easy on the eyes), ink hairline grid, teal highlights,
   amber kept as a small accent on the dark parts. A teal version is one click away (the half-circle button in the header).
   Each app brings its own accent through --acc. Fonts are stored in assets/fonts (SIL Open Font License). */

@font-face { font-family: "Anton"; src: url(../fonts/anton-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-500-normal.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-500-italic.woff2) format("woff2"); font-weight: 500 700; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  /* the logo colours */
  --amber: #f0a63c; --amber-2: #e3962a; --teal: #0c6a77; --teal-2: #0a5762; --teal-l: #2a9aa6;
  --ink: #0b1d26; --night: #071820; --night-2: #0d2630; --night-ink: #e8f1f2; --cream: #fbfdfc; --mist: #e6edeb;
  /* mist version (default) */
  --bg: var(--mist); --fg: var(--ink); --line: var(--ink); --muted: #3e5661;
  --hi: var(--teal); --hi-fg: #ffffff; --hi-btn-bg: #ffffff; --hi-btn-fg: var(--ink);
  --btn-bg: var(--ink); --btn-fg: #ffffff;
  --field-a: #0b1d26; --field-b: #0c6a77;
  --good: #167a43; --bad: #a3271f;
  --acc: var(--teal);
  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-body: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --frame: 1480px; --side: 272px; --hdr: 72px; --adm: 0px;
  --pad: clamp(18px, 2.4vw, 36px);
  --b: 1.5px; --bl: var(--b) solid var(--line);
  --cw: calc(min(100vw, var(--frame)) - var(--side));
}
html[data-mode="teal"] {
  --bg: var(--teal); --fg: #f4f9f9; --line: #f4f9f9; --muted: #d3eaec;
  --hi: var(--amber); --hi-fg: var(--ink); --hi-btn-bg: var(--ink); --hi-btn-fg: var(--amber);
  --btn-bg: var(--amber); --btn-fg: var(--ink);
  --field-a: #f4f9f9; --field-b: #f0a63c;
}
.admin-bar { --adm: 32px; }
@media (max-width: 782px) { .admin-bar { --adm: 46px; } }

/* dark blocks (footer, the "linked" section) keep the same look in both versions */
.dark { --bg: var(--night); --fg: var(--night-ink); --line: #2c5868; --muted: #a6bec5; --hi: var(--amber); --hi-fg: var(--ink);
  --btn-bg: var(--amber); --btn-fg: var(--ink); background: var(--bg); color: var(--fg); }
/* filled highlight blocks */
.on-hi { --bg: var(--hi); --fg: var(--hi-fg); --line: var(--hi-fg); --muted: var(--hi-fg); --btn-bg: var(--hi-btn-bg); --btn-fg: var(--hi-btn-fg); background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); scroll-padding-top: calc(var(--hdr) + var(--adm) + 12px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 19px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .35s, color .35s; }
body.noscroll { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
.ic { display: inline-block; flex: none; vertical-align: middle; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; font: 600 13px var(--f-mono); text-decoration: none; }
.skip:focus { top: 12px; }
.label { font: 500 12px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.star { display: inline-block; width: .6em; height: .6em; vertical-align: .06em; }

/* lines that run toward the middle, seen beside the page on wide screens */
.tunnel { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; color: var(--line); opacity: .45; pointer-events: none; }
.tunnel path, .tunnel rect { stroke-width: 1; }

/* the framed page */
.shell { position: relative; z-index: 1; max-width: var(--frame); margin: 0 auto; min-height: 100vh; background: var(--bg); border-inline: var(--bl); overflow-x: clip; transition: background-color .35s; }
.layout { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
main { min-width: 0; outline: 0; }

/* grids drawn with hairlines: each cell draws its right and bottom line,
   and the grid reaches over the frame line so no line is drawn twice */
.cells { display: grid; width: calc(100% + var(--b)); margin-bottom: calc(-1 * var(--b)); }
.cells > * { border-right: var(--bl); border-bottom: var(--bl); min-width: 0; }
.hatch { background-image: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--line) 60%, transparent) 0 1px, transparent 1px 9px); }

/* ---------- header ---------- */
.hdr { position: sticky; top: var(--adm); z-index: 50; display: grid; grid-template-columns: var(--side) minmax(0, 1fr) auto auto; height: var(--hdr); background: var(--bg); border-bottom: var(--bl); transition: background-color .35s; }
.hdr-logo { display: flex; align-items: center; padding: 0 var(--pad); background: var(--night); border-right: var(--bl); min-width: 0; }
.logo { display: flex; align-items: center; color: #fff; text-decoration: none; }
.logo-svg { display: block; height: auto; }
.logo-img { max-height: 40px; width: auto; }
.hdr-nav { display: flex; align-items: stretch; min-width: 0; overflow: hidden; }
.hdr-nav li { list-style: none; display: flex; }
.hdr-nav a { display: flex; align-items: center; padding: 0 clamp(12px, 1.3vw, 22px); border-right: var(--bl); font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.hdr-nav a:hover { background: var(--fg); color: var(--bg); }
.hdr-nav a.on, .hdr-nav .current-menu-item > a { background: var(--hi); color: var(--hi-fg); }
.hdr-tools { display: flex; }
.tool { width: var(--hdr); display: grid; place-items: center; border: 0; border-left: var(--bl); background: none; color: inherit; cursor: pointer; padding: 0; text-decoration: none; transition: background .15s, color .15s; }
.tool:hover { background: var(--fg); color: var(--bg); }
.mode svg { transition: transform .5s; }
html[data-mode="teal"] .mode svg { transform: rotate(180deg); }
.burger { display: none; width: auto; padding: 0 18px; gap: 12px; grid-auto-flow: column; font: 600 12.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.burger-x { position: relative; width: 20px; height: 12px; display: block; }
.burger-x i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.burger-x i:first-child { top: 1px; } .burger-x i:last-child { top: 9px; }
.side-open .burger-x i:first-child { top: 5px; transform: rotate(45deg); }
.side-open .burger-x i:last-child { top: 5px; transform: rotate(-45deg); }
.hdr-note { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 var(--pad); border-left: var(--bl); text-decoration: none; min-width: 236px; transition: background .15s, color .15s; }
.hdr-note-t { font: italic 400 15.5px/1.2 var(--f-body); }
.hdr-note-a { display: flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.hdr-note:hover { background: var(--hi); color: var(--hi-fg); }
.hdr-note:hover .ic { transform: translateX(3px); }
.hdr-note .ic { transition: transform .2s; }

/* ---------- side menu: every app has its own page ---------- */
.side { position: sticky; top: calc(var(--hdr) + var(--adm)); height: calc(100vh - var(--hdr) - var(--adm)); height: calc(100dvh - var(--hdr) - var(--adm)); display: flex; flex-direction: column; border-right: var(--bl); background: var(--bg); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; transition: background-color .35s; }
.side-h { display: flex; justify-content: space-between; padding: 14px var(--pad) 12px; border-bottom: var(--bl); font: 600 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.side-apps { list-style: none; margin: 0; padding: 0; }
.side-apps a { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; padding: 15px var(--pad) 15px; border-bottom: var(--bl); text-decoration: none; transition: background .15s, color .15s; }
.side-apps a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--acc); transition: width .2s; }
.side-apps a:hover { background: color-mix(in srgb, var(--fg) 9%, transparent); }
.side-apps a:hover::before { width: 5px; }
.side-apps a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.side-apps a[aria-current="page"]::before { width: 6px; }
.side-n { font: 500 11.5px/1 var(--f-mono); letter-spacing: .06em; }
.side-name { font: 400 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.side-cat { grid-column: 2 / -1; font: italic 400 14.5px/1.25 var(--f-body); color: var(--muted); }
.side-apps a[aria-current="page"] .side-cat { color: inherit; opacity: .8; }
.side-tag { font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 5px; }
.side-all { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); border-bottom: var(--bl); font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.side-all:hover, .side-all[aria-current="page"] { background: var(--fg); color: var(--bg); }
.side-pages { display: none; }
.side-pages a { display: block; padding: 13px var(--pad); border-bottom: var(--bl); font: 400 26px/1 var(--f-display); text-transform: uppercase; text-decoration: none; }
.side-pages a[aria-current="page"], .side-pages a:hover { background: var(--fg); color: var(--bg); }
.side-fill { flex: 1; min-height: 32px; background-image: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--line) 55%, transparent) 0 1px, transparent 1px 9px); }
.side-foot { display: grid; gap: 10px; padding: 16px var(--pad) 18px; border-top: var(--bl); }
.side-foot p { font: italic 14.5px/1.35 var(--f-body); color: var(--muted); }
.scrim { display: none; }

/* ---------- scrolling strips ---------- */
.ticker { overflow: hidden; border-bottom: var(--bl); white-space: nowrap; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; user-select: none; }
.ticker-track { display: flex; width: max-content; animation: nd-tick 60s linear infinite; }
.ticker-track > div { display: flex; align-items: center; }
.ticker span { padding: 11px 0; }
.ticker i { display: inline-flex; padding: 0 20px; }
.ticker .star { width: 10px; height: 10px; vertical-align: 0; }
.ticker-rev .ticker-track { animation-direction: reverse; }
.ticker-announce { background: var(--night); color: var(--amber); border-bottom: var(--bl); }
.ticker-announce .ticker-track { animation-duration: 45s; }
.ticker-apps { font: 400 clamp(20px, 2.1vw, 30px)/1 var(--f-display); letter-spacing: .02em; }
.ticker-apps span { padding: 14px 0 12px; }
.ticker-apps .star { width: 16px; height: 16px; color: var(--hi); }
.ticker-apps .ticker-track { animation-duration: 38s; }
.ticker-bin { font-size: 11px; letter-spacing: .18em; }
.ticker-bin span { padding: 8px 0; }
.ticker-bin .ticker-track { animation-duration: 90s; }
@keyframes nd-tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- buttons, pills and other parts (also used by the Nextdab Hub plugin) ---------- */
.nd-mono, code { font-family: var(--f-mono); font-size: .88em; }
.nd-small { font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); }
.nd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: var(--b) solid var(--line); border-radius: 0; background: transparent; color: var(--fg);
  font: 600 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.nd-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nd-btn:active { transform: translateY(1px); }
.nd-btn small { font: 500 12px var(--f-mono); letter-spacing: 0; text-transform: none; opacity: .8; }
.nd-btn-lg { min-height: 58px; padding: 0 26px; font-size: 13.5px; }
.nd-btn-block { width: 100%; }
.nd-btn-amber { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.nd-btn-amber:hover { background: var(--hi); color: var(--hi-fg); border-color: var(--hi); }
.on-hi .nd-btn-amber:hover, .dark .nd-btn-amber:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nd-btn-acc { background: var(--acc); border-color: var(--acc); color: #fff; }
.nd-btn-acc:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.nd-btn .ic { transition: transform .2s; }
.nd-btn:hover .ic { transform: translateX(3px); }
.nd-link { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.nd-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px 5px; border: 1px solid currentColor; font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: inherit; background: transparent; }
.nd-pill-soon { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nd-pill-acc { background: var(--acc); color: #fff; border-color: var(--acc); }
.nd-pill-light { color: inherit; }
.nd-ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; align-content: start; }
.nd-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.4; }
.nd-ticks .ic { margin-top: 3px; }
.nd-card { background: transparent; border: var(--bl); border-radius: 0; padding: 28px; }
.nd-empty { text-align: center; padding: 56px 24px; border: var(--b) dashed var(--line); display: grid; justify-items: center; gap: 14px; }

.nd-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.nd-app-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border: var(--bl); text-decoration: none; color: inherit; transition: background .2s, color .2s; overflow: hidden; }
.nd-app-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--acc); }
.nd-app-card:hover { background: var(--hi); color: var(--hi-fg); }
.nd-app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nd-app-ic { width: 48px; height: 48px; display: grid; place-items: center; border: var(--b) solid currentColor; flex: none; }
.nd-app-cat { font: 500 12px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.nd-app-card h3 { font: 400 36px/1 var(--f-display); text-transform: uppercase; }
.nd-app-tag { font-size: 18px; font-style: italic; }
.nd-app-card .nd-link { margin-top: auto; padding-top: 12px; }

.nd-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.nd-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; border: var(--bl); border-radius: 0; background: transparent; }
.nd-plan.featured { --bg: var(--hi); --fg: var(--hi-fg); --line: var(--hi-fg); --muted: var(--hi-fg); --btn-bg: var(--hi-btn-bg); --btn-fg: var(--hi-btn-fg); background: var(--hi); color: var(--hi-fg); border-color: var(--hi); }
.nd-plan-flag { position: absolute; top: -1px; right: -1px; background: var(--fg); color: var(--bg); font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; }
.nd-plan h3 { font: 400 34px/1 var(--f-display); text-transform: uppercase; }
.nd-plan-note { font-style: italic; font-size: 17px; margin-top: -4px; color: var(--muted); }
.nd-plan-price { border-top: var(--b) solid currentColor; border-bottom: var(--b) solid currentColor; padding: 14px 0; }
.nd-plan-price b { display: block; font: 400 42px/1 var(--f-display); letter-spacing: .01em; }
.nd-plan-price span { display: block; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.nd-plan .nd-ticks { flex: 1; margin-bottom: 8px; }
.nd-plans-note { margin-top: 22px; font-style: italic; font-size: 17px; }
.nd-seg { display: inline-flex; flex-wrap: wrap; border: var(--bl); margin-bottom: 32px; }
.nd-seg a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-right: var(--bl); text-decoration: none; font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.nd-seg a:last-child { border-right: 0; }
.nd-seg a:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.nd-seg a[aria-current="page"] { background: var(--fg); color: var(--bg); }
.nd-pricing-for { font: 500 12.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }

.nd-dl-group { margin-bottom: 56px; }
.nd-dl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: var(--bl); }
.nd-dl-head h2 { font: 400 40px/1 var(--f-display); text-transform: uppercase; margin: 0; }
.nd-dl-head p { margin: 0; font-style: italic; }
.nd-dl-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 22px 24px; border: var(--bl); margin-bottom: 12px; }
.nd-dl-row.latest { box-shadow: inset 6px 0 0 var(--acc); }
.nd-dl-ver { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nd-dl-ver b { font: 400 30px/1 var(--f-display); }
.nd-dl-ver small { display: block; width: 100%; font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.nd-dl-body h3 { font: 600 19px/1.3 var(--f-body); margin: 0 0 6px; }
.nd-dl-body ul { margin: 0; padding-left: 18px; font-size: 17px; }
.nd-dl-act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.nd-dl-sub, .entry-content .nd-dl-sub { margin: 30px 0 14px; font: 600 12px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }

/* where to get an app: Google Play, Microsoft Store, Nextdab download or Coming soon */
.nd-get { display: flex; flex-wrap: wrap; gap: 12px; }
.nd-store { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 62px; padding: 9px 20px 9px 10px; background: var(--ink); color: #fff; border: var(--b) solid var(--ink); text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
a.nd-store:hover { background: var(--hi); color: var(--hi-fg); border-color: var(--hi); }
.nd-store-ic { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.nd-store-t { display: grid; gap: 4px; }
.nd-store-t small { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.nd-store-t b { font: 400 23px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; font-weight: 400; }
.nd-store-t .nd-store-m { font-size: 10px; letter-spacing: .08em; opacity: .75; }
.nd-store.is-soon { background: transparent; color: var(--fg); border-style: dashed; border-color: var(--line); cursor: default; }
.nd-store.is-soon .nd-store-ic, .nd-store.is-soon .nd-store-t { opacity: .72; }
.nd-store.is-soon em { position: absolute; top: -10px; right: 10px; padding: 4px 7px 3px; background: var(--fg); color: var(--bg); font: 600 10px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.nd-store-manual { background: transparent; color: var(--fg); border-color: var(--line); }
a.nd-store-manual:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.nd-btn.is-soon { opacity: .6; cursor: default; border-style: dashed; }
.nd-btn.is-soon:hover { background: transparent; color: var(--fg); }
.dark .nd-store, .on-hi .nd-store { border-color: var(--line); }
.app-get { display: grid; gap: 12px; padding-top: 6px; }
.nd-dl-group .nd-get { margin-bottom: 8px; }

.nd-form { display: grid; gap: 18px; }
.nd-kinds { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.nd-kinds legend { margin-bottom: 12px; padding: 0; font: 400 28px/1 var(--f-display); text-transform: uppercase; }
.nd-kinds label { position: relative; }
.nd-kinds input { position: absolute; opacity: 0; inset: 0; }
.nd-kinds span { display: inline-block; padding: 11px 14px; border: var(--bl); font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.nd-kinds span:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.nd-kinds input:checked + span { background: var(--fg); color: var(--bg); }
.nd-kinds input:focus-visible + span { outline: 2.5px solid var(--fg); outline-offset: 3px; }
.nd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nd-fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.nd-fld > span { font: 600 11.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.nd-fld input, .nd-fld select, .nd-fld textarea { width: 100%; min-height: 50px; padding: 11px 14px; background: var(--cream); border: var(--b) solid var(--ink); border-radius: 0; font: 400 18px/1.4 var(--f-body); color: var(--ink); transition: box-shadow .15s; }
.nd-fld textarea { resize: vertical; min-height: 120px; }
.nd-fld input:focus, .nd-fld select:focus, .nd-fld textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--ink); }
.nd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nd-form-err { background: var(--cream); color: var(--bad); border: var(--b) solid var(--bad); padding: 10px 14px; font-weight: 500; }
.nd-form .nd-btn-lg { justify-self: start; }
.nd-sent { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 56px 28px; }
.nd-sent-ic { width: 64px; height: 64px; display: grid; place-items: center; background: var(--hi); color: var(--hi-fg); }
.nd-sent h2 { font: 400 44px/1 var(--f-display); text-transform: uppercase; }

/* ---------- sections ---------- */
.sec { border-bottom: var(--bl); }
.sec-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--pad); border-bottom: var(--bl); font: 500 12px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.sec-bar > span:nth-child(2) { flex: 1; }
.sec-bar > span:last-child:not(:nth-child(2)) { text-align: right; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-title { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; padding: clamp(30px, 4.2vw, 64px) var(--pad) clamp(24px, 3vw, 44px); border-bottom: var(--bl); }
.sec-title h2 { font: 400 clamp(36px, calc(var(--cw) * .056), 88px)/.94 var(--f-display); text-transform: uppercase; letter-spacing: .005em; }
.sec-title p { font-size: 19px; line-height: 1.5; max-width: 44ch; }
.sec-title:has(h2:only-child) { grid-template-columns: 1fr; }
.sec-pad { padding: clamp(28px, 3.4vw, 48px) var(--pad); }
.ic-box { width: 46px; height: 46px; display: grid; place-items: center; border: var(--b) solid currentColor; flex: none; }
.acc-dot { width: 12px; height: 12px; background: var(--acc); outline: var(--b) solid var(--line); display: inline-block; flex: none; }

/* ---------- home: hero ---------- */
.hero { border-bottom: var(--bl); }
.hero-field { position: relative; height: clamp(230px, 36vh, 400px); border-bottom: var(--bl); overflow: hidden; }
.hero-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-tag { position: absolute; left: var(--pad); bottom: 16px; z-index: 1; padding: 8px 11px 7px; background: var(--bg); border: var(--bl); font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; transition: background-color .35s; }
.hero-tag-r { left: auto; right: var(--pad); }
.hero-title { padding: clamp(22px, 3.2vw, 46px) var(--pad) clamp(18px, 2.6vw, 36px); font: 400 clamp(44px, calc(var(--cw) * .082), 140px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .002em; text-align: center; border-bottom: var(--bl); }
.hero-title .star { width: .56em; height: .56em; vertical-align: .1em; color: var(--hi); margin: 0 .04em; }
.hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.hero-grid > * { padding: clamp(24px, 2.8vw, 40px) var(--pad); }
.hero-lead { display: grid; gap: 16px; align-content: start; }
.hero .lead { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.45; max-width: 48ch; }
.hero .lead b { font-weight: 500; font-style: italic; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof { list-style: none; margin: 0; display: grid; gap: 14px; align-content: center; font: 500 12.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-proof li { display: flex; align-items: center; gap: 12px; }
.hero-proof .ic { width: 34px; height: 34px; padding: 7px; border: var(--b) solid currentColor; }

/* facts in cells */
.facts { grid-template-columns: 64px repeat(4, minmax(0, 1fr)); }
.facts-app { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 34px) var(--pad); }
.fact b { font: 400 clamp(34px, calc(var(--cw) * .04), 58px)/.95 var(--f-display); text-transform: uppercase; font-weight: 400; }
.fact span { font-size: 17px; line-height: 1.4; font-style: italic; }

/* ---------- numbered app list ---------- */
.index { list-style: none; margin: 0; padding: 0; }
.index-row { display: grid; grid-template-columns: 124px minmax(0, 1.25fr) minmax(0, 1fr) auto 84px; align-items: stretch; border-bottom: var(--bl); text-decoration: none; transition: background .2s, color .2s; }
.index li:last-child .index-row { border-bottom: 0; }
.index-row > * { display: flex; align-items: center; }
.index-n { gap: 10px; padding: 0 18px 0 var(--pad); white-space: nowrap; border-right: var(--bl); font: 500 12px/1 var(--f-mono); letter-spacing: .08em; }
.index-n::before { content: ""; width: 10px; height: 10px; background: var(--acc); outline: var(--b) solid var(--line); flex: none; }
.index-name { padding: 22px var(--pad) 18px; font: 400 clamp(38px, calc(var(--cw) * .058), 88px)/.92 var(--f-display); text-transform: uppercase; letter-spacing: .005em; transition: transform .3s; }
.index-about { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 6px; padding: 18px var(--pad); font-size: 18px; line-height: 1.35; font-style: italic; }
.index-about small { font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; }
.index-pre { margin-right: -8px; }
.index-meta { padding: 0 var(--pad); }
.index-go { justify-content: center; border-left: var(--bl); }
.index-go .ic { transition: transform .3s; }
.index-row:hover, .index-row:focus-visible { background: var(--hi); color: var(--hi-fg); --line: var(--hi-fg); }
.index-row:hover .index-name { transform: translateX(10px); }
.index-row:hover .index-go .ic { transform: rotate(-45deg); }
.index-more { grid-template-columns: 124px minmax(0, 1fr) auto 84px; background-image: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--line) 35%, transparent) 0 1px, transparent 1px 10px); }
.index-more .index-n::before { background: transparent; }
.index-pv { position: fixed; left: 0; top: 0; z-index: 80; width: 440px; height: 330px; overflow: hidden; pointer-events: none; background: var(--night); border: var(--b) solid var(--ink); box-shadow: 10px 10px 0 var(--ink); opacity: 0; transform: translate(-999px, 0); transition: opacity .2s; }
.index-pv.on { opacity: 1; }
.index-pv-in { width: 620px; padding: 22px 26px 0 0; transform: scale(.68); transform-origin: 0 0; }
.index-pv .art { min-height: 460px; }

/* ---------- the "linked" section ---------- */
.floor { position: relative; height: clamp(220px, 26vw, 360px); overflow: hidden; perspective: 520px; perspective-origin: 50% 100%; border-bottom: var(--bl); }
.floor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg) 8%, transparent 60%); pointer-events: none; }
.floor-in { position: absolute; left: -25%; right: -25%; bottom: -4%; transform: rotateX(42deg); transform-origin: 50% 100%; display: grid; gap: .14em; }
.floor-row { overflow: visible; white-space: nowrap; font: 400 clamp(64px, calc(var(--cw) * .11), 168px)/.86 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--amber); }
.floor-row:nth-child(even) { color: var(--amber); -webkit-text-stroke: 0; }
.floor-track { display: flex; width: max-content; animation: nd-tick 50s linear infinite; }
.floor-row.rev .floor-track { animation-direction: reverse; animation-duration: 60s; }
.floor-track > div { display: flex; align-items: center; }
.floor-track span { padding: 0 .12em; }
.floor-track .star { width: .5em; height: .5em; color: var(--teal-l); margin: 0 .16em; }
.links3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link3, .bento-cell, .feat { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 2.6vw, 38px) var(--pad); }
.link3 .n, .feat .n { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; }
.link3 h3, .bento-cell h3, .feat h3, .step h3 { font: 400 clamp(24px, 2vw, 30px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.link3 p, .bento-cell p, .feat p, .step p { font-size: 17.5px; line-height: 1.5; }
.link3 .ic-box { margin-top: 6px; }

/* ---------- bento ---------- */
.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento-hi { grid-column: span 2; display: flex; align-items: flex-end; padding: clamp(26px, 3vw, 44px) var(--pad); min-height: 300px; border-right-color: var(--line); }
.bento-hi h2 { font: 400 clamp(34px, calc(var(--cw) * .045), 68px)/.94 var(--f-display); text-transform: uppercase; }
.bento-hatch { grid-column: span 2; min-height: 120px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0 0 calc(-1 * var(--b)); padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 2.6vw, 38px) var(--pad); transition: background .2s, color .2s; }
.step-n { font: 400 clamp(64px, calc(var(--cw) * .075), 116px)/.85 var(--f-display); -webkit-text-stroke: var(--b) var(--fg); color: transparent; margin-bottom: 8px; transition: color .2s; }
.step:hover .step-n { color: var(--fg); }

/* ---------- closing call to action ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: var(--bl); }
.cta-in { display: grid; gap: 18px; align-content: center; padding: clamp(36px, 5vw, 80px) var(--pad); }
.cta-in h2 { font: 400 clamp(42px, calc(var(--cw) * .072), 120px)/.9 var(--f-display); text-transform: uppercase; }
.cta-in p:not(.label) { font-size: 20px; max-width: 52ch; }
.cta-btns { display: grid; grid-auto-rows: 1fr; border-left: var(--bl); min-width: min(420px, 34vw); }
.cta-cell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px var(--pad); font: 400 clamp(26px, 2.4vw, 38px)/1 var(--f-display); text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.cta-cell + .cta-cell { border-top: var(--bl); }
.cta-cell:hover { background: var(--fg); color: var(--bg); }
.cta-cell .ic { transition: transform .25s; }
.cta-cell:hover .ic { transform: translateX(6px); }

/* ---------- app page ---------- */
.app-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.app-hero-copy { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 3.6vw, 56px) var(--pad); }
.app-hero h1 { font: 400 clamp(56px, calc(var(--cw) * .1), 156px)/.86 var(--f-display); text-transform: uppercase; letter-spacing: .002em; margin-top: 6px; }
.app-hero-tag { font: italic 400 clamp(21px, 1.8vw, 27px)/1.3 var(--f-body); }
.app-hero .lead { font-size: 18.5px; line-height: 1.55; max-width: 54ch; }
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.app-hero-art { display: flex; align-items: center; padding: clamp(28px, 3vw, 48px) clamp(18px, 2.4vw, 40px); background-image: linear-gradient(color-mix(in srgb, var(--line) 50%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--line) 50%, transparent) 1px, transparent 1px); background-size: 32px 32px; }
.app-hero-art > * { width: 100%; }
.feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.feat { transition: background .2s, color .2s; }
.feat:hover { background: var(--fg); color: var(--bg); }
.diagram-wrap { padding: clamp(20px, 3vw, 44px) var(--pad); }
.mods { display: flex; flex-wrap: wrap; gap: 10px; padding: clamp(24px, 3vw, 40px) var(--pad); }
.mods span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px 10px; border: var(--bl); font: 500 12.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.mods span::before { content: ""; width: 8px; height: 8px; background: var(--acc); outline: 1px solid var(--line); }
.release { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
.release > * { padding: clamp(26px, 3vw, 44px) var(--pad); }
.release-v { display: grid; gap: 14px; align-content: start; }
.release-v b { font: 400 clamp(72px, calc(var(--cw) * .1), 150px)/.85 var(--f-display); font-weight: 400; }
.release-body { display: grid; gap: 16px; align-content: start; }
.release-body h3 { font: 400 clamp(26px, 2.2vw, 34px)/1.05 var(--f-display); text-transform: uppercase; }
.release-body .nd-link { margin-top: 6px; }
.faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
.faq-head { padding: clamp(26px, 3vw, 44px) var(--pad); }
.faq-head h2 { font: 400 clamp(36px, calc(var(--cw) * .045), 64px)/.94 var(--f-display); text-transform: uppercase; position: sticky; top: calc(var(--hdr) + var(--adm) + 24px); }
.faq { display: grid; }
.faq details { border-bottom: var(--bl); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 22px var(--pad); font: 500 20px/1.35 var(--f-body); transition: background .15s, color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--f-mono); flex: none; transition: transform .2s; }
.faq summary:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.faq details[open] summary { background: var(--fg); color: var(--bg); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 18px var(--pad) 26px; font-size: 18px; max-width: 64ch; }

/* ---------- pages ---------- */
.page-head { border-bottom: var(--bl); }
.page-head-in { display: grid; gap: 20px; padding: clamp(36px, 5vw, 80px) var(--pad) clamp(30px, 4vw, 60px); }
.page-head h1 { font: 400 clamp(56px, calc(var(--cw) * .11), 172px)/.86 var(--f-display); text-transform: uppercase; letter-spacing: .002em; }
.page-head .lead { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.4; font-style: italic; max-width: 50ch; }
.page-body { border-bottom: 0; }
.entry-content { max-width: 780px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--pad) clamp(48px, 6vw, 96px); font-size: 19px; line-height: 1.6; }
.entry-content.full { max-width: none; margin: 0; }
.entry-content > * + * { margin-top: 1.05em; }
.entry-content h2 { font: 400 clamp(30px, 3vw, 42px)/1 var(--f-display); text-transform: uppercase; margin-top: 1.8em; letter-spacing: .01em; }
.entry-content h3 { font: 600 22px/1.3 var(--f-body); margin-top: 1.6em; }
.entry-content h4 { font: 600 12.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; margin-top: 1.6em; }
.entry-content h2 + *, .entry-content h3 + * { margin-top: .6em; }
.entry-content a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry-content a.nd-btn, .entry-content a.nd-app-card, .entry-content a.nd-link { text-decoration: none; }
.entry-content a.nd-link { text-decoration: underline; text-underline-offset: 5px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content .nd-ticks { padding: 0; }
.entry-content .nd-ticks li + li, .entry-content .nd-dl-body li + li { margin-top: 0; }
.entry-content strong { font-weight: 600; }
.entry-content img { border: var(--bl); }
.entry-content hr { border: 0; border-top: var(--bl); margin: 2em 0; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 6px solid var(--fg); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 17px; }
.entry-content th, .entry-content td { border: var(--bl); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content th { font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.entry-content .wp-block-button__link { border-radius: 0; background: var(--btn-bg); color: var(--btn-fg); font: 600 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.contact-grid > .entry-content { padding: clamp(28px, 3.4vw, 48px) var(--pad); }
.contact-grid .nd-form.nd-card, .contact-grid .nd-sent { border: 0; padding: 0; }
.contact-side { display: grid; align-content: start; }
.contact-side .nd-card { border: 0; border-bottom: var(--bl); padding: clamp(24px, 2.8vw, 38px) var(--pad); }
.contact-side h3 { font: 400 28px/1 var(--f-display); text-transform: uppercase; margin-bottom: 18px; }
.contact-lines { display: grid; gap: 14px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 12px; font-size: 18px; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mini-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; font-size: 17.5px; }
.posts { display: grid; gap: 16px; padding: clamp(28px, 3.4vw, 48px) var(--pad); }
.post-card h2 { font: 400 34px/1 var(--f-display); text-transform: uppercase; margin: 8px 0 10px; }
.post-card h2 a { text-decoration: none; }

/* ---------- footer ---------- */
.ftr { position: relative; }
.ftr-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.ftr-grid > div { display: grid; gap: 10px; align-content: start; padding: clamp(26px, 3vw, 44px) var(--pad); }
.ftr-h { font: 600 11.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.ftr-say { font: italic 400 clamp(20px, 1.7vw, 25px)/1.35 var(--f-body); max-width: 30ch; }
.ftr-grid a, .ftr-grid span { display: inline-flex; align-items: center; gap: 10px; font-size: 17.5px; text-decoration: none; color: var(--fg); }
.ftr-grid a:hover { color: var(--amber); }
.ftr-grid .ic { color: var(--amber); }
.ftr-mark { padding: clamp(28px, 4vw, 64px) var(--pad); border-bottom: var(--bl); color: #fff; }
.ftr-mark .logo-svg { width: 100%; height: auto; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding: 18px var(--pad); font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ftr-bottom a { text-decoration: none; }
.ftr-bottom a:hover { color: var(--amber); }
.ftr-top { margin-left: auto; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; background: var(--night); color: var(--amber); border: var(--b) solid var(--amber); text-decoration: none; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.wa-float:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

/* ---------- product pictures (drawn app screens keep their own light colours) ---------- */
.art, .shot, .diagram, .index-pv { --ink: #0b1d26; --ink-2: #2c3f48; --muted: #5d6c73; --line: #e1dfd7; --line-2: #ecebe4; --surface: #ffffff; --sunken: #f0eee7; --amber-ink: #241603; --r: 16px; --f-display: var(--f-sans); --f-body: var(--f-sans); font-family: var(--f-sans); font-size: 16px; line-height: 1.45; }
/* ---------- product pictures ---------- */
.art { position: relative; min-height: 480px; }
.win { position: absolute; inset: 0 0 auto 40px; background: #f4f6f5; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; color: #12252d; }
.win-top { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #e5ebea; font-size: 11.5px; color: #557078; }
.win-top i { width: 9px; height: 9px; border-radius: 50%; background: #c5d0cf; }
.win-top span { margin-left: 10px; font-weight: 600; }
.win-body { display: grid; grid-template-columns: 38px 1fr 168px; min-height: 330px; }
.win-rail { background: #0b3540; padding: 12px 9px; display: flex; flex-direction: column; gap: 10px; }
.win-rail.navy { background: #1b2a3e; }
.win-rail.acc { background: color-mix(in srgb, var(--acc) 70%, #000); }
.win-rail b { height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .13); }
.win-rail b.on { background: var(--amber); }
.win-main { padding: 12px; min-width: 0; }
.win-chips { display: flex; gap: 6px; margin-bottom: 10px; }
.win-chips span { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: #fff; border: 1px solid #dbe3e2; }
.win-chips .on { background: #0d2127; color: #fff; border-color: #0d2127; }
.win-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.win-tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { background: #fff; border: 1px solid #dfe6e5; border-radius: 9px; padding: 6px; font-size: 10.5px; line-height: 1.25; }
.tile i { display: block; height: 44px; border-radius: 6px; margin-bottom: 6px; background: linear-gradient(135deg, var(--sw), color-mix(in srgb, var(--sw) 55%, #7a4a1c)); }
.tile b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile span { color: #0c6a77; font-family: var(--f-mono); font-weight: 600; }
.tile.out { opacity: .55; } .tile.out span { color: #b3342b; }
.win-ticket { background: #fffdf7; border-left: 1px dashed #d8d2c2; padding: 12px; font-size: 11px; display: flex; flex-direction: column; }
.tk-h b { display: block; font-family: var(--f-display); font-size: 14px; }
.tk-h span { color: #6d6a60; font-size: 10px; }
.win-ticket ul { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; }
.win-ticket li { display: flex; justify-content: space-between; gap: 6px; }
.win-ticket li b, .tk-t b, .tk-line b { font-family: var(--f-mono); }
.tk-t { margin-top: auto; display: flex; justify-content: space-between; border-top: 1px solid #dcd7c9; padding-top: 8px; font-weight: 700; font-size: 12px; }
.tk-t.big { margin-top: 12px; border: 0; padding: 10px; background: #f2efe4; border-radius: 8px; font-size: 13px; }
.tk-line { display: flex; justify-content: space-between; padding: 5px 2px; border-bottom: 1px dashed #dcd7c9; }
.tk-line.good b { color: #167a43; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 10px 0; }
.notes span { text-align: center; background: #fff; border: 1px solid #dfd9c8; border-radius: 6px; padding: 5px 0; font-weight: 700; font-family: var(--f-mono); }
.tk-pay { margin-top: 10px; text-align: center; background: #0c6a77; color: #fff; border-radius: 8px; padding: 8px; font-weight: 700; }
.art-pos .tk-pay { background: #b4532a; }
.win-body.pos { grid-template-columns: 1fr 176px; }
.phone { position: absolute; left: 0; bottom: 0; width: 170px; padding: 12px 10px 14px; background: #fff; border-radius: 26px; border: 7px solid #0b1a20; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); color: #12252d; font-size: 11px; }
.ph-h { padding: 4px 4px 10px; border-bottom: 1px solid #e6ecec; margin-bottom: 8px; }
.ph-h b { display: block; font-family: var(--f-display); font-size: 14px; }
.ph-h span { color: #6f8287; font-size: 10px; }
.ph-row { display: flex; align-items: center; gap: 8px; padding: 6px 4px; }
.ph-row i { width: 24px; height: 24px; border-radius: 6px; background: var(--sw); flex: none; }
.ph-row span { flex: 1; }
.ph-row b { font-family: var(--f-mono); background: #eef3f3; border-radius: 6px; padding: 1px 7px; }
.ph-btn { margin-top: 10px; background: var(--amber); color: var(--amber-ink); text-align: center; border-radius: 10px; padding: 8px; font-weight: 700; }
.slip { position: absolute; right: 26px; bottom: 4px; width: 150px; padding: 12px 12px 18px; background: #fffef9; color: #1f1e1a; font: 11px/1.45 var(--f-mono); transform: rotate(3deg); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
  -webkit-mask: radial-gradient(5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100%; mask: radial-gradient(5px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100%; }
.slip b { display: block; font-size: 12.5px; letter-spacing: .1em; }
.slip span { display: block; color: #6d6a60; font-size: 10px; border-bottom: 1px dashed #c8c2b2; padding-bottom: 6px; margin-bottom: 6px; }
/* REMS picture */
.win-body.rems { grid-template-columns: 38px 1fr; }
.next-pay { background: #1f3a5f; color: #fff; border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; margin-bottom: 10px; }
.next-pay small { opacity: .8; font-size: 10px; }
.next-pay b { font-size: 14px; font-family: var(--f-display); }
.next-pay span { font-size: 10.5px; opacity: .85; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 10px; }
.stats div { background: #fff; border: 1px solid #dfe3ea; border-left: 4px solid #1f4e8c; border-radius: 8px; padding: 7px 8px; }
.stats div:nth-child(2) { border-left-color: #2b7a78; } .stats div:nth-child(3) { border-left-color: #2e7d32; } .stats div:nth-child(4) { border-left-color: #b26a00; }
.stats small { display: block; color: #4f5d6e; font-size: 9.5px; font-weight: 600; }
.stats b { font-size: 15px; font-family: var(--f-display); }
.rows { background: #fff; border: 1px solid #dfe3ea; border-radius: 8px; font-size: 10.5px; overflow: hidden; }
.rows > div { display: flex; justify-content: space-between; padding: 7px 10px; border-top: 1px solid #edf0f4; }
.rows .row-h { background: #eef1f5; border-top: 0; font-weight: 700; color: #4f5d6e; }
.rows b { font-family: var(--f-mono); }
.rows .ret { color: #a32020; background: #fdf2f1; }
.phone.wa { left: auto; right: -8px; bottom: -6px; background: #efeae2; padding: 0 0 10px; overflow: hidden; width: 182px; }
.ph-wa-h { background: #075e54; color: #fff; padding: 10px 12px; }
.ph-wa-h b { display: block; font-size: 12.5px; } .ph-wa-h span { font-size: 9.5px; opacity: .85; }
.bubble { margin: 8px 8px 0; background: #fff; border-radius: 9px; padding: 7px 9px; font-size: 10.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); max-width: 88%; }
.bubble.me { margin-left: auto; background: #d9fdd3; }
.art-rems .win { inset: 0 70px auto 0; }
.art-rems .rows { margin-right: 104px; }
.art-pos .win { inset: 20px 0 auto 0; }
.art-pos { min-height: 420px; }
/* generic picture */
.win-body.generic { grid-template-columns: 38px 1fr; }
.g-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--f-display); font-size: 15px; }
.g-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, #fff); }
.g-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.g-cards i { height: 64px; border-radius: 9px; background: #fff; border: 1px solid #dfe6e5; border-top: 4px solid var(--acc); }
.g-rows { display: grid; gap: 7px; }
.g-rows i { height: 26px; border-radius: 7px; background: #fff; border: 1px solid #e3e8e7; }
.art-generic { min-height: 400px; }
.art-generic .win { inset: 20px 0 auto 0; }
/* a real screenshot */
.shot { border-radius: 14px; overflow: hidden; background: #f4f6f5; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.shot img { width: 100%; }

.diagram { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.dg { width: 100%; height: auto; color: var(--ink); display: block; }
.dg-tall { display: none; max-width: 420px; margin: 0 auto; }
.dg-group rect { fill: var(--sunken); stroke: var(--line); }
.dg-g { font: 600 13px var(--f-body); fill: var(--muted); }
.dg-node rect { fill: #fff; stroke: #d6d3c9; }
.dg-node .dg-ic { color: var(--acc); }
.dg-key rect { stroke: var(--acc); stroke-width: 1.6; fill: color-mix(in srgb, var(--acc) 6%, #fff); }
.dg-t { font: 600 14.5px var(--f-body); fill: var(--ink); }
.dg-s { font: 400 12.5px var(--f-body); fill: var(--muted); }
.dg-server rect { fill: var(--acc); }
.dg-server svg { color: #fff; }
.dg-st { font: 700 17px var(--f-display); fill: #fff; }
.dg-ss { font: 400 12.5px var(--f-body); fill: rgba(255, 255, 255, .82); }
.dg-line { fill: none; stroke: color-mix(in srgb, var(--acc) 55%, #9aa); stroke-width: 1.8; }
.dg-net { stroke-dasharray: 6 5; stroke: var(--amber-2); stroke-width: 2; }
.dg-l { font: 600 12px var(--f-body); fill: var(--muted); paint-order: stroke; stroke: var(--surface); stroke-width: 6px; }
/* ---------- Grocer Ease, Mobile Store ERP and PiKo pictures ---------- */
.scan { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid #2f8f4e; border-radius: 9px; padding: 7px 10px; margin-bottom: 10px; font-size: 11px; color: #5c6b6f; }
.scan b { margin-left: auto; font-family: var(--f-mono); color: #12252d; }
.art-grocery .rows .grow { flex: 1; }
.art-grocery .rows .qty { width: 64px; text-align: right; margin-right: 14px; color: #5c6b6f; }
.art-grocery .tk-pay { background: #2f8f4e; }
.art-grocery .notes { grid-template-columns: repeat(3, 1fr); }
.art-mobile .stats div { border-left-color: #6a3fb5; }
.art-mobile .stats div:nth-child(2) { border-left-color: #3d5bd9; } .art-mobile .stats div:nth-child(3) { border-left-color: #b26a00; } .art-mobile .stats div:nth-child(4) { border-left-color: #167a43; }
.rows .st { font-family: inherit; font-weight: 700; color: #3d5bd9; }
.rows .st.ok { color: #167a43; } .rows .st.wait { color: #b26a00; }
.art-piko .win { inset: 0 0 auto 20px; }
.win-body.piko { grid-template-columns: 170px 1fr; min-height: 360px; }
.pk-list { background: #fff; border-right: 1px solid #e3e8ef; padding: 10px 8px; display: grid; align-content: start; gap: 4px; }
.pk-search { background: #f1f3f8; border-radius: 99px; padding: 6px 10px; font-size: 10.5px; color: #7a8494; margin-bottom: 6px; }
.pk-chat { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 9px; font-size: 10.5px; }
.pk-chat.on { background: #eef1fd; }
.pk-chat i { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #fff; background: var(--sw); }
.pk-chat b { display: block; font-size: 11px; } .pk-chat span { color: #6b7585; }
.pk-talk { display: flex; flex-direction: column; background: #f3f5fb; }
.pk-head { padding: 9px 12px; background: #fff; border-bottom: 1px solid #e3e8ef; font-size: 11px; display: flex; justify-content: space-between; align-items: center; }
.pk-head span { display: inline-flex; gap: 4px; align-items: center; color: #167a43; font-size: 10px; font-weight: 600; }
.pk-msgs { flex: 1; padding: 12px; display: grid; align-content: start; gap: 7px; }
.pk-msgs p { margin: 0; max-width: 70%; padding: 7px 10px; border-radius: 12px; font-size: 11px; line-height: 1.35; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.pk-msgs p.out { justify-self: end; background: #3d5bd9; color: #fff; }
.pk-msgs p.file { display: inline-flex; gap: 6px; align-items: center; }
.pk-type { margin: 0 12px 12px; background: #fff; border-radius: 99px; padding: 8px 12px; font-size: 10.5px; color: #7a8494; border: 1px solid #e3e8ef; }
@media (max-width: 900px) {
  .art-piko .win { inset: 0 0 auto 0; }
  .win-body.piko { grid-template-columns: 1fr; }
  .pk-list { display: none; }
  .art-grocery .rows .qty { width: 48px; margin-right: 8px; }
}
.ftr-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }

/* pictures inside the new frame */
.diagram { background: #fff; border: var(--b) solid var(--ink); border-radius: 0; padding: 24px; }
.app-hero-art .art { min-height: 460px; }
.shot { border-radius: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .hdr-note { display: none; }
  .index-row { grid-template-columns: 116px minmax(0, 1.2fr) minmax(0, 1fr) 72px; }
  .index-meta { display: none; }
  .index-more { grid-template-columns: 116px minmax(0, 1fr) 72px; }
}
@media (max-width: 1100px) {
  :root { --side: 0px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .hdr { grid-template-columns: auto minmax(0, 1fr) auto; }
  .hdr-nav { display: none; }
  .hdr-tools { justify-self: end; }
  .burger { display: grid; }
  .side { position: fixed; z-index: 45; top: calc(var(--hdr) + var(--adm)); left: 0; bottom: 0; height: auto; width: min(380px, 88vw); border-top: 0; transform: translateX(-102%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s; }
  .side-open .side { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
  .side-pages { display: block; }
  .side-fill { min-height: 24px; }
  .scrim { display: block; position: fixed; z-index: 44; inset: calc(var(--hdr) + var(--adm)) 0 0 0; background: rgba(7, 24, 32, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .side-open .scrim { opacity: 1; pointer-events: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-lead { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .sec-title, .app-hero-in, .release, .faq-wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head h2 { position: static; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-btns { border-left: 0; border-top: var(--bl); min-width: 0; }
  .links3 { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts .hatch { display: none; }
  .index-row, .index-more { grid-template-columns: 64px minmax(0, 1fr) 54px; grid-template-areas: "n name go" "n about go" "n meta go"; }
  .index-more { grid-template-areas: "n about go" "n meta go"; }
  .index-n { grid-area: n; flex-direction: column; align-items: flex-start !important; gap: 8px; padding: 24px 12px 0; white-space: normal; }
  .index-name { grid-area: name; padding-bottom: 6px; }
  .index-about { grid-area: about; padding-top: 4px; padding-bottom: 10px; font-size: 17px; }
  .index-meta { grid-area: meta; display: flex; padding-bottom: 20px; }
  .index-go { grid-area: go; }
  .index-pre { display: none; }
  .app-hero-art { padding: 28px 18px; }
  .dg-wide { display: none; } .dg-tall { display: block; }
}
@media (max-width: 640px) {
  :root { --hdr: 60px; }
  .admin-bar { --adm: 0px; }
  .hdr-logo .logo-svg { width: 132px; }
  .tool { width: 54px; }
  .burger { width: auto; padding: 0 14px; }
  .burger-l { display: none; }
  .hero-field { height: 220px; }
  .hero-tag-r { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .nd-btn { width: 100%; }
  .bento, .steps, .feat-grid, .ftr-grid, .nd-row2 { grid-template-columns: minmax(0, 1fr); }
  .bento-hi, .bento-hatch { grid-column: auto; }
  .bento-hi { min-height: 220px; }
  .bento-hatch { min-height: 64px; }
  .fact span { font-size: 15.5px; }
  .nd-dl-row { grid-template-columns: 1fr; gap: 12px; }
  .nd-store { flex: 1 1 100%; }
  .nd-card { padding: 22px; }
  .cta-cell { padding: 22px var(--pad); }
  .ftr-top { margin-left: 0; }
  .wa-float { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .sec-bar > span:last-child:not(:nth-child(2)) { display: none; }
  .art { min-height: 340px; }
  .app-hero-art .art { min-height: 340px; }
  .win, .art-rems .win, .art-pos .win, .art-generic .win { inset: 0 0 auto 0; }
  .win-body { grid-template-columns: 30px 1fr; min-height: 250px; }
  .win-body.pos { grid-template-columns: 1fr; }
  .win-ticket { display: none; }
  .win-tiles.four { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tile i { height: 34px; }
  .phone { width: 142px; left: auto; right: -6px; bottom: -12px; font-size: 10px; }
  .phone.wa { width: 160px; }
  .art-rems .rows { margin-right: 90px; }
  .slip { display: none; }
  .diagram { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker-track, .floor-track { transform: none !important; }
}
