/* BeaconDesk marketing site. One stylesheet, no build step.
   The palette and type are the product's own (src/app/globals.css): warm paper, forest green, Instrument Serif over Geist.
   Forest green marks what you can act on and what the AI did; deep green and night carry the dark slabs.
   Amber is the beacon light: live, now, waiting on you. Big colour fields and shapes do the talking; copy stays short. */

@font-face { font-family: 'Geist'; src: url('fonts/geist.v2.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono.v2.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
/* Metric-matched fallbacks (measured with fontTools against Georgia and Arial) so the swap to the web fonts barely moves the layout. */
@font-face { font-family: 'Serif Fallback'; src: local('Georgia'); size-adjust: 76.1%; ascent-override: 130.1%; descent-override: 40.7%; line-gap-override: 0%; }
@font-face { font-family: 'Sans Fallback'; src: local('Arial'), local('Helvetica Neue'); size-adjust: 104.6%; ascent-override: 96.1%; descent-override: 28.2%; line-gap-override: 0%; }

:root {
  color-scheme: light;

  --paper: #f5f2ec;
  --paper-2: #efebe3;
  /* No stark white (owner, 2026-10-16): mock-ups and plain cards wear the card face, content panels are
     sand trays, and the objects inside either are ivory. */
  --ivory: #fffdf9;
  --card-face: linear-gradient(180deg, var(--ivory) 0%, #faf6ef 100%);
  --tray: linear-gradient(165deg, #f1ede5, var(--paper-2));
  --line: #e4ded3;
  --line-soft: #eee9e0;
  --line-strong: #d4cdc0;
  --ink: #17181a;
  --ink-2: #45494e;
  --muted: #63676e;
  --faint: #a8abb1;

  --forest: #1f6b58;
  --forest-ink: #124637;
  --forest-deep: #0f2e26;
  --forest-glow: #3aa385;
  --night: #0a1f1a;
  --mint: #e2efe8;
  --mint-wash: #f1f7f3;
  --mint-edge: #d3e6dc;
  --mint-200: #bfdccf;
  --sage: #d9e9df;
  --on-night: #f5f2ec;
  --on-night-2: #c6d5ce;
  --on-night-3: #9db4a9;

  --beacon: #ffb45e;
  --beacon-2: #f28c4a;
  --beacon-ink: #8a4b12;
  --beacon-tint: #fdf0dc;

  /* Colour fields shared by the bento tiles, the steps and the trade cards. */
  --field-sage: linear-gradient(165deg, #e3efe8, var(--sage));
  --field-amber: radial-gradient(80% 70% at 100% 0%, #ffd49a, transparent 70%), linear-gradient(165deg, #ffc477, var(--beacon) 60%, #f8a24c);

  --font-sans: 'Geist', 'Sans Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Instrument Serif', 'Serif Fallback', Georgia, 'Songti SC', 'Noto Serif SC', serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --step-hero: clamp(3rem, 1.4rem + 5.9vw, 6.25rem);
  --step-h2: clamp(2.625rem, 1.6rem + 3.6vw, 4.75rem);
  --step-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);

  --gutter: clamp(16px, 4.5vw, 40px);
  --edge: clamp(8px, 1.6vw, 20px);
  --wrap: 1200px;
  --section: clamp(88px, 10vw, 144px);

  --r-sm: 10px;
  --r-md: 14px;
  --r-card: 16px;
  --r-tile: 20px;
  --r-field: clamp(24px, 2.6vw, 32px);
  --r-show: 28px;

  --shadow-card: 0 1px 2px rgb(30 25 15 / 0.04), 0 2px 10px -2px rgb(30 25 15 / 0.06);
  --shadow-lift: 0 1px 2px rgb(30 25 15 / 0.05), 0 12px 32px -12px rgb(30 25 15 / 0.18);
  --shadow-pop: 0 2px 4px rgb(30 25 15 / 0.04), 0 24px 48px -22px rgb(30 25 15 / 0.3);
  --shadow-float: 0 1px 2px rgb(30 25 15 / 0.05), 0 18px 44px -18px rgb(30 25 15 / 0.32), 0 0 0 1px rgb(30 25 15 / 0.04);
  --shadow-stage: 0 50px 100px -50px rgb(15 46 38 / 0.45), 0 16px 40px -24px rgb(30 25 15 / 0.2);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* Staff tints, as the app stores them: tints carry people, never meaning. Green stays with the AI. */
.t-rose { --t-bg: #fbe1e6; --t-fg: #9a2a46; --t-acc: #e06b8b; --t-line: #f3c6d1; }
.t-sky { --t-bg: #dcecfb; --t-fg: #1c4f8a; --t-acc: #4f8fd6; --t-line: #c3daf3; }
.t-butter { --t-bg: #fbecd0; --t-fg: #8a5410; --t-acc: #dfa53c; --t-line: #f0d9a8; }
.t-violet { --t-bg: #e9e2fa; --t-fg: #5b3aa8; --t-acc: #8b6fd6; --t-line: #d6cbf3; }

/* ───────────── Base ───────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { overflow-x: clip; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
em { font-style: italic; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
::selection { background: #fde2bf; color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible, .cta :focus-visible, .nav.on-dark:not(.is-open) :focus-visible, .verb-answer:focus-visible { outline-color: var(--beacon); }
p, li { text-wrap: pretty; }
h3, summary { text-wrap: balance; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .lang .who { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; transition: top .2s; }
.skip:focus { top: 12px; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ───────────── Type ───────────── */

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--step-hero);
  line-height: 0.96;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.display .line { display: block; }
.display em, .h2 em { color: var(--forest); }
.h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--step-h2);
  line-height: 1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.lead { font-size: var(--step-lead); line-height: 1.55; color: var(--ink-2); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

/* ───────────── Buttons and small parts ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .25s var(--ease-spring), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn:active { transform: scale(0.97); }
.btn .i { transition: transform .3s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 10px 24px -12px rgb(23 24 26 / 0.7);
}
.btn-ink:hover { background: #2a2d31; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 14px 30px -12px rgb(23 24 26 / 0.75); }
.btn-ghost { background: rgb(255 255 255 / 0.66); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-card); }
.btn-ghost:hover { background: #fff; border-color: var(--line-strong); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.7);
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .2s, background-color .2s;
}
.pill:hover { border-color: var(--line-strong); background: #fff; }
.pill .i { width: 14px; height: 14px; color: var(--muted); transition: transform .3s var(--ease-out); }
.pill:hover .i { transform: translateX(3px); }

/* The beacon light: amber, only for what is live. */
.live-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 0 3px rgb(242 140 74 / 0.22), 0 0 12px 1px rgb(255 160 70 / 0.65);
  flex: none;
}
.pill .live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--beacon-2);
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.tag .i { width: 13px; height: 13px; stroke-width: 2; }
.tag-mint { background: var(--mint); color: var(--forest-ink); }

/* Calendar fragments, shared by the hero and the back-office tile. */
.av {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  background: var(--t-bg);
  color: var(--t-fg);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--t-line);
}
.cal-hours { position: relative; font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: var(--muted); }
.cal-hours span { position: absolute; right: 10px; white-space: nowrap; }
.cal-hours span:nth-child(1) { top: 4px; }
.cal-hours span:nth-child(2) { top: calc(var(--hour) + 4px); }
.cal-hours span:nth-child(3) { top: calc(var(--hour) * 2 + 4px); }
.cal-hours span:nth-child(4) { top: calc(var(--hour) * 3 + 4px); }
.cal-hours span:nth-child(5) { top: calc(var(--hour) * 4 + 4px); }
.lane {
  position: relative;
  border-left: 1px solid var(--line-soft);
  background-image: repeating-linear-gradient(to bottom,
    var(--line) 0 1px, transparent 1px calc(var(--hour) / 2),
    var(--line-soft) calc(var(--hour) / 2) calc(var(--hour) / 2 + 1px), transparent calc(var(--hour) / 2 + 1px) var(--hour));
}
/* Visits and time off sit on the same time grid: --s and --d are the start and length in minutes. */
.ev, .off {
  position: absolute;
  left: 4px;
  right: 4px;
  top: calc(var(--s) / 60 * var(--hour) + 2px);
  height: calc(var(--d) / 60 * var(--hour) - 4px);
}
.ev {
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px 6px 14px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--t-bg);
  color: var(--t-fg);
  font-size: 12px;
  line-height: 16px;
}
.ev::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--t-acc); }
.ev-r { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.ev b { font-size: 12.5px; line-height: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .tm { font-family: var(--font-mono); font-size: 11px; font-weight: 500; white-space: nowrap; }
.ev .sv { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .tags { display: flex; gap: 4px; margin-top: 5px; }
.ev .tg { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; background: rgb(255 255 255 / 0.75); color: var(--t-fg); font-size: 11px; font-weight: 500; white-space: nowrap; }
.ev .tg .i { width: 11px; height: 11px; stroke-width: 2.2; }
.ev .tg-ok { background: #fff; color: var(--forest-ink); }
.ev.done { background: var(--ivory); color: var(--muted); box-shadow: inset 0 0 0 1px var(--t-line); }
.ev.done b { color: var(--ink-2); }
.ev.done::before { opacity: 0.5; }
/* The one block the AI booked: a forest ring and an AI phone tag. */
.ev-ai { z-index: 2; box-shadow: 0 0 0 2px var(--forest), 0 0 0 6px rgb(31 107 88 / 0.14), 0 14px 28px -12px rgb(15 46 38 / 0.55); }
.via { display: inline-flex; align-items: center; gap: 3px; flex: none; height: 18px; padding: 0 7px 0 5px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.via svg { width: 10px; height: 10px; fill: var(--beacon); }
.off {
  display: flex;
  flex-direction: column;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #f1ede5 0 6px, #faf8f4 6px 12px);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
}
.off b { color: var(--ink-2); font-weight: 600; }
.past { position: absolute; left: var(--rail); right: 0; top: 0; height: calc(var(--s) / 60 * var(--hour)); background: rgb(30 25 15 / 0.025); pointer-events: none; }
.now { position: absolute; left: var(--rail); right: 0; top: calc(var(--s) / 60 * var(--hour)); z-index: 0; height: 2px; margin-top: -1px; background: var(--beacon); box-shadow: 0 0 10px rgb(255 160 70 / 0.7); }
.now::before { content: ''; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--beacon); box-shadow: 0 0 0 3px #fff; }
.now-t { position: absolute; right: calc(100% + 9px); top: -10px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--beacon); color: var(--ink); font: 600 11px/20px var(--font-mono); white-space: nowrap; }

/* ───────────── Header ───────────── */

.nav, .legal-bar { position: sticky; top: 0; z-index: 50; padding-top: 12px; pointer-events: none; }
.nav-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.66);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-lift);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled .nav-bar, .nav.is-open .nav-bar { background: rgb(255 255 255 / 0.8); box-shadow: var(--shadow-float); }
.nav.on-dark:not(.is-open) .nav-bar { background: rgb(15 46 38 / 0.72); border-color: rgb(255 255 255 / 0.1); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6); }
.nav.on-dark:not(.is-open) .brand-name { color: var(--on-night); }
.nav.on-dark:not(.is-open) .nav-links, .nav.on-dark:not(.is-open) .nav-signin { color: var(--on-night-2); }
.nav.on-dark:not(.is-open) .nav-links a:hover, .nav.on-dark:not(.is-open) .nav-signin:hover { color: #fff; }
.nav.on-dark:not(.is-open) .btn-ink { background: var(--on-night); color: var(--ink); }
.nav.on-dark:not(.is-open) .nav-toggle span { background: var(--on-night); }
.brand-name, .nav-links { transition: color .3s; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 4px 10px -4px rgb(15 46 38 / 0.55); }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.025em; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-signin:hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav-toggle:hover { background: rgb(30 25 15 / 0.05); }
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 22.5px; }
.nav.is-open .nav-toggle span:first-child { top: 19.25px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 19.25px; transform: rotate(-45deg); }
.menu {
  pointer-events: auto;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 8px 20px 20px;
  border-radius: 24px;
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  border: 1px solid rgb(255 255 255 / 0.95);
  box-shadow: var(--shadow-float);
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: menu-in .35s var(--ease-out) both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.menu-links { display: grid; }
.menu-links a:not(.btn) { padding: 14px 4px; font-family: var(--font-serif); font-size: 26px; line-height: 1.15; border-bottom: 1px solid var(--line); }
.menu-links .btn { margin-top: 20px; }

/* ───────────── Hero ───────────── */

.hero { position: relative; isolation: isolate; padding-top: clamp(44px, 6.5vw, 92px); }
.hero-sky { position: absolute; inset: -72px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(30 25 15 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(30 25 15 / 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: calc(50% - 24px) -1px;
  -webkit-mask-image: radial-gradient(ellipse 60% 520px at 50% 300px, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 520px at 50% 300px, #000 10%, transparent 78%);
}
.hero-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(min(560px, 70vw) 360px at 50% 0, rgb(255 180 94 / 0.24), rgb(255 180 94 / 0) 72%),
    radial-gradient(min(520px, 60vw) 420px at 100% 40%, rgb(58 163 133 / 0.12), rgb(58 163 133 / 0) 72%),
    radial-gradient(min(520px, 60vw) 420px at 0 70%, rgb(255 180 94 / 0.1), rgb(255 180 94 / 0) 72%);
}
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-head .display { margin-top: 30px; }
.hero-lead { max-width: 34rem; margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* The stage: a live call on the left, the calendar it books into on the right, linked by a forest beam. */
.stage-wrap { position: relative; isolation: isolate; margin-top: clamp(52px, 6vw, 76px); }
.stage-aura {
  position: absolute;
  inset: -12% -16% -8%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 60%, rgb(58 163 133 / 0.26), rgb(58 163 133 / 0) 72%),
    radial-gradient(38% 50% at 80% 50%, rgb(255 180 94 / 0.34), rgb(255 180 94 / 0) 72%);
  filter: blur(8px);
}
.stage {
  --hour: 90px;
  --rail: 56px;
  position: relative;
  display: grid;
  grid-template-columns: 384px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: var(--r-show);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.62), rgb(255 255 255 / 0.32));
  border: 1px solid rgb(255 255 255 / 0.9);
  box-shadow: inset 0 1px 0 #fff, var(--shadow-stage);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.stage-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 0 8px; font-size: 13px; color: var(--muted); }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.7);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .2s, border-color .2s;
}
.motion-toggle:hover { background: #fff; border-color: var(--line-strong); }
.mt-icon { width: 9px; height: 10px; background: linear-gradient(to right, currentColor 0 3px, transparent 3px 6px, currentColor 6px 9px); }
.motion-toggle[aria-pressed='true'] .mt-icon { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
html[data-motion='off'] *, html[data-motion='off'] *::before, html[data-motion='off'] *::after { animation-play-state: paused !important; }
/* Entrances that start hidden must not freeze at their first frame while motion is paused: show them as they end. */
html[data-motion='off'] .menu, html[data-motion='off'] .lang-lines .ln { animation: none; }
.js [data-anim]:not(.is-live) *, .js [data-anim]:not(.is-live) *::before, .js [data-anim]:not(.is-live) *::after { animation-play-state: paused; }

/* The call card */
.call {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
  padding: 20px;
  border-radius: var(--r-tile);
  background: var(--card-face);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
}
.call-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.call-avatar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 6px; border-radius: 50%; background: var(--beacon-tint); color: var(--beacon-ink); }
.call-avatar::before, .call-avatar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgb(242 140 74 / 0.35); }
.call-avatar::after { inset: -12px; border-color: rgb(242 140 74 / 0.16); }
.stage[data-state='live'] .call-avatar::after { animation: halo 2s var(--ease-out) infinite; }
@keyframes halo { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.call-who { display: grid; min-width: 0; line-height: 1.3; }
.call-label { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-number { font: 600 16px/22px var(--font-mono); letter-spacing: -0.02em; white-space: nowrap; }
.call-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .4s, border-color .4s, color .4s;
}
.call-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--beacon); box-shadow: 0 0 0 3px rgb(242 140 74 / 0.22), 0 0 10px rgb(255 160 70 / 0.7); transition: background-color .4s, box-shadow .4s; }
.stage[data-state='ringing'] .call-badge .dot { animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.call-timer { font-family: var(--font-mono); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.stage[data-state='done'] .call-badge { background: var(--mint); border-color: transparent; color: var(--forest-ink); }
.stage[data-state='done'] .call-badge .dot { background: var(--forest); box-shadow: none; }
.stage[data-state='done'] .call-timer { color: var(--forest-ink); opacity: 0.75; }

.call-ringing {
  position: absolute;
  inset: 76px 0 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  text-align: center;
  background: var(--card-face);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .45s, transform .45s var(--ease-out);
  pointer-events: none;
}
.stage[data-state='ringing'] .call-ringing { opacity: 1; transform: none; }
.cr-orb { position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin-bottom: 18px; border-radius: 50%; background: var(--beacon-tint); color: var(--beacon-ink); }
.cr-orb .i { width: 30px; height: 30px; }
.cr-orb .ring { position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--beacon-2); opacity: 0; }
.call-ringing b { font-family: var(--font-serif); font-size: 28px; font-weight: 400; line-height: 1.1; }
.call-ringing small { font-size: 13px; color: var(--muted); }
.stage[data-state='ringing'] .cr-orb .ring { animation: ring 1.8s var(--ease-out) infinite; }
.stage[data-state='ringing'] .cr-orb .ring:nth-child(2) { animation-delay: .6s; }
.stage[data-state='ringing'] .cr-orb .ring:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.3); opacity: 0; } }
.stage[data-state='ringing'] .cr-orb .i { animation: shake 1.8s ease-in-out infinite; }
@keyframes shake { 0%, 40%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20%, 30% { transform: rotate(14deg); } }

/* Waveform: forest when BeaconDesk speaks, amber when the caller does. */
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 28px;
  margin: 12px 0 4px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.wave i {
  flex: none;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--forest-glow), var(--forest));
  opacity: 0.9;
  transform: scaleY(var(--p, 0.3));
  transition: transform .4s var(--ease-out), opacity .4s;
}
.wave i.c { background: linear-gradient(180deg, #ffd09a, var(--beacon-2)); }
.stage.is-scripted .wave i { background: var(--line-strong); opacity: 1; transform: scaleY(0.12); }
.stage.is-scripted[data-talk] .wave i { animation: wave var(--dur, 0.8s) ease-in-out var(--lag, 0s) infinite alternate; }
.stage.is-scripted[data-talk='ai'] .wave i { background: linear-gradient(180deg, var(--forest-glow), var(--forest)); }
.stage.is-scripted[data-talk='caller'] .wave i { background: linear-gradient(180deg, #ffd09a, var(--beacon-2)); }
@keyframes wave { from { transform: scaleY(0.14); } to { transform: scaleY(var(--peak, 1)); } }

.lines {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-height: 0;
  margin-top: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 48px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 48px);
}
.stage.is-scripted .lines:not(.is-full) { justify-content: flex-start; -webkit-mask-image: none; mask-image: none; }
.ln { display: flex; gap: 8px; max-width: 90%; font-size: 14px; line-height: 20px; flex: none; }
.ln .txt { padding: 7px 12px; text-wrap: pretty; }
.ln-ai { align-self: flex-start; }
.ln-ai .txt { border-radius: 4px 14px 14px 14px; background: var(--mint-wash); border: 1px solid var(--mint-edge); }
.ln-av { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%; flex: none; background: var(--forest); color: var(--beacon); box-shadow: 0 0 0 3px var(--mint); }
.ln-av svg { width: 12px; height: 12px; fill: currentColor; }
.ln-caller { align-self: flex-end; }
.ln-caller .txt { border-radius: 14px 4px 14px 14px; background: var(--ivory); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.ln-tool {
  align-self: flex-start;
  align-items: center;
  height: 28px;
  margin-left: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  border: 1px dashed var(--mint-200);
  background: var(--ivory);
  font-size: 12px;
  font-weight: 500;
  color: var(--forest-ink);
}
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--mint-200); border-top-color: var(--forest); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage:not(.is-scripted) .ln-tool { display: none; }
.ln-booked {
  align-self: stretch;
  align-items: center;
  gap: 10px;
  max-width: none;
  height: 44px;
  margin-top: auto;
  padding: 0 14px 0 11px;
  border-radius: var(--r-md);
  background: var(--forest);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16), 0 12px 28px -12px rgb(15 46 38 / 0.8);
  white-space: nowrap;
  overflow: hidden;
}
.bk-ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; background: #fff; color: var(--forest); }
.bk-ck .i { width: 13px; height: 13px; stroke-width: 3; }
.ln-booked b { font-weight: 600; }
.bkd-meta { opacity: 0.86; }

/* The calendar card */
.cal {
  grid-area: 1 / 2;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r-tile);
  background: var(--card-face);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.cal-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; white-space: nowrap; }
.cal-title b { font-family: var(--font-serif); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; }
.cal-title span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-sm); background: var(--paper-2); flex: none; }
.seg span { display: grid; place-items: center; height: 26px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg .on { background: var(--ivory); color: var(--ink); box-shadow: 0 1px 2px rgb(30 25 15 / 0.08), 0 0 0 1px rgb(30 25 15 / 0.04); }
.cal-staff, .cal-body { display: grid; grid-template-columns: var(--rail) repeat(3, minmax(0, 1fr)); }
.cal-staff { height: 52px; border-bottom: 1px solid var(--line); flex: none; }
.st { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 12px; border-left: 1px solid var(--line-soft); }
.st > span { display: grid; min-width: 0; line-height: 1.3; }
.st b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-body { position: relative; height: calc(var(--hour) * 5); }
.cal-toast {
  position: absolute;
  left: 4px;
  top: calc(var(--hour) * 2.07);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: var(--forest-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgb(15 46 38 / 0.7);
  transition: transform .55s var(--ease-spring), opacity .35s;
}
.cal-toast .sp { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--forest-glow); }
.cal-toast .sp svg { width: 10px; height: 10px; fill: #fff; }
.cal-toast .m { color: var(--on-night-2); }
.stage.is-scripted .cal-toast:not(.is-shown) { opacity: 0; transform: translateY(8px) scale(0.94); }

/* The beam: a dotted forest link from the Booked line to the visit it made. Drawn in CSS so it shows without script. */
.link { grid-area: 1 / 2; align-self: start; justify-self: start; position: relative; z-index: 3; width: 110px; height: 166px; margin: 362px 0 0 -44px; overflow: visible; pointer-events: none; }
.link-halo { fill: none; stroke: var(--forest); stroke-opacity: 0.16; stroke-width: 8; stroke-linecap: round; }
.link-line { fill: none; stroke: url(#link-grad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 5; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.link-a { fill: #fff; stroke: var(--forest); stroke-width: 2; }
.link-b { fill: var(--forest); }
.stage.is-scripted .link { opacity: 0; transition: opacity .3s; }
.stage.is-scripted.is-linked .link { opacity: 1; animation: wipe .9s var(--ease-out) both; }
@keyframes wipe { from { clip-path: inset(-8px 100% -8px -8px); } to { clip-path: inset(-8px -8px -8px -8px); } }

.beam {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, #ffe0b0 52%, rgb(255 180 94 / 0) 74%);
  box-shadow: 0 0 18px 6px rgb(255 180 94 / 0.6), 0 0 46px 16px rgb(58 163 133 / 0.28);
  opacity: 0;
  pointer-events: none;
}

/* Scripted states. Without JS, or with reduced motion, the finished scene shows as it is. */
.js .stage.is-scripted .ln { display: none; }
.js .stage.is-scripted .ln.is-shown { display: flex; animation: line-in .5s var(--ease-out) both; }
.js .stage.is-scripted .ln-booked.is-shown, .js .stage.is-scripted .ln-tool.is-shown { display: flex; animation: pop .5s var(--ease-spring) both; }
.js .stage.is-scripted [data-new]:not(.is-shown) { visibility: hidden; }
[data-new].is-glow { animation: land 1.6s var(--ease-out) both; }
@keyframes land {
  0% { transform: scale(0.86); opacity: 0; box-shadow: 0 0 0 0 rgb(31 107 88 / 0.9), 0 0 0 0 rgb(255 180 94 / 0.4); }
  28% { transform: scale(1.03); opacity: 1; box-shadow: 0 0 0 3px var(--forest), 0 0 36px 10px rgb(255 180 94 / 0.55); }
  100% { transform: none; opacity: 1; }
}
@keyframes line-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
.w { opacity: 0; transition: opacity .25s; }
.w.on { opacity: 1; }
.stage .lines, .stage [data-new] { transition: opacity .45s; }
.stage.is-fading .lines, .stage.is-fading [data-new], .stage.is-fading .link { opacity: 0; }

/* ───────────── Three jobs: colour fields ───────────── */

.verbs { padding-top: clamp(88px, 10vw, 140px); }
.verbs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verb {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-field);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.verb:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgb(15 46 38 / 0.55); }
.verb-art { width: 100%; max-width: 280px; height: auto; margin: 24px auto auto; overflow: visible; }
.verb-word { margin-top: 28px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(3.25rem, 2.2rem + 2.6vw, 5rem); line-height: 0.95; letter-spacing: -0.02em; }
.verb p { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.verb::after {
  content: '';
  position: absolute;
  right: clamp(20px, 2.2vw, 28px);
  top: clamp(20px, 2.2vw, 28px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E"),
    rgb(255 255 255 / 0.7);
  rotate: -45deg;
  transition: translate .4s var(--ease-out);
}
.verb:hover::after { translate: 3px -3px; }

.verb-answer { color: var(--on-night); background: radial-gradient(90% 70% at 50% 18%, rgb(58 163 133 / 0.32), transparent 70%), linear-gradient(165deg, var(--forest) 0%, var(--forest-deep) 62%, var(--night) 100%); }
.verb-answer p { color: var(--on-night-2); }
.verb-answer::after { background-color: rgb(255 255 255 / 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f2ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E"); }
.va-glow { fill: rgb(255 180 94 / 0.55); filter: blur(14px); }
.va-arc { fill: none; stroke: var(--on-night); stroke-width: 10; stroke-linecap: round; }
.va-arc-3 { opacity: 0.22; }
.va-arc-2 { opacity: 0.5; }
.va-arc-1 { opacity: 0.9; }
.va-dot { fill: var(--beacon); }
.verb-answer.is-in .va-arc { animation: arc-pulse 3.6s var(--ease-out) infinite; }
.verb-answer.is-in .va-arc-2 { animation-delay: .25s; }
.verb-answer.is-in .va-arc-3 { animation-delay: .5s; }
@keyframes arc-pulse { 0%, 60%, 100% { stroke: var(--on-night); } 20% { stroke: var(--beacon); } }

.verb-book { color: var(--ink); background: radial-gradient(80% 60% at 70% 0%, #ffd49a, transparent 70%), linear-gradient(165deg, #ffc477 0%, var(--beacon) 55%, #f8a24c 100%); }
.verb-book p { color: #3d3226; }
.vb-cells rect { fill: rgb(255 255 255 / 0.42); }
.vb-on { fill: var(--forest); filter: drop-shadow(0 10px 14px rgb(15 46 38 / 0.35)); }
.vb-ck { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.verb-remember { color: var(--ink); background: radial-gradient(80% 60% at 30% 0%, #eef6f1, transparent 70%), linear-gradient(165deg, #dcebe2 0%, #cfe3d7 100%); }
.verb-remember p { color: var(--ink-2); }
.vr-c1 { fill: var(--forest); }
.vr-c2 { fill: var(--beacon); }
.vr-c3 { fill: #fff; }
.vr-t { font-family: var(--font-serif); font-size: 44px; fill: var(--on-night); }

/* ───────────── Sections ───────────── */

.section { padding-block: var(--section); }
.section-head { display: grid; justify-items: center; max-width: 820px; margin: 0 auto clamp(44px, 5.5vw, 72px); text-align: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { max-width: 34rem; margin-top: 20px; }
.section-head-left { justify-items: start; text-align: left; margin-left: 0; }

/* AI receptionist: two big language blocks and the call they switch between. */
.lang { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; max-width: 1080px; margin-inline: auto; }
.lang-tabs { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.lang-big {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 10px;
  min-height: 200px;
  padding: 28px 30px;
  border-radius: var(--r-field);
  text-align: left;
  background: var(--card-face);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: color .35s, border-color .35s, transform .35s var(--ease-out);
}
.lang-big:hover { transform: translateY(-2px); }
.lb-word { font-family: var(--font-serif); font-size: clamp(3.5rem, 2.2rem + 3.6vw, 6rem); line-height: 0.9; letter-spacing: -0.02em; }
.lb-word[lang='zh-Hans'] { letter-spacing: 0.04em; }
.lb-sub { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/16px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lang-big::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--paper-2); transition: background-color .35s; }
.lang-big[aria-pressed='true'] { background: linear-gradient(160deg, var(--forest), var(--forest-deep)); border-color: transparent; color: var(--on-night); }
.lang-big[aria-pressed='true'] .lb-sub { color: var(--beacon); }
.lang-big[aria-pressed='true']::before { background: rgb(255 180 94 / 0.9); box-shadow: 0 0 60px 10px rgb(255 180 94 / 0.35); }
.no-js .lang-big { pointer-events: none; }

.lang-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
  border-radius: var(--r-field);
  background: var(--tray);
  border: 1px solid transparent;
}
.lang-lines { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; }
.lang-lines.is-off { visibility: hidden; }
.lang-lines .ln { display: flex; flex-direction: column; gap: 2px; max-width: 88%; padding: 10px 14px; font-size: 15px; line-height: 22px; animation: line-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.lang-lines .ln .txt { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.lang-lines .ln-ai { border-radius: 4px 16px 16px 16px; background: var(--mint-wash); border: 1px solid var(--mint-edge); }
.lang-lines .ln-caller { align-self: flex-end; border-radius: 16px 4px 16px 16px; background: var(--ivory); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.ln .gloss { font-size: 12.5px; line-height: 18px; color: var(--muted); }
.lang-foot { grid-row: 2; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.lang-note { font-size: 13px; color: var(--muted); }

.abilities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0; }
.abilities li { display: grid; justify-items: center; gap: 14px; text-align: center; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink-2); text-wrap: balance; }
.ab-ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: var(--forest); box-shadow: inset 0 0 0 1px var(--mint-edge); transition: transform .4s var(--ease-spring), background-color .3s; }
.ab-ic .i { width: 28px; height: 28px; stroke-width: 1.6; }
.abilities li:nth-child(2) .ab-ic { background: var(--beacon-tint); color: var(--beacon-ink); box-shadow: inset 0 0 0 1px #f6dcb8; }
.abilities li:nth-child(4) .ab-ic { background: var(--forest); color: var(--on-night); box-shadow: none; }
.abilities li:hover .ab-ic { transform: scale(1.06); }

/* ───────────── After hours: deep green into night ───────────── */

.night-section { padding-block: clamp(8px, 2vw, 24px); }
.night {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100% - 2 * var(--edge), 1360px);
  margin-inline: auto;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 6vw, 96px);
  border-radius: clamp(24px, 3vw, 36px);
  color: var(--on-night);
  background:
    radial-gradient(60% 50% at 0% 0%, rgb(58 163 133 / 0.22), transparent 70%),
    linear-gradient(165deg, #164f41 0%, var(--forest-deep) 40%, var(--night) 78%);
  box-shadow: 0 40px 90px -50px rgb(10 31 26 / 0.7);
}
.night-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.night-sky::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 46% 12%, #fff, transparent),
    radial-gradient(1px 1px at 63% 9%, #fff, transparent),
    radial-gradient(1px 1px at 78% 38%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 18%, #fff, transparent),
    radial-gradient(1px 1px at 6% 86%, #fff, transparent),
    radial-gradient(1px 1px at 38% 92%, #fff, transparent),
    radial-gradient(1px 1px at 36% 48%, #fff, transparent),
    radial-gradient(1px 1px at 86% 84%, #fff, transparent);
}
/* The beacon: an amber light whose beam sweeps the panel slowly, like a lighthouse. */
.night-beacon { position: absolute; left: clamp(28px, 7%, 110px); top: clamp(28px, 4vw, 56px); width: 10px; height: 10px; border-radius: 50%; background: #fff3e0; box-shadow: 0 0 18px 8px rgb(255 180 94 / 0.75), 0 0 110px 50px rgb(255 180 94 / 0.2), 0 0 260px 140px rgb(255 180 94 / 0.07); }
.night-beacon::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190vmax;
  height: 190vmax;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgb(255 180 94 / 0.18) 6deg, rgb(255 210 150 / 0.06) 16deg, transparent 28deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.5) 40%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, rgb(0 0 0 / 0.5) 40%, transparent 100%);
  animation: sweep 18s linear infinite;
}
@keyframes sweep { to { rotate: 360deg; } }
.night-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 5vw, 80px); align-items: center; max-width: 1200px; margin-inline: auto; }
.night .kicker { color: var(--beacon); }
.night .h2 { color: var(--on-night); font-size: clamp(2.875rem, 1.6rem + 4.2vw, 5.5rem); }
.night .h2 em { display: block; color: var(--beacon); }
.night-lead { margin-top: 22px; font-size: 18px; color: var(--on-night-2); }

.night-scene { position: relative; min-height: 520px; display: flex; align-items: center; }
.moon { position: absolute; right: -2%; top: 50%; width: min(420px, 78%); aspect-ratio: 1; translate: 0 -50%; pointer-events: none; }
.moon::before { content: ''; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 180 94 / 0.3), rgb(255 180 94 / 0.08) 60%, transparent); }
.moon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, #fff4df 0%, #ffd79c 42%, var(--beacon) 100%);
  -webkit-mask-image: radial-gradient(circle at 30% 36%, transparent 0 50%, #000 50.5%);
  mask-image: radial-gradient(circle at 30% 36%, transparent 0 50%, #000 50.5%);
}
.night-calls { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: start; width: 100%; }
.night-calls li {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 100%;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: rgb(10 31 26 / 0.5);
  border: 1px solid rgb(255 255 255 / 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 30px -20px rgb(0 0 0 / 0.7);
}
.night-calls li:nth-child(2) { margin-left: 9%; }
.night-calls li:nth-child(3) { margin-left: 3%; }
.night-calls li:nth-child(4) { margin-left: 14%; }
.night-calls li:nth-child(5) { margin-left: 6%; }
.night-calls time { font: 500 12px/1 var(--font-mono); color: var(--on-night-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.night-calls q { font-family: var(--font-serif); font-size: 21px; line-height: 1.2; color: var(--on-night); }
.tag-sky { background: rgb(79 143 214 / 0.22); color: #b9d6f6; }
.tag-ok { background: rgb(58 163 133 / 0.28); color: #a9e5cf; }
.tag-plain { background: rgb(255 255 255 / 0.1); color: #dbe3df; }
.tag-rose { background: rgb(224 107 139 / 0.22); color: #f6bdcd; }
.tag-beacon { background: var(--beacon); color: var(--ink); font-weight: 600; }

/* ───────────── Online booking ───────────── */

.section-book { position: relative; isolation: isolate; }
.book-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.book-copy .section-head { margin-bottom: 40px; }
.book-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.book-steps::before { content: ''; position: absolute; left: 16%; right: 16%; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--mint-200) 0 6px, transparent 6px 12px); }
.book-steps li { position: relative; display: grid; justify-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bs-n { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--mint-200); font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--forest); }
.book-steps li:first-child .bs-n { background: var(--forest); border-color: var(--forest); color: var(--on-night); box-shadow: 0 0 0 6px var(--mint), 0 16px 30px -14px rgb(15 46 38 / 0.6); }
.book-steps li:last-child .bs-n { background: var(--beacon); border-color: var(--beacon); color: var(--ink); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.figs li { display: grid; grid-template-rows: 1fr auto; gap: 6px; min-height: 160px; padding: 22px 24px; border-radius: var(--r-field); background: var(--sage); }
.figs li + li { background: var(--tray); border: 1px solid transparent; }
.figs b { font-family: var(--font-serif); font-size: 88px; font-weight: 400; line-height: 0.85; color: var(--forest); }
.figs span { font-size: 15px; line-height: 1.35; color: var(--ink-2); }

.book-visual { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; gap: 36px; padding-block: 12px; }
.book-visual::before {
  content: '';
  position: absolute;
  left: 34%;
  top: 50%;
  z-index: -1;
  width: min(600px, 100%);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--field-sage);
}
.book-visual::after {
  content: '';
  position: absolute;
  right: -2%;
  bottom: 4%;
  z-index: -1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 80px 20px rgb(255 180 94 / 0.35);
}
/* Phones are drawn at device size (390 × 844 screen) and scaled with zoom, so every measure inside stays true to the app. */
.phone {
  --z: 0.72;
  zoom: var(--z);
  position: relative;
  flex: none;
  width: 410px;
  height: 864px;
  padding: 10px;
  border-radius: 62px;
  background: linear-gradient(145deg, #2c2f2c, #141614 40%, #23251f);
  box-shadow: inset 0 0 0 1.5px #3b3d38, 0 50px 90px -40px rgb(15 46 38 / 0.55), 0 20px 40px -20px rgb(30 25 15 / 0.4);
}
.phone-done { margin-top: 64px; }
.scr { position: relative; width: 390px; height: 844px; border-radius: 52px; overflow: hidden; background: var(--paper); }
.island { position: absolute; top: 11px; left: 50%; z-index: 20; width: 124px; height: 36px; translate: -50% 0; border-radius: 999px; background: #000; }
.sb { position: absolute; inset: 0 0 auto; z-index: 19; display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 4px 34px 0 46px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.sb-light { color: #fff; }
.sb-ic { display: flex; align-items: center; gap: 6px; }
.sb-ic svg { fill: currentColor; }
.sb-ic .wifi { stroke: currentColor; stroke-width: 0.5; stroke-linejoin: round; }
.home { position: absolute; bottom: 8px; left: 50%; z-index: 30; width: 134px; height: 5px; translate: -50% 0; border-radius: 999px; background: var(--ink); }
.bk-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 330px;
  padding: 70px 20px 0;
  color: #fff;
  background:
    radial-gradient(260px 260px at 100% 0%, rgb(255 180 94 / 0.24), transparent 70%),
    radial-gradient(300px 300px at 0% 0%, rgb(58 163 133 / 0.32), transparent 70%),
    linear-gradient(165deg, var(--forest), var(--forest-deep) 75%);
}
.bk-hero::after { content: ''; position: absolute; right: -110px; top: 30px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.1); box-shadow: 0 0 0 32px rgb(255 255 255 / 0.03), 0 0 0 64px rgb(255 255 255 / 0.02); }
.bk-logo { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(140deg, #2d8a70, var(--forest) 55%, var(--forest-deep)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 0 0 1px rgb(255 255 255 / 0.2), 0 6px 14px -6px rgb(0 0 0 / 0.6); font-family: var(--font-serif); font-size: 26px; }
.bk-name { position: relative; z-index: 1; margin-top: 20px; font-family: var(--font-serif); font-size: 42px; line-height: 44px; letter-spacing: -0.01em; }
.bk-tag { position: relative; z-index: 1; margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: 20px; line-height: 26px; color: rgb(255 255 255 / 0.7); }
.bk-pills { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 16px; }
.bk-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); font: 500 12px/1 var(--font-mono); color: rgb(255 255 255 / 0.86); }
.bk-pill .i { width: 13px; height: 13px; stroke-width: 2; color: rgb(255 255 255 / 0.6); }
.bk-sheet { position: absolute; top: 298px; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 20px 20px 0; border-radius: 28px 28px 0 0; background: var(--paper); box-shadow: 0 -12px 32px -18px rgb(15 46 38 / 0.22); }
.bk-prog { display: flex; gap: 6px; }
.bk-prog i { flex: 1; height: 4px; border-radius: 999px; background: var(--paper-2); }
.bk-prog .on { background: var(--forest); }
.bk-step { margin-top: 16px; font: 500 11px/16px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bk-q { margin-top: 6px; font-family: var(--font-serif); font-size: 28px; line-height: 32px; }
.bk-party { display: flex; gap: 6px; margin-top: 14px; }
.bk-party span { display: grid; place-items: center; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.bk-party .on { background: var(--ink); border-color: var(--ink); color: #fff; }
/* The menu as the booking page draws it: a colour block per heading, a deeper band, the chosen line forest green. */
.bk-svc { margin-top: 16px; border-radius: 22px; background: #e7efe9; overflow: hidden; }
.bk-band { position: relative; display: flex; align-items: center; gap: 9px; height: 54px; padding: 0 16px; background: #d6e7dc; color: #1c5f48; overflow: hidden; }
.bk-band::after { content: ''; position: absolute; right: -22px; top: -48px; width: 112px; height: 112px; border-radius: 50%; background: #1c5f48; opacity: 0.14; }
.bk-band .i { width: 17px; height: 17px; }
.bk-band b { font-family: var(--font-serif); font-size: 23px; font-weight: 400; color: var(--ink); }
.bk-band small { margin-left: auto; font: 500 11px var(--font-mono); opacity: 0.7; }
.bk-rows { display: grid; padding: 6px; }
.bk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; min-height: 58px; padding: 9px 12px; border-radius: 16px; }
.bk-row + .bk-row { border-top: 1px solid rgb(23 24 26 / 0.07); }
.bk-row.on + .bk-row, .bk-row:has(+ .bk-row.on) { border-color: transparent; }
.bk-row .sn { display: flex; flex: 1; flex-direction: column; }
.bk-row .sn b { font-size: 15px; line-height: 20px; letter-spacing: -0.01em; }
.bk-row .sn small { font-size: 12.5px; line-height: 17px; color: rgb(69 73 78 / 0.75); }
.bk-row .pr { font-family: var(--font-serif); font-size: 23px; line-height: 1; font-variant-numeric: tabular-nums; }
.bk-row .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgb(255 255 255 / 0.55); box-shadow: inset 0 0 0 1.5px rgb(23 24 26 / 0.18); color: var(--forest); }
.bk-row .ck .i { width: 12px; height: 12px; stroke-width: 3; }
.bk-row.on { background: var(--forest); color: #fff; box-shadow: 0 12px 26px -14px rgb(15 46 38 / 0.8); }
.bk-row.on .sn small { color: rgb(255 255 255 / 0.65); }
.bk-row.on .ck { background: #fff; box-shadow: none; }
.bk-adds { display: flex; flex-basis: 100%; gap: 6px; margin-top: 8px; }
.bk-adds span { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.1); font-size: 12px; font-weight: 500; white-space: nowrap; }
.bk-adds span:first-child { border-color: #fff; background: #fff; color: var(--forest-ink); }
.bk-adds i { font-style: normal; opacity: 0.65; }
.bk-adds .i { width: 12px; height: 12px; stroke-width: 2.6; }
.bk-dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 26px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 10px 0 20px;
  border-radius: 24px;
  background: rgb(249 247 242 / 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgb(255 255 255 / 0.8);
  box-shadow: 0 0 0 1px rgb(30 25 15 / 0.05), 0 18px 40px -14px rgb(30 25 15 / 0.35);
}
.bk-dock > span:first-child { display: grid; }
.bk-dock small { font-size: 12px; line-height: 16px; color: var(--muted); }
.bk-dock b { font-family: var(--font-serif); font-size: 27px; font-weight: 400; line-height: 28px; font-variant-numeric: tabular-nums; }
.bk-go { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px 0 22px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 6px 16px -6px rgb(23 24 26 / 0.5); }
.bk-go .i { width: 17px; height: 17px; }

.cf { background: radial-gradient(90% 40% at 50% 0%, rgb(255 180 94 / 0.32), rgb(255 180 94 / 0) 70%), radial-gradient(80% 40% at 50% 8%, rgb(31 107 88 / 0.12), rgb(31 107 88 / 0) 70%), var(--paper); }
.cf-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 100px 20px 0; text-align: center; }
.cf-badge { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(160deg, #2d8a70, var(--forest) 70%); color: #fff; box-shadow: 0 0 0 8px rgb(255 255 255 / 0.75), 0 0 44px 10px rgb(255 180 94 / 0.42), 0 16px 30px -10px rgb(31 107 88 / 0.7); }
.cf-badge .i { width: 30px; height: 30px; stroke-width: 2.4; }
.cf-h { margin-top: 26px; font-family: var(--font-serif); font-size: 40px; line-height: 42px; letter-spacing: -0.01em; }
.cf-sub { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--muted); }
.ticket { position: relative; width: 100%; margin-top: 26px; border-radius: 24px; background: var(--ivory); text-align: left; box-shadow: 0 0 0 1px rgb(30 25 15 / 0.05), 0 24px 48px -24px rgb(15 46 38 / 0.3); }
.tk-top { display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 20px 18px; }
.tk-top > span:first-child { display: grid; }
.tk-top .d { font: 500 12px/16px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); }
.tk-top .t { margin-top: 6px; font-family: var(--font-serif); font-size: 48px; line-height: 44px; font-variant-numeric: tabular-nums; }
.chip-mint { display: inline-flex; align-items: center; height: 22px; margin-bottom: 4px; padding: 0 8px; border-radius: 999px; background: var(--mint); color: var(--forest-ink); font-size: 12px; font-weight: 500; }
.perf { position: relative; height: 1px; margin: 0 20px; background-image: linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px); background-size: 12px 1px; }
.perf::before, .perf::after { content: ''; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: #f7efe3; }
.perf::before { left: -30px; box-shadow: inset -1px 0 0 rgb(30 25 15 / 0.05); }
.perf::after { right: -30px; box-shadow: inset 1px 0 0 rgb(30 25 15 / 0.05); }
.tk-rows { padding: 6px 20px 8px; }
.tk-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; line-height: 20px; }
.tk-rows li + li { border-top: 1px solid var(--line-soft); }
.tk-rows span { color: var(--muted); }
.tk-rows b { font-weight: 500; }
.cf-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 10px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: 16px; font-weight: 500; box-shadow: var(--shadow-card); }
.cf-btn-ink { margin-top: 20px; background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 6px 16px -6px rgb(23 24 26 / 0.5); }
.cf-btn .i { width: 17px; height: 17px; }
.cf-note { margin-top: 16px; font-size: 13px; line-height: 19px; color: var(--muted); }
.cf-note b { color: var(--ink-2); font-weight: 500; }

/* ───────────── Back office: a bento of colour fields ───────────── */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-field);
  background: var(--card-face);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.tile h3 { font-family: var(--font-serif); font-size: clamp(1.875rem, 1.5rem + 0.9vw, 2.375rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.012em; }
.tile-cal { grid-column: span 7; grid-row: span 2; }
.tile-checkout, .tile-reports { grid-column: span 5; }
.tile-customers, .tile-small { grid-column: span 4; }
.tile-amber { border-color: transparent; background: var(--field-amber); }
.tile-deep { border-color: transparent; color: var(--on-night); background: radial-gradient(70% 60% at 100% 0%, rgb(58 163 133 / 0.32), transparent 70%), linear-gradient(165deg, var(--forest), var(--forest-deep) 70%); }
.tile-sage { border-color: transparent; background: var(--field-sage); }
.tile-paper { border-color: transparent; background: var(--paper-2); }

.mini {
  --hour: 76px;
  --rail: 48px;
  display: grid;
  grid-template-rows: auto 1fr;
  margin-top: auto;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--ivory);
  overflow: hidden;
}
/* On wide screens the tile spans two rows; the calendar takes the height the rows give it. */
@media (min-width: 1081px) {
  .tile-cal .mini { flex: 1; container-type: size; }
  .tile-cal .mini-body { --hour: calc((100cqh - 47px) / 5); height: auto; }
}
.mini-head, .mini-body { display: grid; grid-template-columns: var(--rail) repeat(4, minmax(0, 1fr)); }
.mini-head { height: 46px; border-bottom: 1px solid var(--line); }
.mini-head .st { gap: 8px; padding: 0 10px; }
.mini-head .av { width: 22px; height: 22px; font-size: 11px; }
.mini-body { position: relative; height: calc(var(--hour) * 5); }
.mini .cal-hours span { right: 8px; }
.mini .now-t { right: calc(100% + 4px); padding: 0 5px; font-size: 10.5px; }
.mini .ev { padding: 5px 8px 5px 13px; }
.mini .ev b { font-size: 12px; }
.mini .ev .via { align-self: flex-start; margin-top: 4px; }
.mini .ev .tags { margin-top: 4px; }

.receipt { display: grid; gap: 8px; margin-top: auto; padding: 18px 18px 16px; border-radius: var(--r-card); background: var(--ivory); box-shadow: 0 1px 2px rgb(120 60 20 / 0.08), 0 18px 34px -18px rgb(120 60 20 / 0.45); font-size: 14px; }
.rc-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.rc-sub { color: var(--muted); }
.rc-total { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; }
.rc-total span { display: inline-flex; align-items: center; gap: 8px; }
.rc-total .i { width: 16px; height: 16px; }
.rc-total b { font-family: var(--font-serif); font-size: 40px; font-weight: 400; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }

.report { margin-top: auto; }
.kpi { display: grid; gap: 6px; }
.kpi-l { font: 500 11px/16px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-2); }
.kpi b { font-family: var(--font-serif); font-size: clamp(3rem, 2.4rem + 1.6vw, 4rem); font-weight: 400; line-height: 0.95; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 80px; margin-top: 18px; }
.bars i { flex: 1; height: calc(var(--h) * 1%); border-radius: 5px 5px 2px 2px; background: rgb(255 255 255 / 0.16); transform-origin: bottom; }
.bars i.on { background: var(--beacon); box-shadow: 0 0 18px rgb(255 180 94 / 0.5); }
.js .bars i { transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--n, 0) * 40ms); }
.js .is-in .bars i { transform: none; }

.client { margin-top: auto; padding: 16px; border-radius: var(--r-card); background: var(--ivory); box-shadow: 0 1px 2px rgb(15 46 38 / 0.05), 0 16px 30px -18px rgb(15 46 38 / 0.35); }
.client-top { display: flex; align-items: center; gap: 12px; }
.client-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--on-night); font-family: var(--font-serif); font-size: 19px; }
.client-id { display: grid; line-height: 1.3; }
.client-id b { font-size: 15px; }
.client-id small { font: 500 12px/1.4 var(--font-mono); color: var(--muted); }
.client-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.client-stats span { display: grid; line-height: 1.3; }
.client-stats b { font-family: var(--font-serif); font-size: 30px; font-weight: 400; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.client-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--paper); font-size: 12.5px; color: var(--ink-2); }
.client-note .i { width: 14px; height: 14px; color: var(--forest); }

.sick, .team { display: grid; gap: 8px; margin-top: auto; }
.sick-head { display: flex; align-items: center; gap: 10px; padding: 0 2px 6px; }
.sick-head span { display: grid; line-height: 1.3; }
.sick-head b { font-size: 14px; }
.sick-head small { font-size: 12px; color: var(--muted); }
.sick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 9px 13px;
  border-radius: var(--r-sm);
  border-left: 3px solid var(--t-acc);
  background-color: var(--t-bg);
  background-image: repeating-linear-gradient(135deg, rgb(30 25 15 / 0.04) 0 6px, transparent 6px 13px);
  color: var(--t-fg);
  font-size: 12.5px;
}
.sick-row em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--beacon-ink); background: var(--beacon-tint); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.team-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ivory); font-size: 13.5px; }
.team-row .av { width: 24px; height: 24px; font-size: 11px; box-shadow: none; }
.chips { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.chips span { padding: 2px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); }

/* ───────────── How it works: three numbered fields ───────────── */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: 420px;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-field);
  border: 1px solid transparent;
}
.step-paper { background: var(--tray); }
.step-n { font-family: var(--font-serif); font-size: clamp(5.5rem, 4rem + 4vw, 8.5rem); line-height: 0.8; color: var(--forest); }
.step h3 { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.45rem + 0.8vw, 2.25rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
.step-visual { display: grid; gap: 6px; align-content: center; }
.step-deep { color: var(--on-night); background: radial-gradient(70% 60% at 100% 0%, rgb(58 163 133 / 0.3), transparent 70%), linear-gradient(165deg, var(--forest), var(--forest-deep) 70%); }
.step-deep .step-n { color: var(--beacon); }
.step-sage { background: var(--field-sage); }
.sv-menu { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 9px 14px; border-radius: 12px; background: var(--ivory); font-size: 14px; }
.sv-menu small { font-size: 12px; color: var(--muted); }
.sv-menu b { font-family: var(--font-serif); font-size: 22px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.sv-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--ivory); color: var(--ink); box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.5); }
.sv-line > span:nth-child(2) { display: grid; line-height: 1.35; }
.sv-line b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.sv-line small { font: 500 12px/1.4 var(--font-mono); color: var(--muted); }
.sv-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--forest); }
.sv-switch { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--forest); }
.sv-switch::after { content: ''; position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.25); }
.sv-split { display: flex; gap: 3px; height: 10px; margin-bottom: 8px; }
.sv-split i { flex: var(--w); border-radius: 999px; }
.sv-sources { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; border-radius: 10px; background: rgb(255 255 255 / 0.7); font-size: 14px; }
.sv-sources span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.sv-sources b { font-family: var(--font-serif); font-size: 22px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.sv-dot { width: 9px; height: 9px; border-radius: 3px; }
.s-phone { background: var(--forest); }
.s-online { background: var(--beacon); }
.s-desk { background: #b9b2a5; }

/* ───────────── Who it's for ───────────── */

.industries .section-head { margin-bottom: 48px; }
.trades { display: grid; gap: 28px; justify-items: center; }
.trades-live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 980px; }
.trades-live li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 300px;
  padding: 28px 30px;
  border-radius: var(--r-field);
  border: 1px solid transparent;
}
.tr-name { font-family: var(--font-serif); font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); line-height: 0.95; letter-spacing: -0.015em; }
.tr-state { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/16px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); }
.tr-art { position: absolute; right: clamp(16px, 2.4vw, 30px); top: clamp(16px, 2.4vw, 28px); z-index: -1; width: min(200px, 46%); height: auto; }
.trade-nail .live-dot { background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 0.4), 0 0 12px rgb(255 255 255 / 0.8); }
.trade-nail { background: var(--field-amber); }
.trade-nail .tr-sun { fill: rgb(255 255 255 / 0.35); }
.trade-nail .tr-p1 { fill: var(--forest); }
.trade-nail .tr-p2 { fill: #fff; }
.trade-nail .tr-p3 { fill: var(--forest-deep); }
.trade-nail .tr-state { color: var(--forest-ink); }
.trade-spa { background: var(--field-sage); }
.trade-spa .tr-sun { fill: var(--beacon); }
.trade-spa .tr-s1 { fill: var(--forest-deep); }
.trade-spa .tr-s2 { fill: var(--forest); }
.trade-spa .tr-s3 { fill: var(--forest-glow); }
.trades-next { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trades-next li { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px dashed var(--line-strong); font-size: 16px; font-weight: 500; color: var(--muted); }
.ind-note { font-size: 15px; color: var(--muted); text-align: center; }
.ind-note a { color: var(--forest); font-weight: 500; text-decoration: underline; text-decoration-color: var(--mint-200); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.ind-note a:hover { text-decoration-color: currentColor; }

/* ───────────── FAQ ───────────── */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { padding: 4px 26px; border-radius: var(--r-field); background: var(--tray); border: 1px solid transparent; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 10px no-repeat,
    var(--ivory);
  color: var(--ink-2);
  transition: transform .4s var(--ease-out), background-color .2s;
}
.faq summary:hover::after { background-color: #fff; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--mint); color: var(--forest-ink); }
.faq details p { padding: 0 52px 22px 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ───────────── Contact: the deep-green slab ───────────── */

.cta-section { padding-block: clamp(8px, 2vw, 24px) 0; }
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100% - 2 * var(--edge), 1360px);
  margin-inline: auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(72px, 9vw, 120px);
  border-radius: clamp(24px, 3vw, 36px);
  text-align: center;
  color: var(--on-night);
  background: linear-gradient(165deg, #164f41 0%, var(--forest-deep) 55%, var(--night) 100%);
}
.cta-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-sky::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 59px, rgb(255 255 255 / 0.05) 59px 60px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.cta-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(36% 40% at 50% 46%, rgb(255 180 94 / 0.2), rgb(255 180 94 / 0) 75%),
    radial-gradient(50% 50% at 0% 100%, rgb(58 163 133 / 0.2), rgb(58 163 133 / 0) 70%);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-mark { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 40px; }
.cta-mark svg { position: relative; width: 68px; height: 68px; border-radius: 19px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14), 0 0 70px 18px rgb(255 180 94 / 0.32), 0 18px 34px -12px rgb(0 0 0 / 0.6); }
.cta-mark .ring { position: absolute; inset: -7px; border-radius: 25px; border: 1.5px solid rgb(255 180 94 / 0.55); animation: beacon 3.2s var(--ease-out) infinite; }
.cta-mark .ring:nth-child(2) { animation-delay: 1.6s; }
@keyframes beacon { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }
.cta-title { max-width: 12ch; font-size: clamp(3.25rem, 1.6rem + 6vw, 7rem); }
.cta-title em { color: var(--beacon); }
.cta .lead { max-width: 30rem; margin-top: 24px; color: var(--on-night-2); }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 248px;
  padding: 12px 22px 12px 12px;
  border-radius: 18px;
  text-align: left;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease-out);
}
a.contact-item:hover { border-color: rgb(255 255 255 / 0.24); background: rgb(255 255 255 / 0.1); transform: translateY(-1px); }
.contact-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 180 94 / 0.14); color: var(--beacon); }
.contact-item span:last-child { display: grid; line-height: 1.35; }
.contact-item small { font: 500 11px/16px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-3); }
.contact-item b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--on-night); }
.contact-item b[data-placeholder] { color: var(--on-night-2); font-weight: 500; }

