/* CloudPool website.
   One system for every page, taken from the logo: Poppins for headings and the
   brand, Inter for reading, JetBrains Mono for numbers and labels. The logo's
   two colours do all the work: #127EFF on the mark, #093159 as the ink and as
   the dark band. Hairline rules instead of heavy shadows, and one recurring
   graphic: the tank, a bar split into the accounts that make up a drive. */

:root {
  --bg: #ffffff;
  --bg-2: #f4f7fd;
  --bg-3: #e9f0fb;
  --surface: #ffffff;
  --ink: #093159;
  --ink-2: #4a5d77;
  --ink-3: #5d6f8a;
  --line: #dce6f4;
  --line-2: #c2d2e8;
  /* The brand blue carries borders, marks and focus rings; text and solid
     buttons step one shade down so white on blue clears AA. */
  --accent: #127eff;
  --accent-ink: #0d6ee6;
  --accent-soft: rgba(18, 126, 255, 0.08);
  --accent-line: rgba(18, 126, 255, 0.32);
  --on-accent: #ffffff;
  --ok: #17794d;
  --ok-soft: rgba(23, 121, 77, 0.09);
  --warn: #8a5a10;
  --warn-soft: rgba(176, 116, 26, 0.1);
  --warn-line: rgba(176, 116, 26, 0.28);
  --bad: #c0362c;
  --bad-line: rgba(192, 54, 44, 0.35);
  --seg-small: #8cc0ff;
  --seg-big: #127eff;
  --band: #093159;
  --band-line: #1d4a7a;
  --band-ink: #eaf1fb;
  --band-ink-2: #a9c0dc;
  --band-ink-3: #8aa5c6;
  --band-accent: #58a2ff;
  --shadow-shot: 0 1px 2px rgba(9, 49, 89, 0.06), 0 28px 56px -28px rgba(9, 49, 89, 0.3);
  --display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: 60px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #061321;
    --bg-2: #0a1c2e;
    --bg-3: #10263c;
    --surface: #0c2036;
    --ink: #e8f0fa;
    --ink-2: #a8bdd4;
    --ink-3: #859ab4;
    --line: #16304b;
    --line-2: #21405f;
    --accent: #4e9bff;
    --accent-ink: #8fbeff;
    --accent-soft: rgba(78, 155, 255, 0.12);
    --accent-line: rgba(78, 155, 255, 0.34);
    --on-accent: #04192e;
    --ok: #4fc487;
    --ok-soft: rgba(79, 196, 135, 0.12);
    --warn: #dca54c;
    --warn-soft: rgba(220, 165, 76, 0.11);
    --warn-line: rgba(220, 165, 76, 0.3);
    --bad: #f2786d;
    --bad-line: rgba(242, 120, 109, 0.38);
    --seg-small: #2b5b96;
    --seg-big: #4e9bff;
    --band: #040f1b;
    --band-line: #17334f;
    --shadow-shot: 0 1px 2px rgba(0, 0, 0, 0.4), 0 28px 56px -28px rgba(0, 0, 0, 0.85);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head) + 20px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
  height: auto;
}
a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-ink);
}
p {
  margin: 0 0 1em;
}
code,
.mono {
  font-family: var(--mono);
}
p .mono,
li .mono {
  font-size: 0.92em;
}
code {
  font-size: 0.88em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  word-break: break-word;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
figure {
  margin: 0;
}
figcaption {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 14px;
  max-width: 44em;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 60;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.skip:focus {
  left: 12px;
}
.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;
}
[hidden],
.hide {
  display: none !important;
}
.i {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 15.5em;
}
h1 {
  font-size: clamp(34px, 4.7vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.lede {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 40em;
  margin: 0;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font: 500 13px/1.2 var(--mono);
  letter-spacing: 0.01em;
  color: var(--accent);
}
.kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  flex: none;
}
.label {
  font: 500 13px/1.4 var(--mono);
  color: var(--ink-3);
  letter-spacing: 0.01em;
  margin: 0;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.more .i {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}
.more:hover .i {
  transform: translateX(3px);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover {
  background: var(--accent-ink);
  color: var(--on-accent);
}
.btn .i {
  width: 18px;
  height: 18px;
}
.btn .mono {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}
.btn.lg {
  height: 48px;
  padding: 0 20px;
  font-size: 16px;
}
.btn.sm {
  height: 34px;
  padding: 0 12px;
  font-size: 14px;
}
.btn.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn.secondary:hover {
  background: var(--bg-2);
  border-color: var(--ink-3);
  color: var(--ink);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--head);
}
/* The logo is the artwork itself, so it needs no type of its own. It is
   sized by height; the width follows the lockup's own proportions. */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 26px;
  width: auto;
}
.foot-brand .brand img {
  height: 28px;
}
.nav {
  display: flex;
  gap: 2px;
}
.nav a,
.top-link {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
  padding: 7px 10px;
  border-radius: 6px;
}
.nav a:hover,
.top-link:hover {
  color: var(--ink);
  background: var(--bg-2);
}
.nav a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu {
  display: none;
}
.menu summary {
  list-style: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .i.x,
.menu[open] .i:not(.x) {
  display: none;
}
.menu[open] .i.x {
  display: block;
}
.menu .sheet {
  position: fixed;
  top: calc(var(--head) + 1px);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--head) - 1px);
  overflow: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 16px;
  display: grid;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25);
}
.menu .sheet a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}
.menu .sheet a:last-child {
  border-bottom: 0;
}
.menu .sheet a[aria-current='page'] {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 1000px) {
  .nav,
  .top-link {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* ---------- sections ---------- */

.sec,
.feat {
  padding: clamp(64px, 8.5vw, 112px) 0;
  border-top: 1px solid var(--line);
}
.sec.alt,
.feat.alt {
  background: var(--bg-2);
}
.sec.tight {
  padding-top: 0;
  border-top: 0;
}
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.sec-head .lede {
  margin-top: 16px;
}
.page-head {
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  max-width: 18em;
}
.page-head .lede {
  margin-top: 18px;
}
.page-head + .sec {
  border-top: 0;
}
.page-head .stats {
  margin-top: 28px;
}

/* ---------- screenshots in a window ---------- */

.win {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-shot);
}
.win .bar {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font: 500 12px/1 var(--sans);
  color: var(--ink-3);
}
.win .bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.win .bar i:nth-child(2) {
  background: #febc2e;
}
.win .bar i:nth-child(3) {
  background: #28c840;
}
.win.windows .bar {
  justify-content: space-between;
  padding: 0 0 0 12px;
}
.win.windows .ctl {
  display: flex;
  height: 100%;
}
.win.windows .ctl svg {
  width: 40px;
  height: 100%;
  padding: 0 15px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1;
}
.win img {
  width: 100%;
}
.win.scheme-light {
  background: #ffffff;
  border-color: #cdd3d6;
}
.win.scheme-light .bar {
  background: #efede6;
  border-color: rgba(28, 27, 25, 0.1);
}
.win.scheme-dark {
  background: #1c1c1b;
  border-color: #3a3a38;
}
.win.scheme-dark .bar {
  background: #262625;
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(44px, 7vw, 96px);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 4px 12px 4px 4px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}
.pill:hover {
  border-color: var(--line-2);
  color: var(--ink);
}
.pill-tag {
  flex: none;
  font: 500 12px/1 var(--mono);
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.pill-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pill .i {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
}
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px 64px;
  align-items: end;
  margin-top: 28px;
}
.hero-meta {
  margin: 16px 0 0;
  font: 13px/1.5 var(--mono);
  color: var(--ink-3);
}
.hero-meta a {
  color: var(--ink-2);
}
.hero-stage {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
}
.hero-stage::before {
  content: '';
  position: absolute;
  inset: 34% 0 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.hero-stage .wrap {
  position: relative;
}
.hero-shot {
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-shot .win {
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .cta .btn {
    flex: 1 1 100%;
  }
}

/* ---------- services strip ---------- */

.works {
  padding: 44px 0 56px;
  border-top: 1px solid var(--line);
}
.works-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
}
.works-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.works-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg);
  font-size: 14.5px;
  color: var(--ink-2);
}
.works-list li span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .works-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .works-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .works-list li {
    padding: 12px;
    font-size: 14px;
  }
}

