@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-cyrillic-ext-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-cyrillic-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-greek-ext-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-greek-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-vietnamese-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-latin-ext-opsz-normal.woff2) format('woff2-variations');
  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: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/fonts/literata-5.3.0/literata-latin-opsz-normal.woff2) format('woff2-variations');
  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;
}

/* The presentation site's stylesheet. The palettes are the app's (src/ui/theme/tokens.ts).
   Layout uses logical properties only, so pages are ready for right-to-left languages. */

:root {
  color-scheme: light dark;

  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-muted: #efede7;
  --text: #1d1d1f;
  --text-muted: #6c6b70;
  --border: #e2dfd8;
  --border-strong: #c4c0b6;
  --accent: #1f7a6d;
  --accent-soft: #e1f0ec;
  --on-accent: #ffffff;
  --danger: #c0392b;
  --rule: rgb(29 29 31 / 0.06);
  --shadow: 0 1px 2px rgb(29 29 31 / 0.05), 0 24px 48px -24px rgb(29 29 31 / 0.25);

  /* Block colors, as in the app: notes slate, tasks blue, task priorities. */
  --note: #64748b;
  --task: #3b82f6;
  --high: #ef4444;
  --medium: #f97316;
  --low: #3b82f6;
  --pink: #db2777;
  --violet: #7c3aed;

  /* Literata is served by the site (its @font-face rules come first in the built file). */
  --serif: 'Literata Variable', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;

  --gutter: 16px;
  --page: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121314;
    --surface: #1c1d1f;
    --surface-muted: #26282a;
    --text: #f1f0ec;
    --text-muted: #a2a1a6;
    --border: #2e3033;
    --border-strong: #4a4d52;
    --accent: #4fb3a3;
    --accent-soft: #173431;
    --on-accent: #0b1f1c;
    --danger: #e5675a;
    --rule: rgb(241 240 236 / 0.05);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 24px 48px -24px rgb(0 0 0 / 0.6);
  }
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

svg.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Arrows point the way the text runs (forward), or against it (back). */
.flip-rtl:dir(rtl),
.flip-ltr:dir(ltr) {
  transform: scaleX(-1);
}

/* The icons' sprite: defines the icons, shows nothing. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--gutter);
  inset-block-start: -100px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus {
  inset-block-start: 8px;
}

.container {
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-block-end: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 24px;
  margin-inline-start: auto;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}

@media (max-width: 639px) {
  .site-nav .section-link {
    display: none;
  }

  .site-header .container {
    gap: 12px;
  }

  .site-nav {
    column-gap: 14px;
  }
}

/* The other languages: a link in the header, and a suggestion at the top when the
   browser prefers that language (shown by static/language.js). */

/* A menu of the other languages, opened without script (details / summary). */
.language-menu {
  position: relative;
}

.language-menu summary {
  cursor: pointer;
  list-style: none;
  color: var(--text-muted);
  white-space: nowrap;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: ' ▾';
  font-size: 0.8em;
}

.language-menu summary:hover,
.language-menu[open] summary {
  color: var(--text);
}

.language-menu ul {
  position: absolute;
  inset-block-start: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 10;
  min-width: 10rem;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.language-menu li a {
  display: block;
  padding: 6px 16px;
  color: var(--text-muted);
}

.language-menu li a:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.language-hint {
  background: var(--accent-soft);
  border-block-end: 1px solid var(--border);
  font-size: 0.95rem;
}

.language-hint .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  min-height: 48px;
  padding-block: 8px;
}

.language-hint a {
  font-weight: 600;
}

.language-hint button {
  margin-inline-start: auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.language-hint button:hover {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.language-hint[hidden] {
  display: none;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, var(--text));
}

.button-quiet {
  color: var(--text);
  border-color: var(--border-strong);
}

.button-quiet:hover {
  border-color: var(--text-muted);
}

.button svg.icon {
  width: 18px;
  height: 18px;
}

/* Hero */

.hero {
  position: relative;
  padding-block: 40px 72px;
  overflow: hidden;
}

/* Faint ruled lines, like a notebook's, fading towards the bottom. */
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, var(--rule) 39px 40px);
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    padding-block: 72px 112px;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-block-end: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: -0.02em;
}

