/* GENERATED by server-cf/scripts/build-site-assets.mjs. Do not edit.
   Sources: packages/ui/src/styles/{fonts,tokens}.generated.css and
   server-cf/src/site/assets/site.css. Font licence: ./ofl.0950b4cf68.txt */

/* latin-ext */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./google-sans-var-latin-ext.b45b2ace16.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./google-sans-var-latin.0feef32352.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./google-sans-var-latin-ext.b45b2ace16.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./google-sans-var-latin.0feef32352.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./google-sans-var-latin-ext.b45b2ace16.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./google-sans-var-latin.0feef32352.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Google Sans Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./google-sans-code-var-latin-ext.b1b1ede148.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Google Sans Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./google-sans-code-var-latin.98eee6fe6d.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: "Google Sans Code";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./google-sans-code-var-latin-ext.b1b1ede148.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Google Sans Code";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./google-sans-code-var-latin.98eee6fe6d.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour. Dark is the default: these are the values any
     surface gets before a theme is chosen. Other themes override the same
     custom properties below, which is why the utilities need no variants. */
  --color-ink-000: #1C1E1B;
  --color-ink-050: #252724;
  --color-ink-100: #2B2D2A;  /* Panels, sidebars, sheets and field interiors. */
  --color-ink-200: #323430;  /* Rows and cards at rest. */
  --color-ink-300: #3A3D38;
  --color-ink-400: #474A44;  /* Pressed state, and the unfilled track of the expiry ring. */
  --color-line-soft: #363933;  /* Dividers and the border of a resting row. */
  --color-line-hard: #4B4F48;  /* Secondary buttons, field borders, panel edges. */
  --color-line-sky: #3E5760;
  --color-fg-hi: #F5F2EB;
  --color-fg-mid: #C4C6BD;
  --color-fg-lo: #A0A498;
  --color-sky-300: #4CC8F6;
  --color-sky-400: #02A7E3;
  --color-sky-500: #02A0D9;
  --color-sky-600: #0295CA;  /* Pressed state of a sky fill. */
  --color-sky-tint: #293438;
  --color-on-sky: #252724;
  --color-sage: #6DBB97;
  --color-copper: #E3904F;
  --color-brick: #EE7A69;  /* Breached, weak, refused, and destructive outlines. */
  --color-iris: #B3A4F0;
  --color-sage-tint: #2D3731;  /* Chip ground behind sage text. */
  --color-copper-tint: #3A3329;  /* Chip ground behind copper text. */
  --color-brick-tint: #3B302C;
  --color-iris-tint: #35353A;  /* Chip ground behind iris text. */
  --color-scrim: rgba(20,21,19,0.74);  /* Behind a modal sheet or the mobile autofill sheet. */
  --color-mark-r: #0283B2;
  --color-mark-field: #02A4DE;

  /* Families. */
  --font-display: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Google Sans Code", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Display - set in --font-display. */
  --text-display: 52px;
  --text-display--line-height: 56px;
  --text-display--font-weight: 500;
  --text-display--letter-spacing: -0.015em;
  --text-title: 28px;
  --text-title--line-height: 34px;
  --text-title--font-weight: 500;

  /* Interface - set in --font-sans. */
  --text-heading: 20px;
  --text-heading--line-height: 26px;
  --text-heading--font-weight: 600;
  --text-subhead: 16px;
  --text-subhead--line-height: 22px;
  --text-subhead--font-weight: 600;
  --text-body: 14px;
  --text-body--line-height: 20px;
  --text-body--font-weight: 400;
  --text-body-strong: 14px;
  --text-body-strong--line-height: 20px;
  --text-body-strong--font-weight: 600;
  --text-caption: 12px;
  --text-caption--line-height: 17px;
  --text-caption--font-weight: 400;
  --text-label: 11px;
  --text-label--line-height: 14px;
  --text-label--font-weight: 600;
  --text-label--letter-spacing: 0.09em;
  /* --text-label is uppercase: pair it with `uppercase`. */

  /* Code - set in --font-mono. */
  --text-code-xl: 32px;
  --text-code-xl--line-height: 32px;
  --text-code-xl--font-weight: 500;
  --text-code-xl--letter-spacing: 0.1em;
  --text-code-lg: 20px;
  --text-code-lg--line-height: 24px;
  --text-code-lg--font-weight: 500;
  --text-code-lg--letter-spacing: 0.1em;
  --text-code: 13px;
  --text-code--line-height: 20px;
  --text-code--font-weight: 400;
  --text-code-masked: 13px;
  --text-code-masked--line-height: 20px;
  --text-code-masked--font-weight: 400;
  --text-code-masked--letter-spacing: 0.16em;

  /* Spacing. Reached as `p-(--space-7)`; see the note in the source. */
  --space-1: 4px;  /* Icon to its label. */
  --space-2: 8px;  /* Stacked meta lines; issuer to login. */
  --space-3: 12px;  /* Inside a chip or pill. */
  --space-4: 16px;  /* Row padding and card gutter. */
  --space-5: 20px;  /* Between cards. */
  --space-6: 24px;  /* Window edge on phone. */
  --space-7: 32px;  /* Window edge on desktop. */
  --space-8: 40px;  /* Between sections. */
  --space-9: 56px;  /* Empty-state breathing room. */
  --space-10: 72px;  /* Cover and hero margins. */

  /* Radii. These replace Tailwind's own xs..xl, which is the point. */
  --radius-xs: 6px;  /* Badges and status pips. */
  --radius-sm: 10px;  /* Buttons, fields, icon buttons, provider marks. */
  --radius-md: 14px;  /* Rows and cards. */
  --radius-lg: 20px;  /* Sheets and popovers. */
  --radius-xl: 22px;  /* The quick view panel where it meets the screen edge. */
  --radius-pill: 999px;  /* Segmented switch, tags, the round + button. */
  --radius-notch: 13px;

  /* Elevation. */
  --shadow-elev-1: 0 1px 2px rgba(0,0,0,0.45);  /* A resting row that needs separation from its ground. */
  --shadow-elev-2: 0 4px 12px rgba(0,0,0,0.5);  /* Menus and tooltips. */
  --shadow-elev-3: 0 12px 32px rgba(0,0,0,0.55);  /* Sheets and the extension popup. */
  --shadow-elev-4: 0 6px 18px rgba(0,0,0,0.44), 0 1px 3px rgba(0,0,0,0.3);

  /* Easings. `ease-out` deliberately replaces Tailwind's own, the
     same way the radii above do. */
  --ease-base: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.4,0,.2,1);
  --ease-liquid: cubic-bezier(.62,0,.32,1.03);

  /* Durations. Reached as `duration-(--duration-quick)`. */
  --duration-instant: 90ms;
  --duration-quick: 140ms;
  --duration-base: 220ms;
  --duration-calm: 320ms;
  --duration-draw-in: 280ms;
  --duration-let-go: 220ms;
  --duration-tick: 1000ms;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-ink-000: #FFFFFF;
    --color-ink-050: #F5F2EB;
    --color-ink-100: #FFFFFF;
    --color-ink-200: #EEEBE3;
    --color-ink-300: #E6E8DF;
    --color-ink-400: #D6D9CE;
    --color-line-soft: #E2E1D8;
    --color-line-hard: #C9CBBF;
    --color-line-sky: #B8DDEA;
    --color-fg-hi: #252724;
    --color-fg-mid: #4B4F46;
    --color-fg-lo: #64695F;
    --color-sky-300: #015574;
    --color-sky-400: #01688D;
    --color-sky-500: #02739D;
    --color-sky-600: #014A65;
    --color-sky-tint: #DEF1F7;
    --color-on-sky: #FFFFFF;
    --color-sage: #2C6E52;
    --color-copper: #965014;
    --color-brick: #A6362A;
    --color-iris: #5B49A8;
    --color-sage-tint: #E6EEEA;
    --color-copper-tint: #F2EAE3;
    --color-brick-tint: #F4E7E5;
    --color-iris-tint: #EBE9F5;
    --color-scrim: rgba(37,39,36,0.42);
  }
}

