/* The "Noticeboard" direction: warm paper by day, deep pine by night, a soft serif for titles
   (Fraunces), a friendly sans for reading (Figtree), mono for the small labels, forest green for
   actions and a marigold seal for "a person approved this". Same structure and class names as the
   other Protomota app sites; only the tokens, fonts, hero preview and the board and form
   components are this site's own. Every colour is a token in :root, so a re-skin is this block. */

@font-face {
  font-family: "Fraunces Variable";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree Variable";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #faf6ee;
  --bg-2: #f3ede0;
  --surface: #fffdf8;
  --surface-2: #f7f2e7;
  --sunk: #efe8d9;
  --line: #e4dccb;
  --line-2: #cfc5ae;
  --ink: #15241c;
  --ink-2: #3c4a42;
  --muted: #677268;
  /* Brand: forest green for actions, marigold for the approval seal. */
  --accent: #17603f;
  --accent-strong: #0f4a30;
  --accent-ink: #ffffff;
  --fill: #17603f;
  --fill-strong: #0f4a30;
  --fill-ink: #ffffff;
  --seal: #f5b83d;
  --seal-ink: #3a2a05;
  --seal-text: #8a5a00;
  --up: #17603f;
  --down: #b3391f;
  --band-1: #17603f; --band-2: #f5b83d; --band-3: #2f8f61; --band-4: #d9c9a3; --band-5: #0e3d29;
  --shadow: 0 1px 0 rgb(21 36 28 / .05), 0 24px 50px -24px rgb(21 36 28 / .30);
  --display: "Fraunces Variable", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree Variable", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono Variable", Menlo, Consolas, monospace;
  /* Names the shared Protomota block expects from its host site. */
  --paper: var(--ink);
  --signal: var(--accent);
  --rule: var(--line);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0d1511;
    --bg-2: #111b16;
    --surface: #16221c;
    --surface-2: #1b2922;
    --sunk: #09100d;
    --line: #25352c;
    --line-2: #37493f;
    --ink: #f3efe4;
    --ink-2: #c5cdc4;
    --muted: #8f9c93;
    --accent: #7fd6a6;
    --accent-strong: #a6e6c3;
    --accent-ink: #0d1511;
    --fill: #23784f;
    --fill-strong: #2b8a5c;
    --fill-ink: #ffffff;
    --seal: #f5b83d;
    --seal-ink: #3a2a05;
    --seal-text: #f5c867;
    --up: #7fd6a6;
    --down: #ff8f73;
    --band-4: #3d4a3f;
    --shadow: 0 24px 50px -24px rgb(0 0 0 / .75);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
:is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code { font: .88em/1.5 var(--mono); padding: .08em .38em; border-radius: 5px; background: var(--sunk); color: var(--ink); overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }

.shell { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: fixed; z-index: 100; inset: 8px auto auto 8px; padding: 8px 16px; background: var(--surface); color: var(--ink); border-radius: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--display); letter-spacing: -.03em; }
.wordmark img { width: 30px; height: 30px; display: block; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: color .15s; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--accent); }
.nav nav a.nav-cta { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid transparent; border-radius: 999px; background: var(--fill); color: var(--fill-ink); }
.nav nav a.nav-cta:hover { background: var(--fill-strong); color: var(--fill-ink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--fill); color: var(--fill-ink);
  font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.button:hover { background: var(--fill-strong); color: var(--fill-ink); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.button.secondary:hover { background: var(--surface); border-color: var(--accent); color: var(--ink); }
.button svg { flex-shrink: 0; }

/* Eyebrows and headings. Each eyebrow opens with the marigold seal from the icon. */
.mark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 500 .8rem/1.4 var(--mono); letter-spacing: .02em; color: var(--accent); }
.mark::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--seal) 28%, transparent), 0 0 12px color-mix(in srgb, var(--seal) 55%, transparent); }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.section h2 em { display: block; }
.lead { margin-top: 20px; max-width: 58ch; font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 600; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 8vw, 96px) 0; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 50% at 50% 0%, color-mix(in srgb, var(--seal) 20%, transparent), transparent 70%),
    radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 6px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent);
  font: 500 .75rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--seal) 30%, transparent); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.1rem); max-width: 13ch; margin-inline: auto; }
