/* generated by _src/build.sh from the anatomy kit's iso.css + _src/page.css; edit page.css, not this file */
.iso{
  --anatomy-page:#0b0b0b;--anatomy-card:#131313;--anatomy-text:#a3a3a3;--anatomy-strong:#e6e6e6;--anatomy-muted:#6e6e6e;
  --anatomy-paper:#131313;--anatomy-face:#1b1b1b;--anatomy-top:#1c1c1c;
  --anatomy-shade-0:#0f0f0f;--anatomy-shade-1:#121212;--anatomy-shade-2:#151515;--anatomy-shade-3:#181818;
  --anatomy-lit-top:#262626;--anatomy-lit-shade:#1d1d1d;
  --anatomy-hi:#d4d4d4;--anatomy-mid:#6a6a6a;--anatomy-lo:#3e3e3e;--anatomy-faint:#2a2a2a;--anatomy-lit:#ffffff;
  --anatomy-halo:#050505;--anatomy-halo-opacity:.9;--anatomy-dot:#e6e6e6;
  --anatomy-red:#ff6b6b;--anatomy-green:#6be0a0;--anatomy-blue:#6b9bff;
  --anatomy-weight:.6px;--anatomy-ease:cubic-bezier(.32,.72,0,1);
  --anatomy-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --anatomy-lift:inset 0 1px 0 0 #ffffff0a,inset 0 0 0 1px #ffffff06,0 0 0 1px #00000026,0 1px 1px -.5px #00000014,0 3px 3px -1.5px #00000014,0 6px 6px -3px #00000014,0 12px 12px -6px #00000014;
}
.iso[data-theme="light"]{
  --anatomy-page:#f2f2ef;--anatomy-card:#fbfbfa;--anatomy-text:#57575a;--anatomy-strong:#18181a;--anatomy-muted:#8c8c90;
  --anatomy-paper:#fbfbfa;--anatomy-face:#ffffff;--anatomy-top:#ffffff;
  --anatomy-shade-0:#dcdcd9;--anatomy-shade-1:#e5e5e2;--anatomy-shade-2:#ededea;--anatomy-shade-3:#f4f4f1;
  --anatomy-lit-top:#ffffff;--anatomy-lit-shade:#eeeeeb;
  --anatomy-hi:#26262a;--anatomy-mid:#8a8a8f;--anatomy-lo:#b4b4b8;--anatomy-faint:#d4d4d6;--anatomy-lit:#000000;
  --anatomy-halo:#8a8a80;--anatomy-halo-opacity:.32;--anatomy-dot:#3a3a3e;
  --anatomy-red:#e5484d;--anatomy-green:#30a46c;--anatomy-blue:#3e63dd;
  --anatomy-lift:inset 0 1px 0 0 #ffffff,0 0 0 1px #0000000f,0 1px 1px -.5px #0000000a,0 3px 3px -1.5px #0000000a,0 6px 6px -3px #0000000a,0 12px 12px -6px #0000000a;
}
.iso-svg{display:block;width:100%;height:auto;overflow:visible}
.iso-svg path,.iso-svg circle{vector-effect:non-scaling-stroke}
.iso-fill{fill:var(--anatomy-paper);stroke:none}
.iso-solid[data-lit]>.iso-fill{fill:var(--anatomy-face)}
.iso-shade,.iso-top{stroke:none}
.iso-shade[data-shade="0"]{fill:var(--anatomy-shade-0)}
.iso-shade[data-shade="1"]{fill:var(--anatomy-shade-1)}
.iso-shade[data-shade="2"]{fill:var(--anatomy-shade-2)}
.iso-shade[data-shade="3"]{fill:var(--anatomy-shade-3)}
.iso-top{fill:var(--anatomy-top)}
.iso-solid[data-lit]>.iso-top{fill:var(--anatomy-lit-top)}
.iso-solid[data-lit]>.iso-shade{fill:var(--anatomy-lit-shade)}
.iso-solid[data-seamless]>.iso-shade,.iso-solid[data-seamless]>.iso-top{stroke-width:.4;stroke-linejoin:round}
.iso-solid[data-seamless]>.iso-shade[data-shade="0"]{stroke:var(--anatomy-shade-0)}
.iso-solid[data-seamless]>.iso-shade[data-shade="1"]{stroke:var(--anatomy-shade-1)}
.iso-solid[data-seamless]>.iso-shade[data-shade="2"]{stroke:var(--anatomy-shade-2)}
.iso-solid[data-seamless]>.iso-shade[data-shade="3"]{stroke:var(--anatomy-shade-3)}
.iso-solid[data-seamless]>.iso-top{stroke:var(--anatomy-top)}
.iso-solid[data-seamless][data-lit]>.iso-top{stroke:var(--anatomy-lit-top)}
.iso-solid[data-seamless][data-lit]>.iso-shade{stroke:var(--anatomy-lit-shade)}
.iso-solid[data-lit]>.iso-edge{stroke:var(--anatomy-lit)}
.iso-halo{fill:var(--anatomy-halo);stroke:none;filter:blur(9px);opacity:var(--anatomy-halo-opacity);transform:translateY(3px)}
.iso-line{fill:none;stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight);stroke-linecap:round;stroke-linejoin:round}
.iso-line[data-tone="hi"]{stroke:var(--anatomy-hi)}
.iso-line[data-tone="mid"]{stroke:var(--anatomy-mid)}
.iso-line[data-tone="lo"]{stroke:var(--anatomy-lo)}
.iso-line[data-tone="faint"]{stroke:var(--anatomy-faint)}
.iso-line[data-tone="lit"]{stroke:var(--anatomy-lit)}
.iso-line[data-tone="red"]{stroke:var(--anatomy-red)}
.iso-line[data-tone="green"]{stroke:var(--anatomy-green)}
.iso-line[data-tone="blue"]{stroke:var(--anatomy-blue)}
.iso-line[data-dotted]{stroke-dasharray:.01 3.5;stroke-width:1}
.iso-line[data-dashed]{stroke-dasharray:3 3}
.iso-line[data-flow]{stroke-dasharray:2 6}
.iso-wire-end{fill:var(--anatomy-paper);stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight)}
.iso-wire[data-tone="hi"] .iso-wire-end{stroke:var(--anatomy-hi)}
.iso-wire[data-tone="mid"] .iso-wire-end{stroke:var(--anatomy-mid)}
.iso-wire[data-tone="faint"] .iso-wire-end{stroke:var(--anatomy-faint)}
.iso-wire[data-tone="lit"] .iso-wire-end{stroke:var(--anatomy-lit)}
.iso-dots circle{fill:var(--anatomy-dot);stroke:none;opacity:.32}
.iso-dots[data-tone="hi"] circle{opacity:.85}
.iso-dots[data-tone="mid"] circle{opacity:.45}
.iso-dots[data-tone="lo"] circle{opacity:.22}
.iso-dots[data-tone="faint"] circle{opacity:.12}
.iso-face-text{fill:var(--anatomy-mid);font-family:var(--anatomy-mono);letter-spacing:.04em}
.iso-face-text[data-tone="hi"]{fill:var(--anatomy-hi)}
.iso-face-text[data-tone="lo"]{fill:var(--anatomy-lo)}
.iso-face-text[data-tone="faint"]{fill:var(--anatomy-faint)}
.tb-body{fill:var(--anatomy-shade-2);stroke:none}
.tb-shine{fill:var(--anatomy-top);stroke:none}
.tb-shade{fill:var(--anatomy-shade-0);stroke:none}
.tb-ring{fill:none;stroke:var(--anatomy-lo);stroke-width:.45;stroke-linecap:butt;stroke-linejoin:round}
.tb-ring[data-tone="mid"]{stroke:var(--anatomy-mid)}
.tb-ring[data-tone="faint"]{stroke:var(--anatomy-faint)}
.tb-ring[data-tone="hi"]{stroke:var(--anatomy-hi)}
@keyframes iso-flow{to{stroke-dashoffset:-32}}
@keyframes iso-pulse{0%,100%{opacity:.18}12%{opacity:1}40%{opacity:.18}}
.iso-line[data-flow]{animation:iso-flow 1600ms linear infinite}
.iso-dots circle[data-pulse]{animation:iso-pulse 1600ms steps(1,end) infinite;animation-delay:var(--pulse-at,0ms)}
.iso-figure{margin:32px 0 36px}
.iso-plate{position:relative;padding:52px 24px;border-radius:0;background:var(--anatomy-card);box-shadow:0 0 0 1px var(--anatomy-mid);--anatomy-paper:var(--anatomy-card)}
.iso-plate-corners{position:absolute;inset:18px 20px;pointer-events:none}
.iso-plate-corner{position:absolute;color:var(--anatomy-muted);font-family:var(--anatomy-mono);font-size:10.5px;line-height:1;letter-spacing:.04em;white-space:nowrap}
.iso-plate-corner[data-corner="fig"]{top:0;left:0;color:var(--anatomy-text)}
.iso-plate-corner[data-corner="title"]{top:0;right:0;text-transform:uppercase;letter-spacing:.1em}
.iso-plate-corner[data-corner="hint"]{bottom:0;left:0;text-transform:uppercase;letter-spacing:.1em}
.iso-plate-corner[data-corner="readout"]{right:0;bottom:0;color:var(--anatomy-text);font-variant-numeric:tabular-nums}
.iso-plate .iso-svg{margin:0 auto}
.iso-legend{display:grid;gap:8px;margin-top:12px;color:var(--anatomy-muted);font-size:13px;line-height:1.55}
.iso-keys{display:flex;flex-wrap:wrap;gap:6px 18px}
.iso-key{display:inline-flex;align-items:center;gap:7px}
.iso-swatch{width:16px;height:10px;flex:none;overflow:visible}
.iso-swatch path{fill:none;stroke:var(--anatomy-hi);stroke-width:1;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.iso-swatch[data-mark="raised"] path,.iso-swatch[data-mark="flat"] path{stroke:var(--anatomy-mid)}
.iso-swatch[data-mark="lit"] path{stroke:var(--anatomy-lit)}
.iso-swatch[data-mark="dim"] path{stroke:var(--anatomy-lo)}
.iso-swatch[data-mark="dotted"] path{stroke-dasharray:.01 3;stroke-width:1.4}
.iso-swatch[data-mark="dashed"] path{stroke-dasharray:3 2.5}
.iso-swatch[data-mark="red"] path{stroke:var(--anatomy-red)}
.iso-swatch[data-mark="green"] path{stroke:var(--anatomy-green)}
.iso-swatch[data-mark="blue"] path{stroke:var(--anatomy-blue)}
.iso-swatch-crease{stroke:var(--anatomy-lo)!important}
@media (max-width:560px){.iso-plate{padding:48px 12px 70px}.iso-plate-corner[data-corner="hint"]{bottom:18px}}
@media (prefers-reduced-motion:reduce){.iso-line[data-flow],.iso-dots circle[data-pulse]{animation:none}}

/* ================================================================ review4us round 1
   Byword's map world (Paper, Ink, one Marker; Schibsted Grotesk; the anatomy hand) for the front page,
   and the same ground under each business's own pages, where the business's logo and colour lead.
   The kit's styles (kit/iso.css) sit above this block; build.sh joins the two into shared.css. */

:root {
  --paper: #F4EFE4;
  --paper-lift: #FBF8F1;
  --white: #FFFFFF;
  --ink: #1B3A40;
  --ink-soft: #516769;      /* 5.2:1 on paper */
  --ink-45: #929E9A;
  --ink-30: #B3B9B3;
  --ink-18: #CDCEC6;
  --ink-10: #DDDCD2;
  --ink-hover: #2E4C52;
  --marker: #E4532A;        /* Byword's one lit accent: graphics and type >= 24px */
  --marker-deep: #C4441F;
  --marker-light: #EC7552;
  --room: #2D6B66;          /* Harbor: the one whole room (front page sign-up) */
  --on-room: #F4EFE4;
  --on-ink-soft: #BEC2BB;
  --plate-paper: #FAF7F0; --plate-top: #FFFCF6;
  --plate-shade-0: #DED9CF; --plate-shade-1: #E5E1D6; --plate-shade-2: #EDE8DD;
  --plate-halo: #7F7A6B;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .2 0 0 0 0 .22 0 0 0 .22 -.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* the business, set by shared.js from config.js (these are Magic Brush's, so the page reads before script) */
  --brand: #1B3A40;   /* neutral Ink until a business's colour is applied (was MBP blue: it flashed on live pages, 10/31) */
  --on-brand: #FFFFFF;
  --brand-ink: #1B3A40;     /* the brand colour dark enough for text on white/paper (>= 4.5:1) */
  --brand-edge: transparent;/* a rim on brand fills that are too pale to hold their edge on paper */
  --brand-deep: #12282C;

  /* motion: the curves; durations live in MOTION at the top of shared.js */
  --ease-out: cubic-bezier(.16, 1, .3, 1);     /* expo.out */
  --ease-io: cubic-bezier(.87, 0, .13, 1);     /* expo.inOut */
  --press: 140ms;

  /* real room at the top: the notch / status bar plus generous air (Cole: the MBP pages crowd the top) */
  --top: calc(env(safe-area-inset-top, 0px) + 44px);
  --bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  --side: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

/* the drawings follow the palette (as on bywordstudio.com) */
html .iso[data-theme="light"] {
  --anatomy-page: var(--paper); --anatomy-card: var(--paper); --anatomy-text: var(--ink-soft); --anatomy-strong: var(--ink); --anatomy-muted: var(--ink-soft);
  --anatomy-paper: var(--plate-paper); --anatomy-face: var(--plate-paper); --anatomy-top: var(--plate-top);
  --anatomy-shade-0: var(--plate-shade-0); --anatomy-shade-1: var(--plate-shade-1); --anatomy-shade-2: var(--plate-shade-2); --anatomy-shade-3: var(--paper);
  --anatomy-lit-top: var(--plate-top); --anatomy-lit-shade: var(--plate-shade-2);
  --anatomy-hi: var(--ink); --anatomy-mid: var(--ink-45); --anatomy-lo: var(--ink-30); --anatomy-faint: var(--ink-18); --anatomy-lit: var(--ink);
  --anatomy-halo: var(--plate-halo); --anatomy-halo-opacity: .28; --anatomy-dot: var(--ink);
}
.r2-glass { fill: var(--anatomy-shade-2); stroke: none; }
.r2-recess { fill: var(--anatomy-shade-0); stroke: none; }
.spot { fill: var(--anatomy-top); stroke: var(--ink-45); stroke-width: var(--anatomy-weight); }
.spot.on { fill: var(--marker); stroke: var(--marker-deep); }
.board-svg .spot.you { fill: var(--brand); stroke: var(--brand-deep); }
.hero-svg .pt-sign { --anatomy-paper: var(--marker); --anatomy-face: var(--marker-light); --anatomy-top: var(--marker-light);
  --anatomy-shade-0: var(--marker-deep); --anatomy-shade-1: #D24B24; --anatomy-shade-2: #DD5027; --anatomy-shade-3: var(--marker);
  --anatomy-lit-top: var(--marker-light); --anatomy-lit-shade: #DD5027; --anatomy-faint: #B8401C; }
.ph-glass { fill: #FFFFFF; stroke: none; }
.ph-qrbg { fill: #FFFFFF; }
.ph-qr { fill: var(--ink); }
.ph-logo { fill: var(--marker); }
.ph-btn { fill: var(--ink); }
.halo { position: absolute; inset: 0; pointer-events: none; }
.halo svg { width: 100%; height: 100%; display: block; overflow: visible; filter: blur(9px); opacity: .28; transform: translateY(3px); }
.halo path { fill: var(--plate-halo); }
.fig { position: relative; }

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--paper) var(--grain);
  color: var(--ink); font-family: var(--font); font-optical-sizing: auto;
  font-size: 19px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--marker); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ================================================================ the business's pages (app / review / feedback) */
.shell {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px; margin-inline: auto;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: var(--top) var(--side) var(--bottom);
}
.biz { display: flex; justify-content: center; align-items: center; min-height: 44px; }
.biz img { display: block; height: calc(var(--logo-h, 36px) * var(--logo-scale, 1)); width: auto; max-width: 78vw; }
.biz[data-size="s"] { --logo-scale: .72; }
.biz[data-size="l"] { --logo-scale: 1.3; }
/* logo size by shape (set in shared.js from the image's own proportions) */
.biz[data-shape="square"] { --logo-h: 104px; }
.biz[data-shape="mid"] { --logo-h: 60px; }
.biz[data-shape="wide"] { --logo-h: 44px; }
.biz .light { display: none; }
.biz-text { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; color: var(--ink); }
.biz-text .mk { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: var(--on-brand); box-shadow: inset 0 0 0 1.5px var(--brand-edge);
  display: grid; place-items: center; font-size: 19px; font-weight: 800; flex: none; }

.card {
  position: relative; background: var(--white); border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(27, 58, 64, .06), 0 1px 1px rgba(27, 58, 64, .04), 0 14px 34px -18px rgba(27, 58, 64, .38);
}

/* ---------- the crew launcher ---------- */
.launch { margin-top: 26px; padding: 22px 22px 18px; text-align: center; cursor: zoom-in; touch-action: manipulation; }
.launch-h { font-size: 25px; font-weight: 650; line-height: 1.15; letter-spacing: -.01em; }
.qr { display: block; width: 100%; max-width: 300px; margin: 6px auto 0; aspect-ratio: 1; }
.qr svg { display: block; width: 100%; height: 100%; }
.launch-name { margin-top: 4px; font-size: 16px; color: var(--ink-soft); line-height: 1.3; }
.launch-zoom { position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-lift); color: var(--ink-soft); pointer-events: none; }
.launch-zoom svg { width: 16px; height: 16px; }
.send-h { margin-top: 26px; text-align: center; font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.send { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 760px) {
  [data-page="app"] .send-h { margin-top: auto; padding-top: 26px; }
  [data-page="app"] .r4u-foot { margin-top: 0; padding-top: 14px; }
}

/* ---------- buttons: big, pressable, readable in sun ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 18px; border-radius: 999px; border: 0;
  font-weight: 650; font-size: 19px; line-height: 1.1; letter-spacing: .003em; text-decoration: none; text-align: center;
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation;
  transition: transform var(--press) var(--ease-out), filter var(--press) var(--ease-out), background-color .2s var(--ease-out);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-brand { background: var(--brand); color: var(--on-brand); box-shadow: inset 0 0 0 1.5px var(--brand-edge); }
.btn-quiet { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-18); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn:active { transform: scale(.97); filter: brightness(.93); }
.btn-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--marker); flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-brand:hover { filter: brightness(.94); }
  .btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--ink-45); }
  .btn-ink:hover { background: var(--ink-hover); }
}

/* ---------- the customer pages ---------- */
.ask { margin-top: 26px; padding: 30px 24px 26px; text-align: center; }
.ask h1 { font-size: 31px; font-weight: 650; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.ask .lede { margin: 12px auto 0; max-width: 22em; font-size: 19px; color: var(--ink-soft); text-wrap: balance; }
.ask .acts { margin-top: 24px; display: grid; gap: 12px; }
.ask .acts .btn { min-height: 64px; }
.ask .acts .btn-quiet { font-size: 17px; padding: 0 14px; text-wrap: balance; }
.ask .note { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
.ask .back { display: inline-block; margin-top: 18px; padding: 10px 6px; font-size: 16px; color: var(--ink-soft); }
.stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; color: var(--brand-ink); }
.stars svg { width: 22px; height: 22px; }

.form { margin-top: 22px; text-align: left; display: grid; gap: 16px; }
.field label { display: block; font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: 16px; padding: 15px 16px; font-size: 18px; line-height: 1.35;
  background: var(--paper-lift); box-shadow: inset 0 0 0 1.5px var(--ink-18); color: var(--ink);
  transition: box-shadow .2s var(--ease-out); -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7D8E8E; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand-ink); background: var(--white); }
.form .btn { margin-top: 4px; min-height: 64px; width: 100%; }
.form .btn[aria-busy="true"] { filter: brightness(.9); }
.sent { display: none; padding: 8px 0 4px; }
.sent .check { width: 72px; height: 72px; margin: 4px auto 18px; display: block; color: var(--brand-ink); }
.sent .check circle { fill: none; stroke: currentColor; stroke-width: 2.5; opacity: .25; }
.sent .check path { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.is-sent .form, .is-sent .pre { display: none; }
.is-sent .sent { display: block; }
.form-err { margin-top: 10px; font-size: 15px; color: #B4361B; text-align: center; }
/* the crew page's one-time line after the owner confirms */
.welcome { position: relative; z-index: 2; display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 12px 12px 16px;
  border-radius: 16px; background: var(--white); color: var(--ink); font-size: 15px; line-height: 1.4; box-shadow: 0 0 0 1px var(--ink-18); }
.welcome p { flex: 1; }
.welcome button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- the small Byword line at the foot ---------- */
.r4u-foot { margin-top: auto; padding-top: 28px; text-align: center; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.r4u-foot a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 4px; }
.r4u-foot .bw { width: 14px; height: 14px; border-radius: 4px; background: var(--ink); display: inline-grid; place-items: center; flex: none; }
.r4u-foot .bw::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--marker); }
.r4u-foot b { font-weight: 600; color: var(--ink); }

/* ---------- the full-screen QR ---------- */
.qr-full { position: fixed; inset: 0; z-index: 50; display: none; background: var(--white); cursor: zoom-out;
  padding: var(--top) var(--side) var(--bottom); flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qr-full.open { display: flex; }
.qr-full .qf-h { font-size: 26px; font-weight: 650; line-height: 1.15; letter-spacing: -.01em; }
.qr-full .qf-code { width: min(88vw, 62vh, 560px); aspect-ratio: 1; margin: 22px 0 14px; }
.qr-full .qf-code svg { width: 100%; height: 100%; display: block; }
.qr-full .qf-name { font-size: 18px; color: var(--ink-soft); }
.qr-full .qf-close { position: absolute; left: 0; right: 0; bottom: var(--bottom); font-size: 15px; color: var(--ink-soft); }

/* ================================================================ the three grounds (data-bg on <html>) */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg > * { display: none; }

/* A · Board: Paper with grain, and a quiet map board rising from the bottom edge; the "you" dots take the business colour */
html[data-bg="a"] .bg-board { display: block; position: absolute; left: 50%; bottom: 0; width: max(520px, 132vw); max-width: 900px;
  transform: translate(-50%, 52%); }
@media (max-width: 760px) {   /* the crew page keeps a gap above its thumb-reach buttons: the board's back corner fills it */
  html[data-bg="a"] [data-page="app"] .bg-board { transform: translate(-50%, 6%); }
}
html[data-bg="a"] [data-page="app"] .send-h { align-self: center; width: fit-content; background: var(--paper); border-radius: 999px; padding: 4px 14px; }
html[data-bg="a"] .r4u-foot a { background: var(--paper); border-radius: 999px; padding: 7px 14px; box-shadow: 0 0 0 1px var(--ink-10); }
html[data-bg="a"] .bg-board svg { display: block; width: 100%; height: auto; }

/* B · Block: a flat block of the business colour meets Paper hard, and the white card straddles the seam */
html[data-bg="b"] .bg-block { display: block; position: absolute; left: 0; right: 0; top: 0; height: var(--seam, 46vh); background: var(--brand); }
html[data-bg="b"] .bg-block::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .55; mix-blend-mode: multiply; }
html[data-bg="b"][data-onbrand="light"] .biz.has-light .dark { display: none; }
html[data-bg="b"][data-onbrand="light"] .biz.has-light .light { display: block; }
html[data-bg="b"][data-onbrand="light"] .biz:not(.has-light) img.dark { background: var(--white); padding: 9px 14px; border-radius: 14px; height: calc(var(--logo-h, 36px) * var(--logo-scale, 1) + 18px); }
html[data-bg="b"][data-onbrand="light"] .biz[data-shape="square"]:not(.has-light) img.dark { padding: 10px; border-radius: 22px; height: calc(var(--logo-h) * var(--logo-scale, 1) + 20px); }
html[data-bg="b"] .biz-text { color: var(--on-brand); }
html[data-bg="b"] .biz-text .mk { background: var(--on-brand); color: var(--brand); box-shadow: none; }

/* C · Dots: a tone-on-tone dot grid; a small cluster lit in the business colour where the card sits */
html[data-bg="c"] .bg-dots { display: block; position: absolute; inset: 0; }
html[data-bg="c"] .bg-dots svg { width: 100%; height: 100%; display: block; }

/* ================================================================ the front page (review4us.app) */
.site { --gutter: 80px; --wrap: 1280px; }
.site .wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.site-nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding-top: env(safe-area-inset-top, 0px); }
.wm { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; }
.wm b { font-weight: 650; font-size: 22px; letter-spacing: -.015em; }
.wm b i { font-style: normal; color: var(--marker); }
.wm span { font-size: 14px; color: var(--ink-soft); }
.site .btn { display: inline-flex; min-height: 0; padding: 20px 28px 20px 24px; font-size: 18px; font-weight: 600; gap: .65em; }
.site .btn-sm { padding: 12px 18px 12px 15px; font-size: 15px; }
.site .btn-sm .btn-dot { width: 8px; height: 8px; }

.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: 40px 0 96px; }
.hero h1 { font-size: clamp(46px, 6.2vw, 86px); font-weight: 500; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 .dot { color: var(--marker); }
.hero .sub { margin-top: 26px; max-width: 27em; font-size: 21px; line-height: 1.45; }
.hero .cta { margin-top: 34px; }
.hero .foot { margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--ink-45); max-width: 26.5rem; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.hero .fig { width: 100%; max-width: 660px; justify-self: end; }
.hero .fig .iso-svg { display: block; width: 100%; height: auto; }

.how { padding: 40px 0 110px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.how h2, .make h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; }
.steps { margin-top: 36px; border-top: 1px solid var(--ink-30); }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--ink-30); }
.steps .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 500; margin-top: 4px; }
/* questions (Cole 10/31): heading left, answers right, on the paper ground between the teal room and the footer */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 104px 0 112px; align-items: start; }
.faq h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; }
.qa { border-top: 1px solid var(--ink-30); }
.qa > div { padding: 24px 0; border-bottom: 1px solid var(--ink-30); }
.qa dt { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.qa dd { margin: 10px 0 0; max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.steps p { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.22; letter-spacing: -.01em; max-width: 19em; }

/* a drawn phone, holding the live crew page */
.device { --dw: 300px; position: relative; width: calc(var(--dw) + 22px); margin-inline: auto; padding: 10px; border-radius: 46px;
  background: var(--plate-paper); box-shadow: inset 0 0 0 1px var(--ink), 0 30px 50px -30px rgba(27, 58, 64, .45); }
.device::before { content: ""; position: absolute; top: 18px; left: 50%; width: 74px; height: 20px; border-radius: 12px; background: var(--ink); transform: translateX(-50%); z-index: 2; }
.device .screen { position: relative; width: var(--dw); aspect-ratio: 390 / 844; border-radius: 36px; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink-30); }
.device iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; transform: scale(calc(300 / 390)); }
.device-cap { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-soft); }

