/*
 * KeyCare Pass website. One stylesheet for every page.
 *
 * Colours are KeyCare Pass's own: one brand blue, the favicon and app-icon blue #3c83f6, for
 * buttons, links, icon accents, outlines, focus rings, badges and highlights; its pale tints for
 * soft backgrounds; neutral greys for text; neutral charcoal for dark areas. Inter for text,
 * Manrope only for the wordmark. Pill buttons, 8/12/24px radii, a focus ring with a halo.
 */

/* ================================================================ fonts */

@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  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;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================ tokens */

:root {
  color-scheme: light;

  /* One brand blue: the favicon blue. Buttons, links, icon accents, outlines, focus rings,
     badges and highlights all use it. Soft backgrounds use its pale tints. */
  --brand: #3c83f6;
  --brand-strong: #3c83f6;
  --brand-deep: #3c83f6;
  --brand-text: #3c83f6;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: rgb(60 131 246 / 0.28);
  --blue-300: rgb(60 131 246 / 0.45);
  --blue-400: rgb(60 131 246 / 0.7);
  --brand-soft: rgb(60 131 246 / 0.08);
  --brand-soft-2: rgb(60 131 246 / 0.16);

  /* Primary buttons: white on the brand blue (3.6:1, AA for large text). */
  --button: var(--brand);
  --button-hover: var(--brand);

  /* Neutral charcoal and greys, no navy. */
  --ink: #14171e;
  --canvas: #f6f7f9;
  --pane: #fbfbfc;
  --white: #ffffff;
  --grey-100: #eff1f4;
  --grey-200: #e3e6ea;
  --grey-300: #c9cdd4;
  --grey-400: #9aa0aa;
  --grey-500: #646a76;
  --grey-600: #474b55;

  /* Dark sections (the footer): charcoal canvas, panels, raised surfaces and borders. */
  --slate: #0b0d11;
  --slate-2: #14171e;
  --slate-3: #1c2029;
  --slate-line: #2b303b;
  --slate-text: #d9dce1;
  --slate-subtle: #9aa0aa;

  --heading: var(--ink);
  --body: var(--grey-600);
  --subtle: var(--grey-500);
  --line: var(--grey-200);
  --line-soft: var(--grey-100);
  --link: var(--brand);
  --focus: var(--brand);
  --halo: rgb(60 131 246 / 0.3);

  --success: #008236;
  --success-soft: #dcfce7;
  --danger: #c10007;
  --danger-soft: #ffe2e2;
  --warning: #b23300;
  --warning-soft: #feecdc;
  --soon-bg: var(--grey-100);
  --soon-fg: var(--grey-600);

  --item-login-bg: #dbeafe;
  --item-login-fg: #3c83f6;
  --item-note-bg: #feecdc;
  --item-note-fg: #cc4400;
  --item-card-bg: #dcfce7;
  --item-card-fg: #008236;
  --item-identity-bg: #f3e8ff;
  --item-identity-fg: #8200db;
  --item-ssh-bg: #eff1f4;
  --item-ssh-fg: #474b55;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(11 13 17 / 0.05), 0 2px 8px rgb(60 131 246 / 0.07);
  --shadow: 0 1px 2px rgb(11 13 17 / 0.05), 0 10px 28px rgb(60 131 246 / 0.13);
  --shadow-lg: 0 2px 6px rgb(11 13 17 / 0.06), 0 28px 60px rgb(60 131 246 / 0.2);

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --section: 104px;

  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mark: Manrope, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Light surfaces with a soft brand glow, after the web vault's sign-in backdrop. */
  --wash: radial-gradient(52% 72% at 92% 0%, rgb(60 131 246 / 0.2) 0%, rgb(60 131 246 / 0) 72%),
    linear-gradient(68.66deg, #dbeafe 1.3%, #f6f7f9 50%, #ffffff 100%);
  --tint-band: radial-gradient(60% 90% at 100% 0%, rgb(60 131 246 / 0.2) 0%, rgb(60 131 246 / 0) 70%),
    linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  --blue-stage: radial-gradient(80% 80% at 85% 10%, rgb(255 255 255 / 0.26) 0%, rgb(255 255 255 / 0) 60%), #3c83f6;
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --section: 72px;
    --header-h: 64px;
  }
}

/* ================================================================ base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--white);
  color: var(--body);
  font: 400 1rem/1.6 var(--font);
  font-feature-settings: "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.35rem + 3.3vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
}

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

p + p {
  margin-top: 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

svg {
  flex-shrink: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
  text-decoration-thickness: 2px;
}

strong {
  color: var(--heading);
  font-weight: 650;
}

code,
kbd,
samp {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

code {
  padding: 0.12em 0.4em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--heading);
  overflow-wrap: anywhere;
}

kbd {
  display: inline-block;
  padding: 0.05em 0.45em;
  border: 1px solid var(--grey-300);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--white);
  color: var(--heading);
  white-space: nowrap;
}

::selection {
  background: rgb(60 131 246 / 0.22);
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--focus), 0 0 0 7px var(--halo);
}

.site-footer :focus-visible,
.on-blue :focus-visible {
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px rgb(255 255 255 / 0.35);
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 2px solid CanvasText;
  }
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateY(-180%);
  transition: transform 0.15s ease-out;
}

.skip-link:focus-visible {
  transform: none;
}

/* ================================================================ layout */

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

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

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

.container .container--narrow,
.container .container--text {
  padding-inline: 0;
}

.section {
  padding-block: var(--section);
}

.section--tint {
  background: var(--canvas);
}

.section--blue {
  background: var(--blue-50);
}

.section--wash {
  background: var(--wash);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section--flush-top {
  padding-top: 40px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 1.125rem;
}

.section-head p.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-text);
  font-size: 0.8125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--subtle);
  font-size: 1.1875rem;
  line-height: 1.6;
}

.muted {
  color: var(--subtle);
}

.small {
  font-size: 0.875rem;
}