.footer { padding: clamp(56px, 7vw, 88px) 0 32px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .brand-name { color: var(--ink); }
.footer-brand p { margin-top: 16px; max-width: 28ch; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.footer-col { display: grid; align-content: start; gap: 12px; font-size: 14.5px; }
.footer-col h3 { margin-bottom: 4px; font: 500 11px/16px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer-col a { width: fit-content; transition: color .2s; }
.footer-col a:hover { color: var(--forest); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-top { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.footer-top:hover { color: var(--ink); }

/* ───────────── Reveal ───────────── */

/* The hero needs no script: a short CSS entrance, staggered by position. */
.hero-in { animation: hero-in .9s var(--ease-out) both; }
.hero-head .hero-in:nth-child(2) { animation-delay: .06s; }
.hero-head .hero-in:nth-child(3) { animation-delay: .14s; }
.hero-head .hero-in:nth-child(4) { animation-delay: .2s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .verb[data-reveal].is-in { transition: opacity .7s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out); transition-delay: var(--delay, 0s), 0s, 0s; }
.js .verb[data-reveal].is-in:hover { transform: translateY(-4px); }
.js:not(.ready) [data-reveal], .js:not(.ready) .bars i { animation: failsafe .6s 2.5s both; }
@keyframes failsafe { to { opacity: 1; transform: none; } }
.js:not(.ready) .stage-wrap { opacity: 0; animation: failsafe .6s 2.5s both; }
.js.ready .stage-wrap { animation: hero-in .9s var(--ease-out) .1s both; }
.no-js .nav-toggle, .no-js .motion-toggle { display: none; }

/* ───────────── Responsive ───────────── */

@media (max-width: 1140px) {
  .stage { grid-template-columns: 344px minmax(0, 1fr); }
  .phone { --z: 0.62; }
  .phone-done { margin-top: 56px; }
}

@media (max-width: 1080px) {
  .tile-cal { grid-column: span 12; grid-row: auto; }
  .tile-checkout, .tile-reports { grid-column: span 6; }
  .tile-customers { grid-column: span 12; }
  .tile-small { grid-column: span 6; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .book-copy { width: 100%; max-width: 40rem; margin-inline: auto; }
  .book-visual { justify-content: center; }
  .phone { --z: 0.7; }
  .verb { min-height: 400px; }
}

@media (min-width: 641px) and (max-width: 1080px) {
  .tile-customers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); column-gap: 40px; align-items: center; }
  .tile-customers .client { margin: 0; }
}

@media (max-width: 960px) {
  .nav-links, .nav-signin { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { gap: 8px; }
  .stage { --hour: 80px; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 24px; }
  .link { display: none; }
  .call, .cal { grid-area: auto; }
  .call { height: 470px; }
  .verbs-grid { grid-template-columns: minmax(0, 1fr); }
  .verb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); grid-template-rows: 1fr auto auto; column-gap: 24px; min-height: 280px; }
  .verb-art { grid-column: 2; grid-row: 1 / -1; align-self: center; margin: 0; }
  .verb-word { grid-column: 1; grid-row: 2; margin-top: 0; }
  .verb p { grid-column: 1; grid-row: 3; }
  .lang { grid-template-columns: minmax(0, 1fr); }
  .lang-tabs { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .lang-big { min-height: 170px; }
  .abilities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .night-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .night-scene { min-height: 0; padding-top: 220px; }
  .moon { top: 0; right: -4%; width: 300px; translate: 0 0; }
  .faq-grid .section-head { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 28px; min-height: 0; }
  .step-n { grid-row: 1 / -1; }
  .step-visual { grid-column: 2; }
  .step h3 { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-actions .btn { display: none; }
  .no-js .nav-actions .btn { display: inline-flex; }
  .nav-bar { height: 56px; padding: 0 8px 0 14px; }
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .stage { --hour: 68px; --rail: 40px; padding: 8px; gap: 8px; border-radius: 22px; }
  .call { height: 440px; padding: 16px 14px; }
  .call-head { gap: 10px; }
  .call-avatar { width: 38px; height: 38px; margin: 4px; }
  .call-avatar .i { width: 16px; height: 16px; }
  .call-number { font-size: 14.5px; }
  .call-badge { padding: 0 9px; gap: 6px; }
  .call-label { font-size: 11.5px; }
  .ln { max-width: 94%; font-size: 13.5px; }
  .ln-booked { max-width: none; }
  .cal-top { height: 52px; padding: 0 12px 0 14px; }
  .cal-title b { font-size: 21px; }
  .cal-title span { font-size: 12px; }
  .seg { display: none; }
  .cal-staff, .cal-body { grid-template-columns: var(--rail) repeat(2, minmax(0, 1fr)); }
  .cal-staff > :nth-child(4), .cal-body > .lane:nth-child(4) { display: none; }
  .cal-staff { height: 48px; }
  .st { gap: 8px; padding: 0 8px; }
  .st .av { width: 22px; height: 22px; font-size: 11px; }
  .cal-hours { font-size: 10px; }
  .cal-hours span { right: 6px; }
  .ev .via { height: 17px; padding: 0 6px 0 4px; font-size: 10px; gap: 2px; }
  .ev { padding: 5px 7px 5px 12px; font-size: 11.5px; }
  .ev b { font-size: 12px; }
  .ev .tags { margin-top: 3px; }
  .now-t { right: calc(100% + 5px); padding: 0 4px; font-size: 10px; }
  .cal-toast { font-size: 11.5px; }
  .stage-foot { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 4px; }
  .verbs-grid { gap: 12px; }
  .verb { grid-template-columns: minmax(0, 1fr) 128px; column-gap: 12px; min-height: 230px; }
  .verb-word { font-size: 3rem; }
  .verb p { font-size: 15px; }
  .verb::after { width: 34px; height: 34px; }
  .lang-tabs { gap: 10px; }
  .lang-big { min-height: 132px; padding: 18px 18px; gap: 8px; }
  .lb-word { font-size: 2.75rem; }
  .lb-sub { font-size: 10.5px; letter-spacing: 0.06em; }
  .lang-big::before { width: 110px; height: 110px; right: -36px; top: -36px; }
  .lang-card { padding: 18px 16px; }
  .lang-lines .ln { max-width: 94%; font-size: 14px; }
  .abilities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .abilities li:last-child { grid-column: 1 / -1; }
  .ab-ic { width: 68px; height: 68px; }
  .night { padding: 56px 20px 44px; }
  .night-scene { padding-top: 170px; }
  .moon { width: 220px; right: -12%; }
  .night-calls li { border-radius: 20px; padding: 12px 14px; }
  .night-calls li:nth-child(n) { margin-left: 0; }
  .night-calls q { flex-basis: 100%; order: 2; font-size: 19px; }
  .night-calls .tag { order: 3; }
  .night-beacon { left: auto; right: 14%; }
  .book-steps::before { top: 36px; }
  .bs-n { width: 72px; height: 72px; font-size: 36px; }
  .figs li { min-height: 140px; padding: 18px; }
  .figs b { font-size: 72px; }
  .book-visual { padding-block: 0; }
  .book-visual::before { width: 120%; }
  .book-visual::after { width: 110px; height: 110px; right: -8%; }
  .phone { --z: 0.8; }
  .phone-done { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tile-cal, .tile-checkout, .tile-reports, .tile-customers, .tile-small { grid-column: auto; }
  .mini { --hour: 70px; --rail: 44px; }
  .mini .tg-t { display: none; }
  .mini .tg { padding: 0 6px; }
  .mini-head, .mini-body { grid-template-columns: var(--rail) repeat(3, minmax(0, 1fr)); }
  .mini-head > :nth-child(5), .mini-body > .lane:nth-child(5) { display: none; }
  .mini .cal-hours span { right: 6px; }
  .step { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 20px; }
  .step-n, .step-visual, .step h3 { grid-column: auto; grid-row: auto; }
  .trades-live { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .trades-live li { min-height: 220px; padding: 22px; }
  .tr-art { width: 40%; }
  .step-n { font-size: 5rem; }
  .trades-next li { height: 40px; padding: 0 16px; font-size: 15px; }
  .faq { padding: 2px 18px; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .faq details p { padding-right: 0; }
  .contact { width: 100%; }
  .contact-item { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .night-beacon::before { animation: none; rotate: 32deg; }
  .link-line { animation: none; }
  .motion-toggle { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ───────────── 404 ───────────── */

.lost {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 96px var(--gutter) 64px;
  text-align: center;
}
.lost .hero-sky { inset: 0; }
.lost-brand { position: absolute; top: 24px; left: 50%; translate: -50% 0; }
.lost .display { max-width: 12ch; font-size: clamp(3rem, 1.6rem + 5vw, 5.75rem); }
.lost .lead { max-width: 32rem; }
.lost .btn { margin-top: 10px; }
.lost-slot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; width: min(100%, 320px); margin-bottom: 14px; padding: 10px 12px 10px 16px; border-radius: var(--r-card); background: var(--ivory); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.lost-time { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.lost-ghost { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--r-sm); border: 1.5px dashed var(--mint-200); background: var(--mint-wash); color: var(--forest-ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.lost-ghost .i { width: 14px; height: 14px; stroke-width: 2; }

/* ───────────── Legal pages ───────────── */

.legal-bar .nav-bar { padding-right: 18px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.legal-back:hover { color: var(--ink); }
.legal-back .i { width: 15px; height: 15px; rotate: 180deg; }
.legal { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 104px); }
.legal .hero-sky { inset: -72px 0 auto; height: 640px; }
.legal .hero-sky::before { display: none; }
.legal-body { max-width: 44rem; }
.legal-body .h2 { margin-top: 16px; }
.legal-body .lead { margin-top: 28px; }
.legal-body h2:not(.h2) { margin-top: 44px; font-family: var(--font-serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.legal-body p:not(.kicker, .lead, .legal-draft, .legal-meta), .legal-body li { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-body ul { margin-top: 4px; padding-left: 1.2em; list-style: disc; }
.legal-body li { margin-top: 8px; }
.legal-body li::marker { color: var(--faint); }
.legal-meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.legal-draft { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 6px 12px; border-radius: var(--r-sm); background: var(--beacon-tint); color: var(--beacon-ink); font-size: 14px; font-weight: 500; }
.legal-todo { padding: 1px 6px; border-radius: 6px; background: var(--beacon-tint); color: var(--beacon-ink); }
.legal-foot { padding-top: 0; }
.legal-foot .footer-base { margin-top: 0; }
