/*
  Finite Phone: the sales site's shared stylesheet in the second look (Allen, 2026-11-02, from the
  Round 2 canvas: "it looks great"; docs/website-design.md section 0). A white page, soft rounded
  cards, Inter Tight for headings and Inter for text. Black is the accent (Allen, 2026-11-02: green
  came from one picture's wallpaper, "so i'm not sure if it should be our secondary color"); color
  marks only the app's tools, as the app does: brick for a block, navy for a lock, amber for Second
  Thought, green for a daily limit, grey for In gray.

  Pages move onto it one at a time. A page on it loads this file (the homepage adds home.css);
  a page not yet moved keeps styles.css, the One screen on white look. The shared header, closing
  section and footer are the same markup on both (server/tools/sync-site-partials.py); only their
  look differs.

  Fonts: Inter and Inter Tight, SIL OFL (fonts/OFL-Inter.txt, fonts/OFL-InterTight.txt), variable
  weight, latin and latin-ext, self-hosted under names of our own. Their zero has no slash.
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var-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: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-tight-var-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 Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-tight-var.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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #5E5E5E;      /* 6.4:1 on white, 5.9:1 on --surface */
  --faint: #6B6B6B;      /* 5.3:1 on white: small lines and captions */
  --line: #E6E6E2;
  --line-soft: #ECECE8;
  --surface: #F4F4F1;
  --white: #FFFFFF;
  /* The tools' colors, for their icons and a daily limit's bar; never a link, a focus or a button. */
  --green: #1E7A4C;      /* a daily limit (5.3:1 on white) */
  --navy: #3B4A7A;       /* a lock */
  --amber: #A0640F;      /* Second Thought, and a wait (4.6:1 on white) */
  --brick: #C2412D;      /* the blocked state and a form's error, as in the app (4.9:1) */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-float: 0 2px 4px rgba(0, 0, 0, 0.03), 0 14px 36px rgba(0, 0, 0, 0.08);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
  --wide: 1200px;
  --read: 40em;

  /* The old names, for the page-local sheets written against styles.css (press/press.css,
     assets/setup/setup-clip.css), each onto its token here. */
  --black: var(--ink);
  --grey: var(--muted);
  --rule: var(--line);
  --hover: #2E2E2E;
  --f-sans: var(--text);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 19px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, table, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.018em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.012em; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.005em; }
strong, b { font-weight: 600; }
.lede { margin-top: 20px; max-width: 30em; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); }
.note { color: var(--faint); font-size: 16px; line-height: 1.5; }
.small { color: var(--faint); font-size: 16px; line-height: 1.5; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--white); text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* ---- Buttons: a pill, black on white; the quiet one an outline ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white);
  font: 600 18px/1 var(--text); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--hover); border-color: var(--hover); color: var(--white); }
.btn--quiet { background: var(--white); color: var(--ink); }
.btn--quiet:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.btn[aria-pressed="false"] { background: var(--white); color: var(--ink); }
.actions { margin-top: 32px; }
.quiet-link { color: var(--muted); font-size: 17px; font-weight: 500; text-decoration: none; }
.quiet-link:hover { color: var(--ink); }
.tag {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: var(--surface); color: #4A4A4A; font-size: 15px; font-weight: 500;
}

/* ---- The header (site/partials/header.html) ---- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line-soft); z-index: 20; }
.sticky-head .site-header { position: sticky; top: 0; }
.site-header > .container {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 21px/1 var(--display); letter-spacing: -0.005em; text-decoration: none; color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.wordmark::before {
  content: "F"; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px; background: var(--white);
  border: 1px solid #E2E2DE; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font: 700 19px/1 var(--display);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 12px 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.site-nav > a:not(.nav-cta) { font-size: 16px; font-weight: 500; text-decoration: none; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--white); text-decoration: none; font-size: 16px; font-weight: 600;
}
.nav-cta:hover { background: var(--hover); color: var(--white); }

/* ---- A page's opening and its parts ---- */
.intro { padding: 72px 0 0; }
.intro h1 { max-width: 16em; }
.intro .lede + .actions, .intro .lede + .form { margin-top: 32px; }
.part { padding-top: 120px; }
/* A short page's body under its opening (/setup): one column of plain lines. */
.intro + .part { padding-top: 48px; }
.intro + .part > p { max-width: 34em; }
.intro + .part > p + p { margin-top: 12px; }
.intro + .part > .actions + p { margin-top: 20px; }
.part-head { text-align: center; }
.part-head h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; }
.part-head .tag { margin-bottom: 20px; }
.part-head p { margin: 18px auto 0; max-width: 32em; font-size: 20px; color: var(--muted); }
.part-note { margin-top: 28px; text-align: center; font-size: 16px; color: var(--faint); }