.center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--gap-lg {
  gap: 40px 32px;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.actions--center {
  justify-content: center;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.actions--center .action {
  align-items: center;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

.mt-6 {
  margin-top: 48px;
}

/* ================================================================ buttons */

.btn {
  --btn-bg: var(--button);
  --btn-fg: var(--white);
  --btn-bg-hover: var(--button-hover);
  --btn-fg-hover: var(--white);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1.2 var(--font);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s ease-out,
    border-color 0.15s ease-out,
    color 0.15s ease-out;
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  box-shadow: 0 6px 18px rgb(60 131 246 / 0.32);
}

.btn:focus-visible {
  border-radius: var(--radius-pill);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

/* Large buttons use large text (19px bold), which keeps white on the brand blue at AA. */
.btn--lg {
  min-height: 56px;
  padding: 14px 30px;
  font-size: 1.1875rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-bg-hover: var(--brand-soft);
  --btn-fg-hover: var(--brand);
  --btn-border: var(--brand);
  border-width: 1px;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-bg-hover: var(--brand-soft);
  --btn-fg-hover: var(--brand);
  --btn-border: var(--brand);
  border-width: 1px;
}

.btn--outline:hover,
.btn--secondary:hover,
.btn--ghost:hover {
  box-shadow: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-text);
  --btn-bg-hover: rgb(60 131 246 / 0.08);
  --btn-fg-hover: var(--brand-deep);
}

.on-blue .btn--primary {
  --btn-bg: var(--white);
  --btn-fg: var(--brand);
  --btn-bg-hover: var(--white);
  --btn-fg-hover: var(--brand);
}

.on-blue .btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bg-hover: rgb(255 255 255 / 0.14);
  --btn-fg-hover: var(--white);
  --btn-border: rgb(255 255 255 / 0.85);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  text-decoration: none;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease-out;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.btn-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.8125rem;
}

.btn-note svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

/* ================================================================ tags and chips */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--brand-deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--soon {
  background: var(--soon-bg);
  color: var(--soon-fg);
}

.tag--grey {
  background: var(--grey-100);
  color: var(--grey-600);
}

.site-footer .tag--soon {
  background: rgb(255 255 255 / 0.08);
  color: var(--slate-text);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.chip svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

/* ================================================================ announcement */

.announce {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--blue-200);
  background: linear-gradient(90deg, #dbeafe 0%, #eff6ff 50%, #dbeafe 100%);
  color: var(--heading);
  font-size: 0.875rem;
}

.announce-closed .announce {
  display: none;
}

.announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  min-height: 48px;
  padding-block: 8px;
  padding-right: calc(var(--gutter) + 40px);
}

.announce-text strong {
  font-weight: 700;
}

.announce-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--brand-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pill-link:hover {
  background: var(--blue-50);
  color: var(--brand-deep);
}

.pill-link:focus-visible {
  border-radius: var(--radius-pill);
}

.announce-link {
  color: var(--grey-600);
  font-size: 0.75rem;
  text-decoration: underline;
}

.announce-link:hover {
  color: var(--heading);
}

.announce-close {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--grey-600);
  cursor: pointer;
}

.announce-close:hover {
  background: rgb(60 131 246 / 0.12);
  color: var(--heading);
}

.announce-close:focus-visible {
  border-radius: 50%;
}

.announce-close svg {
  width: 18px;
  height: 18px;
}

.no-js .announce-close {
  display: none;
}

@media (max-width: 720px) {
  .announce-inner {
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .announce-text {
    font-size: 0.8125rem;
  }
}

/* ================================================================ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--brand);
}

.logo svg {
  width: 30px;
  height: 34px;
}

.logo-shield {
  fill: var(--brand);
}

.logo-key {
  fill: var(--white);
}

.wordmark {
  font-family: var(--font-mark);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.logo-by {
  margin-left: 2px;
  color: var(--subtle);
  font-family: var(--font-mark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-footer .logo {
  color: var(--white);
}

.site-footer .logo-key {
  fill: var(--white);
}

.badge-mark .logo-shield,
.icon-tile--solid .logo-shield {
  fill: var(--white);
}

.badge-mark .logo-key,
.icon-tile--solid .logo-key {
  fill: var(--brand);
}

.site-footer .logo-by {
  color: var(--slate-subtle);
}

.primary-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item--wide {
  position: static;
}

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--heading);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.nav-trigger::-webkit-details-marker {
  display: none;
}

.nav-trigger::marker {
  content: "";
}

.nav-trigger:focus-visible,
.nav-link:focus-visible {
  border-radius: var(--radius-pill);
}

.nav-trigger:hover,
.nav-link:hover,
.nav-menu[open] > .nav-trigger {
  background: rgb(60 131 246 / 0.08);
  color: var(--heading);
}

.nav-link[aria-current="page"] {
  color: var(--brand-text);
}

.nav-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--subtle);
  transition: transform 0.18s ease-out;
}

.nav-menu[open] > .nav-trigger svg {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

/* Mega-menu panels (desktop) */

.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  min-width: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.nav-item--wide .mega {
  left: 50%;
  width: min(1060px, calc(100vw - var(--gutter) * 2));
  transform: translateX(-50%);
}

.mega--right {
  right: 0;
  left: auto;
}

.mega-body {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.mega-plans {
  display: flex;
  flex-direction: column;
  width: 256px;
  flex-shrink: 0;
  padding: 18px 12px 12px;
  border: 1px solid var(--blue-200);
  border-radius: 14px;
  background: var(--tint-band);
}

.mega-plans .mega-title {
  padding-inline: 10px;
  color: var(--brand-deep);
}

.mega-plans ul {
  list-style: none;
}

.mega-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  color: var(--heading);
  text-decoration: none;
}

.mega-plan:hover {
  background: rgb(255 255 255 / 0.75);
  color: var(--heading);
}

.mega-plan-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  flex-shrink: 0;
}

.mega-plan-icon svg {
  width: 20px;
  height: 20px;
}

.mega-plan-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.mega-plan-desc {
  display: block;
  color: var(--grey-600);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.mega-plans-foot {
  margin-top: auto;
  padding: 16px 10px 4px;
}

.mega-plans-foot a {
  font-size: 0.875rem;
}

.mega-cols {
  display: grid;
  flex: 1;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 8px;
  padding: 10px 8px;
}

.mega-col {
  padding: 8px 10px;
}

.mega-title {
  margin: 0 0 8px;
  color: var(--subtle);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mega-links {
  list-style: none;
}

.mega-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: -8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--heading);
  font-size: 0.9375rem;
  text-decoration: none;
}

.mega-links a:hover {
  background: var(--blue-50);
  color: var(--brand-deep);
}

.mega-links .tag {
  font-size: 0.625rem;
}

.mega-links .mega-all {
  margin-top: 6px;
  color: var(--brand-text);
  font-weight: 650;
}

.mega-all svg {
  width: 16px;
  height: 16px;
}

.mega-rich a {
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
}

.mega-rich-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--brand);
  flex-shrink: 0;
}

.mega-rich-icon svg {
  width: 20px;
  height: 20px;
}

.mega-rich strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
}

.mega-rich .desc {
  display: block;
  margin-top: 2px;
  color: var(--subtle);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.mega-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  padding: 12px 22px;
  border-top: 1px solid var(--line-soft);
  background: var(--canvas);
}

.mega-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
}

.mega-foot a:hover {
  color: var(--brand-deep);
}

.mega-foot svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.mega--login {
  width: 580px;
}

.mega--login .mega-cols {
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  margin-left: auto;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--heading);
  font: 650 0.9375rem var(--font);
  text-decoration: none;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgb(60 131 246 / 0.08);
  color: var(--heading);
}