/* ---------- brand marks ---------- */

.mark {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--c, var(--ink-2));
}
.mark svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
/* A service whose mark is its own artwork rather than a one-colour glyph.
   contain, because the logos are not all square. */
.mark img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 3px;
}
/* Simple Icons has no CC0 mark for every service (Microsoft and Amazon had
   theirs withdrawn), so those get their initials instead. Tinted with the
   accent rather than left grey: a muted tile beside a row of full-colour
   logos reads as a picture that failed to load. */
.mark.mono {
  font: 600 12px/1 var(--mono);
  letter-spacing: -0.02em;
  color: var(--accent-ink);
  background: var(--accent-soft);
}
@media (prefers-color-scheme: dark) {
  .mark {
    color: var(--cd, var(--ink-2));
  }
  .mark.mono {
    color: var(--accent-ink);
  }
}

/* ---------- how it works ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.flow-col {
  position: relative;
  padding: 26px 24px 24px;
  min-width: 0;
}
.flow-col + .flow-col {
  border-left: 1px solid var(--line);
}
.flow-col + .flow-col::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 25px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.flow-col + .flow-col::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 32px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-2);
  border-right: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--ink);
}
.flow-step span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 500 12px/1 var(--mono);
}
.flow-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.acct-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.acct-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 0 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.acct-list .mark {
  grid-row: span 2;
}
.acct-list .nm {
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-list .tier {
  grid-column: 2;
  font: 12px/1.3 var(--mono);
  color: var(--ink-3);
}
.acct-list .gb {
  grid-column: 3;
  grid-row: 1 / span 2;
  font: 500 14px/1 var(--mono);
  color: var(--ink);
}
.place {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.place li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.place .mono {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
}
.place p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}
.drivecard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--bg-2);
}
.dc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dc-head .i {
  color: var(--ink-2);
}
.dc-head .mono {
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.tank {
  display: flex;
  gap: 2px;
  height: 14px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-3);
}
.tank .seg.small {
  background: var(--seg-small);
}
.tank .seg.big {
  background: var(--seg-big);
}
.dc-legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
}
.dc-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dc-legend .mono {
  margin-left: auto;
  color: var(--ink);
  font-size: 13.5px;
}
.sw {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.sw.small {
  background: var(--seg-small);
}
.sw.big {
  background: var(--seg-big);
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-col + .flow-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .flow-col + .flow-col::before {
    left: 24px;
    top: -11px;
  }
  .flow-col + .flow-col::after {
    left: 31px;
    top: -5px;
    transform: rotate(135deg);
  }
}

/* ---------- text beside a picture ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.split.flip .split-text {
  order: 2;
}
.split-text h2 {
  margin-bottom: 18px;
}
.split-text p {
  color: var(--ink-2);
}
.split-text p b {
  color: var(--ink);
}
.ticks {
  list-style: none;
  margin: 20px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 7px;
  width: 10px;
  height: 5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .split,
  .split.flip {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.flip .split-text {
    order: 0;
  }
}

/* private folder names, before and after */
.crypt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.prose .crypt {
  margin: 20px 0 8px;
}
.crypt-h {
  margin: 0 0 12px;
  font: 500 12px/1.2 var(--mono);
  color: var(--ink-3);
}
.crypt-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.crypt-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 14.5px;
}
.crypt-col li .i {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}
.crypt-col.enc li {
  font: 12.5px/1.35 var(--mono);
  color: var(--ink-2);
  word-break: break-all;
}
.crypt-arrow {
  align-self: center;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.crypt-arrow .i {
  width: 18px;
  height: 18px;
}
@media (max-width: 1100px) and (min-width: 901px), (max-width: 620px) {
  .crypt {
    grid-template-columns: minmax(0, 1fr);
  }
  .crypt-arrow {
    justify-self: center;
  }
}

/* ---------- small feature tiles ---------- */

.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.tiles li {
  background: var(--surface);
}
.tiles a {
  display: block;
  height: 100%;
  padding: 22px 22px 24px;
  color: inherit;
  text-decoration: none;
}
.tiles a:hover h3 {
  color: var(--accent);
}
.ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--accent);
}
.tiles h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.tiles p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.after-tiles {
  margin: 28px 0 0;
}
@media (max-width: 1000px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .tiles a {
    padding: 18px;
  }
}