.hero .lead { margin-inline: auto; max-width: 58ch; font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.actions-left { justify-content: flex-start; }
.fineprint { margin-top: 18px; font: .78rem/1.5 var(--mono); color: var(--muted); }



/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); border-block: 1px solid var(--line); text-align: left; }
.facts div { padding: 28px 24px 28px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.facts dd { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }

/* Bento cards */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0; }
.card.wide { grid-column: span 3; }
.card h3 { font: 650 1.18rem/1.25 var(--sans); letter-spacing: -.015em; }
.card p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.card .visual { margin-top: auto; padding-top: 16px; }
.mini { border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font: 12.5px/1.5 var(--mono); overflow: hidden; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; min-width: 0; }
.mini-row + .mini-row { border-top: 1px solid var(--line); }
.mini-row .lbl { width: 72px; flex-shrink: 0; color: var(--muted); }
.mini-row .val { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.mini-row .val b { font-weight: 500; color: var(--accent); }
.mini-row .end { margin-left: auto; flex-shrink: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { padding: 4px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font: 12.5px/1.5 var(--mono); color: var(--ink-2); }

/* Split sections, ticks */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 6px; height: 6px; margin: .62em auto 0; border-radius: 50%; background: var(--accent); }
.ticks strong { color: var(--ink); font-weight: 600; }


/* Connections */
.connect { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.connect article { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.connect h3 { display: flex; align-items: center; gap: 10px; font: 650 1.12rem/1.25 var(--sans); letter-spacing: -.015em; }
.connect h3::before { content: ""; width: 10px; height: 22px; flex: none; border-radius: 3px; background: var(--k); }
.connect article:nth-child(1) { --k: var(--band-1); } .connect article:nth-child(2) { --k: var(--band-2); }
.connect article:nth-child(3) { --k: var(--band-3); } .connect article:nth-child(4) { --k: var(--band-2); }
.connect p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* Agent session */
.agent { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.clients a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .92rem; font-weight: 550; text-decoration: none; }
.clients a:hover { border-color: var(--accent); color: var(--accent); }
.clients svg { color: var(--accent); }
.agent .actions { justify-content: flex-start; }
.session { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.session-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); font: 500 .78rem/1.4 var(--mono); color: var(--muted); }
.session-body { display: grid; gap: 14px; padding: 20px; }
.say { max-width: 46ch; padding: 11px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.say.you { justify-self: end; background: var(--fill); color: var(--fill-ink); border-bottom-right-radius: 4px; }
.say.agent-says { background: var(--sunk); color: var(--ink); border-bottom-left-radius: 4px; }
.calls { list-style: none; padding: 0; display: grid; gap: 6px; }
.calls li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.calls li::before { content: ""; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--up); -webkit-mask: url("/assets/check.svg") center / contain no-repeat; mask: url("/assets/check.svg") center / contain no-repeat; }
.calls li.blocked::before { background: var(--down); }
.calls b { display: block; font: 500 .84rem/1.4 var(--mono); color: var(--ink); }
.calls span { display: block; font-size: .84rem; color: var(--muted); }
.session[data-mode="write"] .only-read, .session[data-mode="read"] .only-write { display: none; }

/* Privacy trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.trio h3 { display: flex; align-items: center; gap: 10px; font: 650 1.1rem/1.3 var(--sans); margin-bottom: 8px; }
.trio h3::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--seal) 28%, transparent); }
.trio p { color: var(--ink-2); font-size: .96rem; }

/* Download and install */
.install { align-items: start; }
.install .actions { justify-content: flex-start; }
.install-steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.install-steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 20px 24px; color: var(--ink-2); }
.install-steps li + li { border-top: 1px solid var(--line); }
.install-steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); font: 500 .8rem var(--mono); color: var(--accent); }
.install-steps li > span, .install-steps li > div { padding-top: 2px; min-width: 0; }
.install-steps strong { color: var(--ink); font-weight: 600; }

