/* Hallmark · genre: modern-minimal · macrostructure: Bento Grid (marquee-style Night hero) · theme: Cahow brand (brand/cahow/tokens.css, locked)
 * tone: modern, graphic · anchor hue: night/dusk with moon highlight · enrichment: Tier A CSS art (moon, orbit rings, product pieces)
 * nav: N9 edge-aligned over the hero · footer: Ft4 columns on Night · replaces v1 Split Studio (Chris asked for more modern and graphic)
 * Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5
 */

/* Page tokens: everything else comes from tokens.css. */
:root {
  --gutter: clamp(16px, 4vw, 56px);
  --section-gap: clamp(72px, 10vw, 144px);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;
  --night-soft: #c7c3ee;        /* Secondary text on Night, from the brand gift card. */
  --orbit: #3a3591;             /* Orbit rings on Night: dusk at low strength, decorative only. */
  --night-deep: #14123a;        /* Dark-theme surface from tokens.css, for cards on Night. */
  --night-raised: #2a2670;      /* Dark-theme surface-brand from tokens.css, a raised card on Night. */
  --shadow-night: 0 12px 32px rgba(8, 6, 30, 0.45); /* Depth for pieces floating on Night. */
  --status-ok: #4ade80;         /* A running service on Night: the dark theme's approved green. */
  --status-ok-halo: rgba(74, 222, 128, 0.18); /* Soft ring round the status dot. */
  --shadow-device: 0 28px 40px rgba(6, 4, 24, 0.65); /* The till standing in front of the moon. */
  --shadow-reader: 0 10px 18px rgba(8, 6, 30, 0.5); /* Hardware set down on Night: the till and its dock. */
  --hero-type: clamp(44px, 6.4vw, 92px);
}

* { box-sizing: border-box; overscroll-behavior: none; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { background: var(--surface); color: var(--ink); font: var(--text-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-style: normal; overflow-wrap: anywhere; min-width: 0; }
h2, h3 { color: var(--ink-brand); }
.num { font-variant-numeric: tabular-nums; }
.overline { text-transform: uppercase; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 720px) {
  .display-xl { font-size: 44px; line-height: 48px; }
  .display-l { font-size: 32px; line-height: 36px; }
}

/* ---------------------------------------------------------------- links, buttons */
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-pill); }
.hero a:focus-visible { outline-color: var(--moon); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  font: var(--text-label); font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--ink-brand); }
.btn-moon { background: var(--moon); color: var(--night); }
.btn-moon:hover { background: var(--white); }
.btn-small { min-height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.link-light { color: var(--white); font: var(--text-label); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.link-light:hover { color: var(--moon); }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--night); color: var(--white); overflow: clip; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--gutter); position: relative; z-index: 10; }
.nav-logo img { width: 112px; }
.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-links > a:not(.btn) { color: var(--white); font: var(--text-label); text-decoration: none; white-space: nowrap; }
.nav-links > a:not(.btn):hover { color: var(--moon); }
@media (max-width: 420px) { .nav-links > a:not(.btn) { display: none; } }

.hero-body {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(64px, 9vw, 120px);
  position: relative;
}
@media (min-width: 980px) { .hero-body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; min-height: min(78vh, 760px); } }

.hero-text { display: grid; gap: var(--space-5); position: relative; z-index: 2; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: var(--hero-type); line-height: 0.98; letter-spacing: -0.035em; color: var(--white); }
.hero-lede { color: var(--night-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }

/* The art: the real till on a Falcon 2 in its payment case, in front of the moon and its
   orbit rings, with three moments of the day floating around it. */
.hero-art { position: relative; width: min(100%, 660px); aspect-ratio: 1 / 0.9; justify-self: center; }
.hero-sky { position: absolute; top: -4%; right: 4%; width: 62%; aspect-ratio: 1 / 1; }
.moon { position: absolute; inset: 12%; width: 76%; height: 76%; }
.orbit { position: absolute; border: 1px solid var(--orbit); border-radius: 50%; }
.orbit-1 { inset: 2%; }
.orbit-2 { inset: -12%; }
.orbit-3 { inset: -28%; border-style: dashed; }
.hero-device { position: absolute; left: 0; bottom: 6%; width: 90%; height: auto; z-index: 1; filter: drop-shadow(var(--shadow-device)); }

.float {
  position: absolute; z-index: 2; display: grid; gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--night-deep); border: 1px solid var(--orbit);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-night);
}
.float .overline { color: var(--night-soft); }
.float-amount { font: var(--text-amount); color: var(--white); }
.float-ok, .float-wait { display: flex; align-items: center; gap: var(--space-1); color: var(--moon); font: var(--text-label); }
.float-ticket { left: 2%; top: 4%; min-width: 180px; color: var(--white); }
.float-charge { right: -2%; top: 40%; min-width: 160px; }
.float-points { right: 10%; bottom: -3%; background: var(--dusk); border-color: var(--dusk); }
.float-points .overline { color: var(--white); }

@media (max-width: 520px) {
  .float { padding: var(--space-2) var(--space-3); }
  .float .overline { font-size: 11px; }
  .float-amount { font-size: 18px; line-height: 24px; }
  .float-ticket { left: 0; top: 0; min-width: 0; }
  .float-ticket .barcode { display: none; }
  .float-charge { right: 0; top: 24%; min-width: 0; }
  .float-points { right: 6%; bottom: -2%; }
}