.nav-toggle:focus-visible {
  border-radius: var(--radius-pill);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

.nav-open .nav-toggle .icon-menu {
  display: none;
}

.no-js button.nav-toggle,
.js a.nav-toggle {
  display: none !important;
}

@media (min-width: 1121px) {
  .nav-menu:not([open]) > .mega {
    display: none;
  }

  .mega {
    animation: mega-in 0.16s ease-out;
  }

  .mobile-only {
    display: none !important;
  }
}

@keyframes mega-in {
  from {
    opacity: 0;
    translate: 0 -4px;
  }
}

@media (max-width: 1260px) and (min-width: 1121px) {
  .nav-trigger,
  .nav-link {
    padding-inline: 9px;
  }

  .header-inner {
    gap: 14px;
  }

  .nav-actions .btn--outline {
    display: none;
  }
}

/* Mobile navigation */

@media (max-width: 1120px) {
  /* A backdrop filter would make the header the containing block of the fixed menu panel. */
  .site-header {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--nav-top, calc(var(--header-h) + 1px)) 0 0 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
  }

  .nav-open .primary-nav,
  .primary-nav:target {
    display: flex;
  }

  .no-js .primary-nav:target {
    position: static;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item,
  .nav-item--wide {
    position: static;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-trigger,
  .nav-link {
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 12px 4px;
    border-radius: 0;
    font-size: 1.0625rem;
  }

  .nav-trigger:hover,
  .nav-link:hover,
  .nav-menu[open] > .nav-trigger {
    background: transparent;
  }

  .nav-trigger svg {
    width: 20px;
    height: 20px;
  }

  .mega,
  .nav-item--wide .mega,
  .mega--login {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    animation: none;
  }

  .mega-body {
    flex-direction: column;
    padding: 0;
  }

  .mega-plans {
    width: auto;
    padding: 12px;
  }

  .mega-cols,
  .mega--login .mega-cols {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
    padding: 4px 0;
  }

  .mega-col {
    padding: 10px 0;
  }

  .mega-links a {
    margin-inline: 0;
    padding: 10px 8px;
  }

  .mega-foot {
    padding: 8px 12px;
    border: 0;
    border-radius: 12px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 8px;
  }

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

  .nav-actions .btn {
    width: 100%;
  }

  .nav-open,
  .nav-open body {
    overflow: hidden;
  }
}

/* ================================================================ hero */

.hero {
  position: relative;
  padding-block: 80px 104px;
  overflow: hidden;
  background: var(--wash);
}

.hero--plain {
  padding-block: 64px 56px;
}

.hero--white {
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hero-grid--even {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-copy .lead {
  max-width: 34em;
  margin-top: 22px;
}

.hero .actions {
  margin-top: 34px;
}

.hero-meta {
  margin-top: 18px;
  color: var(--subtle);
  font-size: 0.875rem;
}

.hero-price {
  margin-top: 26px;
  color: var(--subtle);
  font-size: 0.9375rem;
}

.hero-price strong {
  color: var(--heading);
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.badge-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.8);
  color: var(--heading);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.badge-by .badge-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
}

.badge-by .badge-mark svg {
  width: 16px;
  height: 16px;
}

.hero--center {
  text-align: center;
}

.hero--center .hero-copy {
  max-width: 880px;
  margin-inline: auto;
}

.hero--center .lead {
  margin-inline: auto;
}

.hero--center .actions {
  justify-content: center;
}

.hero-visual {
  position: relative;
}

.stage {
  position: relative;
  padding: 36px;
  border-radius: 32px;
  background: var(--blue-stage);
}

.stage--tint {
  background: var(--tint-band);
}

.stage--canvas {
  background: var(--canvas);
}

.stage .sparkle {
  position: absolute;
  color: rgb(255 255 255 / 0.75);
}

.stage--tint .sparkle,
.stage--canvas .sparkle {
  color: var(--brand);
}

.sparkle--a {
  top: 16px;
  right: 20px;
  width: 26px;
  height: 26px;
}

.sparkle--b {
  bottom: 20px;
  left: 18px;
  width: 16px;
  height: 16px;
}

.straddle {
  position: relative;
  z-index: 2;
  margin-top: -150px;
}

.straddle > .stage {
  max-width: 940px;
  margin-inline: auto;
}

.hero--straddle {
  padding-bottom: 210px;
}

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

  .hero-grid,
  .hero-grid--even {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero--straddle {
    padding-bottom: 150px;
  }

  .straddle {
    margin-top: -110px;
  }

  .stage {
    padding: 20px;
    border-radius: 24px;
  }
}

/* ================================================================ facts strip */

.facts {
  padding-block: 26px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.facts ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 36px;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-size: 0.9375rem;
  font-weight: 600;
}

.facts svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

/* ================================================================ in-page nav */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  border-bottom: 1px solid var(--line-soft);
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.subnav ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.subnav ul::-webkit-scrollbar {
  display: none;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--subtle);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.subnav a:hover,
.subnav a.is-current {
  border-bottom-color: var(--brand);
  color: var(--heading);
}

.subnav a:focus-visible {
  border-radius: 6px;
}

/* ================================================================ cards */

.icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--brand);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.icon-tile--solid {
  background: var(--brand);
  color: var(--white);
}

.icon-tile--green {
  background: var(--item-card-bg);
  color: var(--item-card-fg);
}

.icon-tile--purple {
  background: var(--item-identity-bg);
  color: var(--item-identity-fg);
}

.icon-tile--orange {
  background: var(--item-note-bg);
  color: var(--item-note-fg);
}

.icon-tile--white {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature h3 {
  margin-top: 6px;
}

.feature p {
  color: var(--subtle);
}

.feature .link-arrow {
  margin-top: auto;
  padding-top: 4px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.card--tint {
  border-color: transparent;
  background: var(--canvas);
}

.card--blue {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.card--shadow {
  border-color: transparent;
  box-shadow: var(--shadow);
}

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

.card .link-arrow {
  margin-top: auto;
}

a.card {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

a.card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow);
}

a.card:focus-visible {
  border-radius: var(--radius-lg);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  overflow: hidden;
  padding: 44px 44px 0;
  border-radius: 32px;
}

.audience-card h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.02em;
}

.audience-card p {
  max-width: 30em;
  margin-top: 14px;
}

.audience-card .actions {
  margin-top: 26px;
}

.audience-visual {
  margin-top: auto;
  padding-top: 40px;
}

.audience-card--blue {
  background: var(--tint-band);
}

.audience-card--canvas {
  background: var(--canvas);
}

@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-card {
    min-height: 0;
    padding: 32px 24px 0;
  }
}

/* Bento grid */

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--canvas);
}

.bento-card--blue {
  background: var(--tint-band);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-text {
  padding: 36px 36px 0;
}

.bento-text h3 {
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}

.bento-text p {
  max-width: 34em;
  margin-top: 12px;
  color: var(--subtle);
}

.bento-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: auto;
  padding: 32px 36px 0;
}

.bento-visual > * {
  width: 100%;
  max-width: 470px;
}

