/*
 * Open Runde is the public website mapping of Leeway's rounded display face.
 * Files are bundled from @fontsource/open-runde onto the first-party origin.
 * Do not replace these rules with a Google Fonts, jsDelivr, or other font CDN.
 */

@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/open-runde-latin-400-normal-Crq_kbPk.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/open-runde-latin-500-normal-Ci8G7la9.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/open-runde-latin-600-normal-DFJ5egKh.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/open-runde-latin-700-normal-BeFL_mDB.woff2') format('woff2');
}
/*
 * Leeway web design tokens.
 *
 * Geometry, colour, motion, and type sizes have counterparts in
 * ios/LeewayMobile/LeewayDesign.swift. The website is not "inspired by" the app - it is the
 * same system rendered in a different medium. When a shared token changes on one side it
 * changes on the other, or the two products stop reading as one.
 *
 * Typeface is the exception: native shells use the platform system face, while the public
 * website self-hosts Open Runde as the rounded marketing mapping. Do not copy Open Runde
 * into Mac, Windows, or iOS.
 */

:root {
  /* ---- Motion -------------------------------------------------------------
   * Four curves for the whole site, the same four the app has. They are the real SwiftUI
   * springs - Spring(duration:bounce:) sampled into linear() - not eyeballed cubic-beziers,
   * so a card settling on the web settles on exactly the curve it does on the phone.
   * `--dur-*` is the settle time of that spring, which is longer than its perceptual duration.
   */

  /* State toggles, taps, disclosure. spring(duration: 0.30, bounce: 0) */
  --ease-snap: linear(0, 0.0228, 0.0786, 0.1529, 0.2356, 0.3202, 0.4023, 0.4795, 0.5502, 0.6138, 0.6703, 0.7199, 0.7631, 0.8004, 0.8323, 0.8596, 0.8827, 0.9023, 0.9188, 0.9326, 0.9442, 0.9539, 0.9619, 0.9686, 0.9742, 0.9788, 0.9825, 0.9857, 0.9883, 0.9904, 0.9921, 0.9936, 0.9948, 0.9957, 0.9965, 0.9972, 0.9977, 0.9981, 0.9985, 0.9988, 1);
  --dur-snap: 440ms;

  /* Anything that changes the size or place of a surface. spring(duration: 0.45, bounce: 0.14) */
  --ease-flow: linear(0, 0.0211, 0.0745, 0.1479, 0.2321, 0.3204, 0.408, 0.4917, 0.5693, 0.6397, 0.7023, 0.7571, 0.8044, 0.8446, 0.8784, 0.9064, 0.9293, 0.9479, 0.9627, 0.9744, 0.9834, 0.9902, 0.9953, 0.999, 1.0016, 1.0033, 1.0043, 1.0048, 1.005, 1.0049, 1.0047, 1.0043, 1.0039, 1.0035, 1.003, 1.0026, 1.0022, 1.0019, 1.0015, 1.0013, 1);
  --dur-flow: 627ms;

  /* Completing a gesture the pointer already started. spring(duration: 0.38, bounce: 0) */
  --ease-settle: linear(0, 0.0228, 0.0786, 0.1529, 0.2356, 0.3202, 0.4023, 0.4795, 0.5502, 0.6138, 0.6703, 0.7199, 0.7631, 0.8004, 0.8323, 0.8596, 0.8827, 0.9023, 0.9188, 0.9326, 0.9442, 0.9539, 0.9619, 0.9686, 0.9742, 0.9788, 0.9825, 0.9857, 0.9883, 0.9904, 0.9921, 0.9936, 0.9948, 0.9957, 0.9965, 0.9972, 0.9977, 0.9981, 0.9985, 0.9988, 1);
  --dur-settle: 558ms;

  /* Opacity-only changes. easeOut(duration: 0.18) */
  --ease-fade: cubic-bezier(0, 0, 0.58, 1);
  --dur-fade: 180ms;

  /* ---- Radius -------------------------------------------------------------
   * A nested shape's radius is the parent's minus the inset between them, so curves stay
   * concentric. Do not add values between these.
   */
  --r-chip: 12px;
  --r-control: 16px;
  --r-card: 24px;
  --r-sheet: 32px;
  --r-pill: 999px;

  /* ---- Space --------------------------------------------------------------
   * `--s-page` is the gutter from the viewport edge; `--s-row` is a card's own inset.
   * `page + row` is where text lands, exactly as in Settings on the phone.
   */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-row: 16px;
  --s-page: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 56px;
  --s-10: 72px;
  --s-11: 96px;
  --s-12: 128px;

  --measure: 1160px;
  /* Product stages, document pages, and Cloud share one 720-point sheet. The hero stays 480. */
  --stage-measure: 720px;
  --editorial-measure: 720px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(96px, 12vw, 168px);
  --header-h: 68px;

  /* ---- Type ---------------------------------------------------------------
   * Open Runde is the website mapping of the rounded face native shells already use
   * (SF Pro Rounded / system-rounded). It is self-hosted. Native apps keep the
   * platform system typeface; do not copy this family into Mac, Windows, or iOS.
   */
  --font-text: 'Open Runde', ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --font-display: 'Open Runde', ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;

  --t-display: clamp(46px, 7.2vw, 92px);
  --t-title: clamp(34px, 4.6vw, 60px);
  --t-heading: clamp(21px, 2vw, 26px);
  --t-lead: clamp(17px, 1.5vw, 20px);
  --t-body: 15px;
  --t-caption: 13px;
  --t-micro: 11px;

  --ok: #2da45d;
  --warn: #d9822b;
  --danger: #d94a4a;
}

/* ---- Provider tints -------------------------------------------------------
 * The deck's own colours, from MobileProvider.tint. These are the only saturated colours the site
 * uses; the primary action stays black-on-light so it never competes with them.
 *
 * Every tint ships with the foreground that belongs on it, because the near-black providers cannot
 * keep their light-mode value on a dark page: a #14171a card on a #0b0c0e background is a hole, not
 * a card. Cursor and Kimi therefore invert in dark mode, exactly the way the app's primary action
 * does. The rest lift a step so they stay vivid against the darker page rather than sinking into it.
 */
/*
 * The scheme the page is actually in.
 *
 * Not cosmetic. `color-scheme` is what tells the engine to render form controls, scrollbars and -
 * on iOS - Safari's own toolbars for a dark page. Missing, Safari falls back to sampling the
 * rendered pixels near the viewport edge to tint its chrome, which is why the bottom bar came up
 * the colour of whichever card happened to be passing.
 */
:root,
:root[data-theme='light'] {
  color-scheme: light;
}

:root[data-theme='dark'] {
  color-scheme: dark;
}

:root,
:root[data-theme='light'] {
  --p-cursor: #14171a;
  --p-cursor-on: #ffffff;
  --p-openai: #1463db;
  --p-openai-on: #ffffff;
  --p-claude: #b8421a;
  --p-claude-on: #ffffff;
  --p-gemini: #1f753b;
  --p-gemini-on: #ffffff;
  --p-copilot: #614fb5;
  --p-copilot-on: #ffffff;
  --p-kimi: #1a1f29;
  --p-kimi-on: #ffffff;
}

:root[data-theme='dark'] {
  --p-cursor: #f2f3f5;
  --p-cursor-on: #14171a;
  --p-openai: #2f7ff0;
  --p-openai-on: #ffffff;
  --p-claude: #d1552a;
  --p-claude-on: #ffffff;
  --p-gemini: #2b8f4c;
  --p-gemini-on: #ffffff;
  --p-copilot: #7565cf;
  --p-copilot-on: #ffffff;
  --p-kimi: #e8eaee;
  --p-kimi-on: #1a1f29;
}

/* ---- Surfaces -------------------------------------------------------------
 * Cool neutrals, never cream. Light and dark are peers, not a theme and its inversion.
 */