/*
 * remempass.org. Source for public/assets/site.<hash>.css, which
 * scripts/build-site-assets.mjs writes with the token and font stylesheets
 * concatenated in front, so the page makes one stylesheet request.
 *
 * Every colour, size, radius, duration and easing is a token from
 * design/tokens.json, reached as a custom property. The few derived values
 * (the hero wordmark, the beam) are arithmetic on tokens, never new numbers,
 * and the beam's colour is the sky token mixed toward transparent rather
 * than a hand-picked translucent hex.
 *
 * The site follows the app's rules (design/DESIGN.md) where they apply to a
 * document: one accent, three resting surfaces, hairlines rather than boxes,
 * cards never nested. Where it differs it is because this IS a web page:
 * links to elsewhere get the pointing hand, the body scrolls, and text is
 * selectable.
 */

:root {
  --page-max: calc(var(--space-10) * 16);
  --reading-max: calc(var(--space-10) * 10);
  --gutter: var(--space-6);
  --masthead-h: calc(var(--space-9) + var(--space-2));
  --glass: color-mix(in oklab, var(--color-ink-100) 78%, transparent);
  --glass-edge: color-mix(in oklab, var(--color-fg-hi) 9%, transparent);
  --beam: color-mix(in oklab, var(--color-sky-400) 26%, transparent);
  --beam-faint: color-mix(in oklab, var(--color-sky-400) 9%, transparent);
  --wordmark-size: clamp(calc(var(--text-display) * 1.35), 15vw, calc(var(--text-display) * 2.6));
  --headline-size: clamp(var(--text-title), 5.2vw, calc(var(--text-display) * 0.86));
}

@media (min-width: 720px) {
  :root {
    --gutter: var(--space-7);
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --glass: color-mix(in oklab, var(--color-ink-100) 86%, transparent);
    --glass-edge: color-mix(in oklab, var(--color-fg-hi) 10%, transparent);
    --beam: color-mix(in oklab, var(--color-sky-400) 16%, transparent);
    --beam-faint: color-mix(in oklab, var(--color-sky-400) 6%, transparent);
  }
}

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

html {
  color-scheme: dark light;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--masthead-h) + var(--space-4));
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-ink-050);
  color: var(--color-fg-hi);
  font-family: var(--font-sans);
  font-size: var(--text-subhead);
  line-height: calc(var(--text-subhead--line-height) + var(--space-1));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

main {
  flex: 1;
  outline: none;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration-color: var(--color-line-hard);
  text-underline-offset: 3px;
  transition: color var(--duration-quick) var(--ease-base),
    text-decoration-color var(--duration-quick) var(--ease-base);
}

a:hover {
  color: var(--color-sky-400);
  text-decoration-color: currentColor;
}

button {
  font: inherit;
  cursor: default;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

strong {
  font-weight: 600;
  color: var(--color-fg-hi);
}

*:focus-visible {
  outline: 2px solid var(--color-sky-400);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: calc(-1 * var(--space-10));
  z-index: 30;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-sky-400);
  color: var(--color-on-sky);
}

