/* Shared styles for usetopia.com's content pages (/alternatives/, /usenet-streaming/,
   /faq/, 404). Same tokens as the home page (docs/index.html), which keeps its
   own inline styles; /privacy/, /terms/ and /support/ keep theirs too.
   Inter 4.1 (OFL) is self-hosted in /assets/fonts/. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-4.1-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-4.1-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-4.1-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  --color-void-black: #040506;
  --color-deep-charcoal: #07080a;
  --color-graphite-700: #111214;
  --color-graphite-600: #1b1c1e;
  --color-graphite-500: #363739;
  --color-slate-200: #9c9c9d;
  --color-ash-50: #e6e6e6;
  --color-snow: #ffffff;
  --color-mint-signal: #59d499;
  --color-sky-signal: #56c2ff;
  --button-text: #2f3031;
  --card-border: #222225;

  --font-inter: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-badges: 6px;
  --radius-buttons: 8px;
  --radius-cards: 11px;
  --radius-modals: 16px;
  --radius-cardlarge: 20px;

  --shadow-key: rgba(0, 0, 0, 0.4) 0px 1.5px 0.5px 2.5px, rgb(0, 0, 0) 0px 0px 0.5px 1px, rgba(0, 0, 0, 0.25) 0px 2px 1px 1px inset, rgba(255, 255, 255, 0.2) 0px 1px 1px 1px inset;
  --shadow-highlight: rgba(255, 255, 255, 0.05) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px -1px 0px 0px inset;
  --shadow-button: rgba(0, 0, 0, 0.03) 0px 7px 3px 0px, rgba(0, 0, 0, 0.25) 0px 4px 4px 0px;
  --shadow-top-line: rgba(255, 255, 255, 0.1) 0px 1px 0px 0px inset;
  --shadow-float: rgba(0, 0, 0, 0.4) 0px 4px 40px 8px, rgba(0, 0, 0, 0.8) 0px 0px 0px 0.5px, rgba(255, 255, 255, 0.3) 0px 0.5px 0px 0px inset;

  --atmosphere-blue: radial-gradient(50% 50% at 50% 50%, rgba(4, 63, 150, 0.7), rgba(6, 18, 37, 0.25) 55%, rgba(6, 18, 37, 0) 100%);
  --atmosphere-violet: radial-gradient(50% 50% at 50% 50%, rgba(82, 48, 145, 0.7), rgba(26, 11, 51, 0.14) 55%, rgba(26, 11, 51, 0) 100%);

  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --page-max-width: 1200px;
  --prose-width: 760px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; color-scheme: dark; background: var(--color-void-black); }
body {
  background: var(--color-void-black);
  color: var(--color-snow);
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  font-feature-settings: "calt", "kern", "liga", "ss03";
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
strong, b { font-weight: 600; }
img { max-width: 100%; }
::selection { background: rgba(255, 255, 255, 0.2); color: var(--color-snow); }
:focus-visible { outline: 2px solid var(--color-snow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--page-max-width); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 620px) { .wrap { padding-inline: 16px; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── nav: the home page's floating dark pill ── */
nav.site-nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(760px, calc(100% - 32px));
  background: rgba(27, 28, 30, 0.94);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-top-line), var(--shadow-float);
}
.nav-inner { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 14px; }
.nav-inner .home { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-inner img.logo { width: 24px; height: 24px; border-radius: 6px; }
.nav-inner .brand { font-weight: 600; font-size: 14px; letter-spacing: 0.1px; color: var(--color-snow); }
.nav-links { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--color-slate-200); text-decoration: none; font-size: 14px; font-weight: 400;
  transition: color 200ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-snow); }
.nav-links a.cta {
  margin-left: 4px;
  color: var(--button-text); background: var(--color-ash-50);
  font-weight: 500; padding: 8px 12px; border-radius: var(--radius-buttons);
  box-shadow: var(--shadow-button);
  transition: background-color 200ms ease;
}
.nav-links a.cta:hover { color: var(--button-text); background: #d4d4d4; }
.nav-links a.account {
  color: var(--color-ash-50); background: rgba(255, 255, 255, 0.02);
  font-weight: 500; padding: 8px 12px; border-radius: var(--radius-buttons);
  box-shadow: var(--shadow-key);
  transition: background-color 200ms ease, color 200ms ease;
}
.nav-links a.account:hover { color: var(--color-snow); background: rgba(255, 255, 255, 0.06); }
.nav-links a.account + a.cta { margin-left: -12px; }
.nav-links a.account, .nav-links a.cta { white-space: nowrap; }
@media (max-width: 720px) { .nav-links a:not(.cta):not(.account) { display: none; } }
@media (max-width: 374px) { .nav-inner .brand { display: none; } }

/* ── page header ─────────────────────── */
main { display: block; overflow-x: clip; }
.page-head { position: relative; isolation: isolate; padding: 132px 0 0; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -220px; transform: translateX(-50%);
  width: min(1500px, 170vw); height: 820px;
  background: var(--atmosphere-blue); opacity: 0.6;
}
.page-head.violet::before { background: var(--atmosphere-violet); opacity: 0.6; }
.prose, .page-head .inner { max-width: var(--prose-width); margin: 0 auto; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--color-slate-200); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--color-graphite-500); }
.crumbs a { color: var(--color-slate-200); text-decoration: none; transition: color 200ms ease; }
.crumbs a:hover { color: var(--color-snow); }
.kicker {
  display: inline-block; margin-top: 28px;
  background: var(--color-graphite-600); color: var(--color-snow);
  border-radius: var(--radius-badges); padding: 2px 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.6;
  box-shadow: var(--shadow-top-line);
}
h1 {
  margin-top: 16px;
  font-size: clamp(34px, 5.6vw, 54px); line-height: 1.07; font-weight: 600;
  letter-spacing: -0.033em; text-wrap: balance;
}
.lede {
  margin-top: 20px;
  font-size: clamp(17px, 2.1vw, 19px); line-height: 1.55; letter-spacing: 0.06px;
  color: var(--color-slate-200); text-wrap: pretty;
}
.lede strong { color: var(--color-snow); font-weight: 500; }
.updated { margin-top: 18px; font-size: 13px; color: var(--color-slate-200); }
.updated time { color: var(--color-ash-50); }