.bento-visual--pad {
  padding-bottom: 36px;
}

.bento-card--wide .bento-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 24px;
}

.bento-card--wide .bento-text {
  align-self: center;
  padding-bottom: 36px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-card--wide {
    grid-column: auto;
  }

  .bento-card--wide .bento-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-text {
    padding: 28px 24px 0;
  }

  .bento-visual {
    padding: 24px 18px 0;
  }

  .bento-visual--pad {
    padding-bottom: 24px;
  }
}

/* Alternating rows */

.rows {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.row--flip .row-visual {
  order: -1;
}

.row-copy h3 {
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  letter-spacing: -0.02em;
}

.row-copy p {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 1.0625rem;
}

.row-copy .checklist {
  margin-top: 22px;
}

.row-copy .link-arrow {
  margin-top: 22px;
}

.row-visual {
  padding: 32px;
  border-radius: 28px;
  background: var(--tint-band);
}

.row-visual--blue {
  background: var(--blue-stage);
}

.row-visual--canvas {
  background: var(--canvas);
}

@media (max-width: 900px) {
  .rows {
    gap: 64px;
  }

  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .row--flip .row-visual {
    order: 0;
  }

  .row-visual {
    padding: 20px;
  }
}

/* Lists */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: var(--body);
  line-height: 1.5;
}

.checklist li > svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand);
}

.checklist--soon li {
  color: var(--subtle);
}

.checklist--soon li > svg {
  color: var(--grey-400);
}

.checklist .tag {
  margin-left: 6px;
  vertical-align: 1px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.steps li::before {
  content: counter(step);
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--brand-deep);
  font-weight: 750;
}

.steps h3 {
  font-size: 1.125rem;
}

.steps p {
  margin-top: 8px;
  color: var(--subtle);
}

.steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .steps--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .steps,
  .steps--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.statement {
  max-width: 960px;
  margin-inline: auto;
  color: var(--heading);
  font-size: clamp(1.375rem, 1.05rem + 1.1vw, 2rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-align: center;
  text-wrap: balance;
}

.statement em {
  color: var(--brand-text);
  font-style: normal;
}

.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--heading);
}

.callout > svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--brand);
}

.callout p {
  color: var(--body);
}

.callout strong {
  display: block;
  margin-bottom: 2px;
}

.callout--warn {
  border-color: var(--blue-300);
}

/* ================================================================ CTA band */

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  overflow: hidden;
  padding: 64px;
  border: 1px solid var(--blue-200);
  border-radius: 32px;
  background: var(--tint-band);
}

.cta-band--single {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.cta-band p {
  margin-top: 16px;
  color: var(--body);
  font-size: 1.125rem;
}

.cta-band .actions {
  margin-top: 30px;
}

.cta-band--single .actions {
  justify-content: center;
}

.cta-band-visual {
  align-self: end;
  margin-bottom: -64px;
}

.cta-band .sparkle {
  position: absolute;
  color: var(--brand);
  opacity: 0.55;
}

/* The brand-blue band carries large white text only. */
.cta-band--blue {
  border: 0;
  background: var(--blue-stage);
  color: var(--white);
}

.cta-band--blue h2 {
  color: var(--white);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.cta-band--blue p {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 450;
  line-height: 1.4;
}

.cta-band--blue .sparkle {
  color: var(--white);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 24px;
    border-radius: 24px;
  }

  .cta-band-visual {
    margin-bottom: -40px;
  }

  .cta-band--blue p {
    font-size: 1.25rem;
    font-weight: 700;
  }
}

/* ================================================================ FAQ */

.faq {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  color: var(--heading);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::marker {
  content: "";
}

.faq summary:hover {
  color: var(--brand-deep);
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--brand-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
}

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

.faq details[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 56px 24px 4px;
  color: var(--body);
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul + p {
  margin-top: 12px;
}

.faq-answer ul {
  padding-left: 22px;
}

@media (max-width: 720px) {
  .faq-answer {
    padding-right: 4px;
  }
}

/* ================================================================ pricing */

.pricing-section {
  padding-block: 64px 96px;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 520px);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.pricing-intro h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.pricing-intro .lead {
  margin-top: 16px;
  font-size: 1.0625rem;
}

.pricing-controls {
  margin-top: 28px;
}

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

.choice legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 650;
}

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--canvas);
}

.segmented label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  color: var(--subtle);
  font-size: 0.9375rem;
  font-weight: 650;
  cursor: pointer;
}

.segmented input,
.period-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label:hover {
  color: var(--heading);
}

.segmented label:has(input:checked) {
  background: var(--white);
  color: var(--brand-deep);
  box-shadow: 0 1px 2px rgb(11 13 17 / 0.08), 0 2px 8px rgb(60 131 246 / 0.14);
}

.segmented label:has(input:focus-visible) {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--focus), 0 0 0 7px var(--halo);
}

.period-group {
  margin-top: 28px;
}

.period-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--heading);
  font-size: 0.9375rem;
  cursor: pointer;
}

.radio {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--grey-400);
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  transform: scale(0);
  transition: transform 0.12s ease-out;
}

.period-group label:has(input:checked) .radio {
  border-color: var(--brand);
}

.period-group label:has(input:checked) .radio::after {
  transform: scale(1);
}

.period-group label:has(input:focus-visible) .radio {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--focus), 0 0 0 7px var(--halo);
}

.period-group .save {
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 650;
}

.period-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--subtle);
  font-size: 0.9375rem;
}

.period-note svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.pricing-footnote {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--subtle);
  font-size: 0.875rem;
  text-align: center;
}