/* A line of plain facts under the actions. */
.hero-ticks { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.hero-ticks li { display: flex; align-items: center; gap: var(--space-2); color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 15px; line-height: 22px; white-space: nowrap; }
.hero-ticks .feat-tick { margin-top: 0; stroke: var(--moon); }

/* ---------------------------------------------------------------- the Falcon 2 animation */
.counter { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-6); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .counter { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); } }
.counter-text { display: grid; gap: var(--space-5); }
.counter-text .body-l { color: var(--ink-muted); }
.fa { margin: 0; width: 100%; }
.fa-stage { position: relative; width: 100%; aspect-ratio: 1030 / 900; margin-inline: auto; }
.fa-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.2s; }
.fa-stage video { opacity: 0; }
.fa-stage video.on { opacity: 1; }
.fa-stage .fa-poster.off { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fa-stage > * { transition: none; } }

/* ---------------------------------------------------------------- bento */
.bento-wrap { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-7); }
.bento-title { width: 100%; }
.bento { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile-pay { grid-column: span 7; }
  .tile-shop { grid-column: span 5; }
  .tile-online { grid-column: span 5; }
  .tile-wallet { grid-column: span 7; }
  .tile-kitchen, .tile-delivery, .tile-office, .tile-kiosk, .tile-tap, .tile-locations { grid-column: span 4; }
}

.tile {
  display: grid; grid-template-rows: minmax(220px, 1fr) auto; gap: var(--space-5);
  padding: var(--space-6);
  background: var(--surface-raised); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: clip;
}
.tile-text { display: grid; gap: var(--space-2); }
.tile-text .body { color: var(--ink-muted); }
.tile-night { background: var(--night); border-color: var(--night); }
.tile-dusk { background: var(--dusk); border-color: var(--dusk); }
.tile-mist { background: var(--mist); border-color: var(--mist); }
.tile-night h3, .tile-dusk h3 { color: var(--white); }
.tile-night .tile-text .body, .tile-dusk .tile-text .body { color: var(--night-soft); }
.tile-dusk .tile-text .body { color: var(--white); }
.tile-art { position: relative; display: grid; place-items: center; min-height: 220px; }

/* Pay: a big amount inside a ring. */
.pay-ring { position: absolute; width: min(210px, 70%); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--mist); }
.pay-amount { position: relative; font: var(--text-amount-xl); font-size: clamp(48px, 7vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--ink-brand); }
.pay-ok { position: absolute; bottom: 0; color: var(--ink-muted); }
.pay-table { position: absolute; top: 4%; color: var(--ink-muted); }
.pay-art { grid-template-rows: 1fr; }

/* Shop: a price tag with a barcode. */
.tag { position: relative; display: grid; gap: var(--space-1); width: min(220px, 100%); padding: var(--space-6) var(--space-5) var(--space-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.tag-hole { position: absolute; top: var(--space-3); left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--line-strong); }
.tag .title { color: var(--ink-brand); }
.tag .body-s { color: var(--ink-muted); }
.tag-price { font: var(--text-amount); color: var(--ink-brand); margin: var(--space-2) 0; }
.barcode { width: 100%; height: 28px; stroke: var(--night-soft); stroke-width: 2; }
.barcode-dark { stroke: var(--ink-brand); }

/* Kiosk: a big order number. */
.kiosk { gap: var(--space-1); text-align: center; align-content: center; }
.kiosk .overline, .kiosk .body-s { color: var(--ink-muted); }
.kiosk-number { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 9vw, 112px); line-height: 1; letter-spacing: -0.04em; color: var(--dusk); }

/* Tap to Pay: contactless rings around an amount. */
.tap { place-items: center; }
.tap-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--orbit); }
.tap-ring-1 { width: 120px; height: 120px; border-color: var(--moon); }
.tap-ring-2 { width: 170px; height: 170px; }
.tap-ring-3 { width: 220px; height: 220px; border-style: dashed; }
.tap-center { position: relative; display: grid; justify-items: center; gap: var(--space-1); }
.tap-center .overline { color: var(--night-soft); }
.tap-amount { font: var(--text-amount); color: var(--white); }
.tile-night .tile-text .body { color: var(--night-soft); }

/* Locations: one item's stock in two places. */
.loc-card { display: grid; gap: var(--space-3); width: min(260px, 100%); padding: var(--space-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.loc-card .overline { color: var(--ink-muted); }
.loc-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--space-2); border-bottom: 1px solid var(--line); }
.loc-count { font: var(--text-amount); color: var(--ink-brand); }
.loc-move { display: flex; align-items: center; justify-content: center; min-height: 36px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); }

/* Kitchen: two tickets, one behind the other. */
.tickets { place-items: center; }
.ticket { position: absolute; display: grid; gap: var(--space-1); width: min(250px, 86%); padding: var(--space-4); border-radius: var(--radius-md); color: var(--white); }
.ticket-back { background: var(--night-deep); border: 1px solid var(--orbit); transform: translate(18px, -26px); opacity: 0.7; }
.ticket-front { background: var(--night-raised); border: 1px solid var(--orbit); }
.ticket-time { color: var(--moon); margin-top: var(--space-2); }

/* Online: a menu card. */
.menu-card { display: grid; gap: var(--space-2); width: min(280px, 100%); padding: var(--space-5); background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.menu-card .title { color: var(--ink-brand); margin-bottom: var(--space-1); }
.menu-row { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-1) 0; border-bottom: 1px solid var(--line); }
.menu-btn { margin-top: var(--space-2); display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); }

