/* ReadyTask public site (landing, security, legal pages). The signed-in app
   and the auth pages use app.css and keep their own look.

   Design system (ui-ux-pro-max: Swiss Modernism 2.0 / Editorial Grid, adapted
   to a warm light palette): one brand color used only for amounts and the
   main button, warm neutrals for everything else, a serif for headings, Inter
   for text, tabular figures for money. No gradients, glows, glass or heavy
   shadows; motion is limited to 150ms color changes. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  color-scheme: light;
  /* Warm neutrals (stone) */
  --paper:      #fbf8f3;  /* page */
  --surface:    #ffffff;  /* cards, the ledger */
  --wash:       #f4efe7;  /* quiet fills */
  --ink:        #1c1917;  /* text — 16:1 on paper */
  --ink-2:      #44403c;  /* secondary text — 9:1 */
  --ink-3:      #57534e;  /* labels, captions — 7:1 */
  --rule:       #e7e0d5;  /* borders, table rules */
  --rule-2:     #d6cdbf;
  /* The one brand color: amounts and the main button only */
  --brand:      #4f35c9;  /* 7.8:1 on paper */
  --brand-ink:  #ffffff;
  --brand-hover:#3f28a8;
  --focus:      #4f35c9;
  --brand-text: var(--brand); /* brand as text (money, links) */
  --danger-text:#b42318;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
  --wrap: 1120px;

  /* Names the legal pages' inline styles already use (they were written
     against app.css), mapped onto this palette. */
  --bg: var(--paper); --bg-2: var(--surface); --bg-3: var(--wash);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3);
  --border: var(--rule); --border-2: var(--rule-2);
  --accent: var(--brand); --accent-2: var(--brand-text);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
.money, .num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.money { color: var(--brand-text); font-weight: 650; }

/* Focus: always visible for keyboard users. */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
#main:focus { outline: none; }
.skip-link {
  position: absolute; left: 0.75rem; top: -3.5rem; z-index: 100;
  padding: 0.6rem 1rem; border-radius: var(--radius);
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }
.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; }

/* Links in running text are underlined (color alone doesn't mark a link). */
:where(p, li, td, .legal-wrap) a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 44px; padding: 0.6rem 1.1rem; border-radius: var(--radius);
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-quiet:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 36px; padding: 0.4rem 0.8rem; font-size: 0.875rem; }
.btn-lg { min-height: 50px; padding: 0.8rem 1.4rem; font-size: 1rem; }

/* ── Logo ────────────────────────────────────────────────────────────────── */
.rt-logo { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.rt-logo img { width: 28px; height: 28px; }
.rt-wordmark .rt-task { color: inherit; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.site-nav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.site-nav-links { display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; }
.site-nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav-links a:not(.btn):hover { color: var(--ink); }

.section { padding: 4.5rem 0; border-top: 1px solid var(--rule); }
.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--ink-2); margin-top: 0.6rem; font-size: 1.05rem; }
.eyebrow { font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 4rem 0 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); margin: 0.9rem 0 1.1rem; }
.hero-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-fine { margin-top: 1.1rem; font-size: 0.9rem; color: var(--ink-3); }

/* The ledger: what's waiting, biggest first */
.ledger { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.ledger-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--rule); }
.ledger-head h2 { font-size: 1.1rem; }
.ledger-total { font-size: 1.6rem; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ledger th { text-align: left; font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding: 0.7rem 1.25rem; border-bottom: 1px solid var(--rule); }
.ledger td { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger .amt { text-align: right; white-space: nowrap; }
.ledger .who { font-weight: 600; }
.ledger .what, .ledger .when { color: var(--ink-3); font-size: 0.85rem; }
.ledger .state { display: inline-block; margin-top: 0.3rem; font-size: 0.8rem; color: var(--ink-2); border: 1px solid var(--rule-2); border-radius: 4px; padding: 0.05rem 0.45rem; }
.ledger-draft { margin: 0; padding: 1rem 1.25rem; border-top: 1px solid var(--rule); background: var(--wash); border-radius: 0 0 8px 8px; font-size: 0.9rem; color: var(--ink-2); }
.ledger-draft strong { color: var(--ink); }
.ledger-note { margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-3); }

/* ── Steps, cards ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 0.85rem var(--sans); color: var(--ink-3); margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.steps p { color: var(--ink-2); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.5rem; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-2); }
.card .card-kicker { font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.75rem; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.price-card { max-width: 460px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 2rem; }
.price-line { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1.1; }
.price-line #landPer { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink-3); margin-left: 0.35rem; }
.price-sub { margin-top: 0.5rem; color: var(--ink-2); }
.price-list { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: 0.45rem; }
.price-list li { padding-left: 1.4rem; position: relative; color: var(--ink-2); }
.price-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.35rem; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.price-fine { margin-top: 0.75rem; font-size: 0.85rem; color: var(--ink-3); }

/* ── FAQ (native details/summary) ───────────────────────────────────────── */
.faq { max-width: 760px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.9rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--sans); color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 640px; }

