/* Calyvro website -- one stylesheet for every page.
 *
 * The app's own colours and type (lib/core/theme): oat paper, forest green
 * for what you press, moss for links, and clay only for support -- the one
 * colour that means "somebody needs someone". Newsreader and Instrument Sans,
 * self-hosted like everything else here: the privacy policy promises that
 * this site loads nothing from anybody else's server, and the
 * Content-Security-Policy in _headers enforces it.
 *
 * No script runs on any page except the password reset (reset.js).
 */

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #F5F2EB;          /* oat, the page */
  --paper: #FFFFFF;       /* somebody else's message */
  --raised: #EDE7D9;      /* sand: anything raised above the page */
  --tile: #EFEBDF;
  --ink: #22261F;
  --ink-soft: #6E6F68;
  --line: #E0DED7;
  --line-strong: #CFCCC2;
  --forest: #1F3D33;      /* what you press */
  --on-forest: #EFEDE4;
  --moss: #2A6B57;        /* words that are links */
  --band: #1F3D33;        /* the dark band */
  --on-band: #EFEDE4;
  --on-band-soft: rgba(239, 237, 228, .72);
  --band-line: rgba(239, 237, 228, .14);
  --support: #B4562F;     /* clay: support, and nothing else */
  --on-support: #FFF6EE;
  --support-soft: #F4E4DA;
  --gold: #E5C98A;
  --mood-good: #2F6B4F;
  --mood-okay: #2E5688;
  --mood-struggling: #8F6224;
  --mood-none: #81827B;
  --shadow: 0 1px 2px rgba(34, 38, 31, .06), 0 12px 32px rgba(34, 38, 31, .10);
  --radius: 18px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #15170F;
    --paper: #262A1F;
    --raised: #1C1F16;
    --tile: #1C1F16;
    --ink: #EAE7DC;
    --ink-soft: #9A9C90;
    --line: #32362B;
    --line-strong: #3A3F32;
    --forest: #8FC3AC;
    --on-forest: #10231C;
    --moss: #9FD3BB;
    --band: #1C1F16;
    --on-band: #EAE7DC;
    --on-band-soft: rgba(234, 231, 220, .7);
    --band-line: rgba(234, 231, 220, .12);
    --support: #E9A683;
    --on-support: #3D1B0B;
    --support-soft: #3A2419;
    --gold: #6B5A33;
    --mood-good: #8FCBAC;
    --mood-okay: #A8C4E8;
    --mood-struggling: #E9C67F;
    --mood-none: #6A6D62;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.012em; }
h3 { font-size: 22px; letter-spacing: -.005em; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--forest); color: var(--on-forest); padding: 8px 14px; border-radius: 10px;
}
.skip:focus { left: 16px; z-index: 50; }

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

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand span { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .005em; }
.site-nav { display: flex; gap: 26px; font-size: 15px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-help { color: var(--support); font-weight: 600; }
@media (max-width: 760px) {
  .site-nav a:not(.nav-help) { display: none; }
}

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

.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.hero h1 em { font-style: italic; color: var(--support); }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--ink-soft); margin-top: 24px; max-width: 34em; }

/* The store buttons: outlined, not the official badges. Apple and Google
   allow their badge artwork only on a link to a live listing; until then
   these say "coming soon" and link nowhere. */
.stores { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px 20px 10px 16px;
  min-width: 190px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 55%, transparent);
}
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.3; }
.store b { display: block; font-size: 17px; font-weight: 600; line-height: 1.25; }
.soon-note { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }

/* A phone, drawn in CSS: dark body, side buttons, punch-hole camera, status
   bar and gesture bar. Whatever is on the screen is the app's own layout in
   HTML, so it stays sharp and honest at any size. */
.device {
  position: relative;
  justify-self: center;
  width: min(330px, 100%);
  aspect-ratio: 9 / 19.2;
  background: #1B1D18;
  border-radius: 48px;
  padding: 11px;
  box-shadow:
    inset 0 0 0 1.5px #3A3D35,
    inset 0 0 0 4px #121410,
    0 2px 4px rgba(0, 0, 0, .12),
    0 30px 60px -12px rgba(34, 38, 31, .35);
}
.device::before, .device::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  background: #2A2D26;
  border-radius: 0 2px 2px 0;
}
.device::before { top: 22%; height: 11%; }
.device::after { top: 36%; height: 6%; }
.device .screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
  display: flex; flex-direction: column;
  font-size: 13px; line-height: 1.4;
}
.device .status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px 6px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  flex: none;
}
.device .status .cam {
  position: absolute; left: 50%; top: 11px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #0E0F0C;
}
.device .status svg { width: 34px; height: 12px; fill: currentColor; }
.device .content { flex: 1; overflow: hidden; }
.device .gesture { flex: none; height: 22px; display: grid; place-items: center; }
.device .gesture::before { content: ""; width: 34%; height: 4px; border-radius: 4px; background: var(--ink); opacity: .75; }