/* Wallet: a gift card and a points pass, overlapping. */
.wallets { place-items: center; }
.wallet { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: min(210px, 58%); aspect-ratio: 1.6; padding: var(--space-4); border-radius: var(--radius-lg); }
.wallet-night { background: var(--night); color: var(--white); transform: translate(-34%, -16%); }
.wallet-moon { background: var(--moon); color: var(--night); transform: translate(34%, 20%); box-shadow: var(--shadow-night); }
.wallet img { height: 20px; width: auto; }
@media (max-width: 759px) {
  .wallets { display: flex; flex-direction: column; align-items: center; }
  .wallet { position: relative; width: min(220px, 72%); }
  .wallet-night { transform: translateX(-14%); }
  .wallet-moon { transform: translate(14%, -8px); }
}
.wallet-amount { font: var(--text-amount); font-size: 30px; line-height: 34px; }

/* Delivery: one big status line. */
.delivery { gap: var(--space-2); text-align: center; align-content: center; }
.delivery .overline, .delivery .body-s { color: var(--ink-muted); }
.delivery-status { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; color: var(--dusk); }



/* Office: a week of sales as bars. */
.bars { display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 1.4vw, 14px); height: 220px; padding-top: var(--space-5); }
.bars span { width: clamp(14px, 2.4vw, 34px); height: var(--h); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--mist); }
.bars span:nth-child(6) { background: var(--dusk); }

.samples { color: var(--ink-muted); }

/* ---------------------------------------------------------------- detail sections */
.who, .detail, .hardware, .plans, .moving, .care, .demos, .faq { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-7); }

/* Who: four trades, each with a picture of it at work. */
.trade-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trade { display: grid; gap: var(--space-6); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); overflow: clip; }
/* The trade cards stack: the screen and its object above, the words below. */
.trade-art { display: grid; place-items: center; min-height: 240px; }
.trade-text { display: grid; gap: var(--space-3); align-content: center; }
.trade-text .body { color: var(--ink-muted); }
.trade-ticks { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.trade-ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.trade-ticks span { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 24px; color: var(--ink-brand); }
.trade-cafe { background: var(--mist); border-color: var(--mist); }
.trade-rest { background: var(--night); border-color: var(--night); }
.trade-bar { background: var(--dusk); border-color: var(--dusk); }
.trade-rest h3, .trade-bar h3, .trade-rest .trade-ticks span, .trade-bar .trade-ticks span { color: var(--white); }
.trade-rest .trade-text .body { color: var(--night-soft); }
.trade-bar .trade-text .body { color: var(--white); }
.trade-rest .feat-tick, .trade-bar .feat-tick { stroke: var(--moon); }

/* Shop: the price tag. */
.trade-tag { transform: rotate(-4deg); }
.trade-left { color: var(--pending); }

/* Cafe: the ready board. */
.board { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-3); width: min(300px, 100%); padding: var(--space-4); background: var(--night); border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.board-col { display: grid; gap: var(--space-2); align-content: start; justify-items: center; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--night-raised); }
.board-col .overline { color: var(--night-soft); }
.board-num { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 32px; color: var(--white); }
.board-ready { background: var(--moon); }
.board-ready .overline { color: var(--night); }
.board-ready .board-num { color: var(--night); font-size: 40px; line-height: 46px; }

/* Restaurant: a small floor plan. */
.floor { display: grid; grid-template-columns: repeat(3, 76px); gap: var(--space-3); }
.ftable { display: grid; place-items: center; align-content: center; height: 64px; border-radius: var(--radius-sm); border: 1.5px solid var(--orbit); font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--night-soft); }
.ftable.busy { background: var(--moon); border-color: var(--moon); color: var(--night); }
.ftable b { font-weight: 700; line-height: 1.1; }
.ftable i { font-style: normal; font: var(--text-amount-s); font-size: 12px; }
.ftable.wide { grid-column: span 3; height: 48px; }

/* Bar: an open tab. */
.tab-card { display: grid; gap: var(--space-2); width: min(290px, 100%); padding: var(--space-5); background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-night); }
.tab-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-1); }
.tab-head .title { color: var(--ink-brand); }
.tab-head .label { color: var(--ink-muted); }
.tab-row { display: flex; justify-content: space-between; gap: var(--space-3); color: var(--ink); }
.tab-hh { color: var(--dusk); }
.tab-total { display: flex; justify-content: space-between; padding-top: var(--space-2); margin-top: var(--space-1); border-top: 1px solid var(--line); font: var(--text-amount); font-size: 22px; color: var(--ink-brand); }
.tab-total .label { font-size: 15px; align-self: center; }

/* Detail: one product at a time, in tabs. */
.ptabs { display: flex; gap: var(--space-2); flex-wrap: wrap; }
@media (max-width: 760px) {
  .ptabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-1); }
  .ptabs::-webkit-scrollbar { display: none; }
}
.ptab {
  flex: none; min-height: 44px; padding: 0 var(--space-5);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-brand); cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.ptab:hover { border-color: var(--accent); }
.ptab[aria-selected="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.ptab:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.ppanel { display: grid; gap: var(--space-7); padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); }
.ppanel[hidden] { display: none; }
.ppanels { display: grid; gap: var(--space-5); }
@media (min-width: 980px) { .ppanel { grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr); gap: var(--space-8); padding: var(--space-7); } }
.ppanel-side { display: grid; gap: var(--space-5); align-content: start; }
.ppanel-head { display: grid; gap: var(--space-3); }
.ppanel-head img { height: 34px; width: auto; }
.ppanel-head .body-l { color: var(--ink-muted); }
.panel-art { grid-template-rows: auto; padding: var(--space-4); min-height: 0; }
.panel-art .tile-art { min-height: 240px; }
.ppanel-main { display: grid; gap: var(--space-6); align-content: start; }
.feat-group { display: grid; gap: var(--space-3); }
.feat-group .overline { color: var(--ink-muted); font-size: 12px; margin: 0; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3) var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.feat li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.feat-tick { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--dusk); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feat li div { display: grid; gap: 2px; }
.feat strong { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 22px; color: var(--ink-brand); }
.feat span { font: var(--text-body-s); color: var(--ink-muted); }