:root,
:root[data-theme='light'] {
  color-scheme: light;
  --page: #f6f7f8;
  --surface: #ffffff;
  --surface-sunken: #eef0f2;
  --surface-raised: #ffffff;
  --ink: #16181a;
  --muted: #63666c;
  --quiet: #8e9299;
  --hairline: rgb(22 24 26 / 0.1);
  --hairline-strong: rgb(22 24 26 / 0.18);
  --action: #16181a;
  --on-action: #ffffff;
  --sheet: color-mix(in srgb, var(--ink) 6%, var(--page));
  --scrim: rgb(246 247 248 / 0.72);
  --focus: #1463db;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #0b0c0e;
  --surface: #121417;
  --surface-sunken: #0f1113;
  --surface-raised: #191c20;
  --ink: #f4f5f7;
  --muted: #a4a8b0;
  --quiet: #74787f;
  --hairline: rgb(244 245 247 / 0.1);
  --hairline-strong: rgb(244 245 247 / 0.18);
  --action: #f4f5f7;
  --on-action: #0f1113;
  --sheet: color-mix(in srgb, var(--ink) 6%, var(--page));
  --scrim: rgb(6 7 8 / 0.76);
  --focus: #6ba8ff;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--page);
  /* Anchors land below the sticky header instead of underneath it. */
  scroll-padding-top: calc(var(--header-h) + var(--s-6));
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  min-height: 100dvh;
  background: var(--page);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  margin: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* ---- Focus ----------------------------------------------------------------
 * A native outline stays outside the control, survives CSS optimisation, and remains visible in
 * forced-colour modes. The previous masked conic ring could become a filled block in production
 * when a minifier removed one of the mask-composite declarations.
 */
:where(button, a, summary, .field, .focusable):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

input:focus-visible {
  outline: none;
}

::selection {
  color: var(--on-tint);
  background: var(--p-openai);
}

/* Text that carries the accessible name for something drawn as decoration. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/*
 * Reduced Motion replaces spatial movement with immediate states and opacity - the app's rule.
 * Curves collapse rather than being switched off wholesale, so components that read a duration
 * still complete their state change and never strand themselves mid-transition.
 */
@media (prefers-reduced-motion: reduce) {
  :root {
    --ease-snap: linear;
    --ease-flow: linear;
    --ease-settle: linear;
    --ease-fade: linear;
    --dur-snap: 120ms;
    --dur-flow: 120ms;
    --dur-settle: 120ms;
    --dur-fade: 120ms;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Shared transitions.dev primitives. Product surfaces may reskin colour, never geometry or timing. */
:root {
  --digit-dur: 500ms;
  --digit-distance: 8px;
  --digit-stagger: 70ms;
  --digit-blur: 2px;
  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --digit-dir-x: 0;
  --digit-dir-y: 1;

  --text-swap-dur: 150ms;
  --text-swap-distance: 4px;
  --text-swap-blur: 2px;
  --text-swap-ease: ease-in-out;

  --acc-dur: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes t-digit-pop-in {
  0% {
    transform: translate(
      calc(var(--digit-distance) * var(--digit-dir-x)),
      calc(var(--digit-distance) * var(--digit-dir-y))
    );
    opacity: 0;
    filter: blur(var(--digit-blur));
  }
  100% { transform: translate(0, 0); opacity: 1; filter: blur(0); }
}

.t-digit-group { display: inline-flex; align-items: baseline; }
.t-digit { display: inline-block; will-change: transform, opacity, filter; }
.t-digit-group.is-animating .t-digit {
  animation: t-digit-pop-in var(--digit-dur) var(--digit-ease) both;
}
.t-digit-group.is-animating .t-digit[data-stagger='1'] { animation-delay: var(--digit-stagger); }
.t-digit-group.is-animating .t-digit[data-stagger='2'] { animation-delay: calc(var(--digit-stagger) * 2); }

.t-text-swap {
  display: inline-block;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition:
    opacity var(--text-swap-dur) var(--text-swap-ease),
    filter var(--text-swap-dur) var(--text-swap-ease),
    transform var(--text-swap-dur) var(--text-swap-ease);
}
.t-text-swap.is-exit { opacity: 0; filter: blur(var(--text-swap-blur)); transform: translateY(calc(var(--text-swap-distance) * -1)); }
.t-text-swap.is-enter-start { opacity: 0; filter: blur(var(--text-swap-blur)); transform: translateY(var(--text-swap-distance)); }

.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows var(--acc-dur) var(--acc-ease),
    opacity var(--acc-dur) ease,
    visibility 0s linear var(--acc-dur);
}
.t-acc-panel-inner { min-height: 0; overflow: hidden; }
.t-acc[data-open='true'] .t-acc-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows var(--acc-dur) var(--acc-ease),
    opacity var(--acc-dur) ease,
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .t-digit-group .t-digit { animation: none !important; }
  .t-text-swap { transition-duration: 0.01ms !important; filter: none !important; transform: none !important; }
  .t-acc-panel { transition-duration: 0.01ms !important; }
}
/*
 * 4 + the Leeway mark + 4. The mark is the concept, not an ornament: using the product's open loop
 * as the zero makes the error state recognisable before the supporting copy is read. The provider
 * deck is the only colour on the page, exactly as it is everywhere else in the Leeway system.
 */
.nf {
  min-height: calc(100svh - var(--header-h) - var(--s-3));
  padding: clamp(28px, 4vh, 52px) var(--gutter) clamp(32px, 5vh, 64px);
  display: grid;
  overflow: clip;
}

.nf-stage {
  width: min(var(--measure), 100%);
  min-height: 100%;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.nf-number {
  --nf-digit: clamp(180px, 27vw, 500px);

  height: calc(var(--nf-digit) * 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1.4vw, 20px);
  color: var(--ink);
  transform-origin: center;
}

.nf-digit-mask {
  height: 100%;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-inline: 0.03em;
}

.nf-four {
  display: block;
  font-family: var(--font-display);
  font-size: var(--nf-digit);
  font-weight: var(--w-bold);
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 0.78;
  letter-spacing: -0.085em;
  padding-right: 0.08em;
}

.nf-zero {
  width: calc(var(--nf-digit) * 0.56);
  height: calc(var(--nf-digit) * 0.7);
  flex: 0 0 auto;
  overflow: visible;
}

.nf-zero path {
  fill: none;
  stroke: currentColor;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nf-copy {
  max-width: 720px;
  margin-top: clamp(28px, 4vh, 44px);
}

.nf-title {
  color: var(--ink);
  font: var(--w-bold) clamp(34px, 4.1vw, 58px) / 0.98 var(--font-display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.nf-lead {
  max-width: 48ch;
  margin: var(--s-page) auto 0;
  color: var(--muted);
  font: var(--w-regular) var(--t-lead) / 1.5 var(--font-text);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.nf-action {
  height: 46px;
  margin-top: var(--s-7);
  padding-inline: var(--s-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--action);
  color: var(--on-action);
  font: var(--w-semibold) 14px / 1 var(--font-text);
  letter-spacing: -0.014em;
  text-decoration: none;
  cursor: pointer;
}

.nf-action:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

/*
 * A deck reduced to its irreducible parts: tint, card radius, inner edge and provider glyph. The
 * cards share one origin and fan through transforms so they can gather without layout work.
 */
.nf-mini-deck {
  width: 220px;
  height: 70px;
  margin-top: clamp(40px, 5vh, 60px);
  position: relative;
  cursor: default;
}

.nf-mini-card {
  width: 88px;
  height: 58px;
  padding: 0;
  position: absolute;
  top: 4px;
  left: calc(50% - 44px);
  display: grid;
  place-items: center;
  border-radius: var(--r-control);
  box-shadow: 0 0 0 2px var(--page);
  transform-origin: 50% 115%;
  will-change: transform;
}

.nf-mini-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0.75px solid rgb(255 255 255 / 0.2);
  border-radius: inherit;
  pointer-events: none;
}

.nf-mini-card i {
  width: 28px;
  height: 28px;
  display: block;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 72%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 72%;
}

@media (max-height: 760px) and (min-width: 721px) {
  .nf {
    padding-block: var(--s-page) var(--s-7);
  }

  .nf-number {
    --nf-digit: clamp(158px, 19vw, 260px);
  }

  .nf-copy {
    margin-top: var(--s-page);
  }

  .nf-action {
    margin-top: var(--s-6);
  }

  .nf-mini-deck {
    margin-top: var(--s-7);
  }
}

@media (max-width: 720px) {
  .nf {
    padding-top: var(--s-8);
  }

  .nf-stage {
    align-content: start;
  }

  .nf-number {
    --nf-digit: clamp(128px, 38vw, 220px);
    gap: 0;
  }

  .nf-zero {
    width: calc(var(--nf-digit) * 0.53);
  }

  .nf-copy {
    margin-top: var(--s-7);
  }

  .nf-lead {
    max-width: 36ch;
  }
}

@media (max-width: 480px) {
  .nf {
    padding-inline: var(--s-page);
  }

  .nf-title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .nf-action {
    width: min(100%, 320px);
  }

  .nf-mini-deck {
    margin-top: var(--s-8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nf-mini-deck {
    pointer-events: none;
  }

  .nf-mini-card {
    will-change: auto;
  }
}
.splash {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--page);
}

.splash__identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.splash__logo {
  display: block;
  border-radius: 28%;
}

.splash__word-window {
  display: block;
  overflow: clip;
  padding-bottom: 2px;
}

.splash__word {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--w-bold);
  line-height: 1;
  letter-spacing: -0.04em;
}
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-top: var(--s-3);
  pointer-events: none;
}

.header__scrim {
  position: fixed;
  inset: 0 0 auto 0;
  height: calc(var(--header-h) + var(--s-8));
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-flow) var(--ease-flow);
}

.header.is-lifted .header__scrim { opacity: 1; }
.header__scrim span { position: absolute; inset: 0; }

.header__scrim span:nth-child(1) {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 62%);
}

.header__scrim span:nth-child(2) {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 14%, transparent 44%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 14%, transparent 44%);
}

.header__scrim span:nth-child(3) {
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 28%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 28%);
}

.header__scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--page) 0%,
    color-mix(in srgb, var(--page) 72%, transparent) 46%,
    transparent 100%
  );
}

