:root {
  color-scheme: light;
  --text: #1d1d1f; --body: #3a3a3c; --muted: #6e6e73; --bg: #f6f3ec; --panel: #fffdf8; --white: #ffffff;
  --ink: #121212; --rule: #121212; --hairline: #d6d1c4;
  --red: #ce2024; --yellow: #f6d612; --blue: #141e96; --field: #ffffff; --error: #b3261e;
  --page: 72rem; --measure: 42rem; --gutter: 24px;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 16px; }
body { margin: 0; color: var(--text); background: var(--bg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
p { margin: 0 0 14px; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }
h2 { font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0 0 20px; }
h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
code { font-size: 0.9em; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* Mondrian bar, header, footer: identical on every page (tools/sync-chrome.py). */
.bar { display: flex; height: 10px; }
.bar span:nth-child(1) { flex: 5; background: var(--red); }
.bar span:nth-child(2) { flex: 2; background: var(--yellow); }
.bar span:nth-child(3) { flex: 1; background: var(--blue); }
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 44px; display: block; }
.brand .wordmark { height: 21px; width: auto; display: block; }
.site-header ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-header .nav-text a { color: var(--ink); text-decoration: none; font-size: 15px; }
.site-header .nav-text a:hover { text-decoration: underline; }
.site-footer { border-top: 2px solid var(--ink); padding: 24px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--body); }
.site-footer .maker { margin-left: auto; }

/* Buttons */
.button { display: inline-block; padding: 12px 20px; border: 2px solid var(--ink); background: var(--red);
  color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(1.08); }
.button-plain { background: var(--white); color: var(--ink); }
.button-plain:hover { filter: none; background: var(--panel); }
.button-ink { background: var(--ink); color: #fff; padding: 8px 14px; font-size: 15px; }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px; }

.eyebrow { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--body); }
.note, .small { font-size: 14px; color: var(--muted); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.hero h1 { font-size: 62px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 22px; }
.hero h1 .line { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.meta { font-size: 13px; color: var(--muted); margin: 0; }
.shot { margin: 0 12px 12px 0; border: 2px solid var(--ink); background: var(--white); box-shadow: 12px 12px 0 var(--blue); }
.shot img { display: block; width: 100%; }

/* Dictionary entry: the one place New York (ui-serif) is used; see Unspora's store/brand/BRAND.md. */
.name { padding: 0 0 56px; }
.entry { max-width: 38rem; padding: 20px 22px; background: var(--panel); border: 2px solid var(--ink);
  border-left-width: 12px; font-family: ui-serif, "New York", Georgia, serif; }
.entry p, .entry ol { margin: 0; }
.entry .headword { margin-bottom: 8px; }
.entry .word { font-size: 26px; font-weight: 700; letter-spacing: 0.01em; }
.entry .say { color: var(--muted); margin-left: 6px; }
.entry .say::before { content: "\\ "; } .entry .say::after { content: " \\"; }
.entry .pos { font-style: italic; margin-left: 6px; }
.entry ol { padding-left: 1.4em; }
.entry li { margin-bottom: 6px; }
.entry li::marker { font-weight: 700; }
.entry .etym { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* Where backups go */
.targets { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 24px 0; }
.targets .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.targets-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.targets ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.targets li { border: 2px solid var(--ink); padding: 6px 14px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* What it does */
.features { padding: 72px 0; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card { background: var(--white); border: 2px solid var(--ink); border-top-width: 14px; padding: 18px 18px 20px; }
.card p { font-size: 15px; color: var(--body); margin: 0; }
.card-red { border-top-color: var(--red); }
.card-yellow { border-top-color: var(--yellow); }
.card-blue { border-top-color: var(--blue); }
.card-ink { border-top-color: var(--ink); }

/* No lock-in: ink band */
.lockin { background: var(--ink); color: #e8e6e1; padding: 72px 0; }
.lockin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lockin .eyebrow { color: var(--yellow); }
.lockin h2 { color: #fff; }
.lockin a { color: #fff; }
.lockin .more { font-weight: 600; }
.terminal { margin: 0; padding: 20px 22px; background: #000; color: #f6f3ec; border: 2px solid #f6f3ec;
  font-size: 14px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.terminal .comment { color: #9a968e; }

/* Invitation */
.invite { padding: 72px 0 40px; }
.invite-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.price { margin-top: 18px; padding-left: 14px; border-left: 4px solid var(--red); }
.invite-box { background: var(--white); border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--red);
  padding: 24px; margin: 0 12px 12px 0; }
.invite-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.invite-form input[type="email"] { margin-bottom: 14px; }
.invite-form .button { width: 100%; }
.invite-box .small { margin: 12px 0 0; }

/* Questions */
.faq { padding: 48px 0 72px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0;
  border-top: 2px solid var(--ink); }
.faq-grid > div { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.faq-grid dt { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.faq-grid dd { margin: 0; font-size: 15px; color: var(--body); }

/* Text pages: security, release notes, privacy, support, 404 */
main > .prose { padding-top: 32px; padding-bottom: 64px; }
.prose h1 { font-size: 42px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 16px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose li { margin-bottom: 8px; }
.toc { margin: 28px 0 8px; padding: 16px 20px; background: var(--white); border: 2px solid var(--ink); border-left: 12px solid var(--blue); }
.toc ul { margin: 0; padding-left: 1.1em; }
.toc li { margin-bottom: 2px; }
.facts dt { font-weight: 700; color: var(--ink); margin-top: 14px; }
.facts dd { margin: 2px 0 0; color: var(--body); }
.release-notes h2 { padding-top: 12px; border-top: 2px solid var(--ink); }

/* Forms */
.contact-form { margin-top: 20px; background: var(--panel); border: 2px solid var(--rule); padding: 20px; }
.form-row { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.hint { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--field);
  border: 2px solid var(--ink); padding: 9px 12px; border-radius: 0; }
input::placeholder { color: #8e8e93; }
.contact-form button { font: inherit; font-weight: 600; padding: 10px 18px; border: 2px solid var(--rule);
  background: var(--blue); color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.is-error { color: var(--error); }

@media (max-width: 960px) {
  .hero-grid, .lockin-grid, .invite-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header .nav-text { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  h2 { font-size: 28px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 42px; }
  .prose h1 { font-size: 32px; }
  .lede { font-size: 17px; }
  .cards, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 36px; }
  .brand .wordmark { height: 18px; }
  .terminal { font-size: 12.5px; padding: 16px; }
  .entry { padding: 16px 16px 16px 18px; }
  .entry .word { font-size: 22px; }
  .entry .say, .entry .pos { margin-left: 4px; }
  .site-footer .maker { margin-left: 0; }
}
