@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/*
 * The site is dark only, like the extension on a watch page and every store image, so TellyJam
 * looks the same before and after install. Tokens mirror the dark theme in
 * apps/extension/src/styles/app.css. Body and secondary text meet WCAG 2.2 AA on every surface.
 */
:root {
  color-scheme: dark;
  --bg: #0c0c0f;
  --surface: #141418;
  --surface-2: #1c1c21;
  --surface-3: #27272e;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.13);
  --fg: #f2f2f5;
  --fg-2: #b6b6c2;
  --fg-3: #8d8d99;
  --accent: #e9b04a;
  --accent-hover: #f2c066;
  --accent-ink: #1b1406;
  --accent-soft: rgb(233 176 74 / 0.15);
  --accent-fg: #f0c46e;
  --ok: #4fd18b;
  --info: #6cb4ee;
  --danger: #f2727f;
  --danger-soft: rgb(242 114 127 / 0.12);
  --focus: #f0c46e;
  --glow: rgb(233 176 74 / 0.13);
  --highlight: inset 0 1px 0 rgb(255 255 255 / 0.045);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 18px 48px rgb(0 0 0 / 0.5);
  --shadow-pop: 0 2px 8px rgb(0 0 0 / 0.4), 0 24px 56px rgb(0 0 0 / 0.55);
  --raised: var(--highlight), 0 0 0 1px var(--line);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scrollbar-color: var(--surface-3) transparent;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent-soft);
}

a {
  color: var(--accent-fg);
  text-underline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

@media (min-width: 600px) {
  .wrap {
    width: min(1120px, 100% - 48px);
  }
}

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 26px;
}

.mark svg {
  width: 30px;
  height: 26px;
}

.mark-back {
  fill: var(--fg);
}

.mark-front {
  fill: var(--accent);
}

.site-nav {
  display: none;
  gap: 24px;
  margin-left: auto;
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--fg-2);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--fg);
}

.header-cta {
  margin-left: auto;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .site-nav + .header-cta {
    margin-left: 0;
  }
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: none;
}

main {
  flex: 1 0 auto;
}

.split {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-block: 48px 72px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    padding-top: 72px;
  }
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}

.lead {
  margin: 20px 0 0;
  font-size: 1.125rem;
  color: var(--fg-2);
  max-width: 44ch;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-fg);
}

.actions {
  margin-top: 32px;
  display: grid;
  gap: 16px;
  max-width: 440px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-weight: 650;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 120ms ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--fg);
  box-shadow:
    var(--highlight),
    0 0 0 1px var(--line-strong);
}

.btn-secondary:hover {
  background: var(--surface-3);
}

.btn:disabled {
  cursor: default;
}

.btn.done {
  color: var(--ok);
}

.btn.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-2);
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-fg);
  font-weight: 700;
  font-size: 0.875rem;
}

.steps p {
  margin: 4px 0 10px;
  color: var(--fg-2);
}

.note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--fg-3);
  max-width: 44ch;
}

.prose {
  padding-block: 56px 80px;
  max-width: 720px;
}

.prose h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.prose h2 {
  margin: 40px 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  color: var(--fg-2);
}

.prose strong {
  color: var(--fg);
}

.prose ul {
  padding-left: 20px;
}

.prose .updated {
  color: var(--fg-3);
  font-size: 0.875rem;
}

.card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--raised), var(--shadow);
}

.error {
  color: var(--danger);
}

.site-footer {
  margin-top: 0;
  padding-block: 48px 40px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand p {
  max-width: 36ch;
  margin: 12px 0 0;
  color: var(--fg-3);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-title {
  margin: 0 0 4px;
  color: var(--fg);
  font-weight: 600;
}

.footer-col a {
  color: var(--fg-2);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--fg);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: auto;
  }
}

[hidden] {
  display: none !important;
}

/* Home page */

.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-block: 40px 80px;
}

@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    padding-top: 64px;
  }
}

.hero h1 {
  max-width: 12ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.browser-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero .note {
  margin-top: 18px;
}

.hero-shot {
  position: relative;
  margin: 0;
  isolation: isolate;
}

/* The glow stays inside the figure's box (its blur is paint only), so phones never scroll sideways. */
.hero-shot::before {
  content: "";
  position: absolute;
  inset: 6% 0 -8% 8%;
  z-index: -1;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(64px);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line-strong),
    var(--shadow-pop);
}