/* ── Founder note (hidden in index.html until written) ──────────────────── */
.founder { display: flex; gap: 1.25rem; align-items: flex-start; max-width: 720px; }
.founder img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.founder p { color: var(--ink-2); margin-bottom: 0.6rem; }
.founder .sign { color: var(--ink); font-weight: 600; }

/* ── Closing call to action, footer ─────────────────────────────────────── */
.closing { text-align: left; }
.closing h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 18ch; }
.closing p { color: var(--ink-2); margin: 0.75rem 0 1.5rem; }
.site-footer { border-top: 1px solid var(--rule); padding: 2rem 0 2.5rem; font-size: 0.9rem; color: var(--ink-3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-links a { display: inline-block; padding: 0.35rem 0; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ── Small screens ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .steps, .cards { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
@media (max-width: 600px) {
  .hero { padding: 2.5rem 0 3rem; }
  .section { padding: 3.25rem 0; }
  .site-nav-links a.nav-hide-sm { display: none; }
  .btn-sm { min-height: 44px; }
  .ledger th:nth-child(2), .ledger td.when-col { display: none; }
  .ledger td, .ledger th { padding-left: 0.9rem; padding-right: 0.9rem; }
  .founder { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Articles: tools, templates, comparisons, guides ─────────────────────── */
.article { padding: 3rem 0 4.5rem; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); margin: 0.6rem 0 0.9rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 2rem; }
.checked, .sources { font-size: 0.88rem; color: var(--ink-3); margin: -1rem 0 2rem; }
.sources { margin: 1.5rem 0 0; }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 0.6rem; }
.prose h3 { font-size: 1.12rem; margin: 1.5rem 0 0.35rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 0.9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1rem; display: grid; gap: 0.5rem; }
.prose strong { color: var(--ink); }
.prose code { font-size: 0.9em; background: var(--wash); border: 1px solid var(--rule); border-radius: 4px; padding: 0.05rem 0.35rem; }
.when { font-size: 0.92rem; color: var(--ink-3) !important; margin: -0.3rem 0 0.6rem !important; }
.template, .result-body {
  white-space: pre-wrap; overflow-wrap: anywhere; font: 0.95rem/1.65 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: 6px;
  padding: 1rem 1.15rem; margin: 0 0 1.25rem;
}
.compare { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: 0.93rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--rule); }
.compare thead th { font: 600 0.8rem/1.2 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td { color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.cta-box { margin: 2.5rem 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; }
.cta-box h2 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.cta-box p { color: var(--ink-2); margin-bottom: 1rem; }

/* The generator form */
.tool-form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.5rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select {
  width: 100%; min-height: 44px; padding: 0.55rem 0.7rem; font: 1rem var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--radius);
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.form-error { color: var(--danger-text); font-weight: 600; }
.tool-form .btn { justify-self: start; }
.tool-form .btn:disabled { opacity: 0.6; cursor: progress; }
.tool-result { margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.5rem; }
.tool-result h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.result-label { font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.35rem; }
.result-subject { font-weight: 600; margin-bottom: 1rem; }
.copied { margin-left: 0.75rem; font-size: 0.9rem; color: var(--ink-3); }

/* Footer with the resource links on its own row */
.site-footer .footer-links + .footer-links { justify-content: flex-start; }

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .compare { font-size: 0.88rem; }
  .compare th, .compare td { padding: 0.6rem 0.6rem; }
  .compare tbody th { width: auto; }
}

/* Phones: footer and header links get full-size tap targets */
@media (max-width: 767px) {
  .footer-links a { padding: 0.6rem 0; }
  .legal-header a:not(.btn):not(.rt-logo) { display: inline-flex; align-items: center; min-height: 44px; }
}
.legal-header a:not(.btn):not(.rt-logo) { display: inline-flex; align-items: center; min-height: 28px; }

/* ── Dark: the same design on warm ink ────────────────────────────────────
   Set by the inline script in each page's head (the visitor's choice, else
   the device); the media query covers visitors without JavaScript. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171512; --surface: #1f1c18; --wash: #29251f;
  --ink: #f2ede4; --ink-2: #d6cec1; --ink-3: #b0a698;
  --rule: #34302a; --rule-2: #4a443b;
  --brand: #5b40d6; --brand-hover: #6a50e6; --brand-text: #b3a5ff; --focus: #b3a5ff;
  --danger-text: #fca5a5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #171512; --surface: #1f1c18; --wash: #29251f;
    --ink: #f2ede4; --ink-2: #d6cec1; --ink-3: #b0a698;
    --rule: #34302a; --rule-2: #4a443b;
    --brand: #5b40d6; --brand-hover: #6a50e6; --brand-text: #b3a5ff; --focus: #b3a5ff;
    --danger-text: #fca5a5;
  }
}


/* ── Waitlist ────────────────────────────────────────────────────────────── */
.wl-form { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; max-width: 30rem; }
.wl-form input:not(.wl-trap) {
  flex: 1 1 14rem; min-width: 0; min-height: 50px; padding: 0.6rem 0.9rem; font: 400 1rem var(--sans);
  color: var(--ink); background: var(--surface); border: 1px solid var(--rule-2); border-radius: var(--radius);
}
.wl-form input::placeholder { color: var(--ink-3); }
.wl-form input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.wl-form .form-error { flex-basis: 100%; margin: 0; }
.wl-form[hidden], .wl-done[hidden] { display: none; }
.wl-center { margin-left: auto; margin-right: auto; justify-content: center; }
/* Off-screen, not display:none: bots skip hidden fields, and this one exists to catch them. */
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-done { margin-top: 1.75rem; padding: 1rem 1.15rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--brand); border-radius: var(--radius); max-width: 30rem; text-align: left; }
.closing .wl-done { margin-left: auto; margin-right: auto; }
.wl-done-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.wl-done p:last-child { color: var(--ink-2); }

.demo-tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.25rem; }
.demo-tabs button {
  min-height: 44px; padding: 0.5rem 0.9rem; font: 600 0.95rem var(--sans); color: var(--ink-3); cursor: pointer;
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-selected="true"] { color: var(--brand-text); border-bottom-color: var(--brand-text); }
/* One row on a phone: the fourth tab used to drop onto a line of its own. */
@media (max-width: 520px) {
  .demo-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0; }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tabs button { flex: none; padding: 0.5rem 0.45rem; font-size: 0.8rem; white-space: nowrap; }
}
/* Too narrow for one row even then: two by two, nothing cut off. */
@media (max-width: 384px) {
  .demo-tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .demo-tabs button { text-align: center; }
}
.demo-panel p { color: var(--ink-2); margin-bottom: 1rem; }
.demo-panel img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); }
.nudges { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; align-items: start; margin-top: 3rem; }
.nudges h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.nudges p { color: var(--ink-2); }
.nudge-pick { display: flex; gap: 0.4rem; margin-top: 1rem; }
.nudge-pick button { min-height: 44px; padding: 0.4rem 0.95rem; font: 600 0.9rem var(--sans); color: var(--ink-2); background: transparent; border: 1px solid var(--rule-2); border-radius: var(--radius); cursor: pointer; }
.nudge-pick button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.nudge-text { margin: 0; padding: 1.15rem 1.25rem; min-height: 8.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; color: var(--ink); line-height: 1.6; }
.demo-try { margin-top: 2rem; color: var(--ink-2); }

.deal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.invite-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2rem; background: var(--wash); border: 1px solid var(--rule); border-radius: 8px; }
.invite-box h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 0.3rem; }
.invite-box p { color: var(--ink-2); }
.invite-box .wl-form { margin-top: 0; }
@media (max-width: 860px) {
  .nudges, .deal-grid, .invite-box { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* Very small phones: the waitlist button is wide, so the top bar tightens up to fit. */
@media (max-width: 380px) {
  .site-nav .wrap { padding: 0 0.75rem; gap: 0.5rem; }
  .site-nav-links a:not(.btn) { padding: 0 0.4rem; }
  .site-nav .btn-sm { padding: 0.4rem 0.6rem; font-size: 0.8rem; }
  .compare { table-layout: fixed; font-size: 0.82rem; }
  .compare th, .compare td { padding: 0.5rem 0.4rem; overflow-wrap: anywhere; }
}

/* Keep a phrase whole ("For independent consultants", "Have an invite code?"),
   and on a phone turn the " · " before it into a line break, so a line never
   ends in a stray dot. */
.nw { white-space: nowrap; }
@media (max-width: 520px) {
  .sep-wrap { display: block; height: 0; overflow: hidden; }
}