/* Hardware: the counter kit large on Night, then one card per job with the device itself. */
.hw-head { display: grid; gap: var(--space-3); max-width: 760px; }
.hw-head .body-l { color: var(--ink-muted); }
.hw-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.hw-ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); align-items: start; }
.hw-ticks span { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 24px; color: var(--ink-brand); }

.hw-counter { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--night); overflow: clip; }
@media (min-width: 980px) { .hw-counter { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: var(--space-8); padding: var(--space-7); } }
.hw-counter-art { position: relative; isolation: isolate; padding-bottom: var(--space-4); }
.hw-counter-art::before { content: ""; position: absolute; inset: 4% 2% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--night-raised), transparent); }
.hw-falcon { position: relative; z-index: 1; width: 88%; filter: drop-shadow(var(--shadow-reader)); }
.hw-dock { position: absolute; z-index: 2; right: 0; bottom: 0; width: 34%; filter: drop-shadow(var(--shadow-reader)); }
.hw-counter-art { padding-bottom: 18%; }
.hw-counter-text { display: grid; gap: var(--space-4); align-content: center; }
.hw-counter-text .overline { color: var(--moon); }
.hw-counter-text h3 { color: var(--white); }
.hw-counter .hw-ticks span { color: var(--white); }
.hw-counter .feat-tick { stroke: var(--moon); }
.hw-adds { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: var(--space-2); }
.hw-add { display: grid; gap: var(--space-1); padding: var(--space-4); border-radius: var(--radius-md); background: var(--night-raised); border: 1px solid var(--orbit); }
.hw-add .label { color: var(--night-soft); }
.hw-add .title { color: var(--white); font-size: 17px; line-height: 23px; }

.hw-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .hw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hw-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); overflow: clip; }
.hw-art { display: grid; place-items: center; height: 260px; padding: var(--space-5); background: var(--mist); }
.hw-art img { width: auto; max-width: 100%; max-height: 220px; object-fit: contain; }
.hw-pin .hw-art img { max-height: 150px; }
.hw-photo .hw-art { padding: 0; }
.hw-photo .hw-art img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 70% 50%; }
.hw-text { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5) var(--space-5) var(--space-6); }
.hw-text .overline { color: var(--ink-muted); font-size: 12px; }
.hw-text .body { color: var(--ink-muted); margin-bottom: var(--space-2); }

.hw-more { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hw-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hw-connect, .hw-apps { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); }
.hw-connect { background: var(--mist); }
.hw-apps { background: var(--surface-raised); border: 1px solid var(--line); }
.hw-connect .overline, .hw-apps .overline { color: var(--ink-brand); }
.hw-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hw-chips li { padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 15px; line-height: 22px; color: var(--ink-brand); }
.hw-app-list { list-style: none; margin: 0; padding: 0; display: grid; }
.hw-app-list li { display: grid; gap: 2px; padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.hw-app-list li:first-child { border-top: 0; padding-top: 0; }
.hw-app-list .title { color: var(--ink-brand); font-size: 17px; line-height: 23px; }
.hw-app-list .body-s { color: var(--ink-muted); }

/* Plans: core, packs, add-ons. */

/* Care. */

/* Demos. */

/* FAQ. */

/* Nav: hide section links on narrow screens, keep the button. */
@media (max-width: 760px) { .nav-links > a:not(.btn) { display: none; } }

/* ---------------------------------------------------------------- built here */
.here {
  margin: var(--section-gap) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px);
  background: var(--night); border-radius: var(--radius-lg); overflow: clip;
}
@media (min-width: 900px) { .here { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }
.here-art { display: grid; place-items: center; }
.here-art img { width: min(260px, 60vw); }
.here-text { display: grid; gap: var(--space-5); }
.here h2 { color: var(--white); }
.here .body-l { color: var(--night-soft); }

/* ---------------------------------------------------------------- CTA, footer */
.cta { padding: var(--section-gap) var(--gutter); display: grid; gap: var(--space-5); justify-items: start; }
.cta-title { color: var(--ink-brand); }
.cta .body-l { color: var(--ink-muted); }


/* ---------------------------------------------------------------- type (Chris, 29 Nov): Outfit for everything but paragraphs; Inter with its alternate letterforms */
body { font-feature-settings: "cv01", "cv05", "cv08", "cv11", "ss03"; }
.hero-lede, .body-l, .btn, .link-light, .nav-links a, .label, .overline, .title, .menu-btn, .loc-move,
.float-ok, .float-wait, .pay-ok, .ticket-time, .tap-center .overline { font-family: var(--font-display); }
.hero-lede, .body-l { font-weight: 500; letter-spacing: -0.005em; }
.btn, .link-light, .nav-links a, .label, .menu-btn, .loc-move { font-weight: 600; letter-spacing: 0; }
.overline { font-weight: 600; letter-spacing: 0.1em; }
.tile-text .body, .here .body-l, .cta .body-l { font-size: 16.5px; }
.panel-art .pay-amount { font-size: clamp(40px, 4vw, 54px); }

/* Section openers with a lead line. */
.sec-head { display: grid; gap: var(--space-3); max-width: 760px; margin-bottom: var(--space-2); }
.sec-head .body-l { color: var(--ink-muted); }
.moving, .care { gap: var(--space-4); }

/* Moving: what comes across, from where, and the check before anything moves. */
.move-board { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--night); }
@media (min-width: 980px) { .move-board { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-8); padding: var(--space-7); align-items: center; } }
.move-sources { display: grid; gap: var(--space-3); }
.move-sources > .overline { color: var(--moon); margin-bottom: var(--space-1); }
.move-src { display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--night-raised); border: 1px solid var(--orbit); }
.move-src-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); }
.move-src-head .title { color: var(--white); }
.move-src-head .body-s { color: var(--night-soft); }
.move-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.move-chips li { padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--night-deep); color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 14px; line-height: 22px; }
.move-check { display: grid; gap: var(--space-4); justify-items: center; }
.check-card { display: grid; gap: var(--space-2); width: min(360px, 100%); padding: var(--space-5); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-night); transform: rotate(-1.5deg); }
.check-card .overline { color: var(--ink-muted); font-size: 12px; }
.check-card .title { color: var(--declined); margin-bottom: var(--space-1); }
.check-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: var(--declined-soft); font: var(--text-body-s); color: var(--ink); }
.check-row b { font-family: var(--font-display); font-weight: 600; color: var(--declined); }
.check-none { margin-top: var(--space-1); padding-top: var(--space-3); border-top: 1px solid var(--line); color: var(--ink-muted); }
.move-check-note { max-width: 360px; text-align: center; color: var(--night-soft); }