.skip:focus {
  top: var(--space-4);
}

.icon {
  width: var(--space-5);
  height: var(--space-5);
  flex: none;
}

/* Banner, masthead, footer ---------------------------------------------- */

.banner {
  padding: var(--space-2) var(--gutter);
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  text-align: center;
}

.banner-warn {
  background: var(--color-copper-tint);
  color: var(--color-copper);
  border-bottom: 1px solid color-mix(in oklab, var(--color-copper) 30%, transparent);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--color-ink-050) 72%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--color-line-soft);
}

.masthead-inner {
  max-width: var(--page-max);
  height: var(--masthead-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* The horizontal logo, set live rather than placed as an image: Google Sans at
   550 with the logo's tightened spacing, and the symbol sized off the caps the
   way the outlined master is. Google Sans caps are 0.716em, so a symbol 1.6
   caps tall is 1.146em, square, and the 0.45-cap gap is 0.322em. Centring on
   the line box centres it on the caps closely enough at this size. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.322em;
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 550;
  letter-spacing: -0.022em;
  line-height: 1;
  text-decoration: none;
  color: var(--color-fg-hi);
}

.wordmark:hover {
  color: var(--color-fg-hi);
}

.wordmark .mark {
  width: 1.146em;
  height: 1.146em;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--space-8);
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-body);
  color: var(--color-fg-mid);
  text-decoration: none;
  white-space: nowrap;
}

/* The masthead wordmark keeps its accessible name (aria-label) when the word
   itself gives way on the narrowest phones. */
@media (max-width: 380px) {
  .masthead .wordmark span {
    display: none;
  }
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-fg-hi);
}

@media (max-width: 560px) {
  .nav-link:first-child {
    display: none;
  }
  .nav .btn-small {
    padding: 0 var(--space-3);
  }
}

.footer {
  margin-top: var(--space-10);
  border-top: 1px solid var(--color-line-soft);
  color: var(--color-fg-mid);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-9) var(--gutter) var(--space-8);
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1.2fr 2fr;
  }
}

.footer-line {
  margin-top: var(--space-3);
  max-width: 34ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--space-10) * 2), 1fr));
  gap: var(--space-7);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  text-decoration: none;
  min-height: var(--space-6);
  display: inline-flex;
  align-items: center;
}

.footer-head {
  margin-bottom: var(--space-1);
  font-size: var(--text-label);
  line-height: var(--text-label--line-height);
  font-weight: var(--text-label--font-weight);
  letter-spacing: var(--text-label--letter-spacing);
  text-transform: uppercase;
  color: var(--color-fg-lo);
}

.footer-base {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-5) var(--gutter) var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-top: 1px solid var(--color-line-soft);
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: calc(var(--space-8) + var(--space-1));
  padding: 0 var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: var(--text-body-strong);
  font-weight: var(--text-body-strong--font-weight);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration-quick) var(--ease-base),
    border-color var(--duration-quick) var(--ease-base),
    color var(--duration-quick) var(--ease-base),
    transform var(--duration-quick) var(--ease-base);
}

.btn .icon {
  width: var(--space-4);
  height: var(--space-4);
}

.btn-small {
  min-height: var(--space-8);
  padding: 0 var(--space-4);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--color-sky-400);
  color: var(--color-on-sky);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-sky-300) 40%, transparent) inset,
    0 var(--space-2) var(--space-6) calc(-1 * var(--space-2)) var(--beam);
}

.btn-primary:hover {
  background: var(--color-sky-300);
  color: var(--color-on-sky);
}

.btn-primary:active {
  background: var(--color-sky-600);
}

.btn-ghost {
  background: var(--glass);
  border-color: var(--color-line-hard);
  color: var(--color-fg-hi);
}

.btn-ghost:hover {
  background: var(--color-ink-300);
  color: var(--color-fg-hi);
}

.btn-ghost:active {
  background: var(--color-ink-400);
}

.btn-danger {
  background: transparent;
  border-color: var(--color-brick);
  color: var(--color-brick);
}

.btn-danger:hover {
  background: var(--color-brick-tint);
  color: var(--color-brick);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.cta-left {
  justify-content: flex-start;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  color: var(--color-sky-400);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-body-strong);
}

.text-link .icon {
  width: var(--space-4);
  height: var(--space-4);
}

/* The AuthKit vocabulary: beam, grid, ticks, eyebrow ---------------------- */

.beam {
  position: absolute;
  inset: 0 0 auto 50%;
  width: min(100vw, calc(var(--page-max) * 1.2));
  height: min(130vh, calc(var(--space-10) * 14));
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 50% 0%, var(--beam) 0%, transparent 72%),
    conic-gradient(from 180deg at 50% -6%, transparent 168deg, var(--beam-faint) 176deg, var(--beam) 180deg, var(--beam-faint) 184deg, transparent 192deg);
  mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
  z-index: 0;
}

.beam-low {
  height: calc(var(--space-10) * 8);
  opacity: 0.8;
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, var(--color-line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-line-soft) 1px, transparent 1px);
  background-size: calc(var(--space-10) * 2) calc(var(--space-10) * 2);
  background-position: center top;
  mask-image: radial-gradient(60% 55% at 50% 30%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, black 0%, transparent 78%);
  opacity: 0.55;
}

.frame {
  position: relative;
}

.tick {
  position: absolute;
  width: var(--space-3);
  height: var(--space-3);
  pointer-events: none;
}