.hero .lead {
  margin-block-start: 24px;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 32px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
}

.store-badges img {
  display: block;
  block-size: 40px;
  inline-size: auto;
}

/* The web app, drawn like the stores' badges beside it. */
.web-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  block-size: 40px;
  padding-inline: 14px;
  border: 1px solid #a6a6a6;
  border-radius: 7px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.web-app-badge svg.icon {
  width: 22px;
  height: 22px;
}

.web-app-badge:hover {
  color: #fff;
  text-decoration: none;
}

.platforms {
  margin-block-start: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* The app, drawn: a timeline window with sample days. */

.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 460px;
  width: 100%;
  justify-self: center;
  font-size: 0.875rem;
  line-height: 1.35;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-block-end: 1px solid var(--border);
}

.app-bar .month {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-inline-end: auto;
}

.app-bar .pill {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.8rem;
  color: var(--text);
}

.app-bar .round {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-muted);
}

.app-bar .round.add {
  background: var(--accent);
  color: var(--on-accent);
}

.app-bar .round svg.icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.day {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border-block-end: 1px solid var(--border);
  min-height: 44px;
}

.day:last-child {
  border-block-end: 0;
}

.day.today {
  background: var(--accent-soft);
}

.day-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block-start: 2px;
}

.day-date .weekday {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.day-date .daynum {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.day.today .daynum,
.day.today .weekday {
  color: var(--accent);
}

.blocks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* One block: a color bar at its start (the space stays when there is none), then its
   content. */
.block {
  --time-col: 2.2rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.block::before {
  content: '';
  flex: none;
  align-self: stretch;
  width: 3px;
  border-radius: 2px;
  background: var(--color, transparent);
}

.block-body {
  min-width: 0;
  flex: 1;
}

.block-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.block .time {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.8rem;
  min-width: var(--time-col);
}

.block .title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.block .meta,
.block .excerpt {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.block .excerpt {
  margin-block-start: 2px;
  /* Under the title, past the time column. */
  padding-inline-start: calc(var(--time-col) + 8px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blocks.no-times .excerpt {
  padding-inline-start: 0;
}

.block .tag,
.note-sample .tag {
  color: var(--accent);
}

.block .mood {
  font-size: 0.95em;
}

.block .repeat {
  display: inline-flex;
  vertical-align: -2px;
  color: var(--text-muted);
}

.block .repeat svg.icon {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.checkbox {
  flex: none;
  width: 15px;
  height: 15px;
  border: 1.75px solid var(--prio, var(--text-muted));
  border-radius: 4px;
  margin-block-start: 1px;
  display: grid;
  place-items: center;
  align-self: center;
}

.done .checkbox {
  background: var(--text-muted);
  border-color: var(--text-muted);
  color: var(--surface);
}

.checkbox svg.icon {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}

.done .title {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
}

.all-day {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--color) 16%, transparent);
  color: var(--color);
}

/* Sections */

.section {
  padding-block: 72px;
  border-block-start: 1px solid var(--border);
}

@media (min-width: 960px) {
  .section {
    padding-block: 104px;
  }
}

.section-head {
  max-width: 40em;
  margin-block-end: 48px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

.section-head p {
  margin-block-start: 16px;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.cards {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--kind) 14%, transparent);
  color: var(--kind);
}

.card h3 {
  font-size: 1.5rem;
}

.card p {
  color: var(--text-muted);
}

/* A sample block inside a card. */
.card .sample {
  margin-block-start: auto;
  padding: 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.35;
}

.card .sample .blocks {
  gap: 8px;
}

.kind-note {
  --kind: var(--note);
}

.kind-event {
  --kind: var(--accent);
}

.kind-task {
  --kind: var(--task);
}

/* Privacy: what you see, what the server sees. */

/* Sections alternate with the page's background (home: everywhere, pricing). */
.section-alt {
  background: var(--surface);
}

.compare {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 860px) {
  .compare {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 20px;
  }
}

.compare-side {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--surface);
  min-width: 0;
}

.compare-side .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-block-end: 14px;
}

.compare-side .label svg.icon {
  width: 18px;
  height: 18px;
}

.note-sample h3 {
  font-size: 1.35rem;
}

.note-sample .meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-block: 4px 12px;
}

.note-sample p + p {
  margin-block-start: 8px;
}

.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.compare-arrow svg.icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 859px) {
  .compare-arrow svg.icon {
    transform: rotate(90deg);
  }
}

.envelope {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 16px;
}

.envelope dt {
  color: var(--text-muted);
}

.envelope dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.envelope .cipher {
  color: var(--text-muted);
}

.points {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

.points li {
  display: flex;
  gap: 14px;
}

.points svg.icon {
  color: var(--accent);
  margin-block-start: 2px;
}

.points h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.points p {
  color: var(--text-muted);
  margin-block-start: 4px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 40px;
  font-weight: 600;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.more-link svg.icon {
  width: 18px;
  height: 18px;
}

.section-head + .points {
  margin-block-start: 0;
}

@media (min-width: 860px) {
  .points.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 64px;
  }
}

/* Other pages: a shorter opening, with the hero's ruled lines. */

.page-hero {
  position: relative;
  padding-block: 48px 64px;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
}

@media (min-width: 960px) {
  .page-hero {
    padding-block: 80px 96px;
  }
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  max-width: 14em;
}

.page-hero .lead {
  margin-block-start: 24px;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 38em;
}

.promises {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-weight: 600;
}

.promises li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promises svg.icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

/* Numbered steps, joined by a line like the timeline's days. */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 46em;
}

.steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  padding-block-end: 36px;
}