/* ── prose ───────────────────────────── */
.prose { padding-top: 8px; }
.prose h2 {
  margin: 64px 0 14px; scroll-margin-top: 84px;
  font-size: clamp(24px, 3.2vw, 32px); line-height: 1.18; font-weight: 600;
  letter-spacing: -0.025em; text-wrap: balance;
}
.prose h3 {
  margin: 32px 0 8px; scroll-margin-top: 84px;
  font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance;
}
.prose p, .prose li, .prose dd { color: var(--color-slate-200); text-wrap: pretty; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--color-snow); }
.prose a, .text-link {
  color: var(--color-snow);
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px;
  transition: text-decoration-color 200ms ease;
}
.prose a:hover, .text-link:hover { text-decoration-color: var(--color-snow); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--color-graphite-500); }
.prose sup { font-size: 11px; line-height: 0; }
.prose sup a { text-decoration: none; color: var(--color-slate-200); padding: 0 1px; }
.prose sup a:hover { color: var(--color-snow); }

/* The one-paragraph answer at the top of a page. */
.answer {
  margin: 36px 0 0;
  background: rgba(17, 18, 20, 0.72);
  border-radius: var(--radius-modals);
  padding: 22px 24px;
  box-shadow: var(--shadow-highlight);
}
.answer .label {
  display: block; margin-bottom: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--color-slate-200);
}
.answer p { margin: 0; color: var(--color-ash-50); font-size: 16px; line-height: 1.6; }
.answer p + p { margin-top: 10px; }

/* ── facts: definition list in two columns ── */
.facts {
  margin: 24px 0 0;
  display: grid; grid-template-columns: minmax(120px, 200px) 1fr;
  border: 1px solid var(--card-border); border-radius: var(--radius-modals);
  background: rgba(7, 8, 10, 0.72); box-shadow: var(--shadow-top-line);
  overflow: hidden;
}
.facts dt, .facts dd { padding: 12px 18px; font-size: 14px; line-height: 1.55; border-top: 1px solid var(--card-border); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { color: var(--color-snow); font-weight: 500; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dd { border-top: 0; padding-top: 0; }
}

/* ── comparison table ────────────────── */
.table-wrap {
  margin: 24px 0 0;
  border: 1px solid var(--card-border); border-radius: var(--radius-modals);
  background: rgba(7, 8, 10, 0.72); box-shadow: var(--shadow-top-line);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.table-wide { max-width: 1080px; margin-inline: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
table.cmp caption { caption-side: top; text-align: left; padding: 14px 18px 0; font-size: 13px; color: var(--color-slate-200); }
table.cmp th, table.cmp td { padding: 12px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--card-border); }
table.cmp thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--color-snow); white-space: nowrap; }
table.cmp tbody th { font-weight: 500; color: var(--color-snow); min-width: 150px; }
table.cmp td { color: var(--color-slate-200); min-width: 150px; }
table.cmp td strong { color: var(--color-snow); font-weight: 500; }
/* On narrow screens the table scrolls sideways; the feature names stay in view. */
@media (max-width: 900px) {
  table.cmp tbody th, table.cmp thead th:first-child {
    position: sticky; left: 0; z-index: 1; min-width: 116px; max-width: 132px;
    background: var(--color-deep-charcoal); box-shadow: inset -1px 0 0 var(--card-border);
  }
  table.cmp thead th:first-child { white-space: normal; }
}
table.cmp .us { background: rgba(255, 255, 255, 0.025); }
table.cmp thead .us { color: var(--color-snow); }
.yes, .no, .part, .unlisted { color: var(--color-ash-50); font-weight: 500; }
.yes::before, .no::before, .part::before, .unlisted::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 99999px; vertical-align: 1px;
}
.yes::before { background: var(--color-mint-signal); }
.part::before { background: var(--color-sky-signal); }
.no::before { background: var(--color-graphite-500); }
/* "Not listed": the product's own pages do not mention it, which is not the same as "No". */
.unlisted::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--color-graphite-500); }
.table-note { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--color-slate-200); }

