/*
 * KeyCare Pass website. One stylesheet for every page.
 *
 * Ivory and sand surfaces, olive actions and charcoal text. Manrope for interface text,
 * Georgia for editorial headings and the wordmark. Pill buttons, 8/12/24px radii and
 * an olive 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;

  /* Olive accents. The historical --blue-* token names remain compatibility aliases. */
  --brand: #5e674f;
  --brand-strong: #5e674f;
  --brand-deep: #5e674f;
  --brand-text: #5e674f;
  --blue-50: #f1f1e7;
  --blue-100: #e9e1d4;
  --blue-200: rgb(94 103 79 / 0.28);
  --blue-300: rgb(94 103 79 / 0.45);
  --blue-400: rgb(94 103 79 / 0.7);
  --brand-soft: rgb(94 103 79 / 0.08);
  --brand-soft-2: rgb(94 103 79 / 0.16);

  /* Primary buttons: warm white on olive. */
  --button: var(--brand);
  --button-hover: var(--brand);

  /* Neutral charcoal and greys, no navy. */
  --ink: #252820;
  --canvas: #f6f2eb;
  --pane: #fcfaf5;
  --white: #fffdf8;
  --grey-100: #e9e1d4;
  --grey-200: #d7d2c6;
  --grey-300: #b9bcad;
  --grey-400: #929783;
  --grey-500: #666b5c;
  --grey-600: #505746;

  /* Dark sections (the footer): charcoal canvas, panels, raised surfaces and borders. */
  --slate: #151813;
  --slate-2: #252820;
  --slate-3: #30332b;
  --slate-line: #3e4238;
  --slate-text: #ddd9cd;
  --slate-subtle: #929783;

  --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(94 103 79 / 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: #e9e1d4;
  --item-login-fg: #5e674f;
  --item-note-bg: #e9e1d4;
  --item-note-fg: #5e674f;
  --item-card-bg: #e9e1d4;
  --item-card-fg: #5e674f;
  --item-identity-bg: #e9e1d4;
  --item-identity-fg: #5e674f;
  --item-ssh-bg: #e9e1d4;
  --item-ssh-fg: #5e674f;

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

  --shadow-sm: 0 1px 2px rgb(21 24 19 / 0.05), 0 2px 8px rgb(94 103 79 / 0.07);
  --shadow: 0 1px 2px rgb(21 24 19 / 0.05), 0 10px 28px rgb(94 103 79 / 0.13);
  --shadow-lg: 0 2px 6px rgb(21 24 19 / 0.06), 0 28px 60px rgb(94 103 79 / 0.2);

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

  --font:
    Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --font-mark: Georgia, "Times New Roman", 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: #f6f2eb;
  --tint-band: #e9e1d4;
  --blue-stage: #5e674f;
}

@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(94 103 79 / 0.22);
  color: var(--ink);
}

input,
progress {
  accent-color: var(--brand);
}

: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 253 248 / 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(94 103 79 / 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(94 103 79 / 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 253 248 / 0.14);
  --btn-fg-hover: var(--white);
  --btn-border: rgb(255 253 248 / 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 253 248 / 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, #e9e1d4 0%, #f1f1e7 50%, #e9e1d4 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(94 103 79 / 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 253 248 / 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(94 103 79 / 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;
  max-width: calc(100vw - var(--gutter) * 2);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.mega--personal {
  /* Reserve room for both the fixed-width plans panel and readable feature links. */
  width: 620px;
}

.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 253 248 / 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;
  min-width: 0;
  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(94 103 79 / 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 253 248 / 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;
}

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

.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 253 248 / 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;
}

/* The plans on the trial page: the price and the button line up at the bottom. */
.trial-plan .trial-plan-price {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.9375rem;
}

.trial-plan-price strong {
  color: var(--heading);
}

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: 0;
  overflow: hidden;
  padding: 44px;
  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;
  }
}

/* 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: 28px 36px 36px;
}

.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 {
  min-width: 0;
}

@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);
}

/* ================================================================ Calls to action */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-block: 48px;
  border-top: 1px solid var(--line);
}

.cta-band--single {
  grid-template-columns: minmax(0, 1fr);
}

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

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

@media (max-width: 900px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-block: 32px;
  }
}

/* ================================================================ 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, #f1f1e7 0%, #fffdf8 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(21 24 19 / 0.08),
    0 2px 8px rgb(94 103 79 / 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--business[value="three-year"]:checked)
  #business
  .price[data-period]:not([data-period="three-year"]),
.pricing:has(.period-input--business[value="five-year"]:checked)
  #business
  .price[data-period]:not([data-period="five-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, #f1f1e7 0%, #fffdf8 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-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
  color: var(--subtle);
  font-size: 0.8125rem;
}

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

.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 */

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