.move-steps { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--mist); }
.move-steps .overline { color: var(--ink-brand); }
.move-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .move-steps ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.move-steps li { position: relative; display: grid; gap: var(--space-1); align-content: start; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-2); border-radius: 50%; background: var(--night); color: var(--moon); font-family: var(--font-display); font-weight: 700; font-size: 20px; }
@media (min-width: 860px) { .move-steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: calc(-1 * var(--space-5) + 12px); border-top: 2px dashed var(--line-strong); } }
.move-steps .title { color: var(--ink-brand); }
.move-steps .body-s { color: var(--ink-muted); }

.move-pair { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .move-pair { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.move-behind, .move-pass { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.move-behind .overline { color: var(--ink-muted); }
.move-behind ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2) var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.move-behind li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-2); align-items: start; color: var(--ink-muted); font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 24px; }
.move-x { width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--line-strong); stroke-width: 2.2; stroke-linecap: round; }
.move-pass .body { color: var(--ink-muted); }

/* Looked after: the status of your own Cahow, and what stands behind it. */
.care-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--mist); color: var(--dusk); }
.care-icon .icon { width: 22px; height: 22px; }
.care-wrap { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .care-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; } }
.status-board { display: grid; gap: var(--space-5); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--night); }
@media (min-width: 1100px) { .status-board { position: sticky; top: var(--space-6); } }
.status-addr { display: grid; gap: var(--space-2); padding-bottom: var(--space-5); border-bottom: 1px solid var(--orbit); }
.status-addr .overline { color: var(--moon); }
.status-domain { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; color: var(--white); overflow-wrap: anywhere; }
.status-addr .body-s { color: var(--night-soft); }
.status-subs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.status-subs li { padding: 2px var(--space-3); border-radius: var(--radius-pill); border: 1px solid var(--orbit); color: var(--night-soft); font-family: var(--font-display); font-weight: 500; font-size: 14px; line-height: 22px; }
.status-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.status-rows li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--night-raised); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--status-ok); box-shadow: 0 0 0 4px var(--status-ok-halo); }
.status-name { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.status-val { font: var(--text-body-s); color: var(--night-soft); text-align: right; }
.care-grid { display: grid; gap: var(--space-6) var(--space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.care-item { display: grid; gap: var(--space-2); align-content: start; }
.care-item .care-icon { margin-bottom: var(--space-2); }
.care-item .body { color: var(--ink-muted); }

/* Plans: the core, then a pack of features switched on, then add-ons. */
.plans { gap: var(--space-4); }
.core { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--night); }
@media (min-width: 980px) { .core { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-8); padding: var(--space-7); align-items: center; } }
.core-text { display: grid; gap: var(--space-3); }
.core-text .overline { color: var(--moon); }
.core-text .heading { color: var(--white); }
.core-text .body { color: var(--night-soft); }
.core-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.core-tile { display: grid; place-items: center; min-height: 84px; padding: var(--space-4); border-radius: var(--radius-md); background: var(--white); }
.core-tile img { width: auto; height: 30px; max-width: 100%; }
.core-care { place-items: center start; align-content: center; gap: 2px; background: var(--moon); }
.core-care .title { color: var(--night); }
.core-care .body-s { color: var(--night); }

.plans-join { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; }
.plans-join .overline { color: var(--ink-brand); }
.plans-plus { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dusk); }
.plans-plus svg { width: 18px; height: 18px; fill: none; stroke: var(--on-accent); stroke-width: 2.4; stroke-linecap: round; }

.pack-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .pack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pack { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.pack-head { display: grid; gap: 2px; padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.pack-head .title { color: var(--ink-brand); }
.pack-head .body-s { color: var(--ink-muted); }
.pack-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.pack-feats li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--space-3); align-items: center; font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 22px; color: var(--ink-brand); }
.sw { position: relative; width: 36px; height: 20px; border-radius: var(--radius-pill); background: var(--dusk); }
.sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }
.pack-rest { background: var(--mist); border-color: var(--mist); }
.pack-bar { background: var(--dusk); border-color: var(--dusk); }
.pack-bar .pack-head { border-color: rgba(255, 255, 255, 0.25); }
.pack-bar .title, .pack-bar .pack-feats li { color: var(--white); }
.pack-bar .sw { background: var(--moon); }
.pack-bar .sw::after { background: var(--night); }