.header__bar {
  width: min(960px, calc(100% - 2 * var(--gutter)));
  height: var(--header-h);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-6);
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.header__bar > .wordmark { justify-self: start; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: var(--w-bold);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark img { display: block; border-radius: 28%; }

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: var(--s-2);
}

.header__actions > button.action-button { min-width: 132px; overflow: hidden; }
.header__document-action { text-decoration: none; }

.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color var(--dur-snap) var(--ease-snap), border-color var(--dur-snap) var(--ease-snap),
    scale var(--dur-snap) var(--ease-snap);
}

.icon-button:hover { color: var(--ink); border-color: var(--hairline-strong); }
.icon-button:active { scale: 0.94; }

@media (max-width: 700px) {
  .header__bar { gap: var(--s-2); }
  .header:not(.is-minimal) .header__actions .icon-button { display: none; }
  .header__actions > button.action-button { min-width: 108px; padding-inline: 14px; }
}

@media (max-width: 480px) {
  .header:not(.is-minimal) .wordmark span,
  .header.is-minimal .wordmark span { display: none; }
  .header__actions > button.action-button { min-width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .header__scrim,
  .icon-button { transition-duration: 0.01ms; }
}
.hero {
  min-height: 600px;
  padding: 112px 15px 88px;
  display: grid;
  place-items: center;
  background: var(--page);
  color: var(--ink);
}

.hero__copy {
  width: min(480px, 100%);
  text-align: center;
}

.hero-eyes {
  width: 88px;
  height: 88px;
  margin: 0 auto 10px;
  padding: 0;
  position: relative;
  display: block;
  border: 0;
  color: inherit;
  background: transparent;
}

.hero-eyes__noto {
  width: 88px;
  height: 88px;
  position: absolute;
  inset: 0;
  display: block;
}

.hero-eyes__noto canvas { display: block; }

.hero__copy h1 {
  max-width: 440px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__copy h1 span { display: block; }

.hero__statement {
  max-width: 400px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.55;
  text-wrap: balance;
}

.hero__buy {
  min-width: 188px;
  height: 48px;
  margin-top: 30px;
  padding-inline: 24px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--action);
  color: var(--on-action);
  font-size: 13px;
  font-weight: var(--w-semibold);
  cursor: pointer;
  transition: opacity 180ms ease-out;
}

.hero__buy:hover { opacity: 0.86; }
.hero__buy:disabled { cursor: wait; opacity: 0.62; }
.hero__copy > small { margin-top: 14px; display: block; color: var(--quiet); font-size: 11px; }
.hero__offer time { color: var(--muted); }
.hero__offer span { white-space: nowrap; }
.hero__checkout-error {
  margin-top: 10px;
  color: var(--danger);
  font-size: 11px;
  font-weight: var(--w-medium);
}

@media (max-width: 560px) {
  .hero { min-height: 540px; padding-block: 92px 76px; }
  .hero-eyes { margin-bottom: 8px; }
  .hero__copy h1 { max-width: 330px; font-size: 38px; }
  .hero__statement { max-width: 330px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__buy { transition: none; }
}
.roll {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* A single digit's viewport. `ch` on a tabular face is exactly one figure wide. */
.roll__col {
  width: 1ch;
  height: 1em;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.roll__strip {
  position: absolute;
  inset: 0 0 auto 0;
  display: grid;
}

.roll__strip > span {
  height: 1em;
  display: grid;
  place-items: center;
}

.roll__sep,
.roll__suffix {
  display: inline-block;
  line-height: 1;
}
/*
 * Sized to its content the way the phone's card is: 20px inset, a 16px top, and a bottom inset that
 * accounts for the overlap the next card will cover.
 *
 * Depth comes from edges, not from shadows. A card sitting in the deck is separated from the one
 * below by a ring of the page colour, which reads as the gap between two real cards; `--lift`
 * widens that ring and brightens the inner hairline, so a card leaving the stack gains presence
 * without the page acquiring a drop shadow.
 */
.card {
  --card-h: 136px;
  --overlap: 20px;

  height: var(--card-h);
  padding: var(--s-row) var(--s-page) calc(var(--overlap) + var(--s-3));
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--r-card);
  background: var(--tint);
  color: var(--on-tint);
  /* The card is a fixed object, not page copy. It keeps its own alignment wherever it is dropped,
     including inside sections that centre their text on narrow screens. */
  text-align: left;
  box-shadow: 0 0 0 calc(2px + 1px * var(--lift)) var(--page);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 0.75px solid rgb(255 255 255 / calc(0.16 + 0.14 * var(--lift)));
  pointer-events: none;
}

/* Cursor and Kimi invert in dark mode, so their card is a light surface and a white hairline on it
   is invisible. Those two take their edge from the foreground colour instead. */
:root[data-theme='dark'] .card[data-provider='cursor']::before,
:root[data-theme='dark'] .card[data-provider='kimi']::before {
  border-color: color-mix(in srgb, var(--on-tint) 12%, transparent);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* The glyph is masked rather than drawn, so one monochrome path tints to the card's foreground. */
.card__glyph {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 68%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 68%;
}

.card__name {
  min-width: 0;
  flex: 1;
  font-size: 16px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fixed column: every figure in a stack lands on the same pixel. */
.card__metric {
  width: 92px;
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--w-bold);
  letter-spacing: -0.02em;
}

.card__metric .roll__suffix {
  margin-left: 0.12em;
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.01em;
}

.card__track {
  height: 6px;
  margin-top: auto;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, currentColor 20%, transparent);
  overflow: hidden;
}

.card__fill {
  height: 100%;
  display: block;
  transform-origin: left center;
  border-radius: inherit;
  background: currentColor;
}

.card__meta {
  height: 20px;
  margin-top: var(--s-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: var(--t-caption);
  font-weight: var(--w-medium);
  /* The floor for legible secondary text on the lighter tints; there is no tertiary level. */
  color: color-mix(in srgb, currentColor 88%, transparent);
}

.card__reset {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.card__badge {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  color: var(--tint);
  background: var(--on-tint);
  font-size: var(--t-micro);
  font-weight: var(--w-bold);
}

@media (max-width: 560px) {
  .card {
    --card-h: 124px;
    padding-inline: var(--s-row);
  }

  .card__name {
    font-size: 15px;
  }
}
/*
 * Cards overlap by `--overlap`, so a stack of n is one card tall plus one reveal for each card after
 * the first - the app's own deck rule. Height is derived from that, not measured, so adding an
 * account cannot leave a card-sized dead band under the stack.
 */
.deck {
  --overlap: 20px;
  --card-h: 136px;
  --reveal: calc(var(--card-h) - var(--overlap));

  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  /* The tilt is a real rotation on X; without a perspective it flattens to a scale. 0.62 matches
     the app's rotation3DEffect perspective. */
  perspective: 1400px;
  perspective-origin: top center;
}

.deck__slot {
  transform-origin: top center;
  transform-style: preserve-3d;
}

.deck__slot + .deck__slot {
  margin-top: calc(-1 * var(--overlap));
}

@media (max-width: 560px) {
  .deck {
    --card-h: 124px;
    width: 100%;
  }
}
.product-stage {
  padding: 48px var(--gutter) 112px;
  background: var(--page);
}

.product-stage__rail {
  width: min(var(--stage-measure), 100%);
  margin-inline: auto;
}

.product-stage__heading {
  max-width: 34em;
  margin-inline: auto;
  text-align: center;
}

.product-stage__heading h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.product-stage__heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.55;
  text-wrap: balance;
}

.product-stage__deck {
  width: min(430px, 100%);
  margin: 52px auto 0;
}

.product-stage__sentence {
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.5;
  text-wrap: balance;
}

.provider-chip {
  height: 30px;
  padding: 0 10px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-pill);
  background: var(--tint);
  color: var(--on-tint);
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.provider-chip__glyph {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 72%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 72%;
}

.product-stage__facts {
  margin: 28px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  list-style: none;
  color: var(--quiet);
  font-size: 13px;
  font-weight: var(--w-medium);
  line-height: 1.4;
}

@media (max-width: 560px) {
  .product-stage { padding-block: 24px 88px; }
  .product-stage__heading h2 { font-size: 28px; }
  .product-stage__sentence { font-size: 15px; }
}
.pricing {
  padding: 24px var(--gutter) 72px;
  background: var(--page);
}

.pricing__rail {
  width: min(var(--stage-measure), 100%);
  margin-inline: auto;
}

.pricing__heading {
  max-width: 34em;
  margin-inline: auto;
  text-align: center;
}

.pricing__heading h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.pricing__heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.55;
}

.pricing__offers {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.offer {
  min-height: 100%;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.offer__badge {
  margin-bottom: 10px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: var(--w-medium);
}

.offer h3 {
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.02em;
}

.offer__price {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  color: var(--ink);
}

.offer__price strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: var(--w-bold);
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.offer__price del {
  color: var(--quiet);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: var(--w-medium);
  text-decoration-thickness: 1px;
}

.offer__price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--w-medium);
}

.offer > small {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: var(--w-medium);
  line-height: 1.5;
}

.offer__copy {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--w-medium);
  line-height: 1.55;
}

.offer > button,
.offer__secondary {
  min-width: 0;
  width: 100%;
  height: 48px;
  margin-top: auto;
  padding-inline: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: var(--w-semibold);
  cursor: pointer;
  text-decoration: none;
}

.offer > button {
  color: var(--on-action);
  background: var(--action);
  white-space: nowrap;
  transition: opacity 180ms ease-out;
}

.offer > button:hover { opacity: 0.86; }
.offer > button:disabled { cursor: wait; opacity: 0.62; }

.offer__secondary {
  color: var(--ink);
  background: var(--page);
  white-space: normal;
  text-align: center;
}

.offer__secondary:hover { opacity: 0.86; }

.pricing__checkout-error {
  margin-top: 10px;
  color: var(--danger);
  font-size: 12px;
  font-weight: var(--w-medium);
}

.pricing__reassurance,
.pricing__terms,
.pricing__polar {
  color: var(--quiet);
  font-size: 12px;
  font-weight: var(--w-medium);
  line-height: 1.55;
  text-align: center;
}

.pricing__reassurance {
  max-width: 420px;
  margin: 28px auto 0;
}

.pricing__terms { margin-top: 12px; }
.pricing__polar { margin-top: 8px; }
.pricing__terms a {
  color: var(--muted);
  text-underline-offset: 4px;
}

.pricing__compare {
  width: 100%;
  margin-top: 56px;
  border-collapse: collapse;
  text-align: left;
}

.pricing__compare th,
.pricing__compare td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  font-weight: var(--w-medium);
  line-height: 1.4;
}

.pricing__compare thead th {
  color: var(--quiet);
  font-size: 12px;
}

.pricing__compare tbody th {
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: var(--w-medium);
}

.pricing__compare thead th:not(:first-child),
.pricing__compare td {
  width: 22%;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 640px) {
  .pricing { padding-block: 8px 80px; }
  .pricing__heading h2 { font-size: 28px; }
  .pricing__offers { grid-template-columns: 1fr; }
  .offer__price strong { font-size: 40px; }
  .pricing__compare td { width: 28%; }
}

@media (prefers-reduced-motion: reduce) {
  .offer > button { transition: none; }
}
.privacy {
  padding: 72px var(--gutter) 112px;
  background: var(--page);
}

.privacy__rail {
  width: min(var(--stage-measure), 100%);
  margin-inline: auto;
  text-align: center;
}

.privacy h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.privacy header p {
  max-width: 34em;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.55;
  text-wrap: balance;
}

.privacy__split {
  margin: 40px 0 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.privacy__split li {
  min-height: 132px;
  padding: 28px 24px;
  display: grid;
  gap: 8px;
  align-content: center;
  border-radius: calc(var(--r-sheet) - 8px);
  background: var(--page);
  text-align: left;
}

.privacy__split small {
  color: var(--quiet);
  font-size: 12px;
  font-weight: var(--w-medium);
}

.privacy__split strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: var(--w-semibold);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.privacy__rail > a {
  margin-top: 28px;
  display: inline-block;
  color: var(--ink);
  font-size: 14px;
  font-weight: var(--w-medium);
  text-underline-offset: 5px;
}

@media (max-width: 560px) {
  .privacy { padding-block: 8px 88px; }
  .privacy h2 { font-size: 28px; }
  .privacy__split { grid-template-columns: 1fr; }
  .privacy__split li { min-height: 108px; padding: 22px 20px; }
}
.landing-faq {
  padding: 48px var(--gutter) 128px;
  background: var(--page);
}

.landing-faq__rail {
  width: min(var(--stage-measure), 100%);
  margin-inline: auto;
}

.landing-faq h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.042em;
  text-align: center;
}

.landing-faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-faq__list li {
  border-bottom: 1px solid var(--hairline);
}

.landing-faq__list button {
  width: 100%;
  min-height: 64px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.landing-faq__list button span {
  font-size: 16px;
  font-weight: var(--w-medium);
  letter-spacing: -0.02em;
}

.landing-faq__list button svg {
  color: var(--quiet);
  transition: transform var(--dur-snap) var(--ease-snap), color var(--dur-snap) var(--ease-snap);
}

.landing-faq__list li.is-open button svg {
  color: var(--ink);
  transform: rotate(45deg);
}

.landing-faq__answer { overflow: hidden; }

.landing-faq__list p {
  max-width: 58ch;
  padding: 0 36px 22px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--w-medium);
  line-height: 1.6;
}

.landing-faq__rail > a {
  margin-top: 28px;
  display: inline-block;
  color: var(--ink);
  font-size: 14px;
  font-weight: var(--w-medium);
  text-underline-offset: 5px;
}

@media (max-width: 560px) {
  .landing-faq { padding-bottom: 96px; }
  .landing-faq h2 { font-size: 28px; }
  .landing-faq__list button { min-height: 58px; }
  .landing-faq__list button span { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-faq__list button svg { transition: none; }
}
.footer {
  width: min(960px, calc(100% - 2 * var(--gutter)));
  margin: auto auto 0;
  padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
  color: var(--quiet);
  font-size: 11px;
}

.footer__brand,
.footer__wordmark,
.footer nav {
  display: flex;
  align-items: center;
}

.footer__brand { gap: var(--s-3); }

.footer__wordmark {
  gap: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.footer__wordmark img {
  display: block;
  border-radius: 5px;
}

.footer nav {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur-fade) var(--ease-fade);
}

.footer nav a:hover { color: var(--ink); }

.footer a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .footer {
    padding-block: var(--s-7) calc(var(--s-7) + env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
    flex-direction: column;
    gap: var(--s-row);
  }

  .footer nav { justify-content: flex-start; }
}
.editorial-intro {
  width: 100%;
  max-width: var(--editorial-measure);
  padding-block: 64px 40px;
  margin-inline: auto;
  text-align: center;
}

.editorial-intro__emoji {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  contain: layout paint;
}

.editorial-intro__player {
  width: 50px;
  height: 50px;
  display: block;
}

.editorial-intro__player canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.editorial-intro h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.042em;
}

.editorial-intro__lead {
  max-width: 34em;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.editorial-intro__meta {
  margin-top: 10px;
  color: var(--quiet);
  font-size: var(--t-caption);
  line-height: 1.5;
}

@media (max-width: 620px) {
  .editorial-intro {
    padding-block: 48px 32px;
  }

  .editorial-intro__emoji {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .editorial-intro__player {
    width: 46px;
    height: 46px;
  }

  .editorial-intro h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-intro__player {
    animation: none;
  }
}
.doc {
  width: min(var(--stage-measure), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.doc__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2) var(--s-3);
  color: var(--quiet);
  font-size: var(--t-caption);
}

.doc__meta span + span::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: var(--s-3);
  vertical-align: 0.28em;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.doc__body {
  padding: 32px 36px;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.doc__body section {
  margin-top: 38px;
  scroll-margin-top: calc(var(--header-h) + var(--s-7));
}

.doc__body section:first-child { margin-top: 0; }

.doc__body h2 {
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.doc__body p {
  max-width: 62ch;
  margin-top: var(--s-3);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.doc__links a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.doc__body ul {
  margin: var(--s-row) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-2);
}

.doc__body li {
  max-width: 62ch;
  padding-left: var(--s-row);
  position: relative;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.doc__body li::before {
  content: '';
  width: 3px;
  height: 3px;
  position: absolute;
  left: 3px;
  top: 0.66em;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.doc__contact {
  margin-top: clamp(28px, 4vw, 40px);
  color: var(--muted);
  font-size: var(--t-caption);
  text-align: center;
}

@media (max-width: 720px) {
  /* Wrapped, a separator dot ends up stranded at the start of a line, so the gap does the work. */
  .doc__meta {
    gap: var(--s-2) var(--s-row);
  }

  .doc__meta span + span::before {
    content: none;
  }

  .doc__body {
    padding: 24px 20px;
  }
}
.support {
  width: min(var(--stage-measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.support__search {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--s-3);
  padding-inline: 18px;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--quiet);
  background: var(--sheet);
  transition: color var(--dur-snap) var(--ease-snap), background-color var(--dur-fade) var(--ease-fade);
}

.support__search:focus-within {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 9%, var(--page));
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.support__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.support__search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.support__search input::placeholder { color: var(--quiet); }

.support__deck {
  margin-top: 16px;
  padding: 8px;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.support-group + .support-group { margin-top: 8px; }

.support-group__title {
  margin: 12px 16px 4px;
  color: var(--quiet);
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: var(--w-medium);
  letter-spacing: 0.01em;
}

.support-group__questions {
  display: grid;
  gap: 2px;
}

.card-q {
  margin-inline: 0;
  padding-inline: 16px;
  border-radius: calc(var(--r-sheet) - 8px);
  transition: background-color var(--dur-fade) var(--ease-fade);
}

.card-q:hover,
.card-q.is-open { background: var(--page); }

.card-q h3 { font-family: var(--font-text); }

.card-q button {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-row);
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.card-q button > span {
  font-size: 15px;
  font-weight: var(--w-medium);
  letter-spacing: -0.012em;
}

.card-q button b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--quiet);
  font-weight: inherit;
}

.card-q button:hover b,
.card-q.is-open button b { color: var(--ink); }

.card-q__body { overflow: hidden; }

.card-q__body > div { padding: 0 46px 20px 0; }

.card-q__body p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.card-q__body p + p { margin-top: var(--s-3); }

.support__empty {
  padding: var(--s-6);
  display: grid;
  gap: var(--s-1);
  border-radius: calc(var(--r-sheet) - 8px);
  background: var(--page);
}

.support__empty strong { font-size: 15px; }
.support__empty span { color: var(--muted); font-size: 14px; }

.support-contact {
  min-height: 72px;
  margin-top: 8px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-row);
  border-radius: calc(var(--r-sheet) - 8px);
  background: var(--page);
  text-decoration: none;
  transition: opacity var(--dur-fade) var(--ease-fade);
}

.support-contact:hover { opacity: 0.86; }

.support-contact__text { display: grid; gap: 2px; color: var(--muted); font-size: 13px; }
.support-contact__text strong { color: var(--ink); font-size: 14px; font-weight: var(--w-medium); }
.support-contact > span:last-child { color: var(--quiet); transition: transform var(--dur-snap) var(--ease-snap); }
.support-contact:hover > span:last-child { transform: translate(2px, -2px); color: var(--ink); }

.support__foot {
  max-width: 60ch;
  margin: var(--s-5) auto 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 560px) {
  .card-q button { min-height: 56px; }
  .card-q__body > div { padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .card-q,
  .support-contact,
  .card-q button b,
  .support-contact > span:last-child { transition-duration: 0.01ms; }
}

@media (forced-colors: active) {
  .support__search,
  .support__deck { border: 1px solid CanvasText; }

  .card-q.is-open,
  .support-contact { outline: 1px solid CanvasText; outline-offset: -1px; }
}
.download-page {
  width: min(var(--stage-measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.download-handoff {
  padding-top: 0;
}

.download-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--sheet);
}

.download-tabs button {
  min-height: 40px;
  padding: 0 var(--s-3);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--quiet);
  background: transparent;
  font-size: 13px;
  font-weight: var(--w-medium);
  cursor: pointer;
  transition: color var(--dur-fade) var(--ease-fade);
}

.download-tabs button:is(:hover, :focus-visible),
.download-tabs button[aria-selected='true'] { color: var(--ink); }

.download-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.download-tabs button > span { position: relative; z-index: 1; }

.download-tabs button > i {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--r-pill);
  background: var(--page);
}

.download-stage {
  min-height: 280px;
  margin-top: 12px;
  position: relative;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.download-stage > div { position: absolute; inset: 0; }

.download-platform {
  height: 100%;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}

.download-platform__title {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: var(--s-3);
}

.download-platform__title p {
  color: var(--ink);
  font-size: 18px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.03em;
}

.download-platform__copy {
  max-width: 46ch;
  min-height: 22px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: var(--w-medium);
  line-height: 1.55;
}

.download-primary {
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--on-action);
  background: var(--action);
  font-size: 13px;
  font-weight: var(--w-semibold);
  text-decoration: none;
  transition: opacity 180ms ease-out;
}

.download-primary:is(:hover, :focus-visible) { opacity: 0.86; }
.download-primary:active { opacity: 0.78; }

.download-windows-actions {
  margin-top: var(--s-6);
  display: grid;
  gap: 8px;
}

.download-windows-actions .download-primary { margin-top: 0; }

.download-architecture {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ink);
  background: var(--page);
  font-size: 13px;
  font-weight: var(--w-semibold);
  text-decoration: none;
  transition: opacity 180ms ease-out;
}

.download-architecture:hover { opacity: 0.86; }

.download-release-state {
  min-height: 62px;
  margin-top: var(--s-6);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  gap: var(--s-3);
  border-radius: calc(var(--r-sheet) - 8px);
  background: var(--page);
}

.download-release-state > span {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 2px solid var(--quiet);
  border-radius: 50%;
}

.download-release-state > span.is-waiting {
  border-color: color-mix(in srgb, var(--warn) 50%, transparent);
  background: var(--warn);
}

.download-release-state strong { font-size: 13px; font-weight: var(--w-semibold); }
.download-release-state p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.download-facts {
  margin: auto 0 0;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  border-top: 1px solid var(--hairline);
}

.download-facts div { min-width: 96px; }
.download-facts dt { color: var(--quiet); font-size: 11px; font-weight: var(--w-medium); }
.download-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 13px; font-weight: var(--w-medium); overflow-wrap: anywhere; }

.download-install {
  margin-top: 32px;
}

.download-install h2 {
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--w-medium);
}

.download-install ol {
  margin: 8px 0 0;
  padding: 8px;
  list-style: none;
  counter-reset: install-step;
  display: grid;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.download-install li {
  counter-increment: install-step;
  padding: 16px 18px 18px 46px;
  position: relative;
  display: grid;
  gap: 6px;
}

.download-install li + li {
  border-top: 1px solid var(--hairline);
}

.download-install li::before {
  content: counter(install-step);
  position: absolute;
  left: 16px;
  top: 17px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: var(--page);
  font-size: 11px;
  font-weight: var(--w-semibold);
  font-variant-numeric: tabular-nums;
}

.download-install li b {
  color: var(--ink);
  font-size: 13px;
  font-weight: var(--w-semibold);
}

.download-install li p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.download-install li > code {
  margin-top: 6px;
  padding: 10px 12px;
  display: block;
  border-radius: 12px;
  color: var(--ink);
  background: var(--page);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  overflow-x: auto;
  user-select: all;
}

.download-install-inline {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--sheet);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
}

.download-install li .download-install-inline,
.download-install li > code .download-install-inline {
  background: var(--page);
}

.download-install-footer {
  max-width: 66ch;
  margin-top: 10px;
  padding-inline: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 620px) {
  .download-stage { min-height: 340px; }
  .download-platform { padding: 22px 20px 20px; }
  .download-platform__copy { min-height: 44px; }
  .download-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
  .download-facts div { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .download-tabs button,
  .download-primary,
  .download-architecture { transition-duration: 0.01ms; }
}

@media (forced-colors: active) {
  .download-tabs,
  .download-stage,
  .download-install ol { border: 1px solid CanvasText; }
  .download-tabs button[aria-selected='true'] { outline: 2px solid CanvasText; outline-offset: -3px; }
}
.recover-page {
  width: min(var(--stage-measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.recover-content,
.recover-result {
  padding: 28px 28px 24px;
  border-radius: var(--r-sheet);
  background: var(--sheet);
}

.recover-content form { display: grid; gap: var(--s-3); }

.recover-content label {
  color: var(--ink);
  font-size: 13px;
  font-weight: var(--w-medium);
}

.recover-code {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-2);
}

.recover-field {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--s-3);
  padding-inline: 18px;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--quiet);
  background: var(--page);
  transition: color var(--dur-snap) var(--ease-snap);
}

.recover-field:focus-within {
  color: var(--ink);
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.recover-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.recover-field input::placeholder { color: var(--quiet); }
.recover-field input:disabled { opacity: 0.68; }

.recover-action,
.recover-secondary {
  min-height: 48px;
  margin-top: var(--s-3);
  padding-inline: var(--s-row);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: var(--w-semibold);
  cursor: pointer;
  transition: opacity 180ms ease-out;
}

.recover-action {
  border: 0;
  color: var(--on-action);
  background: var(--action);
}

.recover-action:disabled { opacity: 0.42; cursor: default; }
.recover-action:not(:disabled):hover,
.recover-secondary:hover { opacity: 0.86; }
.recover-action:not(:disabled):active,
.recover-secondary:active { opacity: 0.78; }

.recover-secondary {
  width: 100%;
  border: 0;
  color: var(--ink);
  background: var(--page);
}

.recover-note,
.recover-support,
.recover-error {
  font-size: 12px;
  line-height: 1.6;
}

.recover-note { margin-top: var(--s-4); color: var(--quiet); }
.recover-error { color: var(--danger); }
.recover-support { margin-top: var(--s-7); color: var(--quiet); text-align: center; }
.recover-support a { color: var(--muted); text-underline-offset: 4px; }

.recover-result h2 {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 17px;
  font-weight: var(--w-semibold);
}

.recover-assurances {
  margin: var(--s-6) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
}

.recover-assurances div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.recover-assurances dt { color: var(--quiet); font-size: 13px; }
.recover-assurances dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: var(--w-medium); }

.recover-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.recover-spinner {
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: var(--s-2);
  border: 2px solid color-mix(in srgb, currentColor 34%, transparent);
  border-top-color: currentColor;
  border-radius: 50%;
  vertical-align: -2px;
  animation: recover-spin 0.72s linear infinite;
}

@keyframes recover-spin { to { transform: rotate(360deg); } }

@media (max-width: 540px) {
  .recover-content,
  .recover-result { padding: 22px 20px 20px; }
  .recover-assurances { grid-template-columns: 1fr; gap: var(--s-row); }
  .recover-action,
  .recover-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .recover-spinner { animation: none; }
  .recover-action,
  .recover-secondary { transition-duration: 0.01ms; }
}

@media (forced-colors: active) {
  .recover-content,
  .recover-result,
  .recover-field,
  .recover-secondary { border: 1px solid CanvasText; }
}
:root {
  --tabs-dur: 250ms;
  --tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tabs-text-muted: rgba(15, 15, 15, 0.8);
  --tabs-text-active: #0f0f0f;
  --tabs-bar-bg: #f1f1f1;
  --tabs-pill-bg: #ffffff;
  --digit-dur: 500ms;
  --digit-distance: 8px;
  --digit-stagger: 70ms;
  --digit-blur: 2px;
  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --digit-dir-x: 0;
  --digit-dir-y: 1;
}

/* The bar is just a flex container with padding for the pill
   to sit inside. Tabs sit on z-index: 1, the pill on z-index: 0,
   so labels read above the pill background. */
.t-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 48px;
  background: var(--tabs-bar-bg);
}
.t-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  height: 30px;
  padding: 4px 12px;
  color: var(--tabs-text-muted);
  cursor: pointer;
  border-radius: 48px;
  z-index: 1;
  transition: color var(--tabs-dur) var(--tabs-ease);
}
.t-tab:not([aria-selected="true"]):hover,
.t-tab[aria-selected="true"] {
  color: var(--tabs-text-active);
}

/* The pill: width + transform are written inline by JS so
   the transition tweens between the previous and next
   measured positions. */
.t-tabs-pill {
  position: absolute;
  top: 3px;
  left: 0;
  height: 30px;
  width: 0;
  background: var(--tabs-pill-bg);
  border-radius: 48px;
  transform: translateX(0);
  transition:
    transform var(--tabs-dur) var(--tabs-ease),
    width     var(--tabs-dur) var(--tabs-ease);
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .t-tabs-pill, .t-tab { transition: none !important; }
}

@keyframes t-digit-pop-in {
  0%   {
    transform: translate(
      calc(var(--digit-distance) * var(--digit-dir-x)),
      calc(var(--digit-distance) * var(--digit-dir-y))
    );
    opacity: 0;
    filter: blur(var(--digit-blur));
  }
  100% { transform: translate(0, 0); opacity: 1; filter: blur(0); }
}

.t-digit-group {
  display: inline-flex;
  align-items: baseline;
}
.t-digit {
  display: inline-block;
  will-change: transform, opacity, filter;
}
.t-digit-group.is-animating .t-digit {
  animation: t-digit-pop-in var(--digit-dur) var(--digit-ease) both;
}
.t-digit-group.is-animating .t-digit[data-stagger="1"] {
  animation-delay: var(--digit-stagger);
}
.t-digit-group.is-animating .t-digit[data-stagger="2"] {
  animation-delay: calc(var(--digit-stagger) * 2);
}

@media (prefers-reduced-motion: reduce) {
  .t-digit-group .t-digit { animation: none !important; }
}

.cloud-page {
  color: var(--ink);
  background: var(--page);
}

.cloud-editorial {
  width: min(var(--stage-measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(48px, 6vw, 68px) clamp(64px, 8vw, 88px);
}

.cloud-offer__heading {
  text-align: center;
}

.cloud-offer__emoji {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  display: block;
  contain: layout paint;
}

.cloud-offer__heading h1 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.042em;
}

.cloud-offer__heading > span {
  max-width: 34em;
  margin: 16px auto 0;
  display: block;
  color: var(--muted);
  font-size: 16px;
  font-weight: var(--w-medium);
  line-height: 1.55;
  text-wrap: pretty;
}

.cloud-sheet {
  margin-top: 40px;
  padding: 28px 28px 24px;
  border-radius: var(--r-sheet);
  background: var(--sheet);
  text-align: left;
}

.cloud-plan {
  margin-top: 0;
}

.cloud-cadence {
  --tabs-text-muted: var(--muted);
  --tabs-text-active: var(--ink);
  --tabs-bar-bg: color-mix(in srgb, var(--ink) 10%, var(--page));
  --tabs-pill-bg: var(--page);
  width: min(100%, 220px);
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: var(--r-pill);
}

.cloud-cadence .t-tab {
  height: 38px;
  min-width: 0;
  flex: 1 1 50%;
  min-height: 38px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--r-pill);
  font-family: inherit;
  transition: color var(--tabs-dur) var(--tabs-ease), opacity var(--dur-fade) var(--ease-fade);
}

.cloud-cadence .t-tab > * {
  position: relative;
  z-index: 1;
}

.cloud-cadence .t-tabs-pill {
  height: 38px;
  border-radius: var(--r-pill);
}

.cloud-cadence .t-tab:disabled { cursor: default; opacity: 0.66; }

.cloud-cadence .t-tab:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.cloud-cadence span {
  font-size: 13px;
  font-weight: var(--w-semibold);
}

.cloud-price {
  margin-top: 24px;
}

.cloud-price > p {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.cloud-price strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: var(--w-medium);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.cloud-price del {
  color: var(--quiet);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: var(--w-regular);
  line-height: 1;
  text-decoration-thickness: 1px;
}

.cloud-price > p > span {
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--w-medium);
}

.cloud-price > small {
  min-height: 18px;
  margin-top: 5px;
  display: block;
  color: var(--quiet);
  font-size: 12px;
  font-weight: var(--w-medium);
  line-height: 1.5;
}

.cloud-renewal {
  max-width: 42ch;
  margin-top: 20px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: var(--w-regular);
  line-height: 1.55;
}

.cloud-identity {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}

.cloud-identity__heading > p {
  color: var(--ink);
  font-size: 14px;
  font-weight: var(--w-semibold);
}

.cloud-form {
  margin-top: 22px;
}

.cloud-form > label,
.cloud-code > label {
  margin-bottom: 8px;
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: var(--w-semibold);
}

.cloud-field {
  width: 100%;
  height: 46px;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--ink);
  background: var(--page);
  transition: color var(--dur-fade) var(--ease-fade), background var(--dur-fade) var(--ease-fade);
}

.cloud-field:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.cloud-field svg {
  flex: 0 0 auto;
  color: var(--quiet);
  transition: color var(--dur-fade) var(--ease-fade), scale var(--dur-snap) var(--ease-snap);
}

.cloud-field:focus-within svg {
  color: var(--ink);
  scale: 1.05;
}

.cloud-field input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: var(--w-medium);
}

