/* Inter, served from this site (SIL Open Font License, see fonts/Inter-LICENSE.txt), so no third party sees visitors. */
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* LeadSift design system */

:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --surface-muted: #f1f1f7;
  --border: #e4e4ee;
  --text: #15151f;
  --text-muted: #5f6075;
  --text-faint: #8b8ca3;
  --brand: #5b4cf0;
  --brand-strong: #4636e3;
  --brand-soft: #eeecfe;
  --accent: #14b8a6;
  --success: #0f9d6b;
  --success-soft: #e3f6ee;
  --warning: #b7791f;
  --warning-soft: #fdf3e1;
  --danger: #d6324a;
  --danger-soft: #fdecef;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(21 21 31 / 0.06);
  --shadow: 0 1px 3px rgb(21 21 31 / 0.06), 0 8px 24px rgb(21 21 31 / 0.06);
  --shadow-lg: 0 24px 64px rgb(70 54 227 / 0.18);
  --ring: 0 0 0 4px rgb(91 76 240 / 0.18);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d14;
    --surface: #15151f;
    --surface-muted: #1c1c29;
    --border: #2a2a3b;
    --text: #f1f1f7;
    --text-muted: #a6a7bd;
    --text-faint: #75768f;
    --brand: #7d70ff;
    --brand-strong: #9489ff;
    --brand-soft: #24214a;
    --success-soft: #0f2e24;
    --warning-soft: #33280f;
    --danger-soft: #3a1820;
    --shadow: 0 1px 3px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 24px 64px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