/* ---- Tables: a quiet header row, soft lines between rows; stacked on a phone ---- */
.table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 17px; line-height: 1.5; }
.table th { padding: 0 20px 12px 0; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 14px; font-weight: 500; text-align: left; }
.table td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th:first-child, .table td:first-child { width: 38%; }
.table td:first-child { font-weight: 600; }
.table td:last-child, .table th:last-child { padding-right: 0; }
@media (max-width: 560px) {
  .table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tr, .table td { display: block; width: auto; }
  .table td { padding: 0; border: 0; }
  .table td:first-child { width: auto; padding-top: 16px; }
  .table td:last-child { padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
}

/* ---- Lists in running text ---- */
.list { padding-left: 1.2em; max-width: 34em; }
.list li + li { margin-top: 8px; }

/* ---- Questions: rows that open, a plus that becomes a minus (the homepage, /support, /notices) ---- */
.faq details, .faq-list details { border-top: 1px solid var(--line); }
.faq details:last-of-type, .faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary, .faq-list summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 40px 22px 0;
  font-size: 19px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after, .faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 0; margin-top: -1px;
  border-top: 2px solid var(--ink); transition: transform 0.2s ease;
}
.faq summary::after, .faq-list summary::after { transform: rotate(90deg); }
.faq details[open] summary::after, .faq-list details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover, .faq-list summary:hover { color: var(--muted); }
.faq .answer { padding: 0 0 22px; }
.faq .answer p { font-size: 17px; color: var(--muted); max-width: var(--read); }
.faq .answer p + p, .faq .answer .list, .faq .answer .list + p { margin-top: 12px; }
.faq-all { margin-top: 20px; font-size: 17px; font-weight: 500; }

/* The assistant buttons beside the questions (Allen, 2026-11-02, after walkieone.com) */
.qa-split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.qa-side { flex: 1 1 280px; }
.qa-side h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
.ask-ai { margin-top: 16px; }
.ask-ai p { font-size: 16px; color: var(--muted); }
.ask-ai-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.ask-ai-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid #DADAD6; background: var(--white); color: var(--ink);
  font: 500 15px/1 var(--text); text-decoration: none; cursor: pointer;
}
.ask-ai-btn:hover { border-color: var(--ink); color: var(--ink); }
.ask-ai-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask-ai-panel { margin-top: 16px; padding: 18px; border-radius: 20px; background: var(--surface); }
.ask-ai-panel label { margin-top: 10px; font-size: 14px; }
.ask-ai-panel textarea { min-height: 0; margin-top: 6px; font-size: 15px; }
.ask-ai-status { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 1em; }
.faq { flex: 2 1 520px; min-width: 0; }
.ask-ai-btn[aria-expanded="true"] { background: var(--surface); }
.ask-ai-status:empty { display: none; }
/* /support: the page's h1 over the assistant buttons, held in view beside the long list on a window
   tall enough for them; the questions grouped by topic. */
.qa-split--page { padding-top: 72px; }
.qa-split--page .qa-side h1 { font-size: clamp(40px, 4.6vw, 60px); }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { margin-bottom: 12px; font-size: 26px; }
@media (min-width: 901px) and (min-height: 760px) {
  .qa-split--page .qa-side { position: sticky; top: 40px; align-self: flex-start; }
}

/* ---- The app's moments, cards and the ways around it (the homepage and Features) ----
   A moment is a small white panel in the app's own words where it has them (the reminder is
   LastCallCopy's); it is a drawing, so a page hides it from screen readers beside a picture that
   says the same. */