.cloud-field input::placeholder { color: var(--quiet); }
.cloud-field input:disabled { opacity: 0.64; cursor: default; }

.cloud-note,
.cloud-error {
  margin-top: 8px;
  font-size: 12px;
  font-weight: var(--w-medium);
  line-height: 1.5;
}

.cloud-note { color: var(--quiet); }
.cloud-error { color: var(--danger); }

.cloud-code {
  margin-top: 22px;
}

.action-button.cloud-primary {
  width: 100%;
  height: 48px;
  margin-top: 28px;
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: opacity 180ms ease-out;
}

.cloud-change-email {
  min-height: 36px;
  margin: 10px auto 0;
  padding: 0 8px;
  display: block;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: var(--w-medium);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color var(--dur-fade) var(--ease-fade);
}

.cloud-change-email:hover { color: var(--ink); }

.cloud-provider {
  margin-top: 18px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: var(--w-medium);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .cloud-editorial { padding-block: 44px 72px; }
  .cloud-offer__heading h1 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-field,
  .cloud-field svg,
  .cloud-change-email { transition-duration: 0.01ms; }
}

@media (forced-colors: active) {
  .cloud-sheet,
  .cloud-cadence,
  .cloud-field { border: 1px solid CanvasText; }
  .cloud-cadence .t-tabs-pill { border: 1px solid Highlight; }
}
.commerce-page {
  --commerce-right: #ffffff;
  --commerce-ink: #111827;
  --commerce-muted: #4b5563;
  --commerce-quiet: #6b7280;
  --commerce-border: #e5e7eb;
  --commerce-action: #000000;
  --commerce-on-action: #ffffff;
  position: relative;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  color: var(--commerce-ink);
  background: var(--commerce-right);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 450;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:root[data-theme='dark'] .commerce-page {
  --commerce-right: #111111;
  --commerce-ink: #ffffff;
  --commerce-muted: #757575;
  --commerce-quiet: #858585;
  --commerce-border: #212121;
  --commerce-action: #ffffff;
  --commerce-on-action: #000000;
}

.commerce-theme {
  position: fixed;
  z-index: 20;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--commerce-border);
  border-radius: 999px;
  color: var(--commerce-muted);
  background: var(--commerce-right);
  cursor: pointer;
  transition: color var(--dur-fade) var(--ease-fade), border-color var(--dur-fade) var(--ease-fade);
}