h1 { font-size: 1.9rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
code { font-size: 0.85em; background: var(--surface-muted); padding: 0.1rem 0.4rem; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
main.container { flex: 1; padding-top: 2.5rem; padding-bottom: 4rem; }
[hidden] { display: none !important; }
.muted { color: var(--text-muted); }
.small { font-size: 0.85rem; }
.stack > * + * { margin-top: 1.25rem; }
.row { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.inline { display: inline; margin: 0; }

/* Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.05rem; color: var(--text); letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 0.95rem;
  box-shadow: 0 4px 12px rgb(91 76 240 / 0.35);
}
.nav-links { display: flex; gap: 0.25rem; margin-right: auto; }
.nav-links a { color: var(--text-muted); font-weight: 500; padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-muted); }
.nav-actions { display: flex; gap: 0.5rem; align-items: center; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

/* Buttons */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font: inherit; font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1.05rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
  box-shadow: var(--shadow-sm);
}
.btn:hover, button:hover { border-color: var(--text-faint); color: var(--text); }
.btn:active, button:active { transform: translateY(1px); }
.btn:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ring); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary, button.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover, button.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.btn-ghost, button.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-muted); }
.btn-ghost:hover, button.btn-ghost:hover { background: var(--surface-muted); color: var(--text); border-color: transparent; }
.btn-danger, button.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover, button.btn-danger:hover { filter: brightness(1.08); color: #fff; border-color: var(--danger); }
.btn-sm, button.btn-sm, .nav-actions .btn, .nav-actions button, .admin-bar button { white-space: nowrap; }
.btn-sm, button.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; border-radius: var(--radius); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.card + .card { margin-top: 1.25rem; }
.grid > .card + .card { margin-top: 0; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.card-header p { margin: 0.15rem 0 0; color: var(--text-muted); font-size: 0.9rem; }
.grid { display: grid; gap: 1.25rem; }
/* min(…, 100%) lets a single column shrink below the minimum on very narrow phones instead of overflowing. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
/* Main content beside a narrower side panel; stacks on tablets and phones. */
.split { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.page-header { margin-bottom: 2rem; }
.page-header p { color: var(--text-muted); margin: 0.35rem 0 0; max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; display: inline-block; }

/* Stats */
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: capitalize; }
.stat-value { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }

/* Workspace tiles */
.tile { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.tile:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.tile-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.1rem; margin-bottom: 0.75rem; }
.tile strong { display: block; }
.tile span { color: var(--text-muted); font-size: 0.85rem; }

/* Forms */
form label { display: block; margin-bottom: 1rem; font-size: 0.875rem; font-weight: 550; color: var(--text); }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
  display: block; width: 100%; margin-top: 0.4rem;
  font: inherit; font-weight: 400; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem; transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
input[type="file"] { padding: 0.5rem; background: var(--surface-muted); }
textarea { resize: vertical; min-height: 5rem; }
label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 450; color: var(--text-muted); }
label.check input { margin-top: 0.3rem; accent-color: var(--brand); width: 16px; height: 16px; flex-shrink: 0; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem 0.25rem; margin: 0 0 1.25rem; }
legend { font-weight: 600; padding: 0 0.4rem; font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-row > * { min-width: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.captcha { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: end; margin-bottom: 1.25rem; }
.captcha img { border-radius: var(--radius-sm); border: 1px solid var(--border); height: 60px; background: #fff; }
.captcha label { margin: 0; }

/* Alerts */
.alert { border-radius: var(--radius); padding: 0.85rem 1rem; margin-bottom: 1.25rem; font-size: 0.9rem; border: 1px solid transparent; }
.alert ul { margin: 0.25rem 0 0; padding-left: 1.1rem; }
.alert-error { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 25%, transparent); }
.alert-success { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 25%, transparent); }
.alert-warning { background: var(--warning-soft); color: var(--warning); border-color: color-mix(in srgb, var(--warning) 25%, transparent); }
.alert-info { background: var(--brand-soft); color: var(--brand-strong); border-color: color-mix(in srgb, var(--brand) 20%, transparent); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--surface-muted); color: var(--text-muted); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-brand { background: var(--brand-soft); color: var(--brand); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); background: var(--surface-muted); padding: 0.7rem 1rem; }
td { padding: 0.8rem 1rem; border-top: 1px solid var(--border); vertical-align: middle; }
tbody tr:hover { background: color-mix(in srgb, var(--surface-muted) 50%, transparent); }
td.empty { text-align: center; color: var(--text-muted); padding: 2rem; }

dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; margin: 0; font-size: 0.9rem; }
dl.details dt { color: var(--text-muted); }
dl.details dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* Auth */
.auth { display: grid; place-items: center; padding: 3rem 1.25rem 4rem; flex: 1; }
.auth .card { width: 100%; max-width: 440px; padding: 2.25rem; }
.auth h1 { font-size: 1.6rem; }
.auth .subtitle { color: var(--text-muted); margin-bottom: 1.75rem; }
.auth button[type="submit"] { width: 100%; padding: 0.75rem; }
.auth .switch { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin: 1.25rem 0 0; }