.section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
  text-wrap: balance;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--fg-2);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

.how {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}

@media (min-width: 820px) {
  .how {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.how li,
.feature {
  padding: 26px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.how li {
  counter-increment: how;
}

.how li::before {
  content: counter(how);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.9375rem;
}

.how h3,
.feature h3 {
  margin: 18px 0 6px;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.how p,
.feature p {
  margin: 0;
  color: var(--fg-2);
}

.features {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-fg);
}

.feature .feature-icon .icon {
  width: 22px;
  height: 22px;
}

.services {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.services th,
.services td {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.services thead th {
  border-top: 0;
  color: var(--fg-3);
  font-size: 0.8125rem;
  font-weight: 600;
}

.services tbody th {
  font-weight: 600;
}

.services tbody th a {
  color: var(--fg);
  text-decoration-color: var(--line-strong);
}

.services tbody th a:hover {
  text-decoration-color: currentColor;
}

.services td {
  color: var(--fg-2);
}

@media (max-width: 599px) {
  .services th,
  .services td {
    padding: 12px 14px;
  }

  .services td {
    font-size: 0.9375rem;
  }
}

.tier {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.tier::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-3);
  transform: translateY(-1px);
}

.tier-tested::before {
  background: var(--ok);
}

.tier-new::before {
  background: var(--info);
}

.tier-beta::before {
  background: var(--accent);
}

.section .note {
  max-width: 64ch;
}

.discord-card {
  display: grid;
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, var(--glow), transparent 60%), var(--surface);
  box-shadow: var(--raised), var(--shadow);
}

@media (min-width: 900px) {
  .discord-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    padding: 44px;
  }
}

.discord-card .section-head {
  margin-bottom: 0;
}

.discord-card .button-row {
  margin-top: 24px;
}

.command {
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.9375rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.command code {
  color: var(--fg);
  font: inherit;
}

.command .opt {
  color: var(--accent-fg);
}

.command .hint {
  display: block;
  margin-top: 10px;
  color: var(--fg-3);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
}

.promise {
  display: grid;
  gap: 20px;
  justify-items: start;
}

@media (min-width: 900px) {
  .promise {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
  }
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-fg);
}

.promise .promise-icon .icon {
  width: 32px;
  height: 32px;
}

.promise p {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--fg-2);
  font-size: 1.0625rem;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.faq-item summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--fg-3);
  border-bottom: 2px solid var(--fg-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 150ms ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item summary:hover::after {
  border-color: var(--fg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--fg-2);
}

.faq-answer p {
  margin: 0;
  max-width: 68ch;
}

.cta-band {
  padding-block: 88px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-band p {
  margin: 12px auto 0;
  max-width: 48ch;
  color: var(--fg-2);
  font-size: 1.0625rem;
}

.cta-band .hero-actions,
.cta-band .browser-row {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }

  .btn,
  .faq-item summary::after {
    transition: none;
  }
}

/* Phone companion (/c/<id>): one column, thumb-sized controls, the chat filling the rest. */
.phone-body {
  min-height: 100dvh;
}

.phone {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(560px, 100%);
  min-height: 100dvh;
  margin-inline: auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-title {
  min-width: 0;
  flex: 1;
}

.phone-title h1 {
  margin: 0;
  overflow: hidden;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--fg-3);
  font-size: 13px;
}

.phone-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--fg-3);
}

.phone[data-playing="true"] .phone-status .dot {
  background: var(--ok);
}

.phone-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 500;
}

.phone-wait {
  display: grid;
  flex: 1;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--fg-2);
  text-align: center;
}

.phone-wait p {
  max-width: 30ch;
  margin: 0;
}

.phone .phone-icon .icon {
  width: 32px;
  height: 32px;
  color: var(--danger);
}

.remote {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 18px 12px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--raised), var(--shadow);
}

.round {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--fg);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  transition:
    transform 150ms,
    background-color 150ms;
  -webkit-tap-highlight-color: transparent;
}

.phone .round .icon {
  width: 24px;
  height: 24px;
}

.phone .round span {
  margin-top: -4px;
  line-height: 1;
}

.round.big {
  width: 88px;
  height: 88px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28);
}

.phone .big .icon {
  width: 36px;
  height: 36px;
}

.round:active {
  transform: scale(0.95);
}

.round:disabled {
  cursor: default;
  opacity: 0.45;
  transform: none;
}