.steps > li:last-child {
  padding-block-end: 0;
}

.steps > li::before {
  content: '';
  position: absolute;
  inset-inline-start: 19px;
  inset-block: 48px 8px;
  width: 2px;
  border-radius: 1px;
  background: var(--border);
}

.steps > li:last-child::before {
  display: none;
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.steps h3 {
  font-size: 1.4rem;
  margin-block: 6px 6px;
}

.steps p {
  color: var(--text-muted);
}

.chips {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
}

.chip svg.icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Two panels side by side: what the server sees, and what it never sees. */

.two-columns {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg);
}

.panel h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.4;
  letter-spacing: 0;
  margin-block-end: 16px;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.facts li {
  display: flex;
  gap: 12px;
}

.facts svg.icon {
  width: 20px;
  height: 20px;
  margin-block-start: 3px;
  color: var(--text-muted);
}

.panel-safe .facts svg.icon {
  color: var(--accent);
}

/* Cases, such as the ways back after a forgotten password. */

.card.case h3 {
  font-size: 1.3rem;
}

.card.case .card-icon {
  --kind: var(--accent);
}

.card.warning {
  border-color: color-mix(in srgb, var(--danger) 45%, var(--border));
}

.card.warning .card-icon {
  --kind: var(--danger);
}

/* Pricing: one card per plan. */

.cards.plans {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-price {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--text);
}

.card .plan-price {
  color: var(--text);
}

.badge {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.card .badge {
  color: var(--accent);
}

.plans .facts svg.icon {
  color: var(--accent);
}

/* The launch offer, above the plans and in the home page's pricing summary. */

.launch-offer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block: 0 24px;
  padding: 20px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  max-width: 44em;
}

.launch-offer h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.launch-offer p {
  margin: 0;
}

