/* What's Left — public site
   Tokens mirror src/styles/global.css (light + dark) so the site and the app
   are one visual system. A few site-only tokens exist purely for WCAG AA text
   contrast (--ink-2, --accent-text, --done-text, --ring); they are darker
   siblings of the app's --muted / --accent / --done, never new colours. */

@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2');
}

:root {
  /* app tokens (global.css) */
  --bg: #ECEDE8;
  --card: #FFFFFF;
  --ink: #191B17;
  --muted: #9A9E94;
  --done: #B7BBB0;
  --line: #E4E6DF;
  --accent: #EF5C26;
  --accent-ink: #FFFFFF;
  --accent-soft: #FCEAE1;
  --shadow: 0 1px 0 rgba(25,27,23,.04), 0 6px 18px rgba(25,27,23,.06);
  --display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter Variable', 'Inter', system-ui, -apple-system, sans-serif;
  --serif: ui-serif, 'New York', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --ease: cubic-bezier(.22,1,.36,1);

  --c-red: #DC2B2B;    --c-red-soft: #FBEAEA;
  --c-amber: #C08A00;  --c-amber-soft: #FBF2DC;
  --c-green: #2E9E4F;  --c-green-soft: #E6F4EA;
  --c-teal: #12897E;   --c-teal-soft: #E0F2F0;
  --c-blue: #2563C9;   --c-blue-soft: #E6EDFA;
  --c-purple: #7A4BD0; --c-purple-soft: #EFE9FA;
  --c-pink: #C33C86;   --c-pink-soft: #FAE8F1;

  /* site-only: AA-contrast siblings of the app tokens */
  --ink-2: #5E6359;        /* secondary copy: 5.2:1 on --bg */
  --accent-text: #B8411A;  /* small orange text: 4.7:1 on --bg */
  --accent-hover: #E2521D;
  --done-text: #73786D;    /* ticked item text: 4.5:1 on --card */
  --strike: #C3C6BC;
  --ring: #8F9388;         /* unticked checkbox ring: 3:1 on --card */
  --focus: #B8411A;
  --pill-ink: #191B17;      /* label on the orange pill: 5.2:1 */
  --bg-deep: #E3E4DC;
  --shadow-lg: 0 1px 0 rgba(25,27,23,.04), 0 24px 56px -20px rgba(25,27,23,.22);

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1120px;
  --header-h: 64px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181A;
    --card: #202327;
    --ink: #E9EBE6;
    --muted: #8B9189;
    --done: #5C6157;
    --line: #2C3035;
    --accent: #FF6E3C;
    --accent-ink: #1A1206;
    --accent-soft: #32211A;
    --shadow: 0 1px 0 rgba(0,0,0,.30), 0 6px 18px rgba(0,0,0,.36);

    --c-red: #F2666A;    --c-red-soft: #3A2426;
    --c-amber: #E0B33A;  --c-amber-soft: #362E1A;
    --c-green: #4FC26F;  --c-green-soft: #1E3326;
    --c-teal: #35B0A4;   --c-teal-soft: #16332F;
    --c-blue: #5B8FEF;   --c-blue-soft: #1E2A3F;
    --c-purple: #A07CE8; --c-purple-soft: #2A2140;
    --c-pink: #E070AE;   --c-pink-soft: #3A2130;

    --ink-2: #A3A89F;
    --accent-text: #FF6E3C;
    --accent-hover: #FF8156;
    --done-text: #8B9189;
    --strike: #4A4F47;
    --ring: #6F756B;
    --focus: #FF6E3C;
    --pill-ink: #1A1206;
    --bg-deep: #111315;
    --shadow-lg: 0 1px 0 rgba(0,0,0,.30), 0 24px 56px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 1.55rem + 4.6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.025em;
}
h2 {
  font-weight: 800;
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
h3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: pretty;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.band { padding-block: clamp(44px, 5.5vw, 76px); scroll-margin-top: var(--header-h); }
.band-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 44rem; }
.band-head--center { margin-inline: auto; text-align: center; justify-items: center; }
/* Single-column grids never grow past the viewport because of a long word or a
   form control's intrinsic width (WebKit sizes implicit tracks to min-content). */