/* One audience at a time. Browsers without :has() show both. */
.pricing:has(#for-business:checked) [data-audience="personal"],
.pricing:has(#for-personal:checked) [data-audience="business"] {
  display: none;
}

/* The chosen billing period's prices, per tab. */
.pricing:has(.period-input--business[value="month"]:checked) [data-audience="business"] .price[data-period]:not([data-period="month"]),
.pricing:has(.period-input--business[value="year"]:checked) [data-audience="business"] .price[data-period]:not([data-period="year"]),
.pricing:has(.period-input--business[value="two-year"]:checked) [data-audience="business"] .price[data-period]:not([data-period="two-year"]),
.pricing:has(.period-input--personal[value="month"]:checked) [data-audience="personal"] .price[data-period]:not([data-period="month"]),
.pricing:has(.period-input--personal[value="year"]:checked) [data-audience="personal"] .price[data-period]:not([data-period="year"]),
.pricing:has(.period-input--personal[value="two-year"]:checked) [data-audience="personal"] .price[data-period]:not([data-period="two-year"]) {
  display: none;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(var(--plans, 3), minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-grid[data-count="2"] {
  --plans: 2;
}

.plan-grid[data-count="1"] {
  --plans: 1;
  max-width: 420px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.plan-card.is-featured {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 60%);
  box-shadow: var(--shadow-lg);
}

.plan-card.is-soon {
  border-style: dashed;
  border-color: var(--grey-300);
  background: var(--pane);
}

.plan-flag {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 3px 14px;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.plan-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--brand);
}

.is-featured .plan-icon {
  background: var(--brand);
  color: var(--white);
}

.plan-icon svg {
  width: 22px;
  height: 22px;
}

.plan-card h3 {
  font-size: 1.375rem;
}

.plan-pitch {
  min-height: 3.2em;
  margin-top: 12px;
  color: var(--subtle);
  font-size: 0.9375rem;
}

.plan-price {
  min-height: 76px;
  margin-top: 18px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
}

.price-currency {
  color: var(--heading);
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: none;
}

abbr.price-currency {
  cursor: help;
}

.price-amount {
  color: var(--heading);
  font-size: 3rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.035em;
}

.price-unit {
  flex-basis: 100%;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 0.875rem;
}

.price--tba .price-amount {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.plan-seats {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.875rem;
}

.plan-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.plan-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 650;
  text-align: center;
}

.plan-secondary svg {
  width: 14px;
  height: 14px;
}

.plan-features {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.plan-features .includes {
  margin-bottom: 14px;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 700;
}

.plan-features .checklist li {
  font-size: 0.9375rem;
}

.plan-features .checklist--soon {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .pricing-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px 40px;
    align-items: end;
  }

  .pricing-controls {
    margin-top: 0;
  }
}

@media (max-width: 960px) {
  .plan-grid,
  .plan-grid[data-count="2"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 540px;
    margin-inline: auto;
  }

  .pricing-intro {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Comparison table */

.compare-wrap {
  position: relative;
  overflow-x: visible;
}

.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.compare thead th {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 2;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--heading);
  font-size: 1rem;
  text-align: center;
  vertical-align: bottom;
}

.compare thead th:first-child {
  text-align: left;
}

.compare thead .btn {
  margin-top: 10px;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.8125rem;
}

.compare th[scope="row"] {
  padding: 14px 12px 14px 4px;
  color: var(--body);
  font-weight: 450;
  text-align: left;
}

.compare td {
  padding: 14px 12px;
  color: var(--heading);
  text-align: center;
  vertical-align: middle;
}

.compare tbody tr > * {
  border-bottom: 1px solid var(--line-soft);
}

.compare .group th {
  padding: 32px 4px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-size: 1.0625rem;
  font-weight: 750;
  text-align: left;
}

.compare td svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.compare .no {
  color: var(--grey-400);
}

.compare .soon {
  color: var(--grey-500);
  font-size: 0.8125rem;
  font-weight: 650;
}

.compare .soon svg {
  color: var(--grey-400);
}

.compare-col {
  width: 18%;
}

@media (max-width: 720px) {
  .compare-wrap {
    overflow-x: auto;
  }

  .compare thead th {
    position: static;
  }
}

/* ================================================================ prose and documents */

.prose {
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem);
}

.prose h3 {
  margin-top: 1.9em;
  font-size: 1.25rem;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.6em;
}

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

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

.prose a {
  text-decoration: underline;
}

.prose pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--slate-2);
  color: #e6e8ec;
  font-size: 0.875rem;
  line-height: 1.6;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  overflow-wrap: normal;
}

.prose .updated {
  color: var(--subtle);
  font-size: 0.9375rem;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--heading);
  font-weight: 650;
}

.table thead th {
  border-bottom-color: var(--grey-300);
}

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding: 4px 4px 16px 0;
  font-size: 0.875rem;
}

.doc-toc h2 {
  margin: 0 0 10px;
  color: var(--subtle);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.doc-toc dl {
  margin: 0;
}

.doc-toc dt {
  margin-top: 16px;
  color: var(--heading);
  font-weight: 700;
}

.doc-toc dd {
  margin: 0;
}

.doc-toc ul {
  list-style: none;
}

.doc-toc dd a,
.doc-toc li a {
  display: block;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--line-soft);
  color: var(--subtle);
  text-decoration: none;
}

.doc-toc dd a:hover,
.doc-toc li a:hover {
  border-left-color: var(--brand);
  color: var(--heading);
}

.doc-body h2,
.doc-body h3 {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.doc-body h3:target {
  color: var(--brand-text);
}

.doc-body h2.doc-section {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.back-top {
  margin-top: 48px;
  font-size: 0.9375rem;
}

@media (max-width: 960px) {
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .doc-toc {
    position: static;
    max-height: none;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    background: var(--canvas);
  }

  .doc-toc dd {
    display: inline;
  }

  .doc-toc dd a {
    display: inline-block;
    padding: 3px 10px 3px 0;
    border: 0;
  }
}

/* Breadcrumbs */

.crumbs {
  margin-bottom: 18px;
  font-size: 0.875rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--subtle);
}

.crumbs li + li::before {
  content: "/";
  color: var(--grey-300);
}

.crumbs a {
  color: var(--subtle);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.hero--center .crumbs ol {
  justify-content: center;
}

/* Articles */

.post-list {
  display: grid;
  gap: 20px;
  list-style: none;
}

.post-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
}

.post-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow);
  color: inherit;
}

.post-card:focus-visible {
  border-radius: var(--radius-lg);
}

.post-card time {
  color: var(--subtle);
  font-size: 0.875rem;
}

.post-card h3 {
  margin-top: 6px;
}

.post-card p {
  margin-top: 8px;
  color: var(--subtle);
}

.post-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--blue-stage);
  color: var(--white);
}

.post-art svg {
  width: 56px;
  height: 56px;
}

.article-meta {
  margin-top: 18px;
  color: var(--subtle);
  font-size: 0.9375rem;
}

@media (max-width: 720px) {
  .post-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* ================================================================ forms */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.form-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 1.5rem;
}