/* ---------- dark band ---------- */

.sec.dark {
  background: var(--band);
  color: var(--band-ink);
  border-top: 0;
}
.sec.dark h2 {
  color: var(--band-ink);
}
.sec.dark .lede {
  color: var(--band-ink-2);
  margin: 16px 0 24px;
}
.sec.dark .kicker,
.sec.dark .more {
  color: var(--band-accent);
}
.sec.dark .more:hover {
  color: #8fbeff;
}
.sec.dark :focus-visible {
  outline-color: var(--band-accent);
}
@media (prefers-color-scheme: dark) {
  .sec.dark {
    border-top: 1px solid var(--band-line);
    border-bottom: 1px solid var(--band-line);
  }
}
.band {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.specs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--band-line);
}
.specs div {
  padding: 18px 0;
  border-bottom: 1px solid var(--band-line);
}
.specs dt {
  margin-bottom: 6px;
  font: 500 12.5px/1.3 var(--mono);
  color: var(--band-ink-3);
}
.specs dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--band-ink);
}
@media (max-width: 900px) {
  .band {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .specs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- pricing on the home page ---------- */

.price-band {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.price-band .lede {
  margin: 16px 0 24px;
}
.mini-table .table {
  margin: 0;
}
.mini-table caption {
  text-align: left;
  padding-bottom: 10px;
  font: 500 12.5px/1.4 var(--mono);
  color: var(--ink-3);
}
.mini-table .mark,
.alloc .mark {
  display: inline-grid;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  margin-right: 10px;
}
.mini-table .mark svg,
.alloc .mark svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 900px) {
  .price-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- platform tiles ---------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.platforms a {
  display: block;
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.platforms a:hover b {
  color: var(--accent);
}
.platforms .i {
  width: 24px;
  height: 24px;
  margin-bottom: 22px;
  color: var(--ink-2);
}
.platforms b {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.platforms small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-3);
}
@media (max-width: 800px) {
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 400px) {
  .platforms {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- tables ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 18px 0 8px;
}
.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
}
.table th {
  font: 500 12.5px/1.3 var(--mono);
  color: var(--ink-3);
  border-bottom-color: var(--line-2);
}
.table td {
  color: var(--ink-2);
}
.table td:first-child {
  color: var(--ink);
  font-weight: 500;
}
.table th:last-child,
.table td:last-child {
  padding-right: 0;
}
.table .num {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table td.num {
  color: var(--ink);
}
.prose .table td:first-child {
  width: 30%;
}

/* ---------- stats ---------- */

.stats {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 680px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.stats li {
  flex: 1 1 130px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--surface);
}
.stats b {
  font: 600 22px/1.15 var(--sans);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats span {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-3);
}

/* ---------- features page ---------- */

.fx-index {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.fx-groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 30px;
}
.fx-groups h2 {
  margin-bottom: 10px;
  font: 500 12.5px/1.3 var(--mono);
  letter-spacing: 0.01em;
  color: var(--ink-3);
}
.fx-groups a {
  display: block;
  padding: 3px 0;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
}
.fx-groups a:hover {
  color: var(--accent);
}
@media (max-width: 1000px) {
  .fx-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .fx-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
}
.feat .stats {
  margin: 22px 0 24px;
}
.subfeats {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}
.subfeats > div {
  scroll-margin-top: calc(var(--head) + 24px);
}
.subfeats h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 16px;
}
.subfeats h3 .i {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.subfeats p {
  margin: 0;
  font-size: 15px;
}
@media (max-width: 900px) and (min-width: 561px) {
  .subfeats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.remote {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 22px 16px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.remote-from,
.remote-cmds {
  list-style: none;
  margin: 0;
  padding: 0;
}
.remote-from {
  display: grid;
  gap: 8px;
}
.remote-from li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 14.5px;
}
.remote-from .i {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}
.remote-line {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px);
}
.remote-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3.5px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--ink-3);
  border-right: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
}
.remote-to {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-soft);
  text-align: center;
}
.remote-to img {
  width: 32px;
  height: 32px;
}
.remote-to span {
  font-size: 13px;
  color: var(--ink-3);
}
.remote-cmds {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.remote-cmds li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
  font: 12.5px/1 var(--mono);
  color: var(--ink-2);
}
@media (max-width: 520px) {
  .remote {
    grid-template-columns: minmax(0, 1fr);
  }
  .remote-line {
    justify-self: center;
    width: 1px;
    height: 28px;
    background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px);
  }
  .remote-line::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: -3px;
    transform: rotate(135deg);
  }
}
.settings-shot {
  max-width: 980px;
  margin: 0 auto 40px;
}
.minis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.mini {
  padding: 24px;
  background: var(--surface);
  scroll-margin-top: calc(var(--head) + 24px);
}
.mini h3 {
  margin-bottom: 8px;
  font-size: 17px;
}
.mini p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}
.mini .win {
  margin-top: 18px;
  box-shadow: none;
}
.theme-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.theme-pair .win {
  margin: 0;
}
.theme-pair .win .bar {
  height: 16px;
  gap: 4px;
  padding: 0 6px;
}
.theme-pair .win .bar i {
  width: 5px;
  height: 5px;
}
@media (max-width: 1000px) {
  .minis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .minis {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* commands in a terminal */
.term {
  margin: 18px 0 0;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 8px;
  background: #0b1215;
  color: #e8eef0;
  font: 12.5px/1.75 var(--mono);
  white-space: pre;
}
.term code {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  word-break: normal;
}
.term span {
  color: var(--band-accent);
  user-select: none;
}
.prose .term {
  margin: 16px 0 18px;
}
@media (prefers-color-scheme: dark) {
  .term {
    background: var(--bg);
    border: 1px solid var(--line);
  }
}
.endcap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.endcap .lede {
  margin: 16px auto 28px;
}
.endcap .cta {
  justify-content: center;
}

/* ---------- integrations ---------- */

.filters {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
@media (min-width: 901px) {
  .filters {
    position: sticky;
    top: var(--head);
    z-index: 10;
  }
  .svc {
    scroll-margin-top: 240px;
  }
}
.search {
  position: relative;
  display: block;
  max-width: 440px;
}
.search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 15px var(--sans);
}
.search input::placeholder {
  color: var(--ink-3);
}
.search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.search .i {
  position: absolute;
  left: 12px;
  top: 11px;
  color: var(--ink-3);
  pointer-events: none;
}
.search.big {
  max-width: 560px;
  margin-top: 28px;
}
.search.big input {
  height: 50px;
  font-size: 16px;
}
.search.big .i {
  top: 15px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
}
.chip span {
  font: 12px/1 var(--mono);
  color: var(--ink-3);
}
.chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.chip[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.chip[aria-pressed='true'] span {
  color: inherit;
  opacity: 0.7;
}
.f-count {
  margin: 0;
  font: 13px/1.4 var(--mono);
  color: var(--ink-3);
}
.svc-group {
  margin-bottom: 56px;
}
.svc-group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
  margin-bottom: 18px;
}
.svc-group-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.svc-group-head p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-3);
}
.count-pill {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0;
  color: var(--ink-3);
}
.svc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.svc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  scroll-margin-top: calc(var(--head) + 24px);
}
.svc:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.svc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.svc .mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}
.svc .mark svg {
  width: 22px;
  height: 22px;
}
.svc .mark.mono {
  font-size: 13px;
}
.svc h3 {
  font-size: 16px;
  line-height: 1.3;
}
.svc .free {
  margin: 3px 0 0;
  font: 13px/1.3 var(--mono);
  color: var(--ink-2);
}
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-2);
  font: 500 12px/1.3 var(--sans);
  color: var(--ink-2);
}
.tag .i {
  width: 12px;
  height: 12px;
}
.tag.plan-free {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: transparent;
}
.tag.plan-self-hosted,
.tag.phone {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}
.svc .note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.svc-meta {
  display: grid;
  gap: 5px;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.svc-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}