.zoom, .together, .story, .price, .faq, .hero-copy, .together-copy, .story-copy { grid-template-columns: minmax(0, 1fr); }

/* ---------- brand ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  border-radius: 10px;
  flex: none;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { stroke: #fff; }
.wordmark {
  font-family: var(--display);
  font-weight: 800; font-size: 22px; letter-spacing: -.03em; line-height: 1;
  white-space: nowrap;
}
.wordmark b { color: var(--accent); font-weight: 800; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 12px;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
.btn:active { transform: scale(.98); }
/* Orange + white only clears AA as large text (3.4:1), so the primary button's
   label is set large and bold (>= 18.66px / 700). */
.btn-primary {
  min-height: 56px; padding: 0 24px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 19px; letter-spacing: -.01em;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-quiet {
  background: var(--card); color: var(--ink); border-color: var(--line);
  box-shadow: var(--shadow);
}
.btn-quiet:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-arrow { width: 16px; height: 16px; flex: none; transition: transform .26s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(2px); }

.text-link {
  color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
  border-radius: 8px; padding: 10px 8px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--accent-text); }
.inline-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.inline-link:hover { text-decoration-thickness: 2.5px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--header-h);
}
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav .btn { margin-left: 8px; min-height: 40px; font-size: 14.5px; padding: 0 14px; }
.nav-wide { display: none; }
@media (min-width: 820px) { .nav-wide { display: inline-block; } }
@media (max-width: 399px) {
  .header-open { display: none !important; }
  .wordmark { font-size: 20px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .hero-grid .demo { justify-self: end; }
}
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 { max-width: 11.5em; }
.hero-copy .lead { max-width: 29em; }

/* ---------- sign-up capsule ---------- */
.signup { display: grid; gap: 12px; width: 100%; max-width: 500px; }
.signup-row {
  display: flex; align-items: stretch; gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.signup-row:focus-within { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus), var(--shadow); }
.signup-input {
  flex: 1; min-width: 0;
  border: 0; background: none; outline: none;
  padding: 0 12px;
  font-family: var(--body); font-weight: 500; font-size: 17px;
  color: var(--ink);
  border-radius: 12px;
}
.signup-input::placeholder { color: var(--done-text); opacity: 1; }
.signup .btn-primary { flex: none; }
.signup-note { font-size: 14.5px; color: var(--ink-2); }
.signup-note b { color: var(--ink); font-weight: 600; }
@media (max-width: 459px) {
  .signup-row { flex-direction: column; padding: 6px; }
  .signup-input { min-height: 52px; }
  .signup .btn-primary { width: 100%; }
}

/* =====================================================================
   App UI — ported from shopping-list.html / global.css. Scoped under
   .app-ui so the site's own layout classes never collide with it.
   ===================================================================== */
.app-ui { font-family: var(--body); line-height: 1.4; color: var(--ink); text-align: left; }

.seg {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 4px;
  box-shadow: var(--shadow);
}
.seg .pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / 2);
  background: var(--accent);
  border-radius: 10px;
  transition: transform .34s var(--ease);
}
.seg[data-on='left'] .pill { transform: translateX(100%); }
.seg-btn {
  position: relative; z-index: 1;
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 14.5px;
  color: var(--ink-2);
  padding: 10px 8px; min-height: 40px;
  border-radius: 10px;
  transition: color .26s ease;
  white-space: nowrap;
}
.seg-btn b { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; }
/* The selected label sits on the orange pill. The app uses white there, but
   white on #EF5C26 is 3.4:1 — short of AA for 14.5px text — so the site uses
   ink (5.2:1), as the app's own dark theme already does (--accent-ink).
   To restore the app's exact light look: color: var(--accent-ink). */
.seg-btn[aria-pressed='true'] { color: var(--pill-ink); }

.panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel + .panel { margin-top: 12px; }
.panel-head {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 15px 13px;
}
.chev { width: 18px; height: 18px; flex: none; color: var(--muted); }
.panel-name {
  flex: 1; min-width: 0;
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.panel-meta { flex: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.left-n { color: var(--accent-text); font-weight: 700; }
/* The accent belongs to what's left; zero left goes quiet, like the app. */
.panel.is-clear .left-n { color: inherit; }

.items { list-style: none; margin: 0; padding: 0 8px; }

/* An item is a real checkbox wrapped in its label, so it is announced as
   "Sourdough, checkbox, not checked" and toggles with Space. Tuck-away is the
   app's: max-height .3s, opacity .22s (generous 140px cap for wrapped rows). */
.item {
  max-height: 140px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  transition: max-height .3s ease, opacity .22s ease, border-top-width .3s ease, border-color .3s ease, visibility 0s linear 0s, transform .34s var(--ease);
}
.items .item:first-child { border-top-width: 0; }
.item-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 8px;
  cursor: pointer;
  position: relative;
}
.item-row input {
  position: absolute; opacity: 0;
  width: 1px; height: 1px; margin: 0;
  pointer-events: none;
}
.check {
  width: 23px; height: 23px; flex: none;
  border: 2px solid var(--ring); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
}
.item-row:active .check { transform: scale(.88); }
.check svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .16s ease, transform .16s ease; }
.item-text {
  flex: 1; min-width: 0;
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  transition: color .22s ease;
  overflow-wrap: break-word;
}
.item.done .check { background: var(--accent); border-color: var(--accent); }
.item.done .check svg { opacity: 1; transform: scale(1); }
.item.done .item-text { color: var(--done-text); text-decoration: line-through; text-decoration-color: var(--strike); }
.item-row input:focus-visible ~ .check { outline: 2px solid var(--focus); outline-offset: 3px; }
.item-row:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 10px; }
.item-row:has(input:focus-visible) .check { outline: none; }

/* colour coding: strip + tint, as in the app */
.item.has-color, .panel.has-color { background: var(--tint); }
.item.has-color .item-row { padding-left: 14px; }
.strip { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--strip); pointer-events: none; }
.tone-blue { --strip: var(--c-blue); --tint: var(--c-blue-soft); }
.tone-green { --strip: var(--c-green); --tint: var(--c-green-soft); }
.tone-amber { --strip: var(--c-amber); --tint: var(--c-amber-soft); }
.tone-red { --strip: var(--c-red); --tint: var(--c-red-soft); }
.tone-purple { --strip: var(--c-purple); --tint: var(--c-purple-soft); }
.tone-teal { --strip: var(--c-teal); --tint: var(--c-teal-soft); }

/* the hero behaviour: in What's left mode, ticked items tuck away */
[data-mode='left'] .item.done {
  max-height: 0;
  opacity: 0;
  border-top-width: 0;
  border-color: transparent;
  visibility: hidden;
  transition: max-height .3s ease, opacity .22s ease, border-top-width .3s ease, border-color .3s ease, visibility 0s linear .3s, transform .34s var(--ease);
}

.add-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 8px; margin: 0 8px;
  border-top: 1px solid var(--line);
}
.add-dot {
  width: 23px; height: 23px; flex: none; border-radius: 50%;
  border: 2px dashed var(--ring);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: color .18s ease, border-color .18s ease;
}
.add-dot::before { content: '+'; font-size: 16px; font-weight: 700; line-height: 1; margin-top: -1px; }
.add-row:focus-within .add-dot { border-color: var(--accent); color: var(--accent-text); }
.add-input {
  flex: 1; min-width: 0;
  border: 0; background: none; outline: none;
  font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 1px 0;
}
.add-input::placeholder { color: var(--done-text); opacity: 1; }