.app-download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  scroll-margin-top: 120px;
}

.app-download-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-download-heading h2 {
  font-size: 1.75rem;
}

.app-download-heading p,
.app-download > p,
.app-download .actions {
  margin: 0;
}

.app-download > .actions,
.app-download > .app-review-status {
  margin-top: auto;
}

.app-review-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
}

.app-review-status svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.app-release-links {
  color: var(--subtle);
}

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

.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(94 103 79 / 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 253 248 / 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(94 103 79 / 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);
  }
}

/* ================================================================ Genuine product captures */

.product-capture {
  margin: 0;
  min-width: 0;
}

.product-capture img {
  display: block;
  width: 100%;
  height: auto;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.product-capture--mobile img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero--center .hero-visual {
  max-width: 1120px;
  margin-inline: auto;
}

.row--copy {
  grid-template-columns: minmax(0, 1fr);
  max-width: 800px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.bento-card--copy .bento-text {
  padding-bottom: 36px;
}

@media (max-width: 720px) {
  .product-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }


}

/* 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: #5e674f;
}

.sw-white {
  background: #fffdf8;
}

.sw-tint {
  background: #e9e1d4;
}

.sw-wash {
  background: #f1f1e7;
}

.sw-ink {
  background: #252820;
}

.sw-canvas {
  background: #151813;
}

.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;
}

/* The editorial identity shared with the extension and store artwork. */
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

/* Enterprise marketing system: existing ivory, olive and charcoal identity. */
.utility-bar { background: var(--slate); color: var(--slate-text); font-size: 11px; letter-spacing: .035em; }
.utility-bar > .container, .utility-bar > .container > div { display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.utility-bar > .container { min-height: 36px; }
.utility-bar a { color: inherit; text-decoration: none; }
.utility-bar a:hover { color: white; text-decoration: underline; }
.site-header { background: var(--white); }
.hero { background: var(--canvas) url('/assets/img/security-landscape.svg') center / cover no-repeat; padding-block: 92px 100px; border-bottom: 1px solid var(--line-soft); }
.hero h1 { font-size: clamp(2.6rem, 4.2vw, 4.75rem); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero .lead { font-size: 1.08rem; line-height: 1.85; max-width: 510px; }
.hero .eyebrow { font-size: 10px; letter-spacing: .16em; font-family: Manrope, sans-serif; font-weight: 750; }
.hero-grid { gap: 54px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.btn { border-radius: 6px; }
.product-spotlight { position: relative; padding: 22px; background: var(--white); border: 1px solid #d0d2c1; border-radius: 12px; box-shadow: 0 28px 70px -30px rgb(37 40 32 / .3); }
.spotlight-label { display: flex; align-items: center; gap: 8px; color: var(--brand); font-size: 9px; letter-spacing: .12em; font-weight: 750; padding-bottom: 30px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.spotlight-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line-soft); margin-top: 26px; padding-top: 16px; font-size: 10px; }
.spotlight-bottom a { color: var(--brand); font-weight: 700; }
.marketing-home .hero { min-height: 630px; display: grid; align-items: center; }
.marketing-home .hero-meta { font-size: 11px; }
.marketing-home .section { padding-block: 96px; }
.section-head h2, .row-copy h2 { font-size: clamp(2rem, 3vw, 3.35rem); line-height: 1.17; }
.section-head .eyebrow { font-size: 10px; letter-spacing: .15em; }
.section-head p:not(.eyebrow) { max-width: 650px; margin-inline: auto; font-size: 1rem; line-height: 1.85; }
.audience-grid { gap: 24px; }
.audience-card { border-radius: 10px; padding: 42px; }
.audience-card h3 { max-width: 440px; font-size: 2rem; line-height: 1.2; }
.audience-card--blue { background: var(--brand); color: var(--white); }
.audience-card--blue h3, .audience-card--blue p, .audience-card--blue p.eyebrow { color: var(--white); }
.audience-card--blue .btn--primary { background: var(--white); color: var(--brand); border-color: var(--white); }
.audience-card--blue .btn--outline { color: var(--white); border-color: rgb(255 253 248 / .5); }
.audience-card--canvas { background: var(--canvas); border: 1px solid var(--line); }
.product-story { background: var(--white); }
.product-story .row { gap: 70px; padding-block: 45px; }
.product-story .row-visual { padding: 32px; background: var(--canvas); border: 1px solid var(--line-soft); border-radius: 10px; }
.product-story .row-copy .eyebrow { font-size: 10px; letter-spacing: .14em; }
.product-story .row-copy p { line-height: 1.85; }
.security-feature { background: var(--slate) url('/assets/img/security-landscape.svg') right center / cover; }
.security-feature h2, .security-feature h3 { color: var(--white); }
.security-feature p, .security-feature .section-head p, .security-feature .link-arrow { color: var(--slate-text); }
.security-feature .card { background: rgb(37 40 32 / .9); border-color: var(--slate-line); border-radius: 8px; }
.security-feature .icon-tile { color: #c4ccad; background: var(--slate-3); }
.plan-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.plan-paths > a { display: flex; flex-direction: column; gap: 18px; padding: 36px; color: var(--ink); text-decoration: none; }
.plan-paths > a + a { border-left: 1px solid var(--line); }
.plan-paths > a:hover { background: var(--brand-soft); }
.plan-paths span { font-size: 10px; letter-spacing: .1em; color: var(--brand); font-weight: 750; }
.plan-paths h3 { font-size: 1.9rem; line-height: 1.2; }
.plan-paths p { font-size: 14px; line-height: 1.8; }
.plan-paths strong { margin-top: auto; font-size: 12px; color: var(--brand); }
.pricing-section { background: var(--canvas) url('/assets/img/security-landscape.svg') center / cover; }
.site-footer { border-top: 5px solid var(--brand); }
.footer-col h2 { color: #d7d2c6; font-family: Manrope, sans-serif; }
@media (max-width: 1100px) { .hero-grid { gap: 32px; } .hero .actions { align-items: stretch; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero { padding-block: 56px 64px; } .hero-copy { max-width: 700px; } .hero-visual { max-width: 750px; width: 100%; } .marketing-home .hero { min-height: 0; } .marketing-home .section { padding-block: 64px; } .product-story .row { gap: 32px; } .plan-paths > a { padding: 24px; } }
@media (max-width: 640px) { .utility-bar > .container { min-height: 32px; justify-content: flex-end; } .utility-bar > .container > a { display: none; } .utility-bar { font-size: 10px; } .utility-bar > .container > div { gap: 20px; } .hero h1 { font-size: 2.8rem; } .hero .lead { font-size: 1rem; } .hero .actions { flex-direction: column; align-items: stretch; } .product-spotlight { padding: 16px; } .spotlight-label { padding-bottom: 20px; } .spotlight-bottom { flex-wrap: wrap; } .audience-card { padding: 28px; } .audience-card h3 { font-size: 1.8rem; } .plan-paths { grid-template-columns: minmax(0, 1fr); } .plan-paths > a + a { border-left: 0; border-top: 1px solid var(--line); } .product-story .row-visual { padding: 16px; } .marketing-home .section { padding-block: 52px; } }

/* Give plan choices the same full-width hierarchy as the product pages. */
.pricing-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
.pricing-intro { display: block; text-align: center; }
.pricing-intro h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
.pricing-intro .lead { max-width: 680px; margin-inline: auto; }
.pricing-controls { margin-top: 30px; }
.pricing-controls .period-group { max-width: 780px; margin-inline: auto; }
.pricing-controls .period-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.pricing-controls .period-group label { text-align: left; }
@media (max-width: 640px) { .pricing-controls .period-group { gap: 6px 18px; } }

.price-billing { display: block; margin-top: 10px; font-size: 12px; line-height: 1.6; color: var(--subtle); font-weight: 400; }
.volume-offer { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 24px 28px; margin-bottom: 40px; background: var(--brand-soft); border: 1px solid var(--blue-200); border-radius: 8px; }
.volume-offer p { font-size: 13px; margin-top: 8px; }
.pricing:has(.period-input--personal[value="three-year"]:checked) [data-audience="personal"] .price[data-period]:not([data-period="three-year"]) { display: none; }
@media (max-width: 640px) { .volume-offer { flex-direction: column; align-items: flex-start; } }

/* Native product replicas carry their own application chrome and transparent edges. */
.product-spotlight { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.spotlight-label, .spotlight-bottom { display: none; }
.product-story .row-visual { padding: 0; border: 0; border-radius: 0; background: transparent; }
.hero .product-capture { margin-inline: -12px; }
.product-gallery { align-items: center; }
@media (max-width: 640px) { .hero .product-capture { margin-inline: -6px; } }
