/* ============================================================================
   MILK — new home page (draft from the 7 Nov 2026 wireframe)
   Flat colour only, 2px corners on anything you press or read, brand blue
   only where it's the brand. Motion stays in the ~.12s house vocabulary.
   ========================================================================== */

:root {
  --milk: #4EB0C9;          /* brand blue: logo, dots, the hero */
  --action: #287692;        /* blue you read or press at normal size (5.1:1) */
  --action-hover: #1F5F75;
  --ink: #0F1B2D;
  --fg: #2A3437;
  --fg2: #5A7183;
  --line: #E2EAEE;
  --rule: #CBD3D9;
  --mist: #F4F8FA;
  --surface: #FFFFFF;

  --hero-bg: var(--milk);
  /* AI section: colour NOT decided yet (Ronin, 7 Nov) — a neutral stand-in. */
  --ai-bg: #EEF1F3;
  --footer-bg: #EBEEF1;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  /* The all-caps headings (hero, THE HIGHLIGHTS, SOMETHING ABOUT AI) share
     one display face: Barlow Condensed 800 (Ronin, 7 Nov). A condensed face
     sets narrower, so it runs 1.5× the size the layout was drawn for. */
  --display-font: 'Barlow Condensed', var(--font);
  --display-weight: 800;
  --display-track: 0em;
  --display-scale: 1.5;
  --display-lh: 1;
  --radius: 2px;
  --maxw: 1180px;
  --gutter: clamp(16px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---- Buttons -------------------------------------------------------------
   After Clover's: chunky, a thin contrasting border, the label in capitals
   followed by an arrow that nudges forward on hover. Square 2px corners,
   matching the highlight cards (Ronin, 7 Nov — tried 8px, went back). */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 30px 0 34px;
  font: 600 19px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .12s, color .12s, border-color .12s;
}
.btn-arrow {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .12s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }
/* Filled: ink with a white hairline, as Clover's black button. */
.btn-dark { background: var(--ink); color: #fff; border-color: #fff; }
.btn-dark:hover { background: #1C2C44; }
/* Outline: the same button, unfilled, for light backgrounds. */
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .btn-arrow { transition: none; }
  .btn:hover .btn-arrow { transform: none; }
}

/* ---- Logo lockup (website header rule: carton = wordmark image height,
        centred on the letters) ------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-carton { height: 30px; width: auto; }
.brand-wordmark { height: 30px; width: auto; margin-top: 3.2px; }

/* ---- Nav ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;   /* logo · pages (centred) · button */
  align-items: center;
  gap: 24px;
}
.nav-inner > .brand { justify-self: start; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
/* The bar's button: the site's button, smaller. */
.nav-cta { min-height: 42px; padding: 0 16px 0 18px; gap: 8px; font-size: 14px; }
.nav-cta .btn-arrow { width: 18px; height: 18px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--fg);
  padding: 6px 0;
  transition: color .12s;
}
.nav-link:hover { color: var(--action); }
.burger {
  width: 40px; height: 40px; margin-right: -8px;
  display: none; place-items: center;
  background: none; border: 0; border-radius: var(--radius);
  cursor: pointer;
}
.burger:hover { background: var(--mist); }
.burger svg, .menu-close svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }

/* ---- Nav over the home photo: clear at the top, white once you scroll ---- */
.nav { transition: background-color .2s, border-color .2s; }
.nav-over:not(.is-solid) { background: transparent; border-bottom-color: transparent; }
.nav-over:not(.is-solid) .nav-link { color: #fff; }
.nav-over:not(.is-solid) .nav-link:hover { color: var(--milk); }
.nav-over:not(.is-solid) .burger svg { stroke: #fff; }
.nav-over:not(.is-solid) .burger:hover { background: rgba(255,255,255,.12); }
.nav-over:not(.is-solid) .nav-cta { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.nav-over:not(.is-solid) .nav-cta:hover { background: #6BC0D5; border-color: #6BC0D5; }
/* The photo runs up under the clear nav; the padding keeps the words centred. */
.has-nav-over .hero {
  margin-top: -69px;
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(clamp(72px, 11vw, 150px) + 69px);
}

/* ---- Menu (hamburger) --------------------------------------------------- */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu[hidden] { display: none; }
.menu-scrim {
  position: absolute; inset: 0;
  background: rgba(15, 27, 45, .32);
  opacity: 0; transition: opacity .14s;
}
.menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 100%);
  background: #fff;
  padding: 76px 32px 32px;
  overflow-y: auto;
  opacity: 0; transform: translateX(16px);
  transition: opacity .14s, transform .14s var(--ease);
}
.menu.open .menu-scrim { opacity: 1; }
.menu.open .menu-panel { opacity: 1; transform: none; }
.menu-close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer;
}
.menu-close:hover { background: var(--mist); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  transition: color .12s;
}
.menu-links a:hover { color: var(--action); }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  background: var(--hero-bg);
  color: var(--ink);
  text-align: center;
  padding: clamp(72px, 11vw, 150px) 0 clamp(72px, 10vw, 136px);
}
.hero-line {
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: calc(clamp(25px, 4.3vw, 58px) * var(--display-scale));
  line-height: var(--display-lh);
  letter-spacing: var(--display-track);
  text-transform: uppercase;
}
.hero-words { text-wrap: balance; }
/* The designer's wordmark, shown white on the blue (CSS filter — the file is
   untouched), as on the till screen saver. Its artboard carries empty space
   above (10.7%) and below (21.4%) the letters, so the margins cancel it and
   the spacing above/below reads true. */
.hero-mark {
  --h: clamp(90px, 15vw, 210px);
  height: var(--h); width: auto;
  filter: brightness(0) invert(1);
  margin-top: calc(var(--h) * -0.107);
  margin-bottom: calc(var(--h) * -0.214);
}
.hero .btn { margin-top: clamp(34px, 4vw, 48px); }
/* The photo behind the hero, in its own colours under a flat navy layer
   (no gradient); words white, button milk blue. Navy shows until it loads. */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; }