.form-card > p {
  margin-top: 8px;
  color: var(--subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field .label {
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 650;
}

.field .optional {
  color: var(--subtle);
  font-weight: 400;
}

.field input,
.field select,
.field textarea,
.tool-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--heading);
  font: 400 1rem/1.4 var(--font);
  transition:
    border-color 0.12s ease-out,
    box-shadow 0.12s ease-out;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646a76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.tool-input:hover {
  border-color: var(--grey-400);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.tool-input:focus-visible {
  border-color: var(--focus);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 3px var(--halo);
}

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

.field .hint {
  color: var(--subtle);
  font-size: 0.8125rem;
}

.field .error {
  color: var(--danger);
  font-size: 0.8125rem;
  font-weight: 550;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--body);
  font-size: 0.9375rem;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.form-status.is-shown {
  display: flex;
  gap: 12px;
}

.form-status svg {
  width: 22px;
  height: 22px;
}

.form-status--ok {
  background: var(--success-soft);
  color: #0d542b;
}

.form-status--error {
  background: var(--danger-soft);
  color: #791112;
}

.form-aside h2 {
  font-size: 1.375rem;
}

.form-aside .steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.form-aside .steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 14px;
  padding: 18px;
}

.form-aside .steps li::before {
  grid-row: span 2;
  margin: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 960px) {
  .form-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .form-card {
    padding: 24px 20px;
  }

  .form-grid,
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================================================================ platforms */

.platforms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

@media (max-width: 960px) {
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

a.platform:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

a.platform:focus-visible {
  border-radius: var(--radius-lg);
}

.platform .icon-tile {
  width: 44px;
  height: 44px;
}

.platform strong {
  font-size: 1rem;
}

.platform-note {
  color: var(--subtle);
  font-size: 0.8125rem;
}

.platform.is-soon {
  border-style: dashed;
  background: var(--pane);
}

.platform.is-soon .icon-tile {
  background: var(--grey-100);
  color: var(--grey-500);
}

/* ================================================================ footer */

.site-footer {
  padding-block: 72px 40px;
  background: var(--slate);
  color: var(--slate-text);
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  grid-column: 1 / -1;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--slate-line);
}

.footer-brand p {
  max-width: 34em;
  color: var(--slate-subtle);
  font-size: 0.9375rem;
}

.footer-col h2,
.footer-platforms h2 {
  margin-bottom: 14px;
  color: var(--slate-subtle);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  color: var(--slate-text);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-col .tag {
  margin-left: 6px;
  font-size: 0.5625rem;
}

.footer-platforms {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--slate-line);
}

.tile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 8px;
  list-style: none;
}

.tile-row a,
.tile-row li > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 70px;
  color: var(--slate-text);
  font-size: 0.75rem;
  text-align: center;
  text-decoration: none;
}

.tile-row a:focus-visible {
  border-radius: 12px;
}

.tile-row .tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--slate-line);
  border-radius: 50%;
  background: var(--slate-3);
  color: var(--white);
}

.tile-row .tile svg {
  width: 22px;
  height: 22px;
}

.tile-row a:hover .tile {
  border-color: var(--brand);
  background: rgb(60 131 246 / 0.2);
}

.tile-row .is-soon .tile {
  border-style: dashed;
  background: transparent;
  color: var(--slate-subtle);
}

.tile-note {
  display: block;
  margin-top: -4px;
  color: var(--slate-subtle);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-line);
  color: var(--slate-subtle);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
}

.footer-legal a {
  color: var(--slate-text);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding-block: 56px 96px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .footer-platforms {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile-row a,
  .tile-row li > span {
    width: 66px;
  }
}

/* ================================================================ plan helper */

.helper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.helper > * {
  pointer-events: auto;
}

.helper-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 20px 8px 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--button);
  color: var(--white);
  font: 700 0.9375rem var(--font);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition:
    transform 0.2s ease-out,
    opacity 0.2s ease-out,
    background-color 0.15s ease-out;
}

.helper-launch:hover {
  background: var(--button-hover);
}

.helper-launch:focus-visible {
  border-radius: var(--radius-pill);
}

.helper-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
}

.helper-avatar svg {
  width: 20px;
  height: 20px;
}

.helper.is-waiting .helper-launch {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.helper-panel {
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.helper-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-bottom: 1px solid var(--blue-200);
  background: var(--tint-band);
}

.helper-head .helper-avatar {
  background: var(--brand);
  color: var(--white);
}

.helper-head h2 {
  color: var(--heading);
  font-size: 1rem;
  letter-spacing: 0;
}

.helper-head p {
  color: var(--grey-600);
  font-size: 0.8125rem;
}

.helper-head > div {
  flex: 1;
}

.helper-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.7);
  color: var(--heading);
  cursor: pointer;
}

.helper-close:hover {
  background: var(--white);
}

.helper-close:focus-visible {
  border-radius: 50%;
}

.helper-close svg {
  width: 18px;
  height: 18px;
}

.helper-body {
  padding: 18px;
}

.helper-msg {
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  background: var(--canvas);
  color: var(--heading);
  font-size: 0.9375rem;
}

.helper-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.helper-replies button,
.helper-replies a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 14px;
  border: 1.5px solid var(--blue-200);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--brand-deep);
  font: 650 0.875rem var(--font);
  text-decoration: none;
  cursor: pointer;
}

.helper-replies button:hover,
.helper-replies a:hover {
  border-color: var(--brand);
  background: var(--blue-50);
}

.helper-replies .is-primary {
  border-color: var(--brand);
}

.helper-replies :focus-visible {
  border-radius: var(--radius-pill);
}

@media (max-width: 720px) {
  .helper {
    right: 12px;
    bottom: 12px;
  }

  .helper-launch {
    min-height: 48px;
    padding: 6px;
  }

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

/* ================================================================ tools */

.tool {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.tool-output {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
}

.tool-output output,
.tool-output .value {
  flex: 1;
  min-width: 0;
  color: var(--heading);
  font: 500 1.375rem/1.4 var(--font-mono);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.pw-digit {
  color: var(--brand-deep);
}

.pw-symbol {
  color: #c10007;
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 32px;
  margin-top: 26px;
}

.tool-controls .field--full {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-row input[type="range"] {
  flex: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  accent-color: var(--brand);
}

.range-row output {
  min-width: 3ch;
  color: var(--heading);
  font-weight: 750;
  text-align: right;
}

.toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--heading);
  font-size: 0.9375rem;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  opacity: 0;
}

.switch {
  position: relative;
  width: 40px;
  height: 24px;
  border: 1.5px solid var(--grey-400);
  border-radius: var(--radius-pill);
  background: var(--white);
  flex-shrink: 0;
  transition: background-color 0.15s ease-out;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--grey-400);
  transition:
    transform 0.15s ease-out,
    background-color 0.15s ease-out;
}

.toggle input:checked + .switch {
  border-color: var(--brand);
  background: var(--blue-100);
}

.toggle input:checked + .switch::after {
  background: var(--brand);
  transform: translateX(16px);
}

.toggle input:focus-visible + .switch {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--focus), 0 0 0 7px var(--halo);
}

.meter {
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--grey-100);
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--danger);
  transition:
    width 0.25s ease-out,
    background-color 0.25s ease-out;
}

.meter[data-level="1"] span {
  background: #e7000b;
}

.meter[data-level="2"] span {
  background: #d08700;
}

.meter[data-level="3"] span {
  background: #00a63e;
}

.meter[data-level="4"] span {
  background: #008236;
}

.tool-result {
  margin-top: 20px;
}

.tool-result h3 {
  font-size: 1.125rem;
}

.tool-result ul {
  margin-top: 10px;
  padding-left: 20px;
}

.tool-result li + li {
  margin-top: 4px;
}

.tool-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.tool-stats div {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--canvas);
}

.tool-stats dt {
  color: var(--subtle);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-stats dd {
  margin: 4px 0 0;
  color: var(--heading);
  font-size: 1.125rem;
  font-weight: 750;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--grey-600);
  cursor: pointer;
}