.tick::before,
.tick::after {
  content: "";
  position: absolute;
  background: var(--color-fg-lo);
}

.tick::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.tick::after {
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
}

.tick.tl {
  left: calc(-1 * var(--space-3) / 2);
  top: calc(-1 * var(--space-3) / 2);
}

.tick.tr {
  right: calc(-1 * var(--space-3) / 2);
  top: calc(-1 * var(--space-3) / 2);
}

.tick.bl {
  left: calc(-1 * var(--space-3) / 2);
  bottom: calc(-1 * var(--space-3) / 2);
}

.tick.br {
  right: calc(-1 * var(--space-3) / 2);
  bottom: calc(-1 * var(--space-3) / 2);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--color-fg-mid);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  width: var(--space-10);
  background: linear-gradient(to right, transparent, var(--color-line-hard));
}

.eyebrow::after {
  background: linear-gradient(to left, transparent, var(--color-line-hard));
}

.section-head:not(.centered) .eyebrow {
  justify-content: flex-start;
}

.section-head:not(.centered) .eyebrow::before {
  display: none;
}

.headline {
  font-family: var(--font-display);
  font-size: var(--headline-size);
  font-weight: var(--text-display--font-weight);
  line-height: 1.06;
  letter-spacing: var(--text-display--letter-spacing);
  color: var(--color-fg-hi);
  text-wrap: balance;
}

/* The second half of a two-part headline steps back rather than lighting up:
   sky is for actions, never decoration (design/DESIGN.md §3). */
.headline span {
  color: var(--color-fg-mid);
}

.headline-lg {
  font-size: clamp(var(--text-title), 7vw, var(--text-display));
}

.headline-sm {
  font-size: clamp(var(--text-title), 4.4vw, calc(var(--text-display) * 0.72));
  overflow-wrap: anywhere;
}

.section-sub {
  max-width: 58ch;
  color: var(--color-fg-mid);
  font-size: calc(var(--text-subhead) + var(--space-1) / 2);
  line-height: 1.55;
}

.caption {
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
}

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

.hero {
  position: relative;
  isolation: isolate;
  padding: var(--space-10) var(--gutter) 0;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.hero-frame {
  padding: var(--space-2) var(--space-8);
  border-top: 1px solid var(--color-line-soft);
  border-bottom: 1px solid var(--color-line-soft);
}

/* The hero name is the wordmark, so it is set the way the logo is: flat
   colour at weight 550 and the logo's -22/1000 spacing. It used to fade into
   the accent; the brand guide rules out gradients on the mark, and a word that
   changes colour halfway down reads as a link state. */
.wordmark-xl {
  font-family: var(--font-display);
  font-size: var(--wordmark-size);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.022em;
  padding-bottom: 0.06em;
  color: var(--color-fg-hi);
}

.hero-sub {
  max-width: 40ch;
  color: var(--color-fg-mid);
  font-size: clamp(var(--text-subhead), 2.2vw, var(--text-heading));
  line-height: 1.5;
  text-wrap: balance;
}

.hero-stage {
  position: relative;
  z-index: 1;
  max-width: calc(var(--space-10) * 13);
  margin: var(--space-10) auto 0;
  text-align: left;
}

.stage-float {
  display: none;
}

@media (min-width: 980px) {
  .stage-float {
    display: block;
    position: absolute;
    right: calc(-1 * var(--space-10));
    bottom: calc(-1 * var(--space-10) * 1.4);
    width: calc(var(--space-10) * 4);
    animation: float 7s var(--ease-base) infinite alternate;
  }
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * var(--space-3)));
  }
}

/* Mockups ------------------------------------------------------------------ */

.mock {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev-3), 0 0 0 1px var(--color-line-soft) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
  user-select: none;
}

.mock::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in oklab, var(--color-sky-300) 55%, transparent), transparent);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: calc(var(--space-8) + var(--space-3));
  padding: 0 var(--space-4);
  border-bottom: 1px solid var(--color-line-soft);
}

.lights {
  display: inline-flex;
  gap: var(--space-2);
  flex: none;
}

.lights i {
  width: var(--space-3);
  height: var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-ink-400);
}

.mock-search {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
  height: var(--space-7);
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-ink-100);
  border: 1px solid var(--color-line-soft);
  color: var(--color-fg-lo);
  font-size: var(--text-caption);
}

.mock-search .icon {
  width: var(--space-4);
  height: var(--space-4);
}

.mock-seg {
  display: none;
  padding: calc(var(--space-1) / 2);
  gap: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-ink-100);
  border: 1px solid var(--color-line-soft);
  font-size: var(--text-caption);
}

@media (min-width: 640px) {
  .mock-seg {
    display: inline-flex;
  }
}

.mock-seg span {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  color: var(--color-fg-mid);
}

.mock-seg .is-on {
  background: var(--color-ink-300);
  color: var(--color-fg-hi);
}

.mock-body {
  display: grid;
}

@media (min-width: 720px) {
  .mock-body {
    grid-template-columns: 1fr 1fr;
  }
}

