:root {
  --bg: #F7F3EA;
  --surface: #FFFDF8;
  --surface-2: #EFE9DC;
  --ink: #1C1B18;
  --ink-2: #4A463E;
  --muted: #6B665C;
  --line: #DDD5C4;
  --accent: #0E6B5C;
  --accent-ink: #FFFFFF;
  --accent-soft: #D7ECE6;
  --ok: #1D6B3A; --ok-bg: #DDF0E2;
  --warn: #7A4E00; --warn-bg: #FBEBC8;
  --bad: #9B1C1C; --bad-bg: #F8DEDC;
  --info: #2D4A7A; --info-bg: #E1E8F5;
  --lib: #F3DFA6;
  --cap-size: 36px;
  --cap-spacing: 1;
  --ui: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nastaliq: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;
  --naskh: "Noto Naskh Arabic", "Geeza Pro", serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316; --surface: #1B1D21; --surface-2: #24272C; --ink: #F2EFE8; --ink-2: #D2CEC5; --muted: #A39E94;
    --line: #34373D; --accent: #5CC4AE; --accent-ink: #0B1A17; --accent-soft: #1D3631;
    --ok: #8FD9A8; --ok-bg: #173323; --warn: #F2C46B; --warn-bg: #3A2D12; --bad: #F29B95; --bad-bg: #3D1C1B;
    --info: #A9C1EE; --info-bg: #1E2A40; --lib: #5A4A1C; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121316; --surface: #1B1D21; --surface-2: #24272C; --ink: #F2EFE8; --ink-2: #D2CEC5; --muted: #A39E94;
  --line: #34373D; --accent: #5CC4AE; --accent-ink: #0B1A17; --accent-soft: #1D3631;
  --ok: #8FD9A8; --ok-bg: #173323; --warn: #F2C46B; --warn-bg: #3A2D12; --bad: #F29B95; --bad-bg: #3D1C1B;
  --info: #A9C1EE; --info-bg: #1E2A40; --lib: #5A4A1C; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 18px; line-height: 1.45;
  -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
}
body[data-view="live"], body[data-view="demo"] { overflow: hidden; }
h1 { font-size: 30px; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 21px; margin: 24px 0 10px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; }
.grow { flex: 1; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.ico { display: inline-flex; width: 24px; height: 24px; flex: none; }
.ico.sm { width: 18px; height: 18px; }
.ico svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); font: 600 17px var(--ui); cursor: pointer; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn.danger-text { color: var(--bad); }
.btn.small { min-height: 40px; padding: 0 12px; font-size: 15px; }
.btn.icon-only { padding: 0; width: 48px; }
.btn.start { min-height: 72px; padding: 0 34px; font-size: 22px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); margin: 8px 0 12px; }
.link { font-weight: 600; }