/* ── cards ───────────────────────────── */
.grid { display: grid; gap: 15px; margin-top: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: rgba(7, 8, 10, 0.72);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-modals);
  padding: 24px;
  box-shadow: var(--shadow-top-line);
  transition: border-color 200ms ease, background-color 200ms ease;
}
.card:hover { border-color: #2c2d30; background: rgba(17, 18, 20, 0.72); }
.card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.card p, .card li { font-size: 14px; line-height: 1.6; color: var(--color-slate-200); }
.card p { margin: 0; }
.card p + p { margin-top: 10px; }
.card ul { margin: 0; padding-left: 18px; }
.card li { margin: 6px 0; }
a.card { display: block; text-decoration: none; }
a.card .more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--color-snow); }
.card.highlight { border-color: transparent; background: rgba(17, 18, 20, 0.72); box-shadow: var(--shadow-highlight); }

/* ── questions and answers ───────────── */
.qa h3 { margin-top: 28px; }
.qa p { margin-bottom: 12px; }

/* ── on this page ────────────────────── */
.toc { margin: 8px 0 0; }
.prose .toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.prose .toc li { margin: 0; padding: 0; }
.prose .toc a {
  display: inline-block;
  background: var(--color-graphite-600); color: var(--color-snow);
  border-radius: var(--radius-badges); padding: 4px 10px;
  font-size: 13px; font-weight: 500; line-height: 1.6; text-decoration: none;
  box-shadow: var(--shadow-top-line);
  transition: background-color 200ms ease;
}
.prose .toc a:hover { background: #2c2d30; }

/* ── sources ─────────────────────────── */
.sources-list { margin: 0; padding-left: 22px; font-size: 13px; line-height: 1.6; }
.sources-list li { margin: 6px 0; overflow-wrap: anywhere; }

/* ── get Usetopia ────────────────────── */
.get {
  max-width: 1080px; margin: 88px auto 0;
  border-radius: var(--radius-cardlarge); padding: 36px 32px;
  background: rgba(17, 18, 20, 0.72); box-shadow: var(--shadow-highlight);
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.get h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.get p { margin-top: 8px; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--color-slate-200); }
.get .stores { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.get .stores li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--color-graphite-600); color: var(--color-snow);
  border-radius: var(--radius-badges); padding: 4px 10px;
  font-size: 13px; font-weight: 500; line-height: 1.6;
  box-shadow: var(--shadow-top-line);
}
.dot { width: 8px; height: 8px; border-radius: 99999px; background: var(--color-sky-signal); flex: none; }
/* Apple's badges: unmodified, at least 40px tall, clear space of a quarter of their height. */
.store-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store-badges a { display: block; border-radius: 7px; }
.store-badges a:focus-visible { outline: 2px solid var(--color-snow); outline-offset: 3px; }
.store-badges img { display: block; height: 40px; width: auto; }
.get .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 12px; border-radius: var(--radius-buttons);
  font-weight: 500; font-size: 14px; letter-spacing: 0.1px; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, transform 400ms var(--ease-out-quint);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-ash-50); color: var(--button-text); box-shadow: var(--shadow-button); }
.btn-primary:hover { background: #d4d4d4; }
.btn-ghost { background: rgba(255, 255, 255, 0.02); color: var(--color-ash-50); box-shadow: var(--shadow-key); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--color-snow); }
@media (max-width: 620px) { .get { padding: 28px 24px; } }

/* ── footer ──────────────────────────── */
footer.site-foot {
  margin-top: 104px;
  padding: 48px 0 56px;
  color: var(--color-slate-200);
  font-size: 13px; line-height: 1.7;
}
.site-foot .foot-grid { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: space-between; gap: 32px; }
.site-foot a { color: var(--color-slate-200); text-decoration: none; transition: color 200ms ease; }
.site-foot a:hover { color: var(--color-snow); }
.site-foot .note p + p { margin-top: 12px; }
.site-foot .foot-links { text-align: right; }
.site-foot .foot-links .group { display: block; }
.site-foot .foot-links .group + .group { margin-top: 6px; }
@media (max-width: 720px) { .site-foot .foot-grid { grid-template-columns: 1fr; } .site-foot .foot-links { text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .btn, .nav-links a.cta, .nav-links a.account { border: 1px solid ButtonText; }
  nav.site-nav, .card, .answer, .get, .facts, .table-wrap { border: 1px solid CanvasText; }
}
@media print {
  nav.site-nav { position: absolute; }
  .page-head::before { display: none; }
  .card, .answer, .table-wrap, .facts { break-inside: avoid; }
  h1, h2, h3, .kicker, strong, b, th { color: #000; }
  p, li, td, dd, footer, footer a { color: #333; }
}