.mock-list {
  list-style: none;
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

.mock-row.is-selected {
  background: var(--color-ink-200);
  box-shadow: 0 0 0 1px var(--color-line-soft) inset;
}

.mock-row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mock-row-title {
  font-weight: 600;
  color: var(--color-fg-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-row-sub {
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: calc(var(--space-7) + var(--space-1));
  height: calc(var(--space-7) + var(--space-1));
  border-radius: var(--radius-sm);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.avatar-sky {
  background: var(--color-sky-tint);
  color: var(--color-sky-400);
}

.avatar-sage {
  background: var(--color-sage-tint);
  color: var(--color-sage);
}

.avatar-iris {
  background: var(--color-iris-tint);
  color: var(--color-iris);
}

.avatar-copper {
  background: var(--color-copper-tint);
  color: var(--color-copper);
}

/* The countdown ring at its shipped geometry, rendered at 20px (space-5). */
.ring {
  width: var(--space-5);
  height: var(--space-5);
  flex: none;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 2.5;
}

.ring-track {
  stroke: var(--color-ink-400);
}

.ring-fill {
  stroke: var(--color-sky-400);
  stroke-linecap: round;
}

.ring-warn .ring-fill {
  stroke: var(--color-copper);
}

.mock-detail {
  display: none;
  padding: var(--space-5);
  border-left: 1px solid var(--color-line-soft);
}

@media (min-width: 720px) {
  .mock-detail {
    display: block;
  }
}

.mock-detail-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-line-soft);
}

.mock-label {
  margin: var(--space-3) 0 var(--space-1);
  font-size: var(--text-label);
  line-height: var(--text-label--line-height);
  font-weight: var(--text-label--font-weight);
  letter-spacing: var(--text-label--letter-spacing);
  text-transform: uppercase;
  color: var(--color-fg-lo);
}

.mock-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.mock-digits {
  font-family: var(--font-mono);
  font-size: var(--text-code-xl);
  line-height: var(--text-code-xl--line-height);
  font-weight: var(--text-code-xl--font-weight);
  letter-spacing: var(--text-code-xl--letter-spacing);
  color: var(--color-fg-hi);
}

.mock-code .ring {
  width: var(--space-7);
  height: var(--space-7);
}

.mock-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--space-8);
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-ink-100);
  border: 1px solid var(--color-line-soft);
  color: var(--color-fg-mid);
  font-size: var(--text-body);
}

.mock-field .icon {
  width: var(--space-4);
  height: var(--space-4);
  color: var(--color-fg-lo);
}

.mock-masked {
  font-family: var(--font-mono);
  letter-spacing: var(--text-code-masked--letter-spacing);
}

.mock-quick {
  border-radius: var(--radius-xl);
  padding-bottom: var(--space-2);
}

.mock-quick-head {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3) var(--space-1);
}

.mock-plus {
  display: inline-grid;
  place-items: center;
  width: var(--space-7);
  height: var(--space-7);
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--color-ink-200);
  border: 1px solid var(--color-line-soft);
  color: var(--color-fg-mid);
}

.mock-quick-foot {
  padding: var(--space-2) var(--space-4) 0;
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
}

.mock-pre {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--text-code);
  line-height: calc(var(--text-code--line-height) + var(--space-1));
  color: var(--color-fg-hi);
  white-space: pre;
}

.t-prompt {
  color: var(--color-sky-400);
}

.t-dim {
  color: var(--color-fg-lo);
}

.t-ok {
  color: var(--color-sage);
}

.t-mask {
  color: var(--color-fg-mid);
  letter-spacing: 0.04em;
}

.t-caret {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--color-sky-400);
  animation: caret 1.1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.mock-ext {
  padding: var(--space-5);
  min-height: calc(var(--space-10) * 3.4);
}

.mock-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-line-hard);
}

.mock-page-title {
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.mock-input {
  min-height: var(--space-7);
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  border-radius: var(--radius-xs);
  background: var(--color-ink-100);
  border: 1px solid var(--color-line-soft);
  color: var(--color-fg-mid);
  font-size: var(--text-caption);
}

.mock-input.is-filled {
  border-color: color-mix(in oklab, var(--color-sky-400) 55%, transparent);
  background: var(--color-sky-tint);
  color: var(--color-fg-hi);
}

.mock-ext-pop {
  margin: var(--space-3) 0 0 auto;
  width: min(100%, calc(var(--space-10) * 3.6));
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  background: var(--color-ink-100);
  border: 1px solid var(--color-line-hard);
  box-shadow: var(--shadow-elev-2);
}

.mock-ext-pop .mock-label {
  margin: var(--space-1) var(--space-2) var(--space-2);
}

.mock-kbd {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-xs);
  background: var(--color-sky-400);
  color: var(--color-on-sky);
  font-size: var(--text-caption);
  font-weight: 600;
}

.mock-cipher .mock-pre {
  padding: var(--space-6);
}

.mock-term-title {
  flex: 1;
  text-align: center;
  font-size: var(--text-caption);
  color: var(--color-fg-lo);
  margin-right: var(--space-9);
}

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

.section {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: calc(var(--space-10) + var(--space-8)) var(--gutter) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.section-head.centered {
  align-items: center;
  text-align: center;
  margin: 0 auto var(--space-9);
}

.section-head.centered .section-sub {
  margin: 0 auto;
}

.features {
  padding-top: calc(var(--space-10) * 1.6);
}

.tiles {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-line-soft);
  border-left: 1px solid var(--color-line-soft);
}

@media (min-width: 560px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  padding: var(--space-6);
  border-right: 1px solid var(--color-line-soft);
  border-bottom: 1px solid var(--color-line-soft);
  transition: background-color var(--duration-base) var(--ease-base);
}

.tile:hover {
  background: color-mix(in oklab, var(--color-ink-100) 60%, transparent);
}

.tile .icon {
  width: var(--space-6);
  height: var(--space-6);
  color: var(--color-sky-400);
  margin-bottom: var(--space-4);
}