.make { background: var(--room) var(--grain); color: var(--on-room); padding: 104px 0 112px; }
.make .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head device" "a device" "b device"; column-gap: 48px; align-items: start; }
.make-head { grid-area: head; } .make-device { grid-area: device; position: sticky; top: 24px; }
/* Cole 10/31: on a phone the preview sat above the form and scrolled away while filling it in. The form's two
   halves and the preview are now direct grid items (display: contents), so a phone shows fields → the preview
   as a reveal → email + button, and a computer keeps the preview beside one seamless card. */
.make-form, .make form { display: contents; }
.part { background: var(--paper); color: var(--ink); display: grid; gap: 18px; max-width: 560px; }
.part-a { grid-area: a; margin-top: 34px; border-radius: 28px 28px 0 0; padding: 28px 28px 9px; }
.part-b { grid-area: b; border-radius: 0 0 28px 28px; padding: 9px 28px 28px; align-self: start; }
.device-intro { display: none; }
.make form.is-done .part-a { display: none; }
.make form.is-done .part-b { margin-top: 34px; border-radius: 28px; }
.make .lede { margin-top: 18px; max-width: 24em; font-size: 20px; color: #DCE6E1; }
.make .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.make .field input[type="color"] { padding: 6px; height: 56px; cursor: pointer; }
.make .color-pair { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.make .color-pair input[type="color"] { width: 64px; }
.make .color-pair input[name="hex"] { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; text-transform: uppercase; }
.make .color-pair input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #C2410C; }
.make .find { position: relative; }
.make .find-list { list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; z-index: 5;
  background: var(--white); border-radius: 14px; box-shadow: 0 1px 0 rgba(27,58,64,.08), 0 18px 40px -12px rgba(27,58,64,.28); }
.make .find-list li { padding: 12px 14px; border-radius: 10px; cursor: pointer; display: grid; gap: 2px; }
.make .find-list li strong { font-weight: 600; font-size: 16px; }
.make .find-list li span { font-size: 14px; color: var(--ink-soft); }
.make .find-list li[aria-selected="true"], .make .find-list li:active { background: rgba(27,58,64,.07); }
@media (hover: hover) { .make .find-list li:hover { background: rgba(27,58,64,.05); } }
.make .found { margin-top: 8px; font-size: 14px; }
.make .found.ok { color: #1F6B4A; }
.make .found.ok span { font-weight: 700; margin-right: 4px; }
.make .found.err { color: var(--ink-soft); }
.make .consent { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); text-align: center; }
.make .logo-size .lbl { display: block; font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.make .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--paper-lift); box-shadow: inset 0 0 0 1.5px var(--ink-18); }
.make .seg label { position: relative; display: block; cursor: pointer; }
.make .seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.make .seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink-soft); transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.make .seg input:checked + span { background: var(--ink); color: var(--paper); }
.make .seg input:focus-visible + span { box-shadow: 0 0 0 2px var(--ink); }
/* live sign-up states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.make .form-msg { margin-top: 12px; font-size: 15px; text-align: center; color: var(--ink-soft); min-height: 1.2em; }
.make .form-msg:empty { display: none; }
.make .form-msg.err { color: #B4361B; }
.make .form-msg.ok { color: var(--ink); font-size: 18px; font-weight: 600; text-align: left; margin-top: 0; }
.make form.is-done .field, .make form.is-done .row2, .make form.is-done button { display: none; }
/* the sign-up is Byword's page, not the sample business's: focus rings in Ink, and every field in the page face */
.make .field input, .make .field textarea { font-family: inherit; }
.make .field input:focus, .make .field textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.make .field input[type="file"] { padding: 13px 14px; font-size: 15px; }
.make .help { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.make .mock { font-size: 13px; color: var(--ink-soft); text-align: center; }
.make .device { background: #E9EFEB; box-shadow: inset 0 0 0 1px #10292E, 0 30px 50px -30px rgba(0, 0, 0, .5); }
.make .device-cap { color: #C9D6D0; }

.bookend { background: var(--ink) var(--grain); color: var(--paper); padding: 72px 0 calc(64px + env(safe-area-inset-bottom, 0px)); }
.bookend .wrap { display: flex; justify-content: space-between; gap: 40px; align-items: end; flex-wrap: wrap; }
.bookend p { max-width: 30em; font-size: 20px; line-height: 1.45; }
.bookend p span { color: var(--on-ink-soft); }
.bookend a.bw-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; text-decoration: none; }
.bookend a.bw-link img { width: 34px; height: 34px; border-radius: 8px; }

@media (max-width: 900px) {
  .site { --gutter: 32px; }   /* Cole 10/31: phone margins were too tight at 20 */
  .site-nav { min-height: 64px; }
  .wm span { display: none; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 18px 0 72px; }
  .hero h1 { font-size: 41px; }   /* Cole 10/31: 36 "a bit too small", 46 too big */
  .hero .sub { font-size: 17px; margin-top: 16px; }
  .hero .cta { margin-top: 24px; }
  .hero .fig { justify-self: center; }
  .how { grid-template-columns: 1fr; padding: 24px 0 80px; }
  .faq { grid-template-columns: 1fr; gap: 26px; padding: 72px 0 80px; }
  .faq h2 { font-size: 32px; }
  .qa dt { font-size: 19px; }
  .qa dd { font-size: 16px; }
  .steps { margin-top: 26px; }
  .steps li { padding: 20px 0; gap: 14px; }
  .make { padding: 72px 0 80px; }
  .make .wrap { grid-template-columns: 1fr; grid-template-areas: "head" "a" "device" "b"; }
  .make-device { position: static; margin: 28px 0; }
  .device-intro { display: block; margin-bottom: 16px; text-align: center; font-size: 22px; font-weight: 500; letter-spacing: -.01em; color: var(--on-room); }
  .make .device-cap { display: none; }
  .part-a { margin-top: 26px; border-radius: 24px; padding: 22px 18px; }
  .part-b { border-radius: 24px; padding: 22px 18px; }
  .how .device { --dw: 260px; border-radius: 42px; }
  .how .device .screen { border-radius: 32px; }
  .how .device iframe { transform: scale(calc(260 / 390)); }
  .make .device { --dw: 280px; border-radius: 42px; }
  .make .device .screen { border-radius: 30px; }
  .make .device iframe { transform: scale(calc(280 / 390)); }
  .make .device::before { top: 16px; width: 60px; height: 16px; }
  .make .row2 { grid-template-columns: 1fr; }
  .bookend { padding: 56px 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
  /* Cole 10/31 on his phone: "the text is a little bit big … the button is a little bit big" (front page only) */
  .site .btn { padding: 15px 22px 15px 19px; font-size: 16px; }
  .site .btn-sm { padding: 10px 15px 10px 13px; font-size: 14px; }
  .how h2, .make h2 { font-size: 32px; }
  .steps p { font-size: 19px; }
  .make .lede { font-size: 17px; margin-top: 12px; }
  .make .field label { font-size: 15px; }
  .make .field input { font-size: 16px; padding: 13px 14px; }
  .make form .btn { width: 100%; justify-content: center; min-height: 0; }
  .bookend p, .bookend a.bw-link { font-size: 17px; }
}

/* ================================================================ motion (the moments; timings in shared.js MOTION) */
html.motion:not(.arrived) [data-arrive] { opacity: 0; }

/* ================================================================ review panel (mockup only; ?clean or ?embed removes it) */
.rv { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: 268px; padding: 14px; border-radius: 18px;
  background: rgba(251, 248, 241, .96); color: var(--ink); box-shadow: 0 0 0 1px var(--ink-18), 0 18px 40px -20px rgba(27, 58, 64, .45);
  font-size: 13px; line-height: 1.3; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.rv-title { font-weight: 650; font-size: 13px; }
.rv-hide { border: 0; background: none; padding: 4px 0; font-size: 12px; color: var(--ink-soft); cursor: pointer; text-decoration: underline; }
.rv-group + .rv-group { margin-top: 10px; }
.rv-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; }
.rv-opts { display: flex; flex-wrap: wrap; gap: 5px; }
.rv-opts a, .rv-opts button { border: 0; border-radius: 999px; padding: 6px 10px; font-size: 12.5px; line-height: 1.1; background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-18); text-decoration: none; cursor: pointer; }
.rv-opts [aria-current="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.rv-why { margin-top: 10px; color: var(--ink-soft); font-size: 12px; }
.rv-tog { position: fixed; z-index: 81; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(251, 248, 241, .92); box-shadow: 0 0 0 1px var(--ink-18); font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; display: none; }
html[data-panel="hidden"] .rv { display: none; }
html[data-panel="hidden"] .rv-tog { display: block; }
html.clean .rv, html.clean .rv-tog { display: none !important; }
