/* Podwatch — site styles.
   Laid out like the Sotto Voce site; coloured like the app: its night (#000010) and Runpod's
   purple, violet and lavender, the same tokens as the app's Theme.swift.
   Self-hosted type, no third-party requests of any kind. */

@font-face {
  font-family: "Baskervville";
  src: url("assets/fonts/baskervville-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baskervville";
  src: url("assets/fonts/baskervville-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --ink-0: #000010;
  --ink-1: #08071a;
  --ink-2: #121027;
  --ink-3: #1a1636;
  --line: rgba(187, 182, 253, 0.12);
  --line-strong: rgba(187, 182, 253, 0.22);

  --text: #f1effa;
  --text-2: #bdb7d6;
  --text-3: #8e88aa;

  --purple: #5d29f0;
  --violet: #9289fe;
  --lavender: #bbb6fd;
  --grad: linear-gradient(100deg, var(--purple) 0%, var(--violet) 55%, var(--lavender) 100%);
  --green: #3ddc84;
  --amber: #ffb547;
  --link: #c4bffd;

  --serif: "Baskervville", "Baskerville", "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 44px);
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink-0); scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink-0); color: var(--text-2); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--text); margin: 0; text-wrap: balance; letter-spacing: -0.01em; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.03; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--text); color: var(--ink-0); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.eyebrow .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: live 2.4s var(--ease-out) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; max-width: 36em; }
.fine { font-size: 0.9rem; color: var(--text-3); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; padding-top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(0, 0, 16, 0.86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-size: 0.95rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.site-nav .get { margin-left: 8px; color: var(--text); font-weight: 600; background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
@media (max-width: 760px) { .site-nav a:not(.get) { display: none; } }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(93, 41, 240, 0.7); transition: transform 0.25s var(--ease-out); }
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn.soon { background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: none; cursor: default; }
.btn.soon:hover { transform: none; }
.text-link { display: inline-flex; gap: 8px; color: var(--text); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.text-link:hover { color: var(--text); border-color: var(--violet); }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 6.5vw, 88px) clamp(110px, 13vw, 170px);
  background: radial-gradient(60% 55% at 78% 38%, rgba(93, 41, 240, 0.26), transparent 70%), radial-gradient(45% 45% at 10% 6%, rgba(146, 137, 254, 0.12), transparent 70%), var(--ink-0); }
.hero-trace { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(160px, 22vw, 280px); z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero h1 em { font-style: italic; display: block; margin-top: 0.08em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hero-facts li { font-size: 0.84rem; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- The app, drawn as it looks ---------- */

.stage { position: relative; display: grid; justify-items: center; min-width: 0; }
.stage::before { content: ""; position: absolute; inset: 6% -6% 2%; background: radial-gradient(closest-side, rgba(93, 41, 240, 0.4), rgba(146, 137, 254, 0.1) 60%, transparent); filter: blur(30px); z-index: -1; }
.desk { width: min(400px, 100%); display: grid; gap: 10px; }
.menubar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 30px; padding-inline: 12px; border-radius: 10px; background: rgba(40, 46, 70, 0.75); border: 1px solid rgba(255, 255, 255, 0.08); font: 500 13px/1 var(--sans); color: rgba(255, 255, 255, 0.85); }
.menubar .dim { opacity: 0.55; }
.badge { font: 500 13px/1 var(--sans); font-variant-numeric: tabular-nums; padding: 4px 7px; border-radius: 5px; border: 1.5px solid var(--violet); background: rgba(93, 41, 240, 0.28); color: #fff; white-space: nowrap; }
.badge.idle { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.badge.low { border-color: var(--amber); background: rgba(255, 181, 71, 0.18); }
.pop { margin-left: auto; width: min(320px, 100%); border-radius: 14px; padding: 14px; display: grid; gap: 10px; font: 13px/1.35 var(--sans); color: var(--text);
  background: radial-gradient(260px 260px at 100% 0%, rgba(93, 41, 240, 0.38), transparent), var(--ink-0); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 50px 100px -30px rgba(2, 2, 20, 0.95); }
.ph { display: flex; align-items: center; gap: 6px; }
.ph .sq { width: 14px; height: 14px; border-radius: 3px; background: var(--grad); }
.ph b { font-size: 14px; }
.ph .t { margin-left: auto; font-size: 11px; color: var(--text-3); }
.card { border-radius: 10px; padding: 10px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.09); display: grid; gap: 7px; }
.card.sel { background: rgba(93, 41, 240, 0.2); border: 1.5px solid var(--violet); }
.row { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dot.off { background: rgba(204, 198, 223, 0.5); }
.nm { font-weight: 600; }
.gpu { margin-left: auto; color: var(--lavender); font-size: 11px; }
.g { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-3); }
.g i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.g i b { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--purple), var(--violet)); transition: width 1.2s var(--ease-out); }
.g em { font-style: normal; color: #fff; width: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.figs div { display: grid; font-size: 10.5px; color: var(--text-3); }
.figs b { font-weight: 400; font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
.grp, .stopped { font-size: 11px; color: var(--text-3); }
.sum { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 11px; color: var(--text-3); }
.sum b { color: #fff; font-weight: 500; }
.example { font-size: 0.78rem; color: var(--text-3); text-align: right; width: min(400px, 100%); }

/* ---------- Sections ---------- */

.band { padding-block: 34px; border-block: 1px solid var(--line); background: var(--ink-1); }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.band li { display: grid; justify-items: center; gap: 4px; }
.band b { font: 400 1.7rem/1 var(--serif); color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.band span { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-3); }

.section { padding-block: clamp(80px, 11vw, 140px); }
.section-head { max-width: 760px; display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 68px); }
.alt { background: radial-gradient(55% 60% at 20% 45%, rgba(93, 41, 240, 0.13), transparent 70%), var(--ink-1); border-block: 1px solid var(--line); }

.steps-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps-flow li { position: relative; padding-top: 30px; border-top: 1px solid var(--line-strong); display: grid; gap: 12px; align-content: start; min-width: 0; }
.steps-flow li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 400 0.95rem/1 var(--mono); color: var(--violet); }
.steps-flow li::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 2px; background: var(--grad); }
@media (max-width: 820px) { .steps-flow { grid-template-columns: 1fr; } }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.features li { padding-top: 28px; border-top: 1px solid var(--line-strong); display: grid; gap: 12px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 22px 24px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); max-width: 620px; }
.node { display: grid; justify-items: center; gap: 8px; text-align: center; }
.node .glyph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--text); }
.node.mac .glyph { background: linear-gradient(var(--ink-3), var(--ink-3)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 0 30px -6px rgba(93, 41, 240, 0.7); }
.node svg { width: 24px; height: 24px; }
.node small { font-size: 0.8rem; line-height: 1.3; }
.line { height: 2px; background: var(--grad); border-radius: 2px; position: relative; overflow: hidden; }
.line::after { content: ""; position: absolute; inset: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent); animation: flow 2.6s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.flow-note { grid-column: 1 / -1; text-align: center; margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: 0.86rem; color: var(--text-3); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 0; }
.facts div { display: grid; gap: 6px; }
.facts dt { font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 0; font-size: 0.98rem; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .flow { grid-template-columns: 1fr; justify-items: center; } .line { width: 2px; height: 22px; } .line::after { display: none; } }

.qa-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.qa { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.qa h3 { font-size: 1.3rem; line-height: 1.3; }
@media (max-width: 820px) { .qa-list { grid-template-columns: 1fr; } }

.closing { text-align: center; background: radial-gradient(50% 70% at 50% 100%, rgba(93, 41, 240, 0.25), transparent 70%), var(--ink-0); border-top: 1px solid var(--line); }
.closing .wrap { display: grid; justify-items: center; gap: 24px; }
.closing-icon { width: 96px; height: 96px; }
.closing h2 { font-style: italic; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 44px 52px; border-top: 1px solid var(--line); background: var(--ink-0); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.site-footer .brand { font-size: 1.2rem; }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .copy { width: 100%; color: var(--text-3); font-size: 0.84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Document pages: support, privacy ---------- */

.doc-hero { padding-block: clamp(64px, 9vw, 110px) 36px; display: grid; gap: 18px; }
.doc-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.doc-hero .lede { max-width: 40em; }
.toc { margin-bottom: 48px; padding: 24px 28px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.toc h2 { font: 600 0.74rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 40px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.doc { padding-bottom: clamp(80px, 10vw, 130px); }
.doc h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; }
.doc > h3 { margin: 32px 0 10px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; max-width: 40em; }
.doc li { margin-bottom: 8px; }
.doc ul { padding-left: 1.3em; }
.doc ul li::marker { color: var(--violet); }
.steps { list-style: none; counter-reset: s; padding: 0 !important; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 20px 16px 62px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 15px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 0.85rem/1 var(--sans); color: var(--ink-0); background: linear-gradient(135deg, #d9d6ff, #bbb6fd); }
.callout { margin: 22px 0; padding: 20px 24px; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(93, 41, 240, 0.16), rgba(146, 137, 254, 0.08)); border: 1px solid rgba(146, 137, 254, 0.3); max-width: 44em; }
.callout p:last-child { margin-bottom: 0; }
.path { font-family: var(--mono); font-size: 0.86em; color: var(--text); background: rgba(255, 255, 255, 0.06); padding: 2px 7px; border-radius: 6px; }
details.faq { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); margin-bottom: 10px; max-width: 44em; }
details.faq[open] { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; position: relative; color: var(--text); font-weight: 500; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease-out); }
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq .answer { padding: 0 20px 6px; }
.contact-card { padding: 24px 28px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); max-width: 44em; }
.contact-card p:last-child { margin-bottom: 0; }
.email { font-size: 1.1rem; word-break: break-all; }

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost .wrap { display: grid; gap: 22px; justify-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