.commerce-theme:hover { color: var(--commerce-ink); }

.commerce-theme:focus-visible,
.commerce-brand:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.commerce-brand-row {
  height: 24px;
  display: flex;
  align-items: center;
}

.commerce-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--commerce-ink);
  font-size: 14px;
  font-weight: 450;
  line-height: 20px;
  text-decoration: none;
}

.commerce-brand img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 7px;
}

.action-button.commerce-primary {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 48px;
  padding: 0 20px;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--commerce-on-action);
  background: var(--commerce-action);
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  line-height: 20px;
  letter-spacing: 0.01em;
}

@media (max-width: 479px) {
  .commerce-theme { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .commerce-theme { transition-duration: 0.01ms; }
}

@media (forced-colors: active) {
  .commerce-theme { border: 1px solid CanvasText; }
}
.thanks-page {
  background: var(--commerce-right);
}

.thanks-shell {
  width: 100%;
  min-height: 100dvh;
  background: var(--commerce-right);
}

.thanks-column {
  width: min(480px, 100%);
  min-height: 100dvh;
  margin-inline: auto;
  padding: 48px 32px;
}

.thanks-content { margin-top: 64px; }

.thanks-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--commerce-ink);
  border: 1px solid var(--commerce-border);
  border-radius: 50%;
}