/* Screen 1: a group conversation with a call for help. */
.chat-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 10px; border-bottom: 1px solid var(--line);
}
.chat-bar .avatar {
  width: 32px; height: 32px; border-radius: 10px;
  background: #E2D6DE; color: #3B2F36;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
@media (prefers-color-scheme: dark) { .chat-bar .avatar { background: #4A3C44; color: #F1E6EC; } }
.chat-bar .room { font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.chat-bar .members { font-size: 11px; color: var(--ink-soft); }
.chat { padding: 14px 12px 12px; display: grid; gap: 9px; }
.bubble {
  max-width: 84%;
  padding: 9px 13px 7px;
  border-radius: 17px;
  font-size: 13.5px; line-height: 1.42;
  background: var(--paper);
  border: 1px solid var(--line);
}
.bubble .who { display: block; font-size: 11.5px; font-weight: 600; color: var(--moss); margin-bottom: 2px; }
.bubble .when { display: block; font-size: 10.5px; color: var(--ink-soft); margin-top: 3px; }
.bubble.mine { justify-self: end; background: var(--raised); border-color: transparent; }
.react {
  justify-self: start;
  margin-top: -3px;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
  background: var(--raised); color: var(--ink-soft);
}
.call {
  margin-top: 4px;
  background: var(--support); color: var(--on-support);
  border-radius: 18px; padding: 14px;
}
.call .call-title { display: flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 16.5px; line-height: 1.2; }
.call .call-title svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.call .call-group { font-size: 11.5px; font-weight: 600; margin: 3px 0 11px 27px; opacity: .92; }
.call .call-button {
  display: block; text-align: center;
  background: var(--on-support); color: var(--support);
  border-radius: 999px; padding: 9px; font-weight: 600; font-size: 14px;
}

.chat-screen { display: flex; flex-direction: column; }
.chat-screen .chat { margin-top: auto; }
.chat .day { justify-self: center; font-size: 10.5px; color: var(--ink-soft); margin-bottom: 2px; }
.composer { display: flex; align-items: center; gap: 8px; padding: 8px 12px 6px; border-top: 1px solid var(--line); flex: none; }
.composer .plus { width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid var(--ink); position: relative; flex: none; }
.composer .plus::before, .composer .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.composer .plus::before { width: 9px; height: 1.6px; }
.composer .plus::after { width: 1.6px; height: 9px; }
.composer .field { flex: 1; background: var(--raised); color: var(--ink-soft); border-radius: 999px; padding: 7px 12px; font-size: 12px; }
.composer .mic { width: 32px; height: 32px; border-radius: 50%; background: #1F3D33; flex: none; position: relative; }
.composer .mic::before { content: ""; position: absolute; left: 50%; top: 8px; width: 7px; height: 11px; border-radius: 4px; background: #EFEDE4; transform: translateX(-50%); }
.composer .mic::after { content: ""; position: absolute; left: 50%; top: 21px; width: 1.5px; height: 4px; background: #EFEDE4; transform: translateX(-50%); }

/* Screen 2: Home, with the check-in and the fortnight band. */
.app-pad { padding: 10px 18px 0; }
.app-date { font-size: 11.5px; color: var(--ink-soft); }
.app-hello { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-top: 2px; }
.band-row { display: flex; align-items: flex-end; gap: 16px; margin: 16px 0 14px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-count { flex: none; }
.band-count b { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; color: var(--forest); }
.band-count span { font-size: 11px; font-weight: 500; margin-left: 4px; }
.band-count small { display: block; margin-top: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }
.fortnight { flex: 1; }
.bars { height: 38px; display: flex; align-items: flex-end; gap: 3px; }
.bars i { flex: 1; border-radius: 3px; }
.bars .g { height: 100%; background: var(--mood-good); }
.bars .o { height: 65%; background: var(--mood-okay); }
.bars .s { height: 40%; background: var(--mood-struggling); }
.bars .n { height: 10%; background: var(--mood-none); }
.band-ends { display: flex; justify-content: space-between; margin-top: 5px; font-size: 9.5px; color: var(--ink-soft); }
.checkin { background: #1F3D33; color: #EFEDE4; border-radius: 22px; padding: 16px 14px 14px; }
@media (prefers-color-scheme: dark) { .checkin { background: #243B31; } }
.checkin .q { font-family: var(--serif); font-size: 18px; line-height: 1.2; padding: 0 2px; }
.checkin .sub { font-size: 11px; opacity: .75; margin: 3px 2px 12px; }
.moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.moods span {
  display: grid; place-items: center; gap: 3px;
  padding: 9px 2px 8px; border-radius: 12px;
  background: rgba(239, 237, 228, .1);
  font-size: 10.5px; font-weight: 600; text-align: center; line-height: 1.15;
}
.moods svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.moods .ask { background: #E5C98A; color: #2A2415; }

/* Home, continued: groups and the support shortcut. */
.grp { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.grp .gav { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.grp b { display: block; font-family: var(--serif); font-weight: 400; font-size: 15px; line-height: 1.15; }
.grp small { display: block; font-size: 10.5px; color: var(--ink-soft); }
.grp .dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.need { display: flex; align-items: center; gap: 10px; margin-top: 12px; background: var(--raised); border-radius: 18px; padding: 12px 12px 12px 14px; }
.need b { display: block; font-family: var(--serif); font-weight: 400; font-size: 15px; line-height: 1.15; }
.need small { display: block; font-size: 10.5px; color: var(--ink-soft); margin-top: 2px; }
.need i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--support); position: relative; }
.need i svg { position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; fill: none; stroke: var(--on-support); stroke-width: 2; }
.tabs { flex: none; display: flex; justify-content: space-around; padding: 9px 4px 2px; border-top: 1px solid var(--line); font-size: 10px; color: var(--ink-soft); }
.tabs .on { color: var(--ink); font-weight: 700; }

/* Screen 3: Discover, by category. */
.app-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.app-sub { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }
.app-search {
  margin: 12px 0 14px; padding: 9px 14px; border-radius: 999px;
  background: var(--raised); color: var(--ink-soft); font-size: 12px;
  display: flex; align-items: center; gap: 8px;
}
.app-search svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.app-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: 8px; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat { background: var(--raised); border-radius: 16px; padding: 11px 11px 12px; }
.cat .ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: #E5C98A; color: #2A2415;
  display: grid; place-items: center; margin-bottom: 8px;
}
.cat .ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 15px; line-height: 1.15; }
.cat span { display: block; font-size: 10.5px; color: var(--ink-soft); margin-top: 3px; line-height: 1.3; }

/* What's inside: two phones with their words. */
.inside { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; }
@media (max-width: 860px) { .inside { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 28px; align-content: start; }
.feature .device { width: min(300px, 100%); }
.feature h3 { font-size: 26px; }
.feature p { margin-top: 10px; color: var(--ink-soft); max-width: 30em; }
.feature .text { text-align: center; justify-self: center; }
.feature .text p { margin-left: auto; margin-right: auto; }

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

.section { padding: 96px 0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }
.section-rule { border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--raised);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
}
.step .icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--forest) 12%, transparent);
  color: var(--forest);
  margin-bottom: 20px;
}
.step .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step.support .icon { background: color-mix(in srgb, var(--support) 16%, transparent); color: var(--support); }
.step p { margin-top: 10px; color: var(--ink-soft); }

.also {
  margin-top: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.also strong { color: var(--ink); font-weight: 600; }

/* The dark band: privacy. */
.band { background: var(--band); color: var(--on-band); }
.band h2 { color: var(--on-band); }
.band .section-head p { color: var(--on-band-soft); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }
.principles li { padding: 26px 0; border-top: 1px solid var(--band-line); }
.principles h3 { font-size: 21px; color: var(--on-band); }
.principles p { margin-top: 8px; color: var(--on-band-soft); }
.band a { color: var(--on-band); }
.band a:hover { color: var(--gold); }
.limits {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--band-line);
  display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; justify-content: space-between;
  color: var(--on-band-soft); font-size: 16px;
}
.limits p { max-width: 44em; }
.limits a { font-weight: 600; white-space: nowrap; }

.two { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 28px; } }
.card {
  background: var(--raised);
  border-radius: var(--radius);
  padding: 30px;
}
.card p + p { margin-top: 14px; }
.card h3 { margin-bottom: 12px; }
.muted { color: var(--ink-soft); }

/* Help now: the one clay section. */
.help { background: var(--support-soft); }
.help .section-head h2 { color: var(--ink); }
.emergency {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  background: var(--support); color: var(--on-support);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 24px;
}
.emergency strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.emergency a {
  color: var(--support); background: var(--on-support);
  border-radius: 999px; padding: 8px 18px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.line {
  background: var(--bg);
  border-radius: 16px;
  padding: 20px 22px;
}
.line h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.line dl { margin: 0; display: grid; gap: 10px; }
.line dt { font-weight: 600; }
.line dd { margin: 0; }
.line dd a { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line .note { font-size: 14px; color: var(--ink-soft); }
.help-foot { margin-top: 24px; color: var(--ink-soft); }

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

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .brand img { width: 26px; height: 26px; }
.site-footer .brand span { font-size: 19px; }

/* --- Long text: privacy, reset, invite ------------------------------------ */

.prose { max-width: 760px; padding-top: 56px; padding-bottom: 88px; }
.prose h1 { font-size: clamp(36px, 5vw, 50px); margin-bottom: 16px; }
.prose h2 { font-size: 28px; margin: 48px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--ink-soft); }
.prose .lang { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.prose td:first-child { font-weight: 600; width: 34%; padding-right: 18px; }
@media (max-width: 560px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead, .prose tr:has(> th) { display: none; }
  .prose tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { width: 100%; }
}

/* A notice box: the draft note on the privacy pages, and the reset page's
   messages. reset.js sets `draft`, or `draft ok` once the password is saved. */
.draft {
  background: var(--raised);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}
.draft.ok { border-left-color: var(--forest); }

.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%; max-width: 24em;
  padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.button {
  display: inline-block;
  background: var(--forest); color: var(--on-forest);
  border: 0; border-radius: 999px;
  padding: 13px 26px;
  font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none;
}
.button:hover { color: var(--on-forest); filter: brightness(1.08); }
.button:disabled { opacity: .6; cursor: default; }
.hint { color: var(--ink-soft); font-size: 15px; }