/* ---------- layout pages ---------- */
.page { max-width: 880px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 20px 60px; }
.page.wide { max-width: 1180px; }
.page.narrow { max-width: 480px; padding-top: 60px; }
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.page-head h1 { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.center { align-items: center; text-align: center; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.two > * { flex: 1; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px 20px; margin: 16px 0; }
.callout { background: var(--info-bg); color: var(--info); padding: 12px 14px; border-radius: 10px; margin: 8px 0; }
.callout.bad { background: var(--bad-bg); color: var(--bad); }
.empty { text-align: center; padding: 48px 0; }

input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  font: 18px var(--ui); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%;
}
textarea { resize: vertical; }
input[type=range] { width: 100%; accent-color: var(--accent); min-height: 40px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; margin: 10px 0; }
.field > span { font-size: 15px; color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.check.disabled { color: var(--muted); }
.ur-input { font-family: var(--nastaliq); font-size: 26px; line-height: 2; }

.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.seg-btn { border: 0; background: transparent; color: var(--ink); font: 600 16px var(--ui); padding: 10px 16px; min-height: 48px; cursor: pointer; }
.seg-btn + .seg-btn { border-left: 1.5px solid var(--line); }
.seg-btn.on { background: var(--accent); color: var(--accent-ink); }
.seg-btn.ur-nastaliq { font-family: var(--nastaliq), var(--ui); }
.seg-btn.ur-naskh { font-family: var(--naskh), var(--ui); }

.tag { display: inline-flex; align-items: center; font: 600 13px var(--ui); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); letter-spacing: 0.01em; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.speaking { background: var(--accent-soft); color: var(--accent); }

/* ---------- home ---------- */
.home { max-width: 640px; margin: 0 auto; padding: max(48px, env(safe-area-inset-top)) 24px 32px; min-height: 100%; display: flex; flex-direction: column; gap: 24px; }
.home-head h1 { font-size: 32px; }
.home-ur { font-family: var(--nastaliq); font-size: 26px; line-height: 2; margin: 2px 0 0; color: var(--ink-2); text-align: left; }
.start-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.start-card p { margin: 0; color: var(--ink-2); }
.btn.start { min-height: 52px; padding: 0 22px; font-size: 18px; }
.nav-list { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nav-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-height: 64px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-row:last-child { border-bottom: 0; }
.nav-row:active { background: var(--surface-2); }
.nav-row .ico { color: var(--accent); }
.nr-text { display: flex; flex-direction: column; flex: 1; }
.nr-text .t { font-weight: 700; }
.nr-text .s { color: var(--muted); font-size: 15px; }
.chev { color: var(--muted); font-size: 28px; line-height: 1; }
.credit .heart { color: #c8102e; font-variant-emoji: text; }
.credit { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }

/* ---------- live screen ---------- */
.live { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.status {
  display: flex; flex-direction: column; gap: 8px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px; border-bottom: 1px solid var(--line); background: var(--surface);
}
.status-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.place { font: 700 16px var(--ui); color: var(--ink-2); white-space: nowrap; }
.tbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 15px var(--ui); cursor: pointer;
}
.tbtn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tbtn:active { transform: translateY(1px); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 700 15px var(--ui); padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.info { background: var(--info-bg); color: var(--info); }
.chip.subtle { background: transparent; color: var(--muted); font-weight: 600; padding: 6px 4px; }
.meter { display: inline-block; width: 46px; height: 8px; border-radius: 4px; background: color-mix(in srgb, currentColor 18%, transparent); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: currentColor; transition: width 80ms linear; }

.live-banner { display: flex; gap: 10px; align-items: center; padding: 10px 16px; font-weight: 600; }
.live-banner.warn { background: var(--warn-bg); color: var(--warn); }
.live-banner.bad { background: var(--bad-bg); color: var(--bad); }
.live-banner .btn { margin-inline-start: auto; }

.captions { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px clamp(16px, 4vw, 48px) 40px; overscroll-behavior: contain; }
.feed { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.turn { padding: 8px 0 12px; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.turn .meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.turn .who { color: var(--ink-2); }
.cap {
  margin: 4px 0 0; font-size: var(--cap-size); color: var(--ink); overflow-wrap: anywhere;
  font-family: var(--nastaliq); line-height: calc(2.15 * var(--cap-spacing));
  text-align: start;
}
.cap[dir="ltr"] { font-family: var(--ui); line-height: calc(1.4 * var(--cap-spacing)); }
:root[data-font="naskh"] .cap { font-family: var(--naskh); line-height: calc(1.75 * var(--cap-spacing)); }
:root[data-font="naskh"] .cap[dir="ltr"] { font-family: var(--ui); line-height: calc(1.4 * var(--cap-spacing)); }
.cap .en { font-family: var(--ui); font-size: 0.8em; }
:root[data-font="naskh"] .cap .en { font-size: 0.88em; }
.turn[data-state="partial"] .cap { color: var(--ink-2); }
.turn[data-state="partial"] { border-inline-start: 4px solid var(--accent-soft); padding-inline-start: 12px; }
.turn[data-state="failed"] .cap { color: var(--muted); font-style: italic; font-size: calc(var(--cap-size) * 0.6); }
mark.lib { background: var(--lib); color: inherit; border-radius: 4px; padding: 0 2px; }
.note { align-self: center; margin: 12px 0; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 15px; font-weight: 600; text-align: center; }
.note.gap { background: var(--warn-bg); color: var(--warn); }

.return-live {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); border: 0; font: 700 18px var(--ui); box-shadow: 0 6px 24px rgba(0,0,0,.25); cursor: pointer;
}
.controls {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface);
}
.ctl {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px; min-height: 60px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 18px var(--ui); cursor: pointer;
}
.ctl.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: 17px; }
.ctl.danger { color: var(--bad); }

.overlay-msg {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--accent); color: var(--accent-ink); padding: 40px; text-align: center; cursor: pointer;
}
.overlay-msg.typed { background: var(--ink); color: var(--bg); }
.overlay-msg .big { font-size: clamp(40px, 7vw, 88px); font-weight: 700; line-height: 1.25; max-width: 90vw; overflow-wrap: anywhere; }
.overlay-msg .big.ur { font-family: var(--nastaliq); font-weight: 400; line-height: 2; }
.overlay-msg .small { opacity: .8; font-size: 18px; }

/* ---------- sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.42); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .18s; }
.scrim.open { opacity: 1; }
.sheet { background: var(--surface); width: min(640px, 100%); max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 8px 22px max(24px, env(safe-area-inset-bottom)); transform: translateY(24px); transition: transform .18s; }
.sheet.wide { width: min(900px, 100%); }
.scrim.open .sheet { transform: none; }
@media (min-width: 700px) { .scrim { align-items: center; } .sheet { border-radius: 22px; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--surface); padding-top: 8px; z-index: 1; }
.sheet-head h2 { margin: 8px 0; }
.log { font: 12px ui-monospace, Menlo, monospace; background: var(--surface-2); padding: 10px; border-radius: 8px; max-height: 240px; overflow: auto; white-space: pre-wrap; }

#toast { position: fixed; left: 50%; bottom: 120px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .2s; z-index: 70; max-width: 90vw; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- word library ---------- */
.word-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.word-card { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
@media (max-width: 600px) { .word-card { grid-template-columns: 1fr; } }
.word-ur { font-family: var(--nastaliq); font-size: 34px; line-height: 2; }
:root[data-font="naskh"] .word-ur { font-family: var(--naskh); line-height: 1.6; }
.word-en { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.word-side p { margin: 0 0 8px; }
.variants { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.vchip { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); padding: 3px 4px 3px 10px; border-radius: 999px; font-size: 16px; }
.vx { border: 0; background: transparent; color: var(--muted); font-size: 18px; width: 28px; height: 28px; cursor: pointer; border-radius: 50%; }
.big-rec { min-height: 88px; min-width: 200px; font-size: 22px; border-radius: 999px; }
.big-rec.recording { background: var(--bad); border-color: var(--bad); color: #fff; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--bad) 25%, transparent); } }
@media (prefers-reduced-motion: reduce) { .big-rec.recording { animation: none; } * { transition: none !important; } }
.heard { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; background: var(--surface-2); padding: 8px 14px; border-radius: 12px; }
.cap-preview { margin: 0; font-family: var(--nastaliq); font-size: 26px; line-height: 2; }
.cap-preview[dir="ltr"] { font-family: var(--ui); line-height: 1.4; }
details { width: 100%; text-align: start; }
summary { cursor: pointer; font-weight: 600; min-height: 40px; display: flex; align-items: center; }

/* ---------- lists ---------- */
.list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .t { font-weight: 700; }
.list-row .s { color: var(--muted); font-size: 16px; }
.saved-feed { min-height: 0; justify-content: flex-start; margin-top: 16px; }
.preview { background: var(--bg); border-radius: 12px; padding: 4px 16px; margin: 6px 0 4px; }

/* ---------- admin ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.tile-label { color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tile-value { font-size: 32px; font-weight: 700; margin: 4px 0; font-variant-numeric: tabular-nums; }
.tile-sub { color: var(--ink-2); font-size: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 16px; font-variant-numeric: tabular-nums; }
th, td { text-align: start; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
.barcell { width: 30%; min-width: 120px; }
.bar { display: block; height: 10px; border-radius: 5px; background: var(--accent); min-width: 2px; }

@media (max-width: 700px) {
  .tbtn span:not(.ico) { display: none; }
  .tbtn { padding: 0 12px; }
  .status .chip.subtle#delay { display: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .noprint, .page-head .btn { display: none !important; }
  .cap { font-size: 18pt; }
  .turn { break-inside: avoid; }
}
.stack.center > .stack { align-self: stretch; text-align: start; }

/* Reading pace: captions waiting their turn */
.feed > .held { display: none; }
.chip.waiting { border: 0; cursor: pointer; background: var(--warn-bg); color: var(--warn); }

/* ---------- landing (signed out) ---------- */
.landing { max-width: 1040px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 24px 32px; display: flex; flex-direction: column; gap: 28px; min-height: 100%; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--accent); }
.lp-mark { width: 30px; height: 24px; border-radius: 7px; background: var(--accent); position: relative; }
.lp-mark::before, .lp-mark::after { content: ""; position: absolute; left: 6px; height: 3px; border-radius: 2px; background: var(--accent-ink); }
.lp-mark::before { top: 7px; width: 18px; } .lp-mark::after { top: 14px; width: 11px; opacity: 0.75; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lp-hero-text { display: flex; flex-direction: column; gap: 18px; }
.lp-hero-text .lead { margin: 0; }
.lp-demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.lp-hero h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.lp-hero .lead { margin: 16px 0 0; }
.lp-cta { margin-top: 20px; flex-wrap: wrap; }
.lp-screen { background: #1C1B18; border-radius: 24px; padding: 12px; box-shadow: 0 12px 32px rgba(28, 27, 24, 0.18); }
.lp-screen-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #D7ECE6; padding: 2px 6px 10px; }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #5CC4AE; }
.lp-screen .lp-line { background: #FFFDF8; color: #1C1B18; padding: 4px 16px; }
.lp-screen .lp-line:nth-child(2) { border-radius: 14px 14px 0 0; padding-top: 10px; }
.lp-screen .lp-line:last-child { border-radius: 0 0 14px 14px; padding-bottom: 12px; }
.lp-screen .lp-line + .lp-line { border-top: 1px solid #EEE7D8; }
.lp-screen .cap { font-size: 24px; margin: 0; }
.lp-screen .lp-line { position: relative; }
.lp-screen .lp-nastaliq .cap:not([dir="ltr"]) { font-family: var(--nastaliq); line-height: 2.15; }
.lp-screen .lp-naskh .cap:not([dir="ltr"]) { font-family: var(--naskh); line-height: 1.75; }
.lp-script { position: absolute; left: 14px; bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #6B665C; text-transform: uppercase; }
.lp-signin { padding: 4px 24px 24px; margin: 0; position: sticky; top: 24px; }
.lp-signin .btn { width: 100%; justify-content: center; }
.lp-signin h2 { margin-top: 18px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.lp-step h3, .lp-feature h3 { font-size: 18px; margin: 10px 0 4px; }
.lp-step p, .lp-feature p { margin: 0; color: var(--ink-2); font-size: 16px; }
.lp-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.lp-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.lp-feature { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lp-feature h3 { margin-top: 0; }
.lp-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.lp-foot { border-top: 1px solid var(--line); padding-top: 16px; }
.landing section h2 { margin: 0 0 14px; }
@media (max-width: 760px) {
  .lp-hero, .lp-steps, .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-signin { position: static; }
}

.lp-invite { margin: 14px 0 0; text-align: center; }
.people-list .person { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.people-list .person .t { font-weight: 700; word-break: break-all; }
.people-list .person .s { color: var(--muted); font-size: 15px; }