.tile-title {
  font-size: var(--text-subhead);
  line-height: var(--text-subhead--line-height);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.tile-text {
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
  color: var(--color-fg-mid);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-9);
  align-items: start;
}

.split-media {
  align-items: center;
}

/* Grid children default to min-width: auto, and a <pre> inside one then sets
   the column to its longest line: the page scrolls sideways on a phone. */
.split > *,
.trio > *,
.hero-stage > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-10);
  }
}

.steps-flow {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-line-hard);
  margin-left: var(--space-4);
}

.flow-step {
  position: relative;
  padding: 0 0 var(--space-8) var(--space-8);
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-num {
  position: absolute;
  left: calc(-1 * var(--space-4) - 1px);
  top: 0;
  display: grid;
  place-items: center;
  width: var(--space-7);
  height: var(--space-7);
  border-radius: var(--radius-pill);
  background: var(--color-ink-050);
  border: 1px solid var(--color-sky-400);
  color: var(--color-sky-400);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  box-shadow: 0 0 var(--space-5) var(--beam-faint);
}

.flow-title {
  font-size: var(--text-heading);
  line-height: var(--text-heading--line-height);
  font-weight: 600;
  margin: var(--space-1) 0 var(--space-2);
}

.flow-text {
  color: var(--color-fg-mid);
  max-width: 52ch;
}

.sees {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  border-top: 1px solid var(--color-line-soft);
}

.sees > div {
  display: grid;
  grid-template-columns: calc(var(--space-10) * 1.4) 1fr;
  gap: var(--space-4);
  padding-top: var(--space-3);
}

.sees dt {
  font-size: var(--text-label);
  line-height: calc(var(--text-subhead--line-height) + var(--space-1));
  font-weight: var(--text-label--font-weight);
  letter-spacing: var(--text-label--letter-spacing);
  text-transform: uppercase;
  color: var(--color-fg-lo);
}

.sees div:last-child dt {
  color: var(--color-sky-400);
}

.sees dd {
  color: var(--color-fg-mid);
}

.trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 960px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-7);
  }
}

.trio-item figcaption {
  margin-top: var(--space-6);
  color: var(--color-fg-mid);
  font-size: var(--text-body);
  line-height: 1.55;
}

.trio-item figcaption strong {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-subhead);
}

.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line-soft);
}

.checks li {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-line-soft);
  color: var(--color-fg-mid);
}

.checks .icon {
  color: var(--color-sky-400);
  margin-top: 2px;
}

.privacy-band {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}

.privacy-band > .icon {
  width: var(--space-8);
  height: var(--space-8);
  color: var(--color-sky-400);
  flex: none;
}

.band-title {
  font-family: var(--font-display);
  font-size: var(--text-title);
  line-height: var(--text-title--line-height);
  font-weight: var(--text-title--font-weight);
  margin-bottom: var(--space-2);
}

.band-text {
  color: var(--color-fg-mid);
  max-width: 70ch;
}

.privacy-band {
  padding-bottom: var(--space-9);
  border-bottom: 1px solid var(--color-line-soft);
}

.faq-list {
  max-width: calc(var(--space-10) * 10);
  margin: 0 auto;
  border-top: 1px solid var(--color-line-soft);
}

.faq-item {
  border-bottom: 1px solid var(--color-line-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: calc(var(--space-9) + var(--space-1));
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--color-fg-lo);
  transition: transform var(--duration-base) var(--ease-base);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--color-sky-400);
}

.faq-item p {
  padding: 0 0 var(--space-5);
  max-width: 68ch;
  color: var(--color-fg-mid);
}

.final-cta {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
  padding-bottom: var(--space-8);
}

.final-cta > *:not(.beam) {
  position: relative;
  z-index: 1;
}

.final-cta .section-sub {
  margin-bottom: var(--space-3);
}

/* Scroll reveal: only when the script has run and motion is allowed. Without
   either, every section is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(var(--space-5));
  }
  .reveal-ready [data-reveal] {
    transition: opacity var(--duration-calm) var(--ease-base), transform calc(var(--duration-calm) * 2) var(--ease-base);
  }
}

/* Page hero (security) and documents ---------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-10) var(--gutter) var(--space-9);
  text-align: center;
}

.page-hero > *:not(.beam) {
  position: relative;
  z-index: 1;
}

.doc {
  max-width: var(--reading-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.doc-section {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-line-soft);
}

.doc-section p + p {
  margin-top: var(--space-4);
}

.doc-section p,
.doc-list {
  color: var(--color-fg-mid);
}

.doc-h2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-heading);
  line-height: var(--text-heading--line-height);
  font-weight: 600;
}

.doc-h2 .icon {
  color: var(--color-sky-400);
}

.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-3) 0;
}

.doc-list li {
  position: relative;
  padding-left: var(--space-5);
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: var(--space-2);
  height: 1px;
  background: var(--color-sky-400);
}

.doc-limits .doc-h2 .icon {
  color: var(--color-copper);
}

/* Legal --------------------------------------------------------------------- */

.legal {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-10) var(--gutter) 0;
}

.legal-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: var(--reading-max);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-line-soft);
}

.legal-head .eyebrow {
  justify-content: flex-start;
}

.legal-head .eyebrow::before {
  display: none;
}

.legal-body {
  display: grid;
  gap: var(--space-8);
  padding-top: var(--space-8);
}