.addons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.addons li { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3); border-radius: var(--radius-pill); border: 1.5px dashed var(--line-strong); font-family: var(--font-display); font-weight: 500; font-size: 15px; line-height: 22px; color: var(--ink-brand); }
.addons li::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mist); color: var(--dusk); font-weight: 700; }

.plans-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-4); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); background: var(--night); }
.plans-cta .title { color: var(--white); max-width: 560px; }

/* Demos: each demo business as real screens, with its links. */
.demos { gap: var(--space-4); }
.demo-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.demo-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); overflow: clip; }
.demo-art { position: relative; aspect-ratio: 16 / 9; padding: var(--space-6) var(--space-6) 0; background: var(--night); overflow: clip; }
.demo-art-shop { background: var(--dusk); }
.demo-shot { display: block; width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; border: 1px solid var(--orbit); border-bottom: 0; }
.demo-main { width: 88%; }
.demo-art-shop .demo-main { margin-inline: auto; }
.demo-inset { position: absolute; right: var(--space-5); bottom: var(--space-5); width: 46%; border-radius: var(--radius-md); border-bottom: 1px solid var(--orbit); box-shadow: var(--shadow-night); }
.demo-body { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5); }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); }
.demo-head .heading { color: var(--ink-brand); font-size: 24px; line-height: 30px; }
.demo-test { padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--approved-soft); color: var(--approved); white-space: nowrap; }
.demo-links { display: grid; gap: var(--space-2); }
.demo-link { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: var(--space-3); min-height: 64px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line-strong); text-decoration: none; transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.demo-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.demo-link:active { transform: translateY(1px); }
.demo-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.demo-link-text { display: grid; gap: 2px; min-width: 0; }
.demo-link .title { color: var(--ink-brand); font-size: 17px; line-height: 22px; white-space: nowrap; }
.demo-link .body-s { color: var(--ink-muted); }
.demo-host { color: var(--accent); white-space: nowrap; }
.demo-link .icon { color: var(--accent); }
@media (max-width: 560px) { .demo-host { display: none; } .demo-art { padding: var(--space-4) var(--space-4) 0; } .demo-inset { right: var(--space-3); bottom: var(--space-3); } }

/* Questions: an intro on Night beside the questions, each with its topic. */
.faq-wrap { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: var(--space-7); align-items: start; } }
.faq-intro { display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--night); }
@media (min-width: 1000px) { .faq-intro { position: sticky; top: var(--space-6); padding: var(--space-7) var(--space-6); } }
.faq-intro .overline { color: var(--moon); }
.faq-intro h2 { color: var(--white); }
.faq-intro .body-l { color: var(--night-soft); }
.faq-list { display: grid; gap: var(--space-2); }
.faq details { border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.faq details[open] { background: var(--mist); border-color: var(--mist); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: var(--space-4); min-height: 64px; padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3); color: var(--ink-brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1; color: var(--dusk); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover .title { color: var(--dusk); }
.faq summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--mist); color: var(--dusk); }
.faq details[open] .faq-ic { background: var(--dusk); color: var(--on-accent); }
.faq-ic .icon { width: 20px; height: 20px; }
.faq summary .title { font-size: 18px; line-height: 24px; transition: color var(--dur) var(--ease-out); }
.faq details p { padding: 0 var(--space-6) var(--space-5) calc(var(--space-3) + 40px + var(--space-4)); color: var(--ink); }
@media (max-width: 560px) { .faq details p { padding: 0 var(--space-4) var(--space-5); } }

/* Footer: Night again, the moon rising in the corner, the page's map and a way to talk. */
.footer { position: relative; isolation: isolate; overflow: clip; display: grid; gap: var(--space-7); padding: var(--space-8) var(--gutter) var(--space-5); background: var(--night); }
.foot-sky { position: absolute; z-index: 1; right: -110px; bottom: -170px; width: 500px; aspect-ratio: 1 / 1; pointer-events: none; }
.foot-moon { position: absolute; inset: 24%; width: 52%; height: 52%; opacity: 0.9; }
.foot-orbit-1 { inset: 14%; }
.foot-orbit-2 { inset: 2%; }
.foot-orbit-3 { inset: -12%; border-style: dashed; }
@media (max-width: 720px) { .foot-sky { width: 360px; right: -140px; bottom: -150px; opacity: 0.6; } }
.foot-main { position: relative; z-index: 2; display: grid; gap: var(--space-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .foot-main { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: var(--space-8); } }
.foot-brand { display: grid; gap: var(--space-5); justify-items: start; align-content: start; }
.foot-brand img { width: 220px; height: auto; }
.foot-brand .body-l { max-width: 420px; color: var(--night-soft); }
.foot-cols { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot-col { display: grid; gap: var(--space-3); align-content: start; }
.foot-col .overline { color: var(--moon); font-size: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.foot-col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--white); font: var(--text-label); font-size: 15px; text-decoration: none; white-space: nowrap; transition: color var(--dur) var(--ease-out); }
.foot-col a:hover { color: var(--moon); }
@media (max-width: 400px) { .foot-contact { grid-column: 1 / -1; } }
.foot-col a:focus-visible { outline: 2px solid var(--moon); outline-offset: 2px; border-radius: var(--radius-sm); }
.foot-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--space-2) var(--space-6); }
@media (max-width: 560px) { .foot-bar { flex-direction: column; } }
/* The horizon: behind the moon, so the moon sits on it rather than under it. */
.foot-line { margin: 0 0 calc(var(--space-5) - var(--space-7)); border: 0; border-top: 1px solid var(--orbit); }
.foot-bar .caption { color: var(--night-soft); }