.svc-meta dt {
  color: var(--ink-3);
}
.svc-meta dd {
  margin: 0;
  color: var(--ink-2);
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: 13.5px;
  color: var(--ink-3);
  text-decoration: none;
}
.svc-link:hover {
  color: var(--accent);
}
.svc-link .i {
  width: 13px;
  height: 13px;
}
.svc-group.sources {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.sources-note {
  max-width: 52em;
  margin: -6px 0 20px;
  font-size: 15px;
  color: var(--ink-2);
}
.noresult {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  color: var(--ink-2);
}
.noresult p {
  margin: 0;
}
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.use-card,
.cost {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.use-card h3,
.cost h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 17px;
}
.use-card h3 .i,
.cost h3 .i {
  color: var(--accent);
}
.use-card p,
.cost p {
  font-size: 15px;
  color: var(--ink-2);
}
.cost p {
  margin: 0;
}
.use-n {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.use-n b {
  margin-right: 4px;
  font: 600 18px/1 var(--mono);
  color: var(--ink);
}
.limits {
  list-style: none;
  margin: 0;
  padding: 0;
}
.limits li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.limits li:last-child {
  border-bottom: 0;
}
.limits .mono {
  color: var(--ink);
}
.missing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
}
.missing .lede {
  margin-top: 12px;
}
@media (max-width: 900px) {
  .use-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .missing {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- pricing ---------- */

.plan {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.plan-main {
  padding: clamp(24px, 4vw, 40px);
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}
.plan-name {
  margin: 0 0 18px;
  font: 500 13px/1 var(--mono);
  color: var(--ink-3);
}
.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 0 0 26px;
}
.plan-price b {
  font: 600 64px/1 var(--sans);
  letter-spacing: -0.04em;
}
.plan-price span {
  color: var(--ink-2);
}
.plan-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.checklist {
  list-style: none;
  margin: 0;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  align-content: center;
  gap: 13px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
}
.checklist .i {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.alloc td {
  vertical-align: middle;
}
.alloc .details {
  min-width: 220px;
  font-size: 14px;
  color: var(--ink-3);
}
.alloc td:first-child,
.alloc td:nth-child(2) {
  white-space: nowrap;
}
.table-foot {
  max-width: 62em;
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}
.table-foot b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 500;
}
.narrow {
  max-width: 900px;
}
@media (max-width: 900px) {
  .cost-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  .plan {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-main {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .alloc th:nth-child(2),
  .alloc td:nth-child(2) {
    display: none;
  }
  .alloc .details {
    min-width: 170px;
  }
}

/* ---------- long reads: guide, security, privacy ---------- */

.doc {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 96px;
}
.toc {
  position: sticky;
  top: calc(var(--head) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--head) - 48px);
  overflow: auto;
  font-size: 14px;
}
.toc b {
  display: block;
  margin-bottom: 12px;
  font: 500 12.5px/1 var(--mono);
  color: var(--ink-3);
}
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  line-height: 1.4;
}
.toc a.sub {
  padding-left: 24px;
  font-size: 13.5px;
}
.toc a:hover,
.toc a.on {
  color: var(--ink);
  border-left-color: var(--accent);
}
@media (max-width: 900px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
  }
  .toc {
    position: static;
    max-height: none;
    padding: 16px 16px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    columns: 2;
    column-gap: 20px;
  }
  .toc b {
    column-span: all;
  }
  .toc a {
    break-inside: avoid;
  }
}
.prose {
  max-width: 740px;
  min-width: 0;
}
.prose > h2 {
  margin: 56px 0 14px;
  font-size: clamp(24px, 2.6vw, 30px);
}
.prose > h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 32px 0 10px;
  font-size: 19px;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose b {
  color: var(--ink);
  font-weight: 600;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 8px;
}
.prose li::marker {
  color: var(--ink-3);
}
.prose .facts {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.prose .facts li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line);
}
.prose .facts li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 22px;
  width: 10px;
  height: 5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}