/* per-panel "All clear" line — What's left mode only */
.panel-clear {
  display: none; align-items: center; gap: 9px;
  padding: 11px 8px; margin: 0 8px;
  border-top: 1px solid var(--line);
  color: var(--done-text); font-size: 14px; font-weight: 600;
}
.panel-clear svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
[data-mode='left'] .panel.is-clear .panel-clear { display: flex; animation: fade-in .3s ease .2s both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* reach-zero reward: visual only — ticked items are kept, never deleted */
.cleared {
  display: none; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 22px; margin: 0 0 12px;
}
[data-mode='left'].all-clear .cleared { display: block; animation: pop .42s var(--ease); }
.badge {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
}
.badge svg { width: 26px; height: 26px; color: #fff; }
.cleared-title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 0 0 6px; }
.cleared-text { margin: 0 auto; max-width: 30ch; color: var(--ink-2); font-size: 14px; font-weight: 500; }
@keyframes pop { 0% { transform: scale(.94); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.avatars { display: flex; flex: none; }
.av {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--pill-ink);
  font-family: var(--display); font-weight: 800; font-size: 13px; line-height: 1;
  border: 2px solid var(--card);
}
.av + .av { margin-left: -8px; }
.av--blue { background: var(--c-blue); color: #fff; }
.av--green { background: var(--c-green); color: #fff; }
@media (prefers-color-scheme: dark) { .av--blue, .av--green { color: #111315; } }

/* ---------- hero demo frame ---------- */
.demo {
  width: 100%; max-width: 470px; justify-self: start;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 14px; }
.demo-space { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; line-height: 1; }
.demo .av { border-color: var(--bg-deep); }
.demo .seg { margin-bottom: 12px; }
.demo-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 4px 2px;
}
.demo-hint { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.demo-hint svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.demo-reset {
  appearance: none; cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink-2); font-weight: 600; font-size: 13.5px;
  padding: 8px 12px; min-height: 36px;
  display: inline-flex; align-items: center; gap: 6px;
  flex: none; white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.demo-reset:hover { border-color: var(--accent); color: var(--accent-text); }
.demo-reset svg { width: 14px; height: 14px; }

/* ---------- how it works: space -> panel -> item ---------- */
.zoom { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .zoom { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; } }
.zoom-step { position: relative; display: grid; gap: 18px; align-content: start; }
.zoom-art {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  display: grid; align-items: center;
  overflow: hidden;
}
.zoom-arrow { display: none; }
@media (min-width: 900px) {
  .zoom-arrow {
    display: grid; place-items: center;
    position: absolute; left: -38px; top: calc(50% - 16px);
    width: 32px; height: 32px; margin-top: -60px;
    color: var(--accent);
  }
  .zoom-arrow svg { width: 22px; height: 22px; }
}
.zoom-label { display: flex; align-items: baseline; gap: 10px; }
.step-n {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.zoom-text { display: grid; gap: 10px; }
.zoom-step p { color: var(--ink-2); max-width: 30em; }
@media (min-width: 600px) and (max-width: 899px) {
  .zoom { gap: 28px; }
  .zoom-step { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 28px; }
}

/* mini space board */
.mini { font-size: 11.5px; line-height: 1.3; }
.mini-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mini-title { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.mini .av { width: 22px; height: 22px; font-size: 10.5px; border-color: var(--bg-deep); }
.mini-board { columns: 2; column-gap: 8px; }
.mp {
  break-inside: avoid;
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 11px;
  box-shadow: var(--shadow);
  padding: 8px 9px 6px; margin-bottom: 8px;
  overflow: hidden;
}
.mp.has-color { background: var(--tint); padding-left: 12px; }
.mp.has-color::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--strip); }
.mp-name { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: -.01em; margin-bottom: 3px; }
.mp-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; border-top: 1px solid var(--line); color: var(--ink); white-space: nowrap; overflow: hidden; }
.mp-name + .mp-row { border-top: 0; }
.mp-row i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ring); flex: none; }
.mp-row.is-done { color: var(--done-text); text-decoration: line-through; text-decoration-color: var(--strike); }
.mp-row.is-done i { background: var(--accent); border-color: var(--accent); }
.mp-note { color: var(--ink-2); padding-bottom: 3px; }
.is-focus { outline: 2px solid var(--accent); outline-offset: 2px; }

/* zoomed panel + zoomed item */
.zoom-art .panel { font-size: 15px; }
.zoom-art .panel-head { padding: 12px 13px 9px; }
.zoom-art .panel-name { font-size: 17px; }
.zoom-art .item-row { padding: 9px 6px; cursor: default; }
.zoom-art .item-text { font-size: 15px; }
.zoom-art .items { padding: 0 7px 4px; }
.item-row.is-focus { border-radius: 9px; outline-offset: -2px; }

.big-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.big-item-row { display: flex; align-items: center; gap: 14px; }
.big-item .check { width: 30px; height: 30px; }
.big-item .check svg { width: 16px; height: 16px; }
.big-item-text { flex: 1; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.big-item .chev { transform: rotate(180deg); }
.big-item-note { margin: 10px 0 0 44px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.big-item-tags { display: flex; gap: 6px; margin: 10px 0 0 44px; }

.chip {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 12px; font-weight: 600; line-height: 1.4;
  white-space: nowrap;
}

/* ---------- features (bento) ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-wide { grid-column: span 2; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .bento > * { grid-column: span 2; }
  .bento > .f-wide { grid-column: span 4; }
  .bento > .f-half { grid-column: span 3; }
}
.feature {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 14px 14px 22px;
  min-width: 0;
}
.feature h3 { padding: 10px 8px 0; }
.feature > p { color: var(--ink-2); font-size: 15.5px; padding: 0 8px; max-width: 34em; }
.f-art {
  container-type: inline-size;
  position: relative;
  height: 168px;
  background: var(--bg);
  border-radius: 14px;
  padding: 14px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12.5px; line-height: 1.3;
}
.f-art .mp { margin: 0; }

/* checklists + notes */
.f-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 440px; align-items: start; }
.f-pair .mp-name { font-size: 13.5px; }
.f-pair .mp-row, .f-pair .mp-note { font-size: 12.5px; }
.f-pair .mp-note { line-height: 1.45; padding-top: 2px; }

/* colour, emoji, labels */
.f-colour { width: 100%; max-width: 300px; }
.f-colour .mp { padding: 9px 10px 4px; }
.f-colour .mp-name { display: flex; align-items: center; gap: 6px; font-size: 13.5px; margin-bottom: 6px; }
.f-colour .chip { font-size: 10.5px; padding: 1px 7px; }
.f-colour .mp-row { position: relative; padding: 5px 6px 5px 10px; margin: 0 -10px; border-top: 1px solid var(--line); }
.f-colour .mp-row.has-color { background: var(--tint); }
.f-colour .mp-row.has-color::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--strip); }
.emoji { font-size: 14px; line-height: 1; }

/* board */
.f-board { width: 100%; max-width: 280px; columns: 3; column-gap: 7px; }
.f-board span {
  display: block; break-inside: avoid; margin-bottom: 7px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.f-board span::before { content: ''; position: absolute; left: 7px; right: 40%; top: 7px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .75; }
.f-board span::after { content: ''; position: absolute; left: 7px; right: 14%; top: 18px; bottom: 7px; background: repeating-linear-gradient(to bottom, var(--line) 0 5px, transparent 5px 10px); border-radius: 2px; }
.f-board .h1 { height: 58px; } .f-board .h2 { height: 40px; } .f-board .h3 { height: 74px; }
.f-board .t-a { border-left: 3px solid var(--c-blue); }
.f-board .t-b { border-left: 3px solid var(--c-green); }
.f-board .t-c { border-left: 3px solid var(--accent); }

/* templates */
.f-templates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; width: 100%; max-width: 320px; }
.f-templates .tpl--own { grid-column: 1 / -1; justify-content: center; }
.tpl {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px 10px;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: -.01em;
}
.tpl svg { width: 13px; height: 13px; color: var(--ink-2); flex: none; }
.tpl--own { background: none; box-shadow: none; border: 1.5px dashed var(--ring); color: var(--ink-2); font-family: var(--body); font-weight: 600; font-size: 12px; }

/* paste */
.f-paste { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 330px; }
.paste-src {
  flex: 1; min-width: 0;
  margin: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.6;
  color: var(--ink-2);
  background: var(--card); border: 1px dashed var(--ring); border-radius: 10px;
  padding: 8px 10px;
  white-space: pre;
  overflow: hidden;
}
.paste-arrow { width: 18px; height: 18px; color: var(--accent); flex: none; }
.f-paste .mp { flex: 1.1; min-width: 0; }

/* search */
.f-search { width: 100%; max-width: 300px; display: grid; gap: 6px; }
.search-field {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--accent); border-radius: 11px;
  padding: 7px 10px;
  font-size: 13.5px; font-weight: 500;
}
.search-field svg { width: 14px; height: 14px; color: var(--ink-2); flex: none; }
.caret { display: inline-block; width: 1.5px; height: 15px; background: var(--accent); margin-left: -6px; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.hit {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 9px;
}
.kind {
  flex: none; margin-top: 1px;
  font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px;
  background: var(--line); color: var(--ink-2);
}
.kind--space { background: var(--accent-soft); color: var(--accent-text); }
.hit-text { display: grid; min-width: 0; }
.hit-title { font-weight: 600; font-size: 12.5px; }
.hit-title mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.hit-ctx { font-size: 11px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* offline */
.f-offline { width: 100%; max-width: 270px; display: grid; gap: 8px; justify-items: center; }
.signal { display: flex; align-items: flex-end; gap: 3px; height: 22px; position: relative; color: var(--ink-2); }
.signal i { width: 5px; border-radius: 2px; background: currentColor; opacity: .35; }
.signal i:nth-child(1) { height: 6px; opacity: .9; } .signal i:nth-child(2) { height: 11px; } .signal i:nth-child(3) { height: 16px; } .signal i:nth-child(4) { height: 21px; }
.f-offline .mp { width: 100%; }
.sync-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.sync-note svg { width: 13px; height: 13px; color: var(--accent); }

/* leave in place */
.f-keep { width: 100%; max-width: 250px; }
.f-keep .mp-row { padding: 4px 0; }
.f-keep .mp-row b { font-weight: 600; }
.f-keep .mp-row span { color: var(--ink-2); font-size: 11px; margin-left: auto; }
.f-keep .mp-row.is-done span { color: var(--done-text); }

/* themes */
.f-themes { display: flex; align-items: center; gap: 10px; }
.theme-tile {
  width: 72px; height: 96px; border-radius: 12px;
  padding: 8px 7px;
  display: grid; align-content: start; gap: 5px;
  border: 1px solid rgba(25,27,23,.12);
  box-shadow: var(--shadow);
}
.theme-tile i { display: block; height: 18px; border-radius: 5px; position: relative; }
.theme-tile i::after { content: ''; position: absolute; left: 5px; top: 6px; width: 6px; height: 6px; border-radius: 50%; }
.theme-tile b { font: 700 10px/1 var(--body); letter-spacing: .02em; }
.tt-light { background: #ECEDE8; color: #191B17; }
.tt-light i { background: #fff; } .tt-light i::after { background: #EF5C26; }
.tt-dark { background: #16181A; color: #E9EBE6; border-color: #2C3035; }
.tt-dark i { background: #202327; } .tt-dark i::after { background: #FF6E3C; }
.tt-paper { background: #f3ecda; color: #2c2519; }
.tt-paper i { background: #faf5e7; } .tt-paper i::after { background: #b8512e; }
.tt-paper b { font-family: var(--serif); font-size: 11px; }
.f-opts { display: grid; gap: 10px; justify-items: start; margin-left: 6px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--accent); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
.dots i:nth-child(2) { background: var(--c-blue); } .dots i:nth-child(3) { background: var(--c-green); } .dots i:nth-child(4) { background: var(--c-purple); }
.aa { display: flex; gap: 10px; font-size: 26px; line-height: 1; }
.aa span:first-child { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
.aa span:last-child { font-family: var(--serif); font-weight: 600; }

/* home screen */
.f-home { width: 100%; max-width: 250px; align-self: flex-end; margin-bottom: -14px; }
.phone-top {
  background: var(--card); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 26px 26px 0 0;
  padding: 18px 16px 10px;
  box-shadow: var(--shadow);
}
.phone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 12px; }
.app-icon { display: grid; justify-items: center; gap: 4px; font-size: 8.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.app-icon i { width: 36px; height: 36px; border-radius: 9px; background: var(--line); display: grid; place-items: center; }
.app-icon--ours i { background: var(--accent); box-shadow: 0 2px 8px -2px rgba(239,92,38,.6); }
.app-icon--ours svg { width: 22px; height: 22px; }
.app-icon--ours { color: var(--ink); }

/* ---------- together ---------- */
.surface {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
  padding: clamp(18px, 5vw, 64px);
}
.together { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .together { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.together-copy { display: grid; gap: 20px; }
.roles { list-style: none; display: grid; gap: 0; margin-top: 4px; border-top: 1px solid var(--line); }
.roles li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.role {
  justify-self: start;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 9px; white-space: nowrap;
}
.role--edit { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }
.roles p { color: var(--ink-2); font-size: 16px; }
.roles strong { color: var(--ink); font-weight: 600; }
.together-extra { color: var(--ink-2); font-size: 16px; }
.together-extra strong { color: var(--ink); font-weight: 600; }

.sync { display: grid; gap: 14px; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 18px); }
.phone {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 12px 10px 16px;
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.phone-bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; }
.phone-bar .av { width: 24px; height: 24px; font-size: 11px; border-color: var(--bg); }
.phone-who { font-weight: 600; font-size: 13.5px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 0 var(--c-green); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-green) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
.phone .panel-head { padding: 12px 12px 8px; }
.phone .panel-name { font-size: 16px; }
.phone .items { padding: 0 5px 4px; }
.phone .item-row { gap: 9px; padding: 9px 6px; }
.phone .check { width: 20px; height: 20px; }
.phone .check svg { width: 11px; height: 11px; }
.phone .item-text { font-size: 14.5px; }
.item.flash .item-row { animation: flash 1.1s ease-out; }
@keyframes flash { 0%, 35% { background: var(--accent-soft); } 100% { background: transparent; } }
.sync-caption { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; }
.sync-caption svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* ---------- story ---------- */
.story { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 760px) { .story { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.story-copy { display: grid; gap: 18px; }
.story-copy p { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); max-width: 32em; text-wrap: pretty; }
.story-copy p strong { color: var(--ink); font-weight: 600; }
.story-art { margin: 0; display: grid; gap: 14px; justify-items: center; }
.proto {
  width: 100%; max-width: 400px;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px 16px 16px;
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-lg);
}
.proto-title { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1; padding: 0 4px; }
.proto-title b { color: var(--accent); font-weight: 800; }
.proto-sub { margin: 8px 4px 14px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.proto .panel-meta .done-n { color: var(--accent-text); }
.proto .item-row { cursor: default; }
.story-art figcaption { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* ---------- pricing ---------- */
.price { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.price-main { display: grid; gap: 18px; justify-items: start; }
.price-tag { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-free { font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); letter-spacing: -.04em; line-height: .9; }
.price-when { font-weight: 600; color: var(--ink-2); }
.included { list-style: none; display: grid; gap: 0; }
.included li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--line); font-weight: 500; }
.included li:first-child { border-top: 0; }
.included .check { background: var(--accent); border-color: var(--accent); }
.included .check svg { opacity: 1; transform: none; }
.pro {
  grid-column: 1 / -1;
  display: grid; gap: 8px;
  background: var(--accent-soft);
  border-radius: 18px;
  padding: 20px 22px;
}
@media (min-width: 900px) { .pro { grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; } }
.pro-tag {
  justify-self: start;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--card); color: var(--accent-text);
  border: 1px solid var(--accent);
  border-radius: 999px; padding: 4px 10px;
}
.pro p { color: var(--ink); font-size: 16px; }
.pro p strong { font-weight: 700; }

/* ---------- faq ---------- */
.faq { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .faq .band-head { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq .band-head { margin-bottom: 0; }
.qa-list { display: grid; gap: 10px; }
.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.qa summary {
  list-style: none;
  display: flex; align-items: center; gap: 11px;
  padding: 16px 16px;
  cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; line-height: 1.25;
  border-radius: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: -2px; }
.qa .chev { transform: rotate(-90deg); transition: transform .26s ease; }
.qa[open] .chev { transform: none; }
.qa-body { padding: 0 18px 18px 45px; color: var(--ink-2); display: grid; gap: 10px; }
.qa-body p { max-width: 38em; }

/* ---------- final cta ---------- */
.final {
  background: var(--accent-soft);
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 64px);
  display: grid; gap: 20px; justify-items: center; text-align: center;
}
.final .lead { color: var(--ink); opacity: .82; }
.final .signup { justify-items: center; }
.final .signup-row { width: 100%; }
.final .badge { margin: 0 0 4px; }

/* ---------- footer ---------- */
.site-footer { padding: 24px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-brand { display: grid; gap: 10px; }
.footer-brand p { color: var(--ink-2); font-size: 15px; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 6px; padding: 6px 0; display: inline-block; }
.footer-nav a:hover { color: var(--accent-text); }
.footer-nav a[aria-current='page'] { color: var(--ink); }
.footer-small { width: 100%; color: var(--ink-2); font-size: 14px; }

/* ---------- legal pages ---------- */
.legal { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; padding: clamp(32px, 6vw, 72px) 0 32px; }
.legal h1 { font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.5rem); margin-bottom: 14px; }
.legal .updated { color: var(--ink-2); font-size: 15px; margin-bottom: 28px; }
.legal .summary {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 20px 22px; margin-bottom: 36px;
}
.legal .summary h2 { font-size: 1.25rem; letter-spacing: -.02em; margin: 0 0 10px; }
.legal .summary ul { margin: 0; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.025em; margin: 40px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a:not(.btn) { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.lost { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; padding: 48px 0; }
.lost-card {
  width: min(440px, 100%);
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 36px 26px 30px;
  text-align: center;
  animation: pop .42s var(--ease);
}
.lost-card h1 { font-size: clamp(2rem, 1.6rem + 2vw, 2.6rem); margin-bottom: 10px; }
.lost-card p { color: var(--ink-2); margin: 0 auto 22px; max-width: 28ch; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lost-actions .btn { min-height: 48px; font-size: 16px; }
.btn-soft { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 19px !important; }
.btn-soft:hover { background: var(--accent-hover); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- narrow screens: keep the illustrations inside their frames ---------- */
@container (max-width: 380px) {
  .theme-tile { width: 56px; height: 80px; padding: 7px 6px; }
  .f-themes { gap: 7px; }
  .f-opts { margin-left: 2px; gap: 8px; }
  .dots i { width: 12px; height: 12px; }
  .aa { font-size: 20px; gap: 6px; }
  .tpl { font-size: 12px; padding: 6px 8px; }
  .paste-src { font-size: 10.5px; padding: 7px 8px; }
  .f-paste { gap: 7px; }
}
@media (max-width: 560px) {
  .phones { gap: 8px; }
  .phone { padding: 8px 6px 10px; border-radius: 22px; }
  .phone-bar { gap: 6px; padding: 4px 4px 10px; }
  .phone-who { font-size: 13px; }
  .live-text { display: none; }
  .phone .chev { display: none; }
  .phone .panel-head { padding: 10px 10px 6px; gap: 8px; }
  .phone .items { padding: 0 4px 2px; }
  .phone .item-row { gap: 8px; padding: 8px 5px; }
  .phone .check { width: 18px; height: 18px; }
  .phone .item-text { font-size: 13.5px; }
}
@media (max-width: 359px) {
  .phone-bar .av { display: none; }
}

/* ---- migration: a returning user being carried to the app ---- */
html.handing-off body { visibility: hidden; }
html.handing-off body::after {
  content: 'Opening What\2019s Left\2026';
  visibility: visible;
  position: fixed; inset: 0;
  display: grid; place-items: center;
  font: 600 16px/1.4 var(--body, system-ui, sans-serif);
  color: var(--ink-2, #5E6359);
  background: var(--bg, #ECEDE8);
}
.moved { min-height: 100vh; display: grid; place-content: center; gap: 18px; text-align: center; padding: 24px 16px; }
.moved-line { margin: 0; font-size: 17px; }