.phone-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--fg-3);
  font-size: 13px;
}

.reactions {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.reactions button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  transition:
    transform 150ms,
    background-color 150ms;
  -webkit-tap-highlight-color: transparent;
}

.reactions button:active {
  transform: scale(0.88);
  background: var(--surface-2);
}

.call {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--raised);
}

.call-text {
  margin: 0 0 10px;
  color: var(--fg-2);
  font-size: 14px;
}

.call-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.call-actions .btn {
  height: 44px;
  font-size: 15px;
}

.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 240px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--raised);
  overflow: hidden;
}

.chat-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  max-height: 46dvh;
  margin: 0;
  padding: 10px 12px;
  overflow-y: auto;
  list-style: none;
}

.chat-list li {
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.chat-list .who {
  margin-right: 6px;
  font-weight: 600;
}

.chat-list .mine .who {
  color: var(--accent-fg);
}

.chat-list .system {
  color: var(--fg-3);
  font-size: 13px;
  text-align: center;
}

.chat-list img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  margin-top: 4px;
  border-radius: 10px;
}

.poll {
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.phone .poll strong {
  display: block;
  margin-bottom: 6px;
}

.poll button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--fg);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.poll button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.compose {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
}

.compose input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
  font-size: 16px;
}

.compose input::placeholder {
  color: var(--fg-3);
}

.compose input:focus {
  outline: none;
  border-color: var(--accent);
}

.send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
}

.phone .send .icon {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .round,
  .reactions button {
    transition: none;
  }
}

/* --- guide pages --- */
/* /guides, /teleparty-alternative, /watch-party-with-ads, /firefox-watch-party, /<service>-watch-party */
.guide .eyebrow a {
  color: inherit;
  text-decoration: none;
}

.guide .eyebrow a:hover {
  text-decoration: underline;
}

.guide .lead {
  max-width: 60ch;
}

.guide .note {
  max-width: none;
  margin-top: 40px;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.guide .callout .icon {
  margin-top: 2px;
  color: var(--accent-fg);
}

.guide .callout strong,
.guide .guide-steps strong {
  color: var(--fg);
}

ol.guide-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  min-height: 30px;
  padding: 3px 0 0 44px;
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-fg);
  font-weight: 700;
  font-size: 0.875rem;
}

.faq h3 {
  margin: 24px 0 6px;
  font-size: 1rem;
  font-weight: 650;
}

.faq p {
  margin: 0;
}

.compare-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare caption {
  padding: 12px 14px;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--fg-3);
}

.compare tr > th,
.compare tr > td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.compare thead th {
  background: var(--surface-2);
  font-weight: 650;
}

.compare tbody th {
  width: 22%;
  font-weight: 600;
}

.compare tr > td {
  color: var(--fg-2);
}

ul.guide-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  ul.guide-list {
    grid-template-columns: 1fr 1fr;
  }
}

.guide .guide-list a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 150ms ease;
}

.guide .guide-list a:hover {
  border-color: var(--accent);
}

.guide .guide-list strong {
  display: block;
  font-weight: 650;
}

.guide .guide-list span {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--fg-2);
}

@media (prefers-reduced-motion: reduce) {
  .guide .guide-list a {
    transition: none;
  }
}

/* --- support form and uninstall page --- */
.prose .button-row {
  margin-top: 14px;
}

.prose code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--fg);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 24px;
  max-width: 560px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  color: var(--fg);
}

.field .optional {
  font-weight: 400;
  color: var(--fg-3);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}

.contact-form input,
.contact-form select {
  height: 46px;
  padding: 0 14px;
}

.contact-form textarea {
  padding: 12px 14px;
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form [aria-invalid="true"] {
  border-color: var(--danger);
}

.prose .hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--fg-3);
}

/* A field people never see; bots that fill every field give themselves away. */
.field.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.9375rem;
}

.prose .form-status.error {
  color: var(--danger);
}

.form-done {
  margin-top: 24px;
  max-width: 560px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--accent-soft);
}

.prose .form-done p {
  margin: 0;
  color: var(--fg);
}

.prose .form-done p + p {
  margin-top: 4px;
  color: var(--fg-2);
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.reason {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.reason:hover {
  border-color: var(--accent);
}

.reason[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.reason[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}

.reason[aria-disabled="true"]:hover {
  border-color: var(--line);
}

.bye .reasons + .form-status {
  margin-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .reason {
    transition: none;
  }
}