.callout {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 15.5px;
}
.callout.warn {
  border-color: var(--warn-line);
  background: var(--warn-soft);
}
.callout p:last-child {
  margin-bottom: 0;
}
.prose .callout p {
  color: var(--ink);
}

/* the key diagram on the security page */
.kdf {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.kdf-row {
  display: flex;
  align-items: center;
}
.kdf-box {
  display: grid;
  gap: 3px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
}
.kdf-box.in span {
  font: 13px/1.3 var(--mono);
  color: var(--ink-2);
}
.kdf-box b {
  font-size: 14.5px;
}
.kdf-box .mono {
  font-size: 12.5px;
  color: var(--ink-3);
}
.kdf-arrow {
  position: relative;
  flex: 1 1 24px;
  min-width: 20px;
  height: 1px;
  margin: 0 6px;
  background: var(--line-2);
}
.kdf-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-3);
  border-right: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
}
.kdf-keys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.kdf-key {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
}
.kdf-key .i {
  margin-top: 2px;
  color: var(--accent);
}
.kdf-key b {
  display: block;
  font-size: 15px;
}
.kdf-key p {
  margin: 4px 0 0;
  font-size: 14px;
}
@media (max-width: 640px) {
  .kdf-row {
    flex-direction: column;
    align-items: stretch;
  }
  .kdf-arrow {
    flex: none;
    width: 1px;
    height: 20px;
    margin: 4px auto;
  }
  .kdf-arrow::after {
    right: -3px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }
  .kdf-keys {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- changelog ---------- */

.releases {
  padding-top: 8px;
  padding-bottom: 96px;
}
.release {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.release-meta {
  position: sticky;
  top: calc(var(--head) + 24px);
  align-self: start;
}
.release-meta p {
  margin: 0;
}
.release-v {
  font: 600 22px/1.2 var(--mono);
  letter-spacing: -0.01em;
}
.release-date {
  margin-top: 6px !important;
  font-size: 14px;
  color: var(--ink-3);
}
.release-meta .tag {
  margin-top: 10px;
}
.release-body {
  max-width: 780px;
}
.release-body h2 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.4vw, 26px);
}
.release-body ul {
  margin: 0;
  padding-left: 20px;
}
.release-body li {
  margin-bottom: 10px;
  color: var(--ink-2);
}
.release-body li::marker {
  color: var(--ink-3);
}
.release-body b {
  color: var(--ink);
  font-weight: 600;
}
.releases-foot {
  padding-top: 28px;
  color: var(--ink-3);
}
@media (max-width: 760px) {
  .release {
    grid-template-columns: minmax(0, 1fr);
  }
  .release-meta {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
  }
  .release-date,
  .release-meta .tag {
    margin-top: 0 !important;
  }
}

/* ---------- download page ---------- */

.dl {
  padding-top: 40px;
  padding-bottom: 96px;
}
.dl > .callout {
  margin: 0 0 22px;
}
.pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(13, 20, 23, 0.04);
}
.pick-guess {
  margin: 0;
  font: 500 12.5px/1.2 var(--mono);
  color: var(--accent);
}
.pick h2 {
  margin-top: 10px;
  font-size: clamp(24px, 3vw, 32px);
}
.pick p {
  margin: 10px 0 0;
  color: var(--ink-2);
}
@media (max-width: 700px) {
  .pick {
    grid-template-columns: minmax(0, 1fr);
  }
  .pick .btn {
    width: 100%;
  }
}
.os-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 8px;
}
.os-jump a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.os-jump a:hover {
  border-color: var(--line-2);
  color: var(--ink);
}
.osblock {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.os-jump + .osblock {
  margin-top: 28px;
}
.osblock > header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
}
.osblock > header h2 .i {
  width: 24px;
  height: 24px;
  color: var(--ink-3);
}
.osblock > header p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--ink-3);
}
.osblock h3 {
  margin: 34px 0 0;
}
@media (max-width: 860px) {
  .osblock {
    grid-template-columns: minmax(0, 1fr);
  }
}
.files {
  display: grid;
  gap: 10px;
}
.file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.file b {
  font-size: 16.5px;
  font-weight: 600;
}
.file .desc {
  font-size: 14.5px;
  color: var(--ink-3);
}
.file .meta {
  grid-column: 1 / -1;
  font: 12.5px/1.4 var(--mono);
  color: var(--ink-3);
  word-break: break-all;
}
.file.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
@media (max-width: 520px) {
  .file {
    grid-template-columns: minmax(0, 1fr);
  }
  .file .btn {
    width: 100%;
  }
}
.steps {
  counter-reset: step;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 42px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  font: 500 12.5px/1 var(--mono);
  color: var(--ink-2);
}
.steps > li b {
  font-weight: 600;
}
.steps > li p {
  margin: 4px 0 0;
  color: var(--ink-2);
}
.req {
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-2);
}
.sums td:first-child {
  white-space: nowrap;
  font-size: 13.5px;
}
.sums .sha {
  font-size: 12.5px;
  word-break: break-all;
  color: var(--ink-2);
}
@media (max-width: 700px) {
  .sums thead {
    display: none;
  }
  .sums tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .sums td {
    display: block;
    padding: 2px 0;
    border: 0;
    white-space: normal !important;
    word-break: break-all;
  }
}
.phone-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.phone-qr svg {
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 6px;
}
.phone-qr p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}
/* phones do not need to scan their own screen */
@media (hover: none) and (pointer: coarse) {
  .phone-qr {
    display: none;
  }
}