.hero > .wrap { position: relative; z-index: 2; }
/* Fills the screen below the nav (68px + its 1px line), words centred. */
.hero { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: flex; flex-direction: column; justify-content: center; }
.hero > .wrap { width: 100%; }
.hero-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: var(--ink); opacity: .62; }
.hero .btn-dark { background: var(--milk); color: var(--ink); border-color: var(--milk); }
.hero .btn-dark:hover { background: #6BC0D5; }

/* ---- Products ------------------------------------------------------------ */
.products { padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.products-grid {
  display: grid;
  grid-template-columns: minmax(200px, .6fr) 1.5fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.h-products {
  margin: 0;
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.product-list { list-style: none; margin: 26px 0 0; padding: 0; }
.product-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-family: var(--display-font);
  font-weight: 500;            /* lighter than the headings (Ronin) */
  font-size: 26px; line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-list li::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--milk);
}

/* The devices: one picture of the apps on a laptop, an iPad and two phones,
   on its own milk-blue ground (2026-11-17). */
.devices-shot {
  display: block;
  width: 100%; height: auto;
  border-radius: 2px;
}

/* The drawn device cluster below is no longer on the home page. It stays
   because the local hero-blue-draft.html still uses it; delete it with that
   draft. Everything is sized in cqw of the cluster, so the four devices
   keep their arrangement at any width. */
.devices {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 2 / 1;
}
.dev { position: absolute; }

.laptop { left: 2cqw; top: 1.5cqw; width: 56cqw; z-index: 1; }
.laptop-screen {
  background: var(--ink);
  padding: 1cqw 1cqw 1.3cqw;
  border-radius: 1.2cqw 1.2cqw .3cqw .3cqw;
  box-shadow: 0 1.4cqw 3cqw -1cqw rgba(15, 27, 45, .3);
}
.laptop-screen img {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: left top;
  border-radius: .2cqw;
}
.laptop-base {
  position: relative;
  height: 1.5cqw;
  margin: 0 -2cqw;
  background: #D6DDE3;
  border-radius: 0 0 1.1cqw 1.1cqw;
  border-bottom: .3cqw solid #BFC8D0;
}
.laptop-base::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 10cqw; height: .5cqw; margin-left: -5cqw;
  background: #BFC8D0; border-radius: 0 0 .6cqw .6cqw;
}

.ipad {
  left: 59cqw; top: 3cqw; width: 39.5cqw; z-index: 1;
  background: var(--ink);
  padding: 1.2cqw;
  border-radius: 2.4cqw;
  box-shadow: 0 1.4cqw 3cqw -1cqw rgba(15, 27, 45, .3);
}
.ipad-screen {
  container-type: inline-size;
  aspect-ratio: 1.43;
  overflow: hidden;
  border-radius: 1cqw;
  background: #F5F8F9;
}

.phone {
  z-index: 3;
  background: var(--ink);
  padding: .55cqw;
  border-radius: 2.3cqw;
  box-shadow: 0 1.6cqw 3.2cqw -1cqw rgba(15, 27, 45, .38);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 1.8cqw;
  aspect-ratio: 520 / 1132;
  background: #fff;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-a { left: 45.5cqw; top: 12cqw; width: 13.2cqw; }
.phone-b { left: 88cqw; top: 19.5cqw; width: 11.6cqw; }

/* The till, drawn (units = cqw of the iPad screen). */
.pos {
  display: grid;
  grid-template-columns: 6cqw 1fr 28cqw;
  height: 100%;
  font-family: var(--font);
  color: var(--ink);
}
.pos-rail {
  background: #fff;
  border-right: .2cqw solid #E3EAEE;
  display: flex; flex-direction: column; align-items: center;
  gap: 2.4cqw; padding-top: 2.2cqw;
}
.pos-rail img { width: 3.2cqw; margin-bottom: 1cqw; }
.pos-rail i { width: 2.8cqw; height: 2.8cqw; border-radius: .5cqw; background: #E5ECF0; }
.pos-rail i.on { background: rgba(78, 176, 201, .35); }
.pos-main { padding: 2.2cqw; display: flex; flex-direction: column; gap: 1.8cqw; min-width: 0; }
.pos-tabs { display: flex; gap: 1cqw; }
.pos-tabs span {
  font-size: 1.9cqw; font-weight: 700;
  padding: 1cqw 1.5cqw;
  border-radius: .3cqw;
  background: #fff; color: #5A7183;
  border: .15cqw solid #E3EAEE;
  white-space: nowrap;
}
.pos-tabs span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pos-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.2cqw;
}
.pos-tile {
  background: #fff;
  border: .15cqw solid #E3EAEE;
  border-radius: .4cqw;
  padding: 1.2cqw;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0;
}
.pos-tile b { font-size: 1.9cqw; line-height: 1.15; font-weight: 700; }
.pos-tile span { font-size: 1.7cqw; color: #5A7183; }
.pos-order {
  background: #fff;
  border-left: .2cqw solid #E3EAEE;
  padding: 2.4cqw 2.2cqw;
  display: flex; flex-direction: column;
}
.pos-order h4 { margin: 0 0 1.4cqw; font-size: 2.4cqw; font-weight: 800; }
.pos-line {
  display: flex; justify-content: space-between; gap: 1cqw;
  font-size: 1.8cqw; font-weight: 600;
  padding: 1.1cqw 0;
  border-bottom: .15cqw solid #EDF1F3;
}
.pos-line small { display: block; font-size: 1.5cqw; font-weight: 500; color: #5A7183; margin-top: .3cqw; }
.pos-total {
  margin-top: auto;
  display: flex; justify-content: space-between;
  font-size: 2.4cqw; font-weight: 800;
  padding: 1.4cqw 0;
}
.pos-pay {
  background: var(--milk); color: #fff;
  border-radius: .4cqw;
  text-align: center;
  font-size: 1.8cqw; font-weight: 700;
  padding: 1.6cqw 0;
}

/* Constant Card, drawn (units = cqw of the phone screen — the container is
   the screen, so the drawing's own padding can use it too). */
.cc-screen { container-type: inline-size; }
.cc {
  position: absolute; inset: 0;
  background: #1F2A44;
  display: flex; flex-direction: column;
  padding: 26cqw 8cqw 10cqw;
  gap: 0;
}
.cc-island {
  position: absolute; top: 4cqw; left: 50%;
  width: 30cqw; height: 8.5cqw; margin-left: -15cqw;
  border-radius: 5cqw; background: #000;
}
.cc-title { width: 52cqw; height: 6cqw; border-radius: 1cqw; background: #F7F3EA; margin-bottom: 14cqw; }
.cc-strip { display: block; height: 16cqw; border-radius: 4cqw 4cqw 0 0; margin-bottom: -6cqw; }
.cc-strip-1 { background: #4EB0C9; }
.cc-strip-2 { background: #F7F3EA; }
.cc-face {
  position: relative;
  aspect-ratio: 1.58;
  border-radius: 4cqw;
  background: #D9A53A;
  padding: 8cqw;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cc-name { width: 46cqw; height: 5.5cqw; border-radius: 1cqw; background: #1F2A44; }
.cc-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3cqw; }
.cc-dots i { aspect-ratio: 1; border-radius: 50%; border: 1.2cqw solid #1F2A44; }
.cc-dots i.on { background: #1F2A44; }
.cc-btn { margin-top: auto; height: 15cqw; border-radius: 2cqw; background: #D9A53A; }

/* ---- The highlights ------------------------------------------------------ */
.highlights { padding-bottom: clamp(72px, 9vw, 120px); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.h-caps {
  margin: clamp(30px, 3.6vw, 44px) 0 clamp(18px, 2.4vw, 28px);
  text-align: center;
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: calc(clamp(22px, 2.4vw, 30px) * var(--display-scale));
  line-height: var(--display-lh);
  letter-spacing: max(var(--display-track), .01em);
  text-transform: uppercase;
  color: var(--ink);
}

.hl-viewport {
  overflow: hidden;
  padding: 8px 0 28px;        /* room for the centre card's shadow */
  touch-action: pan-y;
}
.hl-track { position: relative; height: var(--card-h, 300px); }
.hl-card {
  position: absolute; left: 0; top: 0;
  width: var(--card-w, 200px);
  height: var(--card-h, 240px);
  padding: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--mist);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  /* Size and strength come from new.js by distance from the middle:
     scale() on the transform, --o for the fade. */
  opacity: var(--o, 1);
  transform-origin: 50% 50%;
  transition: transform .5s var(--ease), opacity .4s var(--ease), border-color .2s, box-shadow .2s;
  will-change: transform, opacity;
}
/* No sliding in from the corner on page load — cards only move once placed. */
.hl-track:not(.is-ready) .hl-card { transition: none; }
/* A side card brightens a little under the pointer, so it reads as tappable. */
.hl-card:not(.is-active):hover { opacity: min(1, calc(var(--o, 1) + .25)); border-color: var(--fg2); }
.hl-card.is-active {
  border-color: var(--ink);
  box-shadow: 0 16px 30px -16px rgba(15, 27, 45, .4);
  cursor: default;
}
.hl-num {
  position: absolute; top: 12px; left: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--fg2);
}
.hl-img svg, .ai-art svg {
  width: 34px; height: 34px;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round;
}
.hl-img { color: #9AAAB6; }
.hl-label { font-size: 14px; font-weight: 600; color: var(--fg2); }

.hl-controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 4px;
}
.hl-arrow {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .12s, background-color .12s;
}
.hl-arrow:hover { border-color: var(--ink); }
.hl-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl-dots { display: flex; gap: 2px; }
.hl-dot {
  width: 26px; height: 28px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.hl-dot::before {
  content: ""; width: 18px; height: 3px; border-radius: 1px;
  background: var(--rule);
  transition: background-color .12s;
}
.hl-dot[aria-current="true"]::before { background: var(--ink); }

.hl-caption {
  text-align: center;
  margin-top: clamp(26px, 3.4vw, 40px);
  min-height: 5.6em;
}
.hl-caption.swap { animation: hl-in .14s var(--ease) both; }
@keyframes hl-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hl-name {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hl-text {
  margin: 12px auto 0;
  max-width: 48ch;
  font-size: 16px; line-height: 1.6;
  color: var(--fg2);
}
.hl-more { text-align: center; margin-top: clamp(28px, 4vw, 52px); }

/* Highlight cards carry a screenshot: its top-left corner, framed, with the
   name underneath. */
.hl-card { justify-content: flex-start; padding: 36px 12px 14px; }
.hl-shot {
  flex: 1; width: 100%; min-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.hl-card .hl-label { font-family: var(--display-font); font-weight: var(--display-weight); font-size: 20px; line-height: 1.05; text-transform: uppercase; color: var(--ink); }

/* ---- Something about AI -------------------------------------------------- */
.ai { background: var(--ai-bg); padding: clamp(56px, 7vw, 96px) 0; }
.ai-title { margin-top: 0; }
.ai-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(30px, 4vw, 52px);
}
.ai-col {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 8px clamp(20px, 3vw, 44px);
  text-align: center;
}
.ai-col + .ai-col { border-left: 1px solid rgba(15, 27, 45, .2); }
.ai-art {
  width: 100%; max-width: 220px;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border: 1.5px dashed rgba(15, 27, 45, .26);
  border-radius: var(--radius);
  color: rgba(15, 27, 45, .4);
  margin-bottom: 6px;
}
.ai-col h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--ink); }
.ai-col p { margin: 0; max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--fg); }

.ai-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 4px;
}
.ai-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tag-soon { background: rgba(40, 118, 146, .14); color: var(--action); }
.ai-more { margin: clamp(32px, 4vw, 48px) 0 0; text-align: center; }

.gap-before-footer { height: clamp(64px, 9vw, 128px); }

/* ---- Footer -------------------------------------------------------------- */
.footer { background: var(--footer-bg); padding: 40px 0 36px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 32px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { font-size: 14px; color: var(--fg); transition: color .12s; }
.footer-links a:hover { color: var(--action); }
.footer-copy { font-size: 13px; color: var(--fg); }

/* ==== Shared by the inner pages (pricing, modules) ======================= */
/* ---- Labels --------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--action);
}
.eyebrow-on-ink { color: var(--milk); }          /* 6.9:1 on ink */

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 15px; line-height: 1.5;
  color: var(--fg);
}
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 13px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--milk); border-bottom: 2px solid var(--milk);
  transform: rotate(-45deg);
}

/* ---- Hero ---------------------------------------------------------------- */
.page-hero {
  background: var(--hero-bg);
  color: var(--ink);
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
}
.page-title {
  margin: 0;
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: calc(clamp(30px, 5vw, 64px) * var(--display-scale));
  line-height: var(--display-lh);
  letter-spacing: var(--display-track);
  text-transform: uppercase;
}
.page-lead {
  margin: 22px auto 0;
  max-width: 54ch;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius);
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.tag-live { background: rgba(127, 177, 119, .18); color: #3E6B37; }
.tag-beta { background: rgba(196, 153, 88, .2); color: #7A5A24; }
/* ---- Section heads (inner pages) */
.sec-head { text-align: center; }
.sec-head .h-caps { margin: 10px 0 0; }
.sec-sub { margin: 14px auto 0; max-width: 48ch; font-size: 16px; line-height: 1.6; color: var(--fg2); }


/* ---- Expandable rows (modules, integrations): name, a line and short
   chips while shut; detail, list and a picture once open. */
.mod-list { border-top: 1.5px solid var(--ink); }

.row { border-bottom: 1px solid var(--rule); scroll-margin-top: 84px; }

.row-head {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto 40px;
  align-items: center;
  gap: 20px 28px;
  padding: 28px 4px;
  background: none; border: 0;
  text-align: left;
  cursor: pointer;
  transition: background-color .12s;
}
.row-head:hover { background: var(--mist); }
.row-num {
  align-self: start;
  padding-top: 6px;
  font-family: var(--display-font); font-weight: var(--display-weight);
  font-size: 22px; color: var(--fg2);
}
.row-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.row-name {
  font-family: var(--display-font); font-weight: var(--display-weight);
  font-size: clamp(32px, 3.6vw, 46px); line-height: 1;
  text-transform: uppercase; color: var(--ink);
}
.tag-base { background: var(--ink); color: #fff; }
.row-tagline { font-size: 17px; color: var(--fg); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips span {
  padding: 5px 10px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
}
.row-head:hover .chips span { background: #fff; }

.row-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.row-price b {
  font-family: var(--display-font); font-weight: var(--display-weight);
  font-size: 40px; line-height: .95; color: var(--ink);
}
.row-price small { font-size: 13px; font-weight: 600; color: var(--fg2); }

.row-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  transition: background-color .12s, color .12s;
}
.row-toggle svg {
  width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  transition: transform .2s var(--ease);
}
.row-head[aria-expanded="true"] .row-toggle { background: var(--ink); color: #fff; }
.row-head[aria-expanded="true"] .row-toggle svg { transform: rotate(45deg); }

/* Opening: animate the row's height by its grid track, 0fr → 1fr. */
.row-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.row-body > .row-inner { overflow: hidden; min-height: 0; }
.row.is-open .row-body { grid-template-rows: 1fr; }
.row-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 0 4px 0 calc(56px + 28px + 4px);
}
.row.is-open .row-inner { padding-bottom: 36px; }
.row-detail > p:first-child { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--fg); max-width: 52ch; }
.row-detail .ticks li { font-size: 15px; }
.row-ai {
  margin: 18px 0 0;
  padding: 12px 14px;
  font-size: 14px; line-height: 1.5; color: var(--fg);
  background: var(--mist);
  border-left: 3px solid var(--milk);
}
.row-ai b { color: var(--ink); }
.row-shot { margin: 0; align-self: start; }
.row-shot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -26px rgba(15, 27, 45, .45);
}
/* Fade the content in a beat after the row opens. */
.row-inner > * { opacity: 0; transition: opacity .2s; }
.row.is-open .row-inner > * { opacity: 1; transition-delay: .08s; }

/* Expandable rows on narrower screens */
@media (max-width: 900px) {
  .row-inner { grid-template-columns: 1fr; padding-left: 4px; }
}
@media (max-width: 640px) {
  .row-head { grid-template-columns: 1fr 40px; gap: 14px; padding: 22px 0; }
  .row-num { display: none; }
  .row-main { grid-column: 1; }
  .row-price { grid-column: 1; grid-row: 2; flex-direction: row; align-items: baseline; gap: 8px; }
  .row-price b { font-size: 32px; }
  .row-toggle { grid-column: 2; grid-row: 1; align-self: start; }
  .row-inner { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .row-body, .row-inner > *, .row-toggle svg { transition: none; }
}

/* ---- A section holding expandable rows */
.mods { padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
.mods-tools { margin: 18px 0 0; text-align: right; }
.link-btn {
  background: none; border: 0; padding: 4px 0;
  font: 600 14px var(--font); color: var(--action);
  text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer;
}
.link-btn:hover { color: var(--action-hover); }


/* ---- Grey two-column band (pricing, modules) ------------------------------------------ */
.band { background: var(--ai-bg); padding: clamp(56px, 7vw, 96px) 0; }
.band-cols { display: grid; grid-template-columns: 1fr 1fr; }
.band-col {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 4px clamp(24px, 4vw, 64px);
}
.band-col:first-child { padding-left: 0; }
.band-col + .band-col { border-left: 1px solid rgba(15, 27, 45, .2); }
.band-title {
  margin: 0;
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.band-col p { margin: 0; max-width: 52ch; font-size: 16px; line-height: 1.6; color: var(--fg); }
.band-col .btn { margin-top: 10px; }
@media (max-width: 860px) {
  .band-cols { grid-template-columns: 1fr; }
  .band-col { padding: 28px 0; }
  .band-col + .band-col { border-left: 0; border-top: 1px solid rgba(15, 27, 45, .2); }
}


/* ---- Draft helper -------------------------------------------------------- */
.draft-bar {
  position: fixed; left: 16px; top: 82px; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  max-width: calc(100% - 32px);
}
.draft-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: var(--ink); color: #fff;
  border: 0; border-radius: var(--radius);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(15, 27, 45, .5);
}
.draft-pill b { font-weight: 700; }
.draft-dot { width: 8px; height: 8px; border-radius: 50%; background: #E8A33D; }
.draft-pill[aria-pressed="true"] { background: #fff; color: var(--ink); outline: 2px solid #E8A33D; }
.show-ph [data-ph] {
  outline: 2px dashed #E8A33D !important;
  outline-offset: 3px;
  background-color: rgba(232, 163, 61, .14);
}
.show-ph [data-carried] {
  outline: 2px dashed var(--action) !important;
  outline-offset: 3px;
  background-color: rgba(40, 118, 146, .08);
}
.draft-pill .k-carried { color: #9ED3E3; }
.draft-pill[aria-pressed="true"] .k-carried { color: var(--action); }

/* Current page in the nav. */
.nav-link[aria-current="page"] { color: var(--action); box-shadow: inset 0 -2px 0 var(--milk); }

/* White filled button, for dark backgrounds. */
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--mist); border-color: var(--mist); }

/* ---- Narrower screens ---------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr; }
  .burger { display: grid; }
}
@media (max-width: 400px) {
  .nav-cta { display: none; }
}
@media (max-width: 820px) {
  .products-grid { grid-template-columns: 1fr; }
  .products-copy { text-align: left; }
}
@media (max-width: 760px) {
  .hl-viewport { margin-inline: calc(var(--gutter) * -1); }
  .ai-cols { grid-template-columns: 1fr; }
  .ai-col { padding: 28px 0; }
  .ai-col + .ai-col { border-left: 0; border-top: 1px solid rgba(15, 27, 45, .2); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hl-card, .menu-scrim, .menu-panel { transition: none; }
  .hl-caption.swap { animation: none; }
}

/* A button that's busy (the contact form while it sends). */
.btn:disabled { opacity: .6; cursor: wait; }

/* ==== Ecosystem section (home page, 2026-11-08) ======================== */
/* ============ The MILK ring, on navy ============ */
.orb-sec { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 128px) 0; overflow: hidden; }
.orb-grid { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.orb-title {
  margin: 0;
  font-family: var(--display-font); font-weight: 800;
  font-size: clamp(40px, 4.6vw, 64px); line-height: .98; text-transform: uppercase;
}
.orb-sub { margin: 18px 0 0; max-width: 40ch; font-size: 19px; font-weight: 500; line-height: 1.55; color: #fff; }
/* The box beside the ring: a white card like the tiles in it (Ronin's pick,
   2026-11-08) — the app's icon and name in milk blue, then its line. */
.orb-panel {
  margin-top: clamp(28px, 3.4vw, 40px);
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.7);
}
.orb-panel-hd { display: flex; align-items: center; gap: 14px; padding: 24px 24px 0; color: var(--milk); }
.orb-panel-ic { display: flex; width: 34px; flex: none; }
.orb-panel-ic > svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orb-panel-ic .solid { fill: currentColor; stroke: none; }
.orb-panel-name { display: block; font-family: var(--display-font); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; }
.orb-panel-bd { padding: 14px 24px 24px; min-height: 172px; }
.orb-panel-say { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.5; }
.orb-panel-who { margin: 8px 0 0; font-size: 14px; color: var(--fg2); }
.orb-panel-go { margin-top: 18px; }
.orb-panel.swap { animation: hl-in .18s var(--ease) both; }
.orb-note { margin: 18px 0 0; max-width: 46ch; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.55); }

.orb { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; }
.orb-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb-spokes line { stroke: rgba(255,255,255,.14); stroke-width: .3; transition: stroke .25s; }
.orb-spokes line.on { stroke: var(--milk); stroke-width: .55; stroke-dasharray: 1.4 1.4; animation: orbflow 1s linear infinite; }
@keyframes orbflow { to { stroke-dashoffset: 2.8; } }

.orb-core {
  position: absolute; left: 50%; top: 50%;
  width: 36%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  background: var(--milk);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(78,176,201,.15), 0 30px 60px -20px rgba(0,0,0,.6);
  z-index: 2;
}
.orb-core img { width: 74%; margin-top: 4%; filter: brightness(0) invert(1); }

.orb-node {
  position: absolute;
  width: 22%; aspect-ratio: 1.15;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 8px;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.7);
  transition: background-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s;
}
.orb-node span { font-family: var(--display-font); font-weight: 800; font-size: clamp(13px, 1.25vw, 17px); line-height: 1; text-transform: uppercase; text-align: center; }
.orb-node:hover { transform: translate(-50%, -50%) translateY(-2px); }
.orb-node.on {
  background: var(--milk); color: var(--ink);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 6px rgba(78,176,201,.2), 0 18px 36px -18px rgba(0,0,0,.8);
}


/* The app icons: outline, one weight; a few parts are solid. The
   Intelligence mark is the MILK carton (traced from milk-carton.svg) with a spark. */
.orb .ic { display: flex; width: 28%; }
.orb .ic > svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orb .solid { fill: currentColor; stroke: none; }

@media (max-width: 900px) {
  .orb-grid { grid-template-columns: 1fr; gap: 0; }
  /* Phone: heading, then the ring, then the panel right under it. */
  .orb-copy { display: contents; }
    .orb-panel { order: 2; margin-top: 24px; }
  .orb-panel-bd { min-height: 0; }
  .orb-note { order: 3; }
  .orb-node { gap: 4px; padding: 4px; }
  .orb-node span { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-spokes line.on { animation: none; stroke-dasharray: none; }
}

/* Highlight cards lead with one big figure on a colour (Ronin, 2026-11-15 —
   replaced the screenshots). The figure and its line are placeholders (data-ph). */
.hl-card { container-type: inline-size; }
.hl-shot.hl-big {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 7cqw 8cqw 8cqw; text-align: left; border: 0;
}
.hl-rule { width: 22cqw; height: 3px; background: currentColor; margin-bottom: auto; }
.hl-fig {
  font-family: var(--display-font); font-weight: var(--display-weight);
  font-size: 28cqw; line-height: .9; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap;
}
.hl-say { font-size: clamp(11px, 6cqw, 14px); line-height: 1.3; margin-top: 4px; max-width: 22ch; opacity: .85; }
.hl-big.on-blue  { background: var(--milk); color: var(--ink); }
.hl-big.on-navy  { background: var(--ink);  color: #fff; }
.hl-big.on-navy .hl-fig, .hl-big.on-navy .hl-rule { color: var(--milk); background-color: transparent; }
.hl-big.on-navy .hl-rule { background: var(--milk); }
.hl-big.on-cream { background: #F7F2E7; color: var(--ink); }
.hl-big.on-tint  { background: #DCEFF5; color: var(--ink); }