/* Bento: real Cahow screens where we have them, framed simply. */
.shot { display: block; width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.shot-wrap { padding: var(--space-2) 0; }
.tile-night .shot { border-color: var(--orbit); box-shadow: var(--shadow-night); }
.shots-pay { position: relative; min-height: 330px; }
.shots-pay .shot { position: absolute; width: min(46%, 250px); }
.shots-pay .shot-back { left: 12%; top: 2%; transform: rotate(-3deg); }
.shots-pay .shot-front { right: 12%; top: 8%; transform: rotate(2deg); }
@media (max-width: 560px) { .shots-pay { min-height: 200px; } .shots-pay .shot { width: 52%; } .shots-pay .shot-back { left: 0; } .shots-pay .shot-front { right: 0; } }

/* Who: a real Cahow screen for each trade, with the trade's own object in front of it. */
.trade-art { position: relative; display: block; min-height: 0; padding: 0 0 var(--space-6) 0; }
.trade-shot { display: block; width: 80%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.trade-rest .trade-shot, .trade-bar .trade-shot { border-color: rgba(255, 255, 255, 0.18); box-shadow: var(--shadow-night); }
.trade-float { position: absolute; right: 0; bottom: 0; transform-origin: bottom right; transform: scale(0.9); }
.trade-float .tag, .trade-float .board, .trade-float .tab-card { box-shadow: var(--shadow-night); }
.trade-rest .trade-float .floor { padding: var(--space-3); border-radius: var(--radius-md); background: var(--night); box-shadow: var(--shadow-night); }
@media (max-width: 560px) { .trade-float { transform: scale(0.68); } .trade-shot { width: 94%; } }

/* Every part: the real thing beside the list where we have it. */
.panel-shot { margin: 0; display: grid; place-items: center; overflow: clip; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.panel-shot img { display: block; width: 100%; height: auto; }
.panel-shot-night { padding: var(--space-6) var(--space-4); background: var(--night); border-color: var(--night); }
.panel-shot-night img { filter: drop-shadow(var(--shadow-device)); }
.panel-shot-photo { border: 0; }
.panel-shot-mist { padding: var(--space-5); background: var(--mist); border-color: var(--mist); }
.panel-shot .framed { border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.panel-shot .kiosk-img { width: auto; max-height: 320px; }
.panel-shot-receipt { padding: var(--space-5) var(--space-5) 0; background: var(--mist); border-color: var(--mist); align-items: start; max-height: 380px; }
.panel-shot-receipt img { width: min(260px, 80%); box-shadow: var(--shadow-card); border-radius: 4px 4px 0 0; }
.panel-shot-dusk { padding: var(--space-5); background: var(--dusk); border-color: var(--dusk); }
.panel-shot-dusk .framed { width: min(300px, 100%); box-shadow: var(--shadow-night); }

/* ---------------------------------------------------------------- product pages */
.page-hero { background: var(--night); color: var(--white); overflow: clip; }
.page-hero-body { display: grid; gap: var(--space-7); padding: clamp(24px, 5vw, 56px) var(--gutter) clamp(56px, 8vw, 104px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .page-hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); } }
.ph-text { display: grid; gap: var(--space-5); justify-items: start; }
.ph-crumb { color: var(--night-soft); }
.ph-crumb a { color: var(--moon); text-decoration: none; }
.ph-crumb a:hover { text-decoration: underline; }
.ph-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--white); }
.ph-title span { color: var(--moon); }
.ph-lede { color: var(--night-soft); max-width: 560px; }
.ph-art .panel-shot { border: 0; }
.ph-art .panel-shot-night { padding: 0; background: transparent; }
.p-gallery { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.p-shot { margin: 0; display: grid; gap: var(--space-3); }
.p-shot img { width: 100%; height: auto; border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-card); background: var(--white); }
.p-shot figcaption { color: var(--ink-muted); }
.p-feats { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-7); }
.p-group { display: grid; gap: var(--space-5); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.p-group .heading { color: var(--ink-brand); }
.p-more { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-6); }
.p-more-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.p-more-card { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.p-more-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.p-more-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.p-more-card img { height: 30px; width: auto; }
.p-more-card .body-s { color: var(--ink-muted); }
@media (min-width: 760px) {
  .p-gallery[data-count="2"], .p-gallery[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-gallery[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-gallery[data-count="1"] { grid-template-columns: minmax(0, 900px); }
}

/* Nav: the Products menu. */
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--white); font: var(--text-label); white-space: nowrap; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--dur) var(--ease-out); }
.nav-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu summary:hover { color: var(--moon); }
.nav-menu summary:focus-visible { outline: 2px solid var(--moon); outline-offset: 4px; border-radius: var(--radius-sm); }
.nav-menu-list { position: absolute; z-index: 20; top: calc(100% + 14px); left: -16px; width: 300px; margin: 0; padding: var(--space-2); list-style: none; display: grid; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-night); }
.nav-menu-list a { display: grid; gap: 1px; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); text-decoration: none; }
.nav-menu-list a:hover, .nav-menu-list a:focus-visible { background: var(--mist); outline: none; }
.nav-menu-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-brand); }
.nav-menu-short { font: var(--text-body-s); color: var(--ink-muted); }
@media (max-width: 760px) { .nav-menu-list { left: auto; right: -96px; width: min(300px, calc(100vw - 32px)); } }

/* Links from home to the product pages. */
.tile-more, .panel-more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); font: var(--text-label); color: var(--accent); text-decoration: none; }
.tile-more:hover, .panel-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.tile-night .tile-more, .tile-dusk .tile-more { color: var(--moon); }