/* ---------- questions ---------- */

.faq {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 96px;
}
.faq .noresult {
  display: none;
}
@media (max-width: 900px) {
  .faq.searching .toc {
    display: none;
  }
}
@media (max-width: 900px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 28px;
  }
}
.qgroup {
  scroll-margin-top: calc(var(--head) + 20px);
}
.qgroup h2 {
  margin: 48px 0 6px;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.qgroup:first-child h2 {
  margin-top: 0;
}
details.q {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--head) + 20px);
}
details.q summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 40px 16px 0;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--ink);
}
details.q summary::-webkit-details-marker {
  display: none;
}
details.q summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: linear-gradient(var(--ink-3), var(--ink-3)) center / 12px 1.6px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) center / 1.6px 12px no-repeat;
}
details.q[open] summary::after {
  background: linear-gradient(var(--ink-3), var(--ink-3)) center / 12px 1.6px no-repeat;
}
details.q summary:hover {
  color: var(--accent);
}
details.q .a {
  max-width: 46em;
  padding: 0 0 18px;
  color: var(--ink-2);
}
details.q .a p:last-child {
  margin-bottom: 0;
}
.qa {
  border-top: 1px solid var(--line);
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 56vh;
  border-bottom: 0;
}
.nf-links {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.nf-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
}
.nf-links .i {
  width: 16px;
  height: 16px;
}