@media (min-width: 980px) {
  .legal-body {
    grid-template-columns: calc(var(--space-10) * 3.4) minmax(0, var(--reading-max));
    gap: var(--space-10);
  }
  .toc {
    position: sticky;
    top: calc(var(--masthead-h) + var(--space-6));
    align-self: start;
  }
}

.toc-head {
  margin-bottom: var(--space-3);
  font-size: var(--text-label);
  font-weight: var(--text-label--font-weight);
  letter-spacing: var(--text-label--letter-spacing);
  text-transform: uppercase;
  color: var(--color-fg-lo);
}

.toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border-left: 1px solid var(--color-line-soft);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
}

.toc a {
  display: block;
  padding: var(--space-1) var(--space-4);
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--color-fg-mid);
  text-decoration: none;
}

.toc a:hover {
  border-left-color: var(--color-sky-400);
}

.prose {
  color: var(--color-fg-mid);
  min-width: 0;
}

.prose section + section {
  margin-top: var(--space-8);
}

.prose h2 {
  margin-bottom: var(--space-3);
  font-size: var(--text-heading);
  line-height: var(--text-heading--line-height);
  font-weight: 600;
  color: var(--color-fg-hi);
}

.prose h3 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: var(--text-subhead);
  line-height: var(--text-subhead--line-height);
  font-weight: 600;
  color: var(--color-fg-hi);
}

.prose p,
.prose ul,
.prose ol,
.prose table {
  margin: 0 0 var(--space-4);
}

.prose ul,
.prose ol {
  padding-left: var(--space-5);
}

.prose li + li {
  margin-top: var(--space-2);
}

.prose a {
  color: var(--color-fg-hi);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
}

/* On a phone a three-column table scrolls inside itself rather than
   widening the page. */
@media (max-width: 640px) {
  .prose table {
    display: block;
    overflow-x: auto;
  }
}

.prose th,
.prose td {
  padding: var(--space-3) var(--space-4) var(--space-3) 0;
  border-bottom: 1px solid var(--color-line-soft);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--color-fg-hi);
  font-weight: 600;
}

/* Auth card (join, sign-in, link pages) -------------------------------------- */

.auth {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: start center;
  padding: var(--space-10) var(--gutter) var(--space-9);
  min-height: calc(100vh - var(--masthead-h) - var(--space-10));
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: calc(var(--space-10) * 6.4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-7);
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elev-3), 0 0 0 1px var(--color-line-soft) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (max-width: 480px) {
  .auth-card {
    padding: var(--space-7) var(--space-5);
  }
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in oklab, var(--color-sky-300) 70%, transparent), transparent);
}

.auth-card .eyebrow {
  justify-content: flex-start;
}

.auth-card .eyebrow::before {
  display: none;
}

.auth-title {
  font-family: var(--font-display);
  font-size: var(--text-title);
  line-height: var(--text-title--line-height);
  font-weight: var(--text-title--font-weight);
}

.auth-sub {
  color: var(--color-fg-mid);
  overflow-wrap: anywhere;
}

.auth-alt {
  font-size: var(--text-body);
  color: var(--color-fg-mid);
  text-align: center;
}

.auth-icon {
  display: inline-grid;
  place-items: center;
  width: var(--space-9);
  height: var(--space-9);
  border-radius: var(--radius-md);
  background: var(--color-sky-tint);
  color: var(--color-sky-400);
}

.auth-icon .icon {
  width: var(--space-6);
  height: var(--space-6);
}

.auth-icon-warn {
  background: var(--color-copper-tint);
  color: var(--color-copper);
}

.status-code {
  font-family: var(--font-mono);
  font-size: var(--text-code-lg);
  color: var(--color-sky-400);
}

/* Forms ------------------------------------------------------------------- */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.field-label {
  font-size: var(--text-body-strong);
  font-weight: var(--text-body-strong--font-weight);
  line-height: var(--text-body-strong--line-height);
  padding: 0;
}

.optional {
  margin-left: var(--space-1);
  font-weight: 400;
  font-size: var(--text-caption);
  color: var(--color-fg-lo);
}

.input {
  width: 100%;
  min-height: calc(var(--space-8) + var(--space-2));
  padding: 0 var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line-hard);
  background: var(--color-ink-100);
  color: var(--color-fg-hi);
  font: inherit;
  font-size: var(--text-subhead);
  transition: border-color var(--duration-quick) var(--ease-base), box-shadow var(--duration-quick) var(--ease-base);
}

.input:hover {
  border-color: var(--color-fg-lo);
}

.input:focus-visible {
  outline: none;
  border-color: var(--color-sky-400);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-sky-400) 25%, transparent);
}

.input[aria-invalid="true"] {
  border-color: var(--color-brick);
}

.input-row {
  display: flex;
  gap: var(--space-2);
}

@media (max-width: 480px) {
  .input-row {
    flex-direction: column;
  }
}

.field-hint,
.form-note {
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
  overflow-wrap: anywhere;
}

.form-note {
  text-align: center;
}

.field-error {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-brick);
}

.field-error .icon {
  width: var(--space-4);
  height: var(--space-4);
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(var(--space-10) * 2.4), 1fr));
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--space-8);
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line-soft);
  background: var(--color-ink-100);
  font-size: var(--text-body);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--color-sky-400);
  background: var(--color-sky-tint);
}

.checks-group {
  gap: var(--space-3);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
  color: var(--color-fg-mid);
  cursor: pointer;
}

.check input,
.choice input {
  flex: none;
  width: var(--space-5);
  height: var(--space-5);
  margin: 0;
  accent-color: var(--color-sky-400);
}