.icon-btn:hover {
  background: rgb(60 131 246 / 0.1);
  color: var(--brand-deep);
}

.icon-btn:focus-visible {
  border-radius: 50%;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.no-js .needs-js {
  display: none !important;
}

.js .no-js-only {
  display: none !important;
}

@media (max-width: 720px) {
  .tool {
    padding: 22px 18px;
  }

  .tool-controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-output output,
  .tool-output .value {
    font-size: 1.125rem;
  }

  .tool-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================================================================ mock-ups (decorative) */

.mock {
  color: var(--heading);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  user-select: none;
}

.mock-window {
  overflow: hidden;
  border: 1px solid rgb(11 13 17 / 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--canvas);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-200);
}

.mock-url {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 320px;
  height: 24px;
  margin-inline: auto;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--subtle);
  font-size: 11px;
}

.mock-url svg {
  width: 11px;
  height: 11px;
  color: var(--grey-500);
}

.mock-tile {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
}

.mock-tile svg {
  width: 17px;
  height: 17px;
}

.t-login {
  background: var(--item-login-bg);
  color: var(--item-login-fg);
}

.t-note {
  background: var(--item-note-bg);
  color: var(--item-note-fg);
}

.t-card {
  background: var(--item-card-bg);
  color: var(--item-card-fg);
}

.t-identity {
  background: var(--item-identity-bg);
  color: var(--item-identity-fg);
}

.t-ssh {
  background: var(--item-ssh-bg);
  color: var(--item-ssh-fg);
}

.t-org {
  background: var(--blue-100);
  color: var(--brand);
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.mock-pill svg {
  width: 12px;
  height: 12px;
}

.mv-row > .mock-pill:last-child,
.code-card > .totp-ring:last-child {
  margin-left: auto;
}

.mock-pill--solid {
  background: var(--brand);
  color: var(--white);
}

.mock-pill--green {
  background: var(--success-soft);
  color: var(--success);
}

.mock-pill--orange {
  background: var(--warning-soft);
  color: var(--warning);
}

.mock-pill--red {
  background: var(--danger-soft);
  color: var(--danger);
}

.mock-pill--grey {
  background: var(--grey-100);
  color: var(--grey-600);
}

.mock-muted {
  color: var(--subtle);
  font-size: 11px;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  color: var(--subtle);
  font-size: 12px;
  white-space: nowrap;
}

.mock-search svg {
  width: 14px;
  height: 14px;
}

/* Three-pane vault */

.mv {
  display: grid;
  grid-template-columns: 138px minmax(0, 0.9fr) minmax(0, 1.25fr);
  height: 412px;
  background: var(--canvas);
}

.mv-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  font-size: 12px;
}

.mv-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 12px;
  color: var(--brand);
  font: 800 13px var(--font-mark);
  letter-spacing: -0.01em;
}

.mv-brand svg {
  width: 16px;
  height: 18px;
}

.mv-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--heading);
  white-space: nowrap;
}

.mv-nav svg {
  width: 14px;
  height: 14px;
  color: var(--subtle);
}

.mv-nav.is-on {
  background: var(--white);
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}

.mv-nav .count {
  margin-left: auto;
  color: var(--subtle);
  font-size: 11px;
}

.mv-group {
  margin: 10px 8px 4px;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mv-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--line-soft);
  background: var(--pane);
}

.mv-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.mv-chips {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.mv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.mv-row.is-on {
  background: var(--blue-100);
}

.mv-row-text {
  min-width: 0;
}

.mv-row-text b {
  display: block;
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mv-row-text span {
  display: block;
  overflow: hidden;
  color: var(--subtle);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mv-label {
  padding: 8px 12px 4px;
  color: var(--subtle);
  font-size: 10.5px;
  font-weight: 650;
}

.mv-detail {
  min-width: 0;
  padding: 16px;
  border-left: 1px solid var(--line-soft);
  background: var(--pane);
}

.mv-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-detail-head .mock-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.mv-detail-head b {
  font-size: 15px;
}

.mv-detail-head .mock-pill {
  margin-left: auto;
}

.fieldbox {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.fieldbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
}

.fieldbox-row + .fieldbox-row {
  border-top: 1px solid var(--line-soft);
}

.fieldbox-row > svg {
  width: 15px;
  height: 15px;
  color: var(--item-login-fg);
}

.fb-text {
  flex: 1;
  min-width: 0;
}

.fb-text span {
  display: block;
  color: var(--subtle);
  font-size: 10.5px;
}

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

.fb-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.fb-actions {
  display: flex;
  gap: 6px;
  color: var(--subtle);
}

.fb-actions svg {
  width: 14px;
  height: 14px;
}

.totp-ring {
  position: relative;
  width: 22px;
  height: 22px;
}

.totp-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

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

.ring-bg {
  stroke: var(--grey-100);
}

.ring-fg {
  stroke: var(--brand);
  stroke-dasharray: 56.5;
  stroke-dashoffset: 18;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: no-preference) {
  .ring-fg.is-live {
    animation: totp 30s linear infinite;
  }
}

@keyframes totp {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: 56.5;
  }
}

@media (max-width: 720px) {
  .mv {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    height: 360px;
  }

  .mv .mv-side {
    display: none;
  }

  .mock {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .mv {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .mv .mv-list {
    display: none;
  }

  .mv .mv-detail {
    border-left: 0;
  }
}

/* Extension popup */

.popup {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(11 13 17 / 0.08);
  border-radius: 16px;
  background: var(--pane);
  box-shadow: var(--shadow-lg);
}

.popup-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--canvas);
}

.popup-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 11px;
  font-weight: 750;
}

.popup-head .mock-search {
  flex: 1;
  background: var(--white);
}

.popup-plus {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
}

.popup-plus svg {
  width: 16px;
  height: 16px;
}

.popup-chips {
  display: flex;
  gap: 6px;
  padding: 10px 12px 4px;
}

.popup-section {
  padding: 4px 0 8px;
}

.popup-section .mv-row .mock-pill {
  margin-left: auto;
}

/* Admin console */

.ma {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  height: 392px;
  background: var(--canvas);
}

.ma-main {
  overflow: hidden;
  padding: 16px;
  border-left: 1px solid var(--line-soft);
  background: var(--pane);
}

.ma-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ma-head b {
  font-size: 15px;
}

.ma-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ma-table th {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--subtle);
  font-size: 10.5px;
  font-weight: 650;
  text-align: left;
}

.ma-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.ma-person {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ma-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--white);
  font-size: 10px;
  font-weight: 750;
}

.av-1 {
  background: #0e7c66;
}

.av-2 {
  background: #8200db;
}

.av-3 {
  background: var(--brand);
}

.av-4 {
  background: #008236;
}

.av-5 {
  background: #c71800;
}