/* ---------- footer ---------- */

.foot {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.foot-cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.foot-brand p {
  max-width: 30em;
  margin: 14px 0 0;
  color: var(--ink-3);
}
.foot-ver a {
  font: 13px var(--mono);
  color: var(--ink-3);
}
.foot h2 {
  margin-bottom: 12px;
  font: 600 13.5px/1.3 var(--sans);
  letter-spacing: 0;
}
.foot nav a {
  display: block;
  padding: 4px 0;
  color: var(--ink-2);
  text-decoration: none;
}
.foot nav a:hover {
  color: var(--ink);
}
.foot-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fine {
  max-width: 72em;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
}
.fine a {
  color: inherit;
}
@media (max-width: 760px) {
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- sign in, account, developers ---------- */

.page-head .cta {
  margin-top: 24px;
}

.signin {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--head) - 120px);
  padding: 56px 0 80px;
}
.signin-card {
  width: min(440px, 100%);
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-shot);
  text-align: center;
}
.signin-card img.mk {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}
.signin-card h1 {
  margin: 0 0 8px;
  font: 600 24px/1.25 var(--display);
}
.signin-card .lede {
  margin: 0 auto 22px;
  font-size: 15.5px;
}
/* The approval page an app's sign-in shows (web/api/oauth.js) */
.consent .scopes {
  grid-template-columns: minmax(0, 1fr);
  margin: 4px 0 18px;
  text-align: left;
}
.consent .scopes legend {
  text-align: left;
}
.consent .scope b {
  font: 600 14.5px/1.35 var(--sans);
  margin-bottom: 2px;
}
.consent-form {
  margin-top: 6px;
}