.thanks-kicker {
  margin: 24px 0 0;
  color: var(--commerce-muted);
  font-size: 12px;
  font-weight: 450;
  line-height: 16px;
}

.thanks-content h1 {
  margin: 4px 0 0;
  color: var(--commerce-ink);
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0;
}

.thanks-lead {
  max-width: 44ch;
  margin: 8px 0 0;
  color: var(--commerce-muted);
  font-size: 14px;
  line-height: 20px;
}

.thanks-status {
  width: 100%;
  margin-top: 40px;
  text-align: left;
}

.thanks-status__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.thanks-status__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--commerce-quiet);
}

.thanks-status.is-success .thanks-status__dot { background: var(--ok); }
.thanks-status.is-warning .thanks-status__dot { background: var(--warn); }
.thanks-status.is-danger .thanks-status__dot { background: var(--danger); }

.thanks-status strong {
  color: var(--commerce-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.thanks-status p {
  margin: 8px 0 0;
  color: var(--commerce-muted);
  font-size: 14px;
  line-height: 20px;
}

.thanks-primary {
  display: flex;
  text-decoration: none;
}

.thanks-secondary {
  width: fit-content;
  margin: 16px auto 0;
  padding: 4px 2px;
  display: block;
  color: var(--commerce-muted);
  font-size: 12px;
  font-weight: 450;
  line-height: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thanks-secondary:hover { color: var(--commerce-ink); }

.thanks-secondary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.thanks-note {
  max-width: 48ch;
  margin: 32px auto 0;
  color: var(--commerce-quiet);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

@media (max-width: 479px) {
  .thanks-column { padding: 32px 16px 48px; }
  .thanks-content { margin-top: 48px; }
}

@media (forced-colors: active) {
  .thanks-status { border: 1px solid CanvasText; }
  .thanks-status__dot { border: 1px solid CanvasText; }
}
.changelog-page {
  width: min(var(--stage-measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.changelog-opening { width: 100%; }

.changelog-ledger { margin-top: 0; }

.changelog-ledger__header {
  display: flex;
  align-items: center;
  padding: 0;
}

.changelog-filters {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--sheet);
}

.changelog-filters button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 0 6px;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--quiet);
  background: transparent;
  font-size: 12px;
  font-weight: var(--w-medium);
  cursor: pointer;
  transition: color var(--dur-fade) var(--ease-fade), background-color var(--dur-fade) var(--ease-fade);
}

.changelog-filters button:hover { color: var(--ink); }
.changelog-filters button[aria-pressed='true'] { color: var(--ink); background: var(--page); }
.changelog-filters button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.changelog-stream {
  display: grid;
  gap: clamp(56px, 8vw, 76px);
  margin-top: 54px;
}

.changelog-release {
  display: grid;
  gap: 20px;
}

.changelog-release__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 5px var(--s-row);
}

.changelog-release__meta > strong { font-size: 16px; font-weight: var(--w-medium); letter-spacing: -0.02em; }

.changelog-release[data-latest='true'] .changelog-release__meta > strong::after {
  content: 'Current';
  display: inline-flex;
  margin-left: 8px;
  color: var(--quiet);
  font-family: var(--font-text);
  font-size: 9px;
  font-weight: var(--w-medium);
  letter-spacing: 0;
  vertical-align: 3px;
}

.changelog-release__meta time { color: var(--quiet); font-size: 11px; }
.changelog-release__meta > span { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px 10px; }

.changelog-platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: var(--w-medium);
}

.changelog-release__body { max-width: 100%; }
.changelog-release__body h3 { font-size: 19px; font-weight: var(--w-medium); line-height: 1.3; letter-spacing: -0.025em; }
.changelog-release__body > p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.changelog-release__body ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.changelog-release__body li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--s-row);
  align-items: baseline;
}