/* ---------------------------------------------------------------- trade pages */
.ph-trade { padding: var(--space-6); }
.ph-trade .trade-art { padding-bottom: var(--space-4); }
.t-kit { padding: var(--section-gap) var(--gutter) 0; }
.t-kit-card { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--night); }
@media (min-width: 980px) { .t-kit-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: var(--space-8); padding: var(--space-7); } }
.t-kit-art img { width: 100%; height: auto; filter: drop-shadow(var(--shadow-device)); }
.t-kit-text { display: grid; gap: var(--space-4); justify-items: start; }
.t-kit-text .overline { color: var(--moon); }
.t-kit-text .heading { color: var(--white); }
.t-kit .hw-ticks span { color: var(--white); }
.t-kit .feat-tick { stroke: var(--moon); }
.t-demos { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-4); }
.t-demo-links { max-width: 760px; }
.t-demos .caption { color: var(--ink-muted); }
.t-other { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.t-other-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 1px solid var(--line-strong); font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-brand); text-decoration: none; white-space: nowrap; transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
.t-other-link:hover { border-color: var(--accent); background: var(--accent-soft); }
.t-other-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.trade-more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); font: var(--text-label); color: var(--accent); text-decoration: none; }
.trade-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.trade-rest .trade-more, .trade-bar .trade-more { color: var(--moon); }
@media (max-width: 600px) { .nav-menu-trades { display: none; } }
@media (min-width: 1100px) { .foot-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- inner pages: hardware, plans, switching, demos, questions */
.page-hero-solo .page-hero-body { grid-template-columns: minmax(0, 1fr); }
.page-hero-solo .ph-lede { max-width: 680px; }
.nav-links a[aria-current="page"] { color: var(--moon); }
.ph-device { width: 100%; height: auto; filter: drop-shadow(var(--shadow-device)); }
.ph-check { justify-self: center; }
@media (min-width: 980px) { .move-board-solo { grid-template-columns: minmax(0, 1fr); } .move-board-solo .move-sources { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } .move-board-solo .move-sources > .overline { grid-column: 1 / -1; } .move-board-solo .move-src { align-content: start; } .move-board-solo .move-src-head { display: grid; } }

/* Hardware: the kit for each trade. */
.kits { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-5); }
.kit-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .kit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kit-card { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); }
.kit-head { display: grid; gap: var(--space-1); }
.kit-head .overline { color: var(--dusk); }
.kit-head .title { color: var(--ink-brand); }
.kit-card .tile-more { align-self: end; }

/* Plans: the one-line sum in the hero. */
.plan-sum { display: grid; gap: var(--space-2); justify-items: stretch; width: min(420px, 100%); justify-self: center; }
.plan-sum-row { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--night-raised); border: 1px solid var(--orbit); }
.plan-sum-row .overline { color: var(--night-soft); font-size: 12px; }
.plan-sum-row .title { color: var(--white); font-size: 22px; line-height: 28px; }
.plan-sum-core { background: var(--moon); border-color: var(--moon); }
.plan-sum-core .overline, .plan-sum-core .title { color: var(--night); }
.plan-sum-soft { background: transparent; border-style: dashed; }
.plan-sum-plus { justify-self: center; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1; color: var(--moon); }

/* Demos and questions pages. */
.demos-note { color: var(--ink-muted); }
.faq-page { max-width: 900px; }
.faq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }

/* Home: the four ways into the inner pages. */
.go { padding: var(--section-gap) var(--gutter) 0; display: grid; gap: var(--space-5); }
.go-grid { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .go-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.go-card { display: grid; grid-template-rows: auto 1fr; overflow: clip; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.go-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.go-card:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.go-art { display: grid; place-items: center; height: 220px; padding: var(--space-5); background: var(--night); }
.go-art img { max-width: 100%; max-height: 180px; width: auto; height: auto; }
.go-hw .go-art img { filter: drop-shadow(var(--shadow-device)); }
.go-demo .go-art { background: var(--mist); padding-bottom: 0; align-items: end; }
.go-demo .go-art img { border-radius: var(--radius-sm) var(--radius-sm) 0 0; box-shadow: var(--shadow-card); max-height: 200px; }
.go-chips { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: var(--space-2); }
.go-plans .go-art { background: var(--dusk); }
.go-chip { padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--night-deep); color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 14px; line-height: 22px; white-space: nowrap; }
.go-chip-core { background: var(--moon); color: var(--night); font-weight: 600; }
.go-chip-soft { background: transparent; border: 1px dashed var(--white); }
.go-plus { color: var(--moon); font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 30px; }
.go-text { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); }
.go-text .overline { color: var(--dusk); }
.go-text .heading { color: var(--ink-brand); }
.go-text .body { color: var(--ink-muted); }
.go-more { margin-top: var(--space-2); display: inline-flex; gap: 6px; font: var(--text-label); color: var(--accent); }
.go-card:hover .go-more { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .go-card { transition: none; } .go-card:hover { transform: none; } }
/* Hardware hero: three of the devices standing together. */
.hw-lineup { display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 3vw, 32px); min-height: 0; }
.hw-lineup img { height: auto; filter: drop-shadow(var(--shadow-device)); min-width: 0; }
.hw-l-crane { width: clamp(120px, 18vw, 210px); }
.hw-l-swift { width: clamp(84px, 12vw, 140px); }
.hw-l-pax { width: clamp(150px, 22vw, 260px); }
.kit-base span { color: var(--ink-muted); }

/* Features not built yet */
.soon { display: inline-block; margin-left: var(--space-2); padding: 0 var(--space-2); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.75em; font-weight: 600; line-height: 1.6; color: var(--ink-muted); white-space: nowrap; vertical-align: 0.1em; }