.check input {
  margin-top: calc(var(--space-1) / -2);
}

.alert {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
}

.alert .icon {
  width: var(--space-5);
  height: var(--space-5);
}

.alert-error {
  background: var(--color-brick-tint);
  color: var(--color-brick);
}

.alert-ok {
  background: var(--color-sage-tint);
  color: var(--color-sage);
}

.alert-warn {
  background: var(--color-copper-tint);
  color: var(--color-copper);
}

.cf-turnstile {
  min-height: calc(var(--space-10) - var(--space-1));
}

/* Turnstile will not draw narrower than 300px. On the narrowest phones the
   card gives up some padding and the widget is drawn slightly smaller, so
   the page never scrolls sideways. */
@media (max-width: 360px) {
  .auth {
    padding-inline: var(--space-3);
  }
  .auth-card {
    padding-inline: var(--space-4);
  }
  .turnstile-wrap {
    /* Its 300px would otherwise become the card's minimum width. */
    contain: inline-size;
    width: 100%;
    overflow: hidden;
  }
  .cf-turnstile {
    transform: scale(0.85);
    transform-origin: left top;
    margin-bottom: calc(-1 * var(--space-3));
  }
}

/* Account ------------------------------------------------------------------ */

.acct {
  max-width: var(--reading-max);
  margin: 0 auto;
  padding: var(--space-10) var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.acct-narrow {
  max-width: calc(var(--space-10) * 8);
}

.acct-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.acct-head .eyebrow {
  justify-content: flex-start;
}

.acct-head .eyebrow::before {
  display: none;
}

.acct-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-7);
  border-top: 1px solid var(--color-line-soft);
  color: var(--color-fg-mid);
}

.acct-h2 {
  font-size: var(--text-label);
  line-height: var(--text-label--line-height);
  font-weight: var(--text-label--font-weight);
  letter-spacing: var(--text-label--letter-spacing);
  text-transform: uppercase;
  color: var(--color-fg-lo);
}

.status-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--color-ink-100);
  border: 1px solid var(--color-line-soft);
}

.status-invited {
  border-color: var(--color-line-sky);
  background:
    radial-gradient(80% 120% at 100% 0%, var(--beam-faint), transparent 60%),
    var(--color-ink-100);
}

.status-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-fg-hi);
}

.pip {
  width: var(--space-2);
  height: var(--space-2);
  border-radius: var(--radius-pill);
}

.pip-wait {
  background: var(--color-sky-400);
  box-shadow: 0 0 0 4px var(--color-sky-tint);
}

.pip-ok {
  background: var(--color-sage);
  box-shadow: 0 0 0 4px var(--color-sage-tint);
}

.status-big {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--text-display--line-height);
  font-weight: var(--text-display--font-weight);
  color: var(--color-fg-hi);
}

.status-big span {
  font-family: var(--font-sans);
  font-size: var(--text-subhead);
  color: var(--color-fg-lo);
}

.status-text {
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
}

.invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-ink-000);
  border: 1px solid var(--color-line-hard);
}

.invite-code {
  font-family: var(--font-mono);
  font-size: var(--text-code-lg);
  line-height: var(--text-code-lg--line-height);
  font-weight: var(--text-code-lg--font-weight);
  letter-spacing: 0.06em;
  color: var(--color-fg-hi);
  overflow-wrap: anywhere;
  user-select: all;
}

.mini-steps {
  padding-left: var(--space-5);
  font-size: var(--text-body);
  line-height: var(--text-body--line-height);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.rows {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line-soft);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-line-soft);
}

@media (max-width: 560px) {
  .row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.row-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.row-title {
  font-weight: 600;
  color: var(--color-fg-hi);
}

.row-meta {
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
}

.row-hash {
  font-size: var(--text-caption);
  color: var(--color-fg-lo);
  overflow-wrap: anywhere;
}

.row-hash code {
  font-size: var(--text-caption);
}

.empty {
  padding: var(--space-5);
  border: 1px dashed var(--color-line-hard);
  border-radius: var(--radius-md);
  font-size: var(--text-body);
  text-align: center;
}

.form-inline .field {
  max-width: none;
}

.action-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line-soft);
}

.action {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2);
  border-bottom: 1px solid var(--color-line-soft);
  text-decoration: none;
  color: var(--color-fg-hi);
  transition: background-color var(--duration-quick) var(--ease-base);
}

.action:hover {
  background: var(--color-ink-100);
  color: var(--color-fg-hi);
}

.action .icon {
  color: var(--color-sky-400);
  margin-top: 2px;
}

.action > span {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.action-sub {
  font-size: var(--text-caption);
  line-height: var(--text-caption--line-height);
  color: var(--color-fg-lo);
}

.action-danger .icon,
.action-danger strong {
  color: var(--color-brick);
}

.acct-signout {
  padding-bottom: 0;
}

/* Motion ----------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* The social card (og.html), rendered once to og.png at 1200x630. */
.og-body {
  min-height: 0;
}

.og {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Fixed by the Open Graph card format, not a design value. */
  width: 1200px;
  height: 630px;
  display: grid;
  place-items: center;
  background: var(--color-ink-050);
}

.og .beam {
  height: 100%;
}

.og-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.og .wordmark-xl {
  font-size: calc(var(--text-display) * 2.6);
}

.og .hero-sub {
  font-size: var(--text-title);
  max-width: none;
}

.og-url {
  font-family: var(--font-mono);
  font-size: var(--text-subhead);
  color: var(--color-sky-400);
}
