/* Shared by the topic pages (phone as webcam, screen recorder, live streaming,
   separate tracks, comparisons). The same palette as the home page's :root
   block and pricing/index.html; keep them in step. */
@font-face { font-family: "Stack Sans Headline"; src: url("/fonts/StackSansHeadline-latin.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Stack Sans Text"; src: url("/fonts/StackSansText-latin.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
:root { --bg: #050609; --surface: #0d1016; --surface-2: #121722; --line: #1c2230; --ink: #f4f6fa; --muted: #a4adbc; --accent: #0050fd; --accent-press: #0042d4; --link: #8fb0ff; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Stack Sans Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main, footer { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
main { padding: 3.5rem 0 5rem; }
a { color: var(--link); text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid #6f9bff; outline-offset: 3px; }

.crumbs { margin: 0 0 1.4rem; color: var(--muted); font-size: 0.92rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--muted); }

h1 { margin: 0; max-width: 20ch; font-family: "Stack Sans Headline", "Stack Sans Text", sans-serif; font-weight: 300; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin: 1.3rem 0 0; max-width: 44rem; color: var(--muted); font-size: 1.2rem; line-height: 1.5; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.25rem; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent-press); }
.button:disabled { cursor: progress; background: var(--accent-press); }

/* the waitlist, as on the home page */
.waitlist { margin-top: 2rem; max-width: 34rem; }
.waitlist label { display: block; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.waitlist input[type="email"] { flex: 1 1 15rem; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; }
.waitlist input::placeholder { color: #7c8596; }
.waitlist input:focus-visible { border-color: #6f9bff; outline-offset: 2px; }
.waitlist .note { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.93rem; }
.waitlist-status { margin: 0.8rem 0 0; }
.waitlist-status:empty, .waitlist [hidden] { display: none; }
.waitlist-status[data-tone="error"] { color: #ff9d94; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* a film, as on the home page */
.film { position: relative; margin: 3rem 0 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1.25rem; background: var(--surface); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(5, 6, 9, 0.62); color: var(--ink); cursor: pointer; }
.film-toggle:hover { background: rgba(5, 6, 9, 0.86); }
.film-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.film-toggle .i-play, .film.is-paused .film-toggle .i-pause { display: none; }
.film.is-paused .film-toggle .i-play { display: block; }
.film-caption { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.93rem; }

/* the body copy */
/* text keeps a readable measure; comparison tables (.wide) use the full width */
.prose > * { max-width: 46rem; }
.prose > .wide { max-width: none; }
.prose h2 { margin: 4.5rem 0 0; font-family: "Stack Sans Headline", "Stack Sans Text", sans-serif; font-weight: 300; font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; }
.prose h3 { margin: 2rem 0 0; font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.prose p { margin: 1rem 0 0; color: var(--muted); }
.prose h3 + p { margin-top: 0.4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 1.1rem 0 0; padding-left: 1.3rem; color: var(--muted); }
.prose li + li { margin-top: 0.5rem; }
.prose li::marker { color: var(--link); }
.prose ol.steps { padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0.9rem; }
.prose ol.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; margin: 0; padding: 1rem 1.1rem; border-radius: 1rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.prose ol.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(143, 176, 255, 0.14); color: var(--link); font-weight: 600; }
.prose ol.steps li span { display: block; margin-top: 0.15rem; color: var(--muted); }
.prose .aside { margin-top: 1.6rem; padding: 1rem 1.2rem; border-radius: 1rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.prose .aside p:first-child { margin-top: 0; }

/* comparison tables */
.table-wrap { margin: 1.6rem 0 0; overflow-x: auto; border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; line-height: 1.45; }
th, td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface); color: var(--ink); font-weight: 600; }
tbody th { width: 24%; color: var(--ink); font-weight: 600; }
td { color: var(--muted); }

.sources { margin-top: 3rem; color: var(--muted); font-size: 0.9rem; }
.sources p { margin: 0.4rem 0 0; color: var(--muted); }

/* more pages, then a last nudge */
.more { margin-top: 5rem; }
.more h2 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.more ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.more a { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 1rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.more a span { display: block; margin-top: 0.25rem; color: var(--muted); font-weight: 400; font-size: 0.93rem; }
.more a:hover { box-shadow: inset 0 0 0 1px #2c3a5a; }
.end { margin-top: 4rem; padding: 2rem; border-radius: 1.4rem; background: linear-gradient(180deg, #0c1530 0%, var(--surface) 70%); box-shadow: inset 0 0 0 1px #1b2b55; }
.end h2 { margin: 0; font-family: "Stack Sans Headline", "Stack Sans Text", sans-serif; font-weight: 300; font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem); letter-spacing: -0.02em; }
.end p { margin: 0.6rem 0 1.3rem; color: var(--muted); }

footer { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
footer a { color: var(--muted); }
footer .guides { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

@media (max-width: 60rem) {
  .more ul { grid-template-columns: 1fr; }
}
/* comparison tables become one card per row on phones */
@media (max-width: 40rem) {
  .wide table, .wide tbody, .wide tr, .wide th, .wide td { display: block; }
  .wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wide tbody tr { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
  .wide tbody tr:last-child { border-bottom: 0; }
  .wide tbody th, .wide td { width: auto; padding: 0; border: 0; }
  .wide td { margin-top: 0.4rem; }
  .wide td::before { content: attr(data-label) ": "; color: var(--ink); font-weight: 600; }
}
@media (max-width: 30rem) {
  .end { padding: 1.4rem; }
  .waitlist .button { width: 100%; }
}