/* Discord callout, just above the newsletter */
.discord-callout { display: flex; align-items: center; gap: 24px 32px; margin-block: clamp(40px, 6vw, 72px) 16px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); scroll-margin-top: 90px; }
.discord-avatar { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgb(245 128 37 / .6), 0 0 22px rgb(245 128 37 / .38); }
.discord-copy { flex: 1; min-width: 0; }
.discord-callout h2 { margin: 0 0 10px; font: 600 1.85rem/1.15 var(--display); letter-spacing: -.02em; }
.discord-callout p { margin: 0; max-width: 560px; color: var(--ink-2); }
.discord-callout .button { flex-shrink: 0; }
@media (max-width: 720px) { .discord-callout { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* Newsletter and feedback, as on the other Protomota sites */
.about-protomota { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(40px, 6vw, 72px); }
.about-card { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.about-icon { display: block; color: var(--accent); }
.about-card h2 { margin: 20px 0 12px; font: 600 1.85rem/1.15 var(--display); letter-spacing: -.02em; }
.about-card p { max-width: 440px; margin-bottom: 22px; color: var(--ink-2); }
.about-card p.about-note { margin: 20px 0 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }


/* Footer, with the app's status bar underneath */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding-block: 0 28px; font: .75rem/1.4 var(--mono); color: var(--muted); }
.footer .product-credit, .footer-credit .product-credit { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; padding: 9px 16px 9px 10px; border: 1px solid #1d2230; border-radius: 999px; background: #000; color: #fff; font: 600 13.5px/1.4 var(--sans); white-space: nowrap; text-decoration: none; transition: transform .15s; }
:is(.footer, .footer-credit) .product-credit:hover { color: #fff; transform: translateY(-1px); }
.product-credit img { display: block; flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }

/* Inner pages: page head, docs layout, tables */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); max-width: 22ch; }
.page-head h1 em { display: block; }
.doc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.doc.single { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 92px; display: grid; gap: 4px; font-size: .9rem; }
.toc strong { margin-bottom: 6px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc a { padding: 3px 0; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.prose { min-width: 0; max-width: 760px; }
.prose section { padding-block: 8px 28px; scroll-margin-top: 92px; }
.prose section + section { border-top: 1px solid var(--line); padding-top: 28px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.prose h3 { margin: 22px 0 6px; font: 650 1.08rem/1.35 var(--sans); }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose ul + p, .prose .table-wrap + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.note { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--surface); }
.prompt { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: .86rem/1.6 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tide-table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.tide-table th, .tide-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tide-table thead th { font: 500 .74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.tide-table td { color: var(--ink-2); }
.tide-table td:first-child { color: var(--ink); font-weight: 550; }
.tide-table tbody tr:last-child > * { border-bottom: 0; }
.tide-table code { background: none; padding: 0; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 6px; font: 500 .78rem/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.status.now { color: var(--up); }
.status.now::before { background: var(--up); }

/* Download page. As on the other Protomota app sites, the support card and the
   download sit side by side: support card on the left, download on the right. On narrow
   screens they stack: title, support card, download. */
.download-intro {
  display: grid; grid-template-columns: minmax(0, 432px) minmax(0, 1fr);
  grid-template-areas: "card head" "card get";
  column-gap: clamp(40px, 6vw, 88px); align-items: center;
  max-width: 1040px; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
  text-align: left;
}
.download-head { grid-area: head; align-self: end; }
.download-intro h1 { max-width: 16ch; margin-inline: 0; font-size: clamp(2.7rem, 5.6vw, 4.4rem); }
.download-intro .lead { margin-inline: 0; max-width: 36ch; text-wrap: balance; }
.download-get { grid-area: get; align-self: start; margin-top: 32px; }
.download-button {
  min-height: 62px; padding: 14px 32px; gap: 12px; border-radius: 999px;
  font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 14px 44px -12px color-mix(in srgb, var(--accent) 60%, transparent);
}
.download-button svg { margin-top: -3px; }
.download-get .fineprint + .fineprint { margin-top: 4px; }
.download-support {
  grid-area: card; position: relative; overflow: hidden;
  padding: 30px 30px 28px;
  border: 1px solid var(--line-2); border-radius: 20px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), var(--surface);
  box-shadow: var(--shadow);
}
.download-support::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(to right, var(--accent), transparent 85%); opacity: .8; }
.support-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--accent); }
.download-support h2 { font: 650 1.6rem/1.15 var(--sans); letter-spacing: -.03em; text-wrap: initial; }
.download-support h2 span { display: block; color: var(--accent); }
.support-copy { margin-top: 12px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.download-support .button { min-height: 44px; margin-top: 20px; padding: 8px 20px; border-radius: 999px; font-size: .92rem; }
.download-guide { max-width: 1040px; padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); padding-bottom: clamp(40px, 6vw, 64px); }
.download-guide h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.download-guide .install-steps p { margin-block: 8px 0; }
.download-guide > p { max-width: 70ch; margin-top: 16px; color: var(--ink-2); }
.download-verification { margin: 20px 0 0; color: var(--ink-2); }
.download-verification summary { cursor: pointer; color: var(--ink); font-weight: 550; }
.download-verification p { margin-top: 10px; }
.download-verification code { display: inline-block; margin-top: 8px; overflow-wrap: anywhere; }

/* Missing page */
.missing-page { display: flex; min-height: 100svh; flex-direction: column; }
.missing-page main { flex: 1 0 auto; }
.missing-editor .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }


/* Share pill, behavior in assets/protomota-share.js */
.pm-share-btn.app-share { --pm-share-accent: var(--accent); --pm-share-line: color-mix(in srgb, var(--accent) 60%, transparent); --pm-share-glow: color-mix(in srgb, var(--accent) 18%, transparent); --pm-share-glow-hover: color-mix(in srgb, var(--accent) 34%, transparent); color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, transparent); height: 46px; padding: 0 22px 0 18px; }

/* ---- This site's own pieces -------------------------------------------------------------- */

/* The working preview: the curator's desk as a Mac window, with sample data. It carries its own
   light and dark tokens so the Appearance toggle works whatever the site theme is. */
.stage { position: relative; margin-top: clamp(40px, 6vw, 68px); }
.stage::before {
  content: ""; position: absolute; inset: 10% 8% 6%; z-index: -1; border-radius: 40px;
  background: color-mix(in srgb, var(--accent) 22%, transparent); filter: blur(80px);
}
[data-appearance="light"] { color-scheme: light; --w-bg: #fffdf8; --w-side: #f5efe2; --w-card: #ffffff; --w-ink: #15241c; --w-ink2: #66726a; --w-line: #e4dccb; --w-acc: #17603f; --w-accink: #ffffff; --w-soft: #e6f1ea; --w-seal: #f5b83d; --w-sealtext: #8a5a00; --w-neg: #b3391f; }
[data-appearance="dark"] { color-scheme: dark; --w-bg: #101914; --w-side: #0c130f; --w-card: #17231d; --w-ink: #f3efe4; --w-ink2: #93a097; --w-line: #26372e; --w-acc: #2b8a5c; --w-accink: #ffffff; --w-soft: #1c3027; --w-seal: #f5b83d; --w-sealtext: #f5c867; --w-neg: #ff8f73; }
.gw {
  display: grid; grid-template-rows: auto 1fr;
  border: 1px solid var(--w-line); border-radius: 14px; overflow: hidden; text-align: left;
  background: var(--w-bg); color: var(--w-ink);
  box-shadow: var(--shadow);
  font: 13.5px/1.45 var(--sans);
  transition: background .25s, color .25s;
}
.gw button, .gw input { font-family: inherit; }
.gw-title { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 10px 14px; border-bottom: 1px solid var(--w-line); background: var(--w-side); }
.gw-title .grow { flex: 1; }
.lights { display: flex; gap: 7px; flex: none; }
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.tabs { display: inline-flex; gap: 2px; }
.tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 0; border-radius: 999px; background: none; color: var(--w-ink2); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--w-ink); }
.tabs button[aria-pressed="true"] { background: var(--w-acc); color: var(--w-accink); }
.tabs .n { min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--w-seal); color: #3a2a05; font: 700 11px/18px var(--sans); text-align: center; }
.sync { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--w-ink2); white-space: nowrap; }
.sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--w-seal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--w-seal) 30%, transparent); }
.gw-body { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 520px; }
.gw-side { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: var(--w-side); border-right: 1px solid var(--w-line); }
.side-label { margin: 8px 6px 2px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--w-ink2); }
.gw-search { width: 100%; padding: 8px 12px; border: 1px solid var(--w-line); border-radius: 999px; background: var(--w-card); color: var(--w-ink); font-size: 13px; }
.gw-search:focus-visible { outline: 2px solid var(--w-acc); outline-offset: 1px; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 11px; border: 0; border-radius: 999px; background: none; color: var(--w-ink); font-size: 13px; text-align: left; cursor: pointer; }
.pick:hover { background: var(--w-card); }
.pick[aria-pressed="true"] { background: var(--w-soft); font-weight: 650; }
.pick span { color: var(--w-ink2); font-size: 12px; font-variant-numeric: tabular-nums; }
.rules { list-style: none; padding: 0 6px; display: grid; gap: 9px; font-size: 12.5px; color: var(--w-ink2); }
.rules li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.rules li::before { content: ""; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--w-seal); }
.gw-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px 18px 18px; }
.gw-main[hidden], .gw-side[hidden] { display: none; }
.gw-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.gw-head b { font: 600 19px/1.2 var(--display); letter-spacing: -.02em; }
.gw-head span { font-size: 12px; color: var(--w-ink2); }
.jlist { list-style: none; padding: 0; display: grid; gap: 8px; }
.jrow { border: 1px solid var(--w-line); border-radius: 12px; background: var(--w-card); overflow: hidden; }
.jrow-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; width: 100%; padding: 12px 14px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.jrow-top:focus-visible { outline-offset: -2px; }
.jrow-top b { font-size: 14.5px; font-weight: 650; }
.jrow-top .co { color: var(--w-ink2); font-size: 12.5px; }
.jrow-top .pay { justify-self: end; font: 600 12.5px/1.4 var(--mono); color: var(--w-ink); white-space: nowrap; }
.jrow-top .where { justify-self: end; font-size: 12px; color: var(--w-ink2); white-space: nowrap; }
.jrow-more { display: grid; gap: 10px; padding: 0 14px 14px; font-size: 13px; color: var(--w-ink2); }
.jrow-more[hidden] { display: none; }
.jrow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.wbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 14px; border: 1px solid transparent; border-radius: 999px; background: var(--w-acc); color: var(--w-accink); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.wbtn.ghost { background: none; border-color: var(--w-line); color: var(--w-ink); }
.wbtn[disabled] { opacity: .45; cursor: not-allowed; }
.wbtn.done { background: var(--w-soft); color: var(--w-ink); cursor: default; }
.stamp { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--w-sealtext); }
.stamp::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--w-seal); -webkit-mask: url("/assets/check.svg") center / contain no-repeat; mask: url("/assets/check.svg") center / contain no-repeat; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--w-ink); cursor: pointer; }
.checks input { width: 15px; height: 15px; margin: 0; accent-color: var(--w-acc); }
.flag { color: var(--w-neg); font-size: 12.5px; }
.gw-empty { padding: 28px 12px; border: 1px dashed var(--w-line); border-radius: 12px; text-align: center; color: var(--w-ink2); font-size: 13px; }
.gw-empty[hidden] { display: none; }
.stage-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 18px; font-size: .86rem; color: var(--muted); text-align: left; }
.chooser { display: inline-flex; align-items: center; gap: 8px; font: 500 .75rem/1.4 var(--mono); color: var(--muted); }
.opts { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.opts button { padding: 4px 12px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 .75rem/1.4 var(--mono); cursor: pointer; }
.opts button[aria-pressed="true"] { background: var(--fill); color: var(--fill-ink); }

/* iPhone figure: one job and "Put me forward", with sample data. */
.phone { justify-self: center; width: min(310px, 100%); }
.phone-frame { padding: 11px; border-radius: 48px; background: #0b120e; box-shadow: 0 0 0 1px #37493f, var(--shadow); }
.phone-screen { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 520px; padding: 54px 16px 20px; border-radius: 38px; background: var(--w-bg); color: var(--w-ink); font: 13.5px/1.4 var(--sans); }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; border-radius: 999px; background: #0b120e; transform: translateX(-50%); }
.ph-head { display: flex; align-items: center; justify-content: space-between; }
.ph-head h4 { font: 600 27px/1.05 var(--display); letter-spacing: -.02em; }
.ph-card { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--w-line); border-radius: 20px; background: var(--w-card); }
.ph-card b { font: 600 19px/1.2 var(--display); }
.ph-card .co { color: var(--w-ink2); }
.ph-card .pay { font: 600 14px/1.4 var(--mono); }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.ph-chips li { padding: 3px 10px; border-radius: 999px; background: var(--w-soft); font-size: 12px; }
.ph-card p { color: var(--w-ink2); font-size: 13px; }
.ph-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: auto; }
.ph-actions .wbtn { min-height: 44px; justify-content: center; font-size: 14px; }
.ph-hint { text-align: center; font-size: 12px; color: var(--w-ink2); min-height: 2.8em; }
.phone figcaption { margin-top: 14px; text-align: center; font: .75rem/1.4 var(--mono); color: var(--muted); }