.changelog-release__body li > span { color: var(--quiet); font-size: 10px; font-weight: var(--w-medium); }
.changelog-release__body li p { font-size: 13px; line-height: 1.55; }

.changelog-more {
  min-height: 44px;
  margin-top: 48px;
  padding: 0 var(--s-row);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  border: 0;
  border-radius: var(--r-pill);
  color: var(--muted);
  background: var(--sheet);
  font-size: 12px;
  font-weight: var(--w-medium);
  cursor: pointer;
  transition: color var(--dur-fade) var(--ease-fade), background-color var(--dur-fade) var(--ease-fade);
}

.changelog-more:hover {
  color: var(--ink);
  background: var(--page);
}

.changelog-more svg {
  transition: translate var(--dur-snap) var(--ease-snap);
}

.changelog-more:hover svg { translate: 0 2px; }

@media (max-width: 760px) {
  .changelog-release { gap: var(--s-5); }
}

@media (max-width: 520px) {
  .changelog-filters button { font-size: 11px; }
  .changelog-release__body li { grid-template-columns: 62px minmax(0, 1fr); gap: var(--s-3); }
}

@media (prefers-reduced-motion: reduce) {
  .changelog-filters button,
  .changelog-more,
  .changelog-more svg { transition-duration: 0.01ms; }
}