/* Landing */
.hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 700px; z-index: -1;
  background:
    radial-gradient(600px 300px at 30% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(500px 280px at 70% 40%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
}
.eyebrow { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.5rem; }
/* Logo rolls in from the left, stops at the top centre, then fades up to full strength. */
.hero-logo { display: block; width: min(420px, 80vw); height: auto; margin: 0 auto 2rem; animation: logo-arrive 2.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes logo-arrive {
  0% { transform: translateX(-100vw) rotate(-720deg); opacity: 0.25; }
  60% { transform: translateX(0) rotate(0deg); opacity: 0.25; }
  100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: logo-fade 0.8s ease-out both; }
  @keyframes logo-fade { from { opacity: 0; } to { opacity: 1; } }
}
/* "Lead" in the logo is dark navy; a soft glow keeps it readable on the dark theme. */
@media (prefers-color-scheme: dark) { .hero-logo { filter: drop-shadow(0 0 2px rgb(255 255 255 / 0.7)) drop-shadow(0 0 14px rgb(255 255 255 / 0.3)); } }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto 1.25rem; }
.gradient-text { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 58ch; margin: 0 auto 2.25rem; }
.hero .row { justify-content: center; }
.features { padding: 2rem 0 5rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.feature .tile-icon { margin-bottom: 1rem; }
.feature p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }
.steps { counter-reset: step; padding: 0 0 5rem; }
.step { position: relative; padding-left: 3.25rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.step p { color: var(--text-muted); margin: 0; }
.cta { text-align: center; background: linear-gradient(135deg, var(--brand), #7c3aed 60%, var(--accent)); color: #fff; border-radius: var(--radius-lg); padding: 3.5rem 2rem; margin-bottom: 5rem; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: 1.9rem; color: #fff; }
.cta p { opacity: 0.9; margin-bottom: 1.75rem; }
.cta .btn { background: #fff; color: var(--brand-strong); border-color: #fff; }

/* Legal */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose p { color: var(--text-muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer .container { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.875rem; color: var(--text-muted); }
.footer .copyright { margin-right: auto; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }

/* Voice recorder */
blockquote.phrase { margin: 0.75rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.05rem; font-weight: 500; color: var(--text); }
.recorder { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.recorder audio { height: 38px; flex: 1; min-width: 220px; }
button.recording { background: var(--danger); border-color: var(--danger); color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgb(214 50 74 / 0.2); } }

/* Script editor */
.step-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; background: var(--surface); }
.step-card + .step-card { margin-top: 1rem; }
.step-card.is-start { border-color: var(--brand); box-shadow: var(--ring); }
.answers { list-style: none; padding: 0; margin: 0.75rem 0; display: grid; gap: 0.4rem; }
.answers li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; background: var(--surface-muted); padding: 0.45rem 0.6rem 0.45rem 0.85rem; border-radius: var(--radius-sm); }
.answers li .arrow { color: var(--text-faint); }
.answers li form { margin-left: auto; }
.kbd { font-family: ui-monospace, monospace; font-size: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-bottom-width: 2px; padding: 0.05rem 0.45rem; border-radius: 6px; }

/* Script wizard and call steps */
.wizard-progress { list-style: none; counter-reset: part; display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 0; margin: 0 0 1.5rem; }
.wizard-progress li { counter-increment: part; font-size: 0.8rem; font-weight: 600; color: var(--text-faint); padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--surface-muted); }
.wizard-progress li::before { content: counter(part) ". "; }
.wizard-progress li.active { background: var(--brand); color: #fff; }
.wizard-progress li.done { background: var(--brand-soft); color: var(--brand); }
.wizard-nav { justify-content: flex-end; }
.step-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.75rem; }
.step-row { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem 0.25rem; background: var(--surface-muted); }
.review { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.25rem; margin: 0 0 1rem; }
.review dt { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); }
.review dd { margin: 0; white-space: pre-line; }
@media (max-width: 640px) { .review { grid-template-columns: 1fr; } .review dd { margin-bottom: 0.5rem; } }

/* Lead picker */
.picker { max-height: 280px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; }
.picker label { margin: 0.35rem 0; }

/* Admin */
.admin-body { --brand: #0f172a; --brand-strong: #1e293b; }
@media (prefers-color-scheme: dark) { .admin-body { --brand: #e2e8f0; --brand-strong: #f8fafc; } .admin-body .btn-primary { color: #0f172a; } }
.admin-bar { background: #0f172a; color: #e2e8f0; }
.admin-bar .container { display: flex; align-items: center; gap: 1.5rem; height: 60px; }
.admin-bar .brand { color: #fff; }
.admin-bar .brand-mark { background: linear-gradient(135deg, #64748b, #0f172a); box-shadow: none; border: 1px solid #334155; }
.admin-bar .nav-links a { color: #94a3b8; }
.admin-bar .nav-links a:hover, .admin-bar .nav-links a[aria-current="page"] { color: #fff; background: #1e293b; }
.admin-bar button.btn-ghost { color: #94a3b8; }
.admin-bar button.btn-ghost:hover { background: #1e293b; color: #fff; }
.admin-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #1e293b; color: #94a3b8; padding: 0.2rem 0.5rem; border-radius: 6px; border: 1px solid #334155; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); }
.danger-zone h2 { color: var(--danger); }
.danger-zone h3 { color: var(--danger); font-size: 1rem; margin: 0 0 0.5rem; }
div.danger-zone { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.confirm-dialog { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; max-width: min(460px, calc(100vw - 2rem)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.confirm-dialog::backdrop { background: rgb(15 23 42 / 0.55); }
.confirm-dialog h3 { color: var(--danger); margin-top: 0; }

@media (max-width: 720px) {
  /* The menu moves to its own full-width row that scrolls sideways, so every page stays reachable. */
  .topbar .container, .admin-bar .container { flex-wrap: wrap; height: auto; row-gap: 0.4rem; padding-top: 0.65rem; padding-bottom: 0.5rem; }
  .admin-bar .container > form { margin-left: auto; }
  .nav-links { order: 3; flex: 1 0 100%; margin: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .nav-links + .nav-actions { margin-left: auto; }
  h1 { font-size: 1.6rem; }
  .card { padding: 1.25rem; }
  .container { padding: 0 1rem; }
  .page-header { margin-bottom: 1.25rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .btn-lg { width: 100%; }
  td, th { padding: 0.6rem 0.75rem; }
  /* Label above value, so long values like email addresses and timestamps fit. */
  dl.details { grid-template-columns: 1fr; gap: 0.15rem; }
  dl.details dd { margin-bottom: 0.6rem; }
}

/* Call transcript */
details summary { cursor: pointer; color: var(--brand); font-weight: 500; }
.transcript { margin-top: 0.5rem; padding: 0.75rem; background: var(--surface-muted); border-radius: var(--radius-sm); max-width: 60ch; }
.transcript p { margin: 0 0 0.4rem; color: var(--text); }

/* Subscribe overlay once the trial has ended: covers everything; only subscribe, log out and delete remain. */
.paywall { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; background: rgb(15 23 42 / 0.72); backdrop-filter: blur(6px); }
.paywall-card { max-width: 440px; width: 100%; text-align: center; }
.paywall-price { font-size: 1.6rem; font-weight: 800; margin: 0.5rem 0 1.25rem; }
.paywall-links { justify-content: center; margin-top: 1rem; }

/* Installed app: hide links that only make sense in the browser (like the Mobile app install page). */
@media (display-mode: standalone) { .web-only { display: none !important; } }
.standalone .web-only { display: none !important; }
.steps-list { padding-left: 1.2rem; margin: 0; display: grid; gap: 0.5rem; }

/* The recordings list keeps its columns (name, status, preview player, actions) and scrolls sideways on phones. */
table.recordings { min-width: 560px; }
table.recordings td:first-child { white-space: nowrap; }

/* Docs: contents beside the article on wide screens, above it on phones. */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.guide-toc { position: sticky; top: 1rem; padding: 1.25rem; }
.guide-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.guide-body section + section { margin-top: 2rem; }
.guide-body section { scroll-margin-top: 1rem; }
@media (max-width: 860px) { .guide { grid-template-columns: minmax(0, 1fr); } .guide-toc { position: static; } }

/* Features and Pricing */
.hero-compact { padding: 4rem 0 2.5rem; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 1.25rem; align-items: start; margin-bottom: 3rem; }
.price-amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0.75rem 0 0.25rem; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-list { padding-left: 1.2rem; margin: 1.25rem 0 1.5rem; display: grid; gap: 0.45rem; }
.price-card .btn-lg { width: 100%; }
.faq { max-width: 720px; margin-bottom: 4rem; }
.faq h3 { margin: 1.5rem 0 0.35rem; font-size: 1.05rem; }