/* Steps: post, read, publish, introduce. */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; margin-bottom: 16px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--seal); color: var(--seal-ink); font: 700 .9rem var(--sans); box-shadow: 0 0 0 4px color-mix(in srgb, var(--seal) 26%, transparent); }
.steps h3 { margin-top: 6px; font: 650 1.12rem/1.25 var(--sans); letter-spacing: -.015em; }
.steps p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* The board (/jobs/) */
.board-tools { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.board-count { margin-bottom: 14px; font: .8rem/1.5 var(--mono); color: var(--muted); min-height: 1.5em; }
.board { list-style: none; padding: 0; display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .15s; }
.job:hover { border-color: var(--line-2); }
.job h2, .job h3 { font: 600 1.35rem/1.2 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.job h2 a, .job h3 a { color: var(--ink); text-decoration: none; }
.job h2 a:hover, .job h3 a:hover { color: var(--accent); }
.job .co { margin-top: 4px; color: var(--ink-2); }
.job .pay { justify-self: end; font: 600 .98rem/1.4 var(--mono); color: var(--ink); white-space: nowrap; }
.job .posted { justify-self: end; font: .78rem/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin-top: 10px; }
.tags li { padding: 3px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); font-size: .82rem; color: var(--ink-2); }
.job .snip { grid-column: 1 / -1; color: var(--ink-2); font-size: .96rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.button.small { min-height: 38px; padding: 6px 16px; font-size: .88rem; }
.reviewed { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--seal-text); }
.reviewed::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--seal); -webkit-mask: url("/assets/check.svg") center / contain no-repeat; mask: url("/assets/check.svg") center / contain no-repeat; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--seal) 60%, transparent)); }
.state { padding: clamp(32px, 6vw, 56px) 24px; border: 1px dashed var(--line-2); border-radius: 16px; text-align: center; }
.state[hidden], .board[hidden], .more[hidden] { display: none; }
.state h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.state p { max-width: 52ch; margin: 12px auto 0; color: var(--ink-2); }
.state .actions { margin-top: 22px; }
.skeleton { display: grid; gap: 12px; }
.skeleton i { display: block; height: 132px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(100deg, var(--surface) 40%, var(--surface-2) 50%, var(--surface) 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton[hidden] { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.more { display: flex; justify-content: center; margin-top: 20px; }
.board-wrap { padding-bottom: clamp(56px, 8vw, 96px); }
.board-foot { margin-top: 28px; color: var(--muted); font-size: .92rem; }

/* One job (/jobs/<id>) */
.job-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.job-page .prose p + p { margin-top: 14px; }
.job-side { position: sticky; top: 92px; display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.job-side .pay { font: 600 1.15rem/1.3 var(--mono); }
.job-side .button { width: 100%; }
.job-side p { font-size: .9rem; color: var(--ink-2); }
.job-head .co { margin-top: 12px; font-size: 1.15rem; color: var(--ink-2); }
.job-head .co a { color: inherit; }
[data-job-state="gone"] .job-gone { display: block; }
.job-gone { display: none; padding-bottom: clamp(56px, 8vw, 96px); }

/* Forms (/post/, /candidates/, /moderators/) */
.form-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.form { display: grid; gap: 20px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.form fieldset { display: grid; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form fieldset + fieldset { padding-top: 22px; border-top: 1px solid var(--line); }
.form legend { padding: 0; margin-bottom: 4px; font: 600 1.3rem/1.2 var(--display); letter-spacing: -.015em; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field label, .field .label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .board-tools input, .board-tools select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--ink);
  font: inherit; font-size: 1rem;
}
.board-tools input, .board-tools select { border-radius: 999px; padding-inline: 18px; background-color: var(--surface); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field textarea.short { min-height: 96px; }
.field :is(input, select, textarea):focus-visible, .board-tools :is(input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .error { font-size: .86rem; font-weight: 600; color: var(--down); }
.field .error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--down); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); font-size: .94rem; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--accent); }
.check label { font-weight: 400; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-foot .fineprint { margin: 0; }
.form-status { font-size: .94rem; font-weight: 600; color: var(--down); }
.form-status:empty { display: none; }
.turnstile:empty { display: none; }
.banner { display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--line-2); border-left: 4px solid var(--seal); border-radius: 12px; background: var(--bg); }
.banner[hidden], .form[hidden], .done[hidden] { display: none; }
.banner b { font: 600 1.1rem/1.3 var(--display); }
.banner span { color: var(--ink-2); font-size: .92rem; }
.done { display: grid; gap: 14px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.done::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--seal); -webkit-mask: url("/assets/check.svg") center / contain no-repeat; mask: url("/assets/check.svg") center / contain no-repeat; }
.done h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.done p { color: var(--ink-2); max-width: 60ch; }
.done code { display: inline-block; }
.done .keep { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.done .keep[hidden] { display: none; }
.done .actions { justify-content: flex-start; margin-top: 6px; }
.aside-card { position: sticky; top: 92px; display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.aside-card h2 { font: 600 1.3rem/1.2 var(--display); letter-spacing: -.015em; }
.aside-card ol, .aside-card ul { display: grid; gap: 10px; padding-left: 1.2em; color: var(--ink-2); font-size: .94rem; }
.aside-card p { color: var(--ink-2); font-size: .92rem; }
.aside-card strong { color: var(--ink); font-weight: 600; }

/* Compare table marks */
.tide-table td.yes { color: var(--up); font-weight: 600; }
.sources { font-size: .88rem; color: var(--muted); }
.sources li { color: var(--muted); }
.brand-ico { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: none; line-height: 0; }
.brand-ico svg { display: block; fill: currentColor; stroke: none; }
.footer-credit a { color: inherit; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card.wide { grid-column: span 1; }
  .split, .agent { grid-template-columns: minmax(0, 1fr); }
  .gw-body { grid-template-columns: 190px minmax(0, 1fr); }
  .connect, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc, .form-page, .job-page { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .toc strong { width: 100%; margin-bottom: 0; }
  .aside-card, .job-side { position: static; }
  .board-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .board-tools .wide { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .download-intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "get"; max-width: 560px; padding-top: 36px; text-align: center; }
  .download-intro h1, .download-intro .lead { margin-inline: auto; }
  .download-intro .lead { margin-top: 14px; max-width: 56ch; }
  .download-support { margin-top: 24px; padding: 18px 18px 16px; border-radius: 16px; text-align: left; }
  .support-icon { display: none; }
  .download-support h2 { font-size: 1.1rem; line-height: 1.3; }
  .download-support h2 span { display: inline; }
  .support-copy { margin-top: 6px; font-size: .9rem; line-height: 1.5; }
  .download-support .button { width: 100%; min-height: 42px; margin-top: 14px; }
  .download-get { margin-top: 16px; }
  .download-button { width: 100%; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .nav nav a.nav-hide { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 22px 16px 22px 0; }
  .facts div + div { padding-left: 16px; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bento, .trio, .about-protomota, .connect, .steps { grid-template-columns: minmax(0, 1fr); }
  .about-card { padding: 24px 20px; }
  .install-steps li { padding: 18px; }
  /* The preview: the filters become a scrolling row above the list. */
  .gw-title { gap: 10px; padding: 9px 12px; }
  .sync span { display: none; }
  .tabs button { padding: 5px 10px; }
  .gw-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .gw-side { flex-direction: row; align-items: center; gap: 6px; padding: 10px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--w-line); scrollbar-width: none; }
  .gw-side::-webkit-scrollbar { display: none; }
  .side-label, .rules { display: none; }
  .gw-search { width: 150px; flex: none; }
  .pick { width: auto; flex: none; gap: 6px; white-space: nowrap; }
  .gw-side[data-side="queue"] { display: none; }
  .gw-main { padding: 14px 12px; }
  .jrow-top { grid-template-columns: minmax(0, 1fr); }
  .jrow-top .pay, .jrow-top .where { justify-self: start; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .phone-screen { min-height: 0; }
  .field-row, .field-row.three { grid-template-columns: minmax(0, 1fr); }
  .board-tools { grid-template-columns: minmax(0, 1fr); }
  .job { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .job .pay, .job .posted { justify-self: start; }
  .form-foot .button { width: 100%; }
}
@media (max-width: 420px) {
  .nav nav a.nav-hide-sm { display: none; }
  .chooser #look-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .skeleton i { animation: none; }
}

.missing-hero { padding-bottom: clamp(48px, 7vw, 84px); }
.missing-hero h1 { max-width: 17ch; }
.missing-hero img { margin-inline: auto; margin-bottom: 23px; }

/* Consent banner colors for this site. assets/analytics.css stays as shared; these win by specificity. */
body .analytics-choice { --ga-bg: var(--surface); --ga-text: var(--ink); --ga-muted: var(--ink-2); --ga-line: var(--line-2); --ga-accent: var(--fill); --ga-accent-ink: var(--fill-ink); box-shadow: var(--shadow); }

/* Hero title on two lines; no glow behind the download intro. */
.hero h1 em { display: block; }
.hero h1 { max-width: 18ch; }
.download-intro::before { display: none; }

/* Brand edge: the icon's five bars as a strip above the footer. */
body > footer { position: relative; }
body > footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 6px; background: linear-gradient(to right, var(--band-1) 0 20%, var(--band-2) 20% 40%, var(--band-3) 40% 60%, var(--band-4) 60% 80%, var(--band-5) 80%); pointer-events: none; }

/* Cards size to their content: no stretched newsletter card. */
.about-protomota { align-items: start; }


/* Take action: Protomota's orange-outline pill with a white icon, beside Send Feedback (2026-11-26) */
:root { --ta: #b4540f; --ta-hover: #8f420b; --ta-icon: #b4540f; --ta-glow: none; }
@media (prefers-color-scheme: dark) { :root { --ta: #f58025; --ta-hover: #ffa54a; --ta-icon: #fff; --ta-glow: drop-shadow(0 0 3px rgba(245, 128, 37, .55)); } }
.about-actions, .support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.support-actions { margin-top: 20px; }
.support-actions .button { margin-top: 0; }
.about-actions .take-action { min-height: 46px; }
.take-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 1px solid color-mix(in oklab, var(--ta) 55%, transparent); border-radius: 999px; background: transparent; color: var(--ta); font-weight: 650; font-size: .92rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.take-action svg { flex-shrink: 0; color: var(--ta-icon); filter: var(--ta-glow); }
.take-action:hover { background: color-mix(in oklab, var(--ta) 12%, transparent); border-color: var(--ta); color: var(--ta-hover); transform: translateY(-1px); }
.take-action:focus-visible { outline: 2px solid var(--ta); outline-offset: 2px; }
@media (max-width: 900px) { .support-actions { margin-top: 14px; } .support-actions > a { width: 100%; } }