@media (forced-colors: active) {
  .changelog-filters { border: 1px solid CanvasText; }
  .changelog-filters button[aria-pressed='true'] { outline: 2px solid CanvasText; outline-offset: -3px; }
}
/*
 * Shared page furniture only. Anything that belongs to one section lives beside that section's
 * component - the old single stylesheet is what let a hero rule and a dialog rule drift into using
 * two different radii for the same kind of control.
 */

#top {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  overflow: clip;
}

/*
 * The shell, rather than each route, owns the viewport. Short documents now end with the utility
 * footer on the visible page instead of claiming a second viewport and forcing a blank scroll.
 * Long documents keep their natural height and scroll normally.
 */
.document-main {
  min-width: 0;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.landing {
  flex: 1 0 auto;
}

/* The public landing page keeps a compact hero and a 720-point product stage. Document routes
   use that same stage measure and rounded-sheet language. */
.landing {
  --landing-measure: 1120px;
  --landing-section-y: clamp(72px, 8vw, 104px);
}

.landing .section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: var(--w-semibold);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.landing .section-lead {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
}

/* ---- Type roles ---------------------------------------------------------- */

.section-title {
  font-size: var(--t-title);
  line-height: 1;
  letter-spacing: -0.042em;
}

/*
 * `text-align: center` centres the lines inside the box; it does not centre the box. With a
 * `max-width` narrower than its container the lead was landing left of a centred heading, which
 * reads as a mistake rather than as a style.
 */
.section-lead {
  max-width: 52ch;
  margin-top: var(--s-row);
  margin-inline: auto;
  color: var(--muted);
  font-size: var(--t-lead);
  line-height: 1.55;
  letter-spacing: -0.008em;
}

/* ---- The one action ------------------------------------------------------
 * Black on a light page, white on a dark one, and nothing else - provider tints carry all the
 * colour on this site, so the primary action deliberately does not compete with them.
 */

.action-button {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--s-page);
  border: 0;
  border-radius: var(--r-pill);
  color: var(--on-action);
  background: var(--action);
  font-size: 14px;
  font-weight: var(--w-semibold);
  letter-spacing: -0.012em;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity var(--dur-fade) var(--ease-fade);
}

.action-button:hover {
  opacity: 0.86;
}

.action-button:active {
  opacity: 0.78;
}

.action-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.action-button--sm {
  height: 34px;
  padding-inline: var(--s-row);
  font-size: var(--t-caption);
}

.action-button--lg {
  height: 52px;
  padding-inline: var(--s-6);
  border-radius: var(--r-pill);
  font-size: 15px;
}

/*
 * The quiet half of a pair. Two filled buttons side by side state that two choices are equally
 * likely, which is almost never true; this one keeps the same geometry and gives up only its fill.
 * It introduces no new colour - the edge is the page's own muted ink, held above 3:1 on both
 * surfaces so the control's boundary stays visible (WCAG 2.2, 1.4.11).
 */
.action-button--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--muted) 80%, transparent);
}

.action-button--ghost:hover {
  background: var(--surface-sunken);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: var(--w-medium);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: gap var(--dur-snap) var(--ease-snap);
}

.text-link:hover {
  gap: 7px;
}

@media (prefers-reduced-motion: reduce) {
  .action-button { transition-duration: 0.01ms; }
}