.moment {
  width: 300px; max-width: 100%; background: var(--white); border: 1px solid #EEEEEA; border-radius: 20px;
  padding: 16px 18px; box-shadow: var(--shadow-float); display: flex; gap: 12px; align-items: flex-start;
}
.moment.faded { opacity: 0.5; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 14px 36px rgba(0, 0, 0, 0.06); }
.moment.notice { display: block; }
.moment-title { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.moment-line { margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--faint); }
.ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico.brick { background: #FBEAE7; color: var(--brick); }
.ico.navy { background: #EEF0F6; color: #3B4A7A; }
.ico.amber { background: #FDF1DC; color: #A0640F; }
.ico.green { background: #E8F3EC; color: var(--green); }
.ico.gray { background: #ECECE8; color: var(--muted); }
.ring {
  flex: none; width: 44px; height: 44px; border-radius: 999px; border: 3.5px solid var(--amber);
  display: inline-flex; align-items: center; justify-content: center; font: 600 16px/1 var(--display);
}
.from { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.mini-f {
  width: 20px; height: 20px; border-radius: 6px; background: var(--white); border: 1px solid #E2E2DE;
  display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 var(--display); color: var(--ink);
}
.pill-dark {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 13.5px; font-weight: 600;
}
.grid3 { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid4 { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 28px; }
.grid4 .card { padding: 24px; gap: 24px; }
.door { border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.door-q { font-size: 15px; color: var(--faint); }
.door-a { margin-top: 8px; font: 600 22px/1.25 var(--display); letter-spacing: -0.005em; }

/* ---- Forms: rounded fields, a dark ring on focus ---- */
label { display: block; font-weight: 600; font-size: 16px; line-height: 1.4; }
input[type="email"], input[type="text"], textarea {
  width: 100%; min-height: 54px; padding: 13px 16px;
  border: 1.5px solid #D9D9D5; border-radius: 14px; background: var(--white); color: var(--ink);
  font: inherit; font-size: 17px;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, 0.15); }
textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:disabled, textarea:disabled { color: var(--faint); border-color: var(--line); }
.form { display: grid; gap: 20px; max-width: 34em; margin-top: 32px; }
.form label + input, .form label + textarea { margin-top: 8px; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; }
.form-msg:empty { display: none; }
.form-msg[data-state="error"] {
  color: var(--brick); max-width: 34em; padding: 12px 16px;
  border-radius: 14px; background: #FBEAE7;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist-form { margin-top: 28px; max-width: 34em; }
.waitlist-form .row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist-form input[type="email"] { flex: 1 1 14em; min-width: 0; min-height: 56px; border-radius: 999px; padding-inline: 22px; }
.waitlist-form .note { margin-top: 12px; }

/* ---- Documents: the legal pages, /notices, /press, the articles and their index ----
   One reading column under the page's title and its date line; sections apart by space; the
   summary that opens the Terms and the privacy policy is a soft card. server/tools/
   build-legal-page.py writes this markup for the legal pages. */
.doc-head { padding: 72px 0 0; }
.doc-head h1 { max-width: 16em; }
.doc-head .byline { margin-top: 18px; max-width: var(--read); color: var(--faint); font-size: 16px; line-height: 1.55; }
.doc-head .lede { max-width: 34em; }
.doc-head .actions { margin-top: 32px; }
.doc-head .actions + p { margin-top: 16px; }
.doc { padding: 48px 0 0; font-size: 18px; line-height: 1.65; }
.doc p, .doc ul, .doc ol, .doc h2, .doc h3 { max-width: var(--read); }
.doc > * + * { margin-top: 18px; }
.doc h2 { margin-top: 64px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.doc > h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 36px; font-size: 20px; }
.doc h2 + h3 { margin-top: 20px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc .key-terms { max-width: calc(var(--read) + 64px); padding: 28px 32px; border-radius: 24px; background: var(--surface); }
.doc .key-terms h2 { margin-top: 0; font-size: 22px; }
.doc .key-terms > * + * { margin-top: 16px; }
.doc .key-terms > p:last-child { color: var(--faint); font-size: 16px; }
.doc .key-terms + * { margin-top: 48px; }
.doc .table { margin-top: 24px; font-size: 16px; }
.doc .table tbody th { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: inherit; font-weight: 600; text-align: left; vertical-align: top; }
.doc .faq, .doc .faq-list { margin-top: 24px; max-width: calc(var(--read) + 8em); }
.doc pre { max-width: 80ch; padding: 0 0 26px; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 15px/1.6 var(--text); color: var(--muted); }
@media (max-width: 560px) {
  .doc .table tbody th { display: block; width: auto; padding: 16px 0 0; border: 0; }
  .doc .table td { padding-top: 4px; }
  .doc .key-terms { padding: 22px 20px; }
}
/* The articles index: each piece a soft card, its title the link. */
.doc .entries { max-width: calc(var(--read) + 64px); padding: 0; list-style: none; display: grid; gap: 16px; }
.entries li { padding: 28px 32px; border-radius: 24px; background: var(--surface); }
.entries li + li { margin-top: 0; }
.entries h2 { margin-top: 0; font-size: 26px; }
.entries h2 a { text-decoration: none; }
.entries h2 a:hover { color: var(--muted); }
.entries h2 + p { margin-top: 10px; color: var(--muted); }
.entries .small { margin-top: 12px; }
/* The setup article (/articles/set-up-finite-phone/): the jump row as pills, the six step heads
   with their numerals in black rings, and a step's parts beside their clips. The player is
   assets/setup/setup-clip.css. */
.doc .step-toc { display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(var(--read) + 8em); margin-top: 24px; font-size: 15px; }
.step-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.step-toc a:hover { background: var(--line); color: var(--ink); }
.doc .step-head { display: flex; align-items: center; gap: 14px; max-width: var(--read); margin-top: 80px; }
.doc .step-head h2 { margin-top: 0; }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 999px; border: 3px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font: 600 18px/1 var(--display);
}
.doc .sub-step { display: grid; gap: 24px 48px; align-items: start; margin-top: 40px; }
.sub-words { min-width: 0; }
.sub-words > * + * { margin-top: 18px; }
.doc .sub-words h3 { margin-top: 0; }
.sub-words h3 + * { margin-top: 10px; }
.sub-step .setup-clip { justify-self: start; }
@media (min-width: 860px) {
  .sub-step:has(> .setup-clip[data-kind="phone"]:not([hidden])) { grid-template-columns: minmax(0, var(--read)) auto; }
}
.doc .stuck { margin-top: 80px; max-width: calc(var(--read) + 64px); padding: 28px 32px; border-radius: 24px; background: var(--surface); }
.doc .stuck h2 { margin-top: 0; font-size: 24px; }

/* ---- /about: the letter beside Allen's photo (a real one) ---- */
.letter { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; padding-top: 48px; }
.letter p { max-width: 34em; }
.letter p + p { margin-top: 20px; }
.sign { margin-top: 40px; }
.sign-name { font-weight: 600; }
.letter .sign p + p { margin-top: 2px; }
.letter .company { margin-top: 40px; padding: 20px 24px; border-radius: 20px; background: var(--surface); }
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; border-radius: 28px; }

/* ---- /contact: the back link its script shows to a visitor from this site ---- */
.back-link { margin-bottom: 20px; }

/* ---- /install: on a phone, the form that emails the setup page's address; its answer takes the
   form's place, with a button that reads as a link to bring the form back. On a computer the page
   shows only its header while it decides where to go (install/index.html). ---- */
.install-quiet main, .install-quiet .site-footer { visibility: hidden; }
.start-error { margin-top: 16px; }
.start-sent { margin-top: 32px; max-width: 34em; padding: 22px 24px; border-radius: 20px; background: var(--surface); }
.start-sent:focus { outline: 0; }
.linkbtn {
  padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.linkbtn:hover { color: var(--muted); }
@media (max-width: 560px) { .start-form .btn { justify-self: stretch; } }

/* ---- The closing section (site/partials/final-cta.html): its words, centered. Every page carries
   the drawing's markup, since the section is shared; no page shows it now. ---- */
.final-cta { text-align: center; }
.final-cta .final-words h2 { margin: 0 auto; max-width: 13em; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
/* The tonight line: each sentence on its own line, a little larger, the second free to run the width. */
.final-cta .final-words h2.by-line { max-width: none; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; text-wrap: balance; }
.final-cta h2 .ln { display: block; }
.final-cta .actions { margin-top: 28px; }
.final-cta .note { margin-top: 14px; font-size: 15px; }
.final-cta .waitlist-form { margin-inline: auto; }
.final-cta .waitlist-form .row { justify-content: center; }
.final-art { display: none; }

/* ---- The footer ---- */
.site-footer { padding: 96px 0 48px; color: var(--faint); font-size: 15px; line-height: 1.55; }
.footer-links {
  margin: 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 24px;
}
.site-footer a { color: var(--faint); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin-top: 16px; max-width: 60em; }

/* ---- The phone's buy bar (sticky.js), on pages that carry one ---- */
.buybar { display: none; }

@media (max-width: 760px) {
  .letter { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .letter .portrait { order: -1; width: 280px; }
}

@media (max-width: 640px) {
  body { font-size: 18px; }
  /* On a phone the header scrolls away; where a page has a buy bar, it carries the button. */
  .sticky-head .site-header { position: static; }
  .site-header > .container { position: relative; padding-top: 14px; padding-bottom: 12px; }
  .site-nav { width: 100%; margin-left: 0; }
  .nav-links { gap: 6px 22px; }
  .nav-cta { position: absolute; top: 12px; right: var(--gutter); }
  .intro, .doc-head, .qa-split--page { padding-top: 40px; }
  .doc { padding-top: 32px; font-size: 17px; }
  .doc h2 { margin-top: 48px; }
  .doc .step-head, .doc .stuck { margin-top: 56px; }
  .part { padding-top: 88px; }
  .site-footer { padding-top: 72px; }
  .buybar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-float);
    transform: translateY(140%); transition: transform 0.25s ease;
  }
  .buybar.is-on { transform: none; }
  .buybar-note { font-size: 13px; line-height: 1.3; color: var(--muted); }
  .buybar .btn { min-height: 46px; padding: 0 20px; font-size: 16px; flex: none; }
}

/* The buy bar's note stays on two lines on a narrow phone. */
@media (max-width: 380px) {
  .buybar-note { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .buybar, .faq summary::after, .faq-list summary::after { transition: none; }
}