@media (max-width: 720px) {
  .ma {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .ma .mv-side,
  .ma-table .hide-sm {
    display: none;
  }
}

/* Panels */

.panel {
  overflow: hidden;
  border: 1px solid rgb(11 13 17 / 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-head b {
  font-size: 14px;
}

.panel-body {
  padding: 16px;
}

.mock-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--canvas);
}

.mock-tabs span {
  flex: 1;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: var(--subtle);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.mock-tabs .is-on {
  background: var(--white);
  color: var(--heading);
  box-shadow: var(--shadow-sm);
}

.gen-output {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
  font: 500 15px/1.4 var(--font-mono);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.gen-output > span:first-child {
  flex: 1;
}

.gen-output svg {
  width: 16px;
  height: 16px;
  color: var(--subtle);
}

.gen-slider {
  position: relative;
  height: 6px;
  margin: 18px 0 6px;
  border-radius: 999px;
  background: var(--grey-100);
}

.gen-slider i {
  position: absolute;
  inset: 0 45% 0 0;
  border-radius: inherit;
  background: var(--brand);
}

.gen-slider b {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
}

.mock-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.mock-switch-row:last-child {
  border-bottom: 0;
}

.mock-switch {
  position: relative;
  width: 32px;
  height: 19px;
  border: 1.5px solid var(--grey-400);
  border-radius: 999px;
  background: var(--white);
  flex-shrink: 0;
}

.mock-switch::after {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grey-400);
}

.mock-switch.is-on {
  border-color: var(--brand);
  background: var(--blue-100);
}

.mock-switch.is-on::after {
  background: var(--brand);
  transform: translateX(13px);
}

.health-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.health-stats div {
  padding: 12px;
  border-radius: 12px;
  background: var(--canvas);
}

.health-stats b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.health-stats span {
  color: var(--subtle);
  font-size: 11px;
}

.event-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row time {
  color: var(--subtle);
  font-size: 11px;
}

.event-row .ip {
  color: var(--subtle);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.send-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px dashed var(--blue-300);
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--brand-deep);
  font: 500 11.5px var(--font-mono);
  white-space: nowrap;
}

.send-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.send-link svg {
  width: 14px;
  height: 14px;
}

.code-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.code-card .code {
  color: var(--heading);
  font: 600 22px/1.2 var(--font-mono);
  letter-spacing: 0.08em;
}

.code-card .totp-ring {
  width: 28px;
  height: 28px;
}

.prompt {
  max-width: 340px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(11 13 17 / 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.prompt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--canvas);
}

.prompt-head svg {
  width: 18px;
  height: 20px;
  color: var(--brand);
}

.prompt-body {
  padding: 16px;
}

.prompt-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.prompt-actions span {
  flex: 1;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.prompt-actions span.is-primary {
  background: var(--brand);
  color: var(--white);
}

.terminal {
  overflow: hidden;
  border-radius: 16px;
  background: var(--slate-2);
  color: #e6e8ec;
  box-shadow: var(--shadow-lg);
}

.terminal .mock-bar {
  border-bottom-color: var(--slate-line);
  background: var(--slate-3);
}

.terminal .mock-dots i {
  background: rgb(255 255 255 / 0.2);
}

.terminal .mock-url {
  background: rgb(255 255 255 / 0.06);
  color: var(--slate-subtle);
}

.terminal pre {
  margin: 0;
  padding: 18px;
  font: 12.5px/1.75 var(--font-mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

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

.t-ok {
  color: #86efac;
}

.t-dim {
  color: #9aa0aa;
}

.stack-visual {
  position: relative;
}

.float {
  position: absolute;
  z-index: 2;
}

.float--br {
  right: -14px;
  bottom: -20px;
}

.float--tl {
  top: -20px;
  left: -16px;
}

.float--tr {
  top: -20px;
  right: -14px;
}

@media (max-width: 720px) {
  .float--br,
  .float--tl,
  .float--tr {
    position: static;
    margin-top: 12px;
  }
}

.sparkle {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

/* Key flow (security) */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.flow li {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.flow li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 12px;
  height: 2px;
  background: var(--blue-300);
}

.flow .icon-tile {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.flow h3 {
  font-size: 1rem;
}

.flow p {
  margin-top: 6px;
  color: var(--subtle);
  font-size: 0.875rem;
}

@media (max-width: 960px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow li + li::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

.kv {
  display: grid;
  grid-template-columns: minmax(140px, max-content) minmax(0, 1fr);
  gap: 10px 24px;
  margin: 0;
}

.kv dt {
  color: var(--heading);
  font-weight: 650;
}

.kv dd {
  margin: 0;
}

@media (max-width: 560px) {
  .kv {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .kv dd {
    margin-bottom: 12px;
  }
}

/* Press kit */

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  list-style: none;
}

.swatch {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.swatch i {
  display: block;
  height: 72px;
}

.swatch div {
  padding: 10px 12px;
  font-size: 0.8125rem;
}

.swatch b {
  display: block;
  color: var(--heading);
}

.sw-brand {
  background: #3c83f6;
}

.sw-white {
  background: #ffffff;
}

.sw-tint {
  background: #dbeafe;
}

.sw-wash {
  background: #eff6ff;
}

.sw-ink {
  background: #14171e;
}

.sw-canvas {
  background: #0b0d11;
}

.logo-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.logo-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.logo-tile .art {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 28px;
  background: var(--canvas);
}

.logo-tile .art--dark {
  background: var(--slate);
}

.logo-tile .art--blue {
  background: var(--brand);
}

.logo-tile .art img {
  width: auto;
  max-height: 64px;
}

.logo-tile .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .logo-tiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 404 */

.not-found .code {
  color: var(--brand-text);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

/* ================================================================ motion and print */

@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;
  }
}

@media print {
  .announce,
  .site-header,
  .site-footer,
  .helper,
  .subnav {
    display: none !important;
  }
}

/* Plan cards outside the pricing page show the first billing period only. */
.plans-embed .price + .price {
  display: none;
}

main:focus-visible {
  box-shadow: none;
}

.narrow-list {
  max-width: 760px;
  margin-inline: auto;
}

/* Features page: Business | Personal filter. Browsers without :has() show every card. */
.features-page:has(#for-personal:checked) [data-for="business"],
.features-page:has(#for-business:checked) [data-for="personal"] {
  display: none;
}

.h3-size {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.tool-output input.value {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 500 1.25rem/1.4 var(--font-mono);
}

.tool-output input.value:focus-visible {
  box-shadow: none;
}

.tool-output:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px var(--halo);
}

.tool .choice .segmented {
  flex-wrap: wrap;
}

/* Eyebrows keep their style inside blocks that restyle paragraphs. */
.row-copy p.eyebrow,
.audience-card p.eyebrow,
.cta-band p.eyebrow,
.card p.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-text);
  font-size: 0.8125rem;
}

.field label.check {
  color: var(--body);
  font-size: 0.9375rem;
  font-weight: 400;
}