/* Google's sign-in button colours (its branding guidelines) */
.gbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #747775;
  border-radius: 22px;
  background: #ffffff;
  color: #1f1f1f;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
}
.gbtn:hover {
  background: #f2f5fa;
  color: #1f1f1f;
}
.gbtn[aria-disabled='true'] {
  opacity: 0.6;
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  .gbtn {
    border-color: #8e918f;
    background: #131314;
    color: #e3e3e3;
  }
  .gbtn:hover {
    background: #1f2023;
    color: #e3e3e3;
  }
}
.signin-card .fine {
  margin-top: 20px;
}
.as-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.as-line .btn {
  width: 100%;
}
.status {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.status.bad {
  color: var(--bad);
}
.status.good {
  color: var(--ok);
}

.acct {
  display: grid;
  gap: 20px;
  padding-top: 36px;
  padding-bottom: 96px;
}
.acct > * {
  max-width: 900px;
}
.panel {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.panel > h2 {
  margin: 0 0 6px;
  font: 600 19px/1.3 var(--display);
}
.panel > p {
  color: var(--ink-2);
  font-size: 15px;
}
.panel.danger {
  border-color: var(--bad-line);
}
.who {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.who img,
.who .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  font: 600 18px/1 var(--display);
  color: var(--ink-2);
}
.who .nm {
  flex: 1 1 200px;
  min-width: 0;
}
.who .nm b {
  display: block;
  font-size: 17px;
}
.who .nm span {
  color: var(--ink-2);
  font-size: 14.5px;
  overflow-wrap: anywhere;
}
.form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.form .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-2);
}
.field input,
.field select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1 var(--sans);
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: transparent;
}
.scopes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.scopes legend {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.scope {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}
.scope input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.scope b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
}
.scope span {
  color: var(--ink-2);
}
.scope.risky b {
  color: var(--warn);
}
.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.presets button[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.newkey {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--ok);
  border-radius: 10px;
  background: var(--ok-soft);
}
.newkey p {
  margin: 0 0 10px;
  font-size: 14.5px;
}
.copyline {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.copyline code {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
  word-break: normal;
}
.keys {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.keys li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.keys .k-name {
  flex: 1 1 220px;
  min-width: 0;
}
.keys .k-name b {
  display: block;
  font-size: 15px;
}
.keys .k-name span {
  color: var(--ink-3);
  font-size: 13px;
}
.keys .chips {
  flex: 1 1 260px;
}
.keys .empty {
  display: block;
  color: var(--ink-3);
  font-size: 14.5px;
}
.chip.scope-chip {
  font: 500 12px/1 var(--mono);
  padding: 5px 8px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 14px 0 0;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--ink-2);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
}
.tabs button[aria-selected='true'] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.snippet {
  position: relative;
}
.snippet .term {
  margin-top: 12px;
  padding-right: 84px;
  white-space: pre-wrap;
  word-break: break-all;
}
.snippet .copy {
  position: absolute;
  top: 8px;
  right: 8px;
}
.btn.danger {
  background: var(--bad);
  color: var(--bg);
}
.btn.danger:hover {
  background: var(--bad);
  filter: brightness(0.92);
  color: var(--bg);
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.endpoints td:first-child {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