.plans-note {
  margin-block-start: 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Technical details: a term, then its explanation. */

.tech {
  margin: 0;
  display: grid;
  gap: 4px 32px;
  max-width: 60em;
}

@media (min-width: 720px) {
  .tech {
    grid-template-columns: 11em minmax(0, 1fr);
    gap: 0 32px;
  }
}

.tech dt {
  font-weight: 600;
}

.tech dd {
  margin: 0 0 16px;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .tech dt,
  .tech dd {
    padding-block: 14px;
    border-block-start: 1px solid var(--border);
    margin: 0;
  }
}

/* Long documents: the Privacy policy, the Terms. */

.page-hero.compact {
  padding-block: 40px 48px;
}

@media (min-width: 960px) {
  .page-hero.compact {
    padding-block: 64px 64px;
  }
}

.updated {
  margin-block-start: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section.document {
  padding-block-start: 48px;
}

.draft-note {
  max-width: 44rem;
  margin-block-end: 32px;
  padding: 12px 16px;
  border: 1px dashed color-mix(in srgb, var(--medium) 60%, var(--border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--medium) 10%, transparent);
  font-size: 0.95rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.6rem;
  margin-block: 2.2em 0.6em;
}

.prose h2:first-child {
  margin-block-start: 0;
}

.prose h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0;
  margin-block: 1.6em 0.4em;
}

.prose p,
.prose ul,
.prose ol {
  margin-block: 0 1em;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.4em;
}

.prose li + li {
  margin-block-start: 0.4em;
}

.prose a {
  overflow-wrap: anywhere;
}

/* Questions that open on a tap. */

.faq {
  max-width: 48rem;
  border-block-start: 1px solid var(--border);
}

.faq details {
  border-block-end: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* A plus that turns into a minus when the answer is open. */
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '−';
}

.faq summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.faq details p {
  padding-block-end: 20px;
  padding-inline-end: 44px;
  color: var(--text-muted);
}

@media (min-width: 860px) {
  .cards.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
  }
}

.mail-link {
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* The user guide: its index of topics, and each topic with the list of topics beside it. */

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.eyebrow a:hover {
  text-decoration: underline;
}

.topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.topics a {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.topics a:hover {
  border-color: var(--border-strong);
}

.topic-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 600;
}

.topic-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.topic-description {
  display: block;
  margin-block-start: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.guide {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .guide {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }

  .guide-nav {
    position: sticky;
    inset-block-start: 88px;
  }
}

.guide-nav-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-block-end: 10px;
}

.guide-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.guide-nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.guide-nav a:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.guide-nav a[aria-current='page'] {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

@media (max-width: 959px) {
  .guide-nav {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
  }
}

.guide-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 44rem;
  margin-block-start: 48px;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--border);
}

.guide-pager a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}

.guide-pager a:hover {
  text-decoration: underline;
}

.guide-pager .pager-next {
  margin-inline-start: auto;
}

.guide-pager svg.icon {
  width: 18px;
  height: 18px;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-muted);
}

.prose kbd {
  font-family: var(--mono);
  font-size: 0.85em;
}

/* Call to action */

.cta {
  padding-block: 0 72px;
}

.cta-box {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 24px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  gap: 24px;
  justify-items: start;
}

.cta-box h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

.cta-box p {
  max-width: 34em;
  font-size: 1.125rem;
  opacity: 0.92;
}

.cta-box .button {
  background: var(--on-accent);
  color: var(--accent);
}

.cta-box .button:hover {
  background: color-mix(in srgb, var(--on-accent) 90%, var(--accent));
}

.cta-box .address {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Footer */

.site-footer {
  border-block-start: 1px solid var(--border);
  padding-block: 40px 48px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer .brand {
  font-size: 1.1rem;
}

.site-footer .brand svg {
  width: 24px;
  height: 24px;
}

.site-footer .company p + p {
  margin-block-start: 4px;
}

.site-footer .company .brand {
  margin-block-end: 10px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}
