/* Peoplevero site styles.
   Every color goes through a token. Light tokens live on :root, dark tokens
   are applied by [data-theme-choice=dark], by the system preference when the
   choice is "system", and inside .section-dark (a dark band in both themes). */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --header-h: 56px;

  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fafafb;
  --hover: #ededf1;
  --chip: #f1f1f4;
  --track: #e8e8ed;

  --ink: #1d1d1f;
  --ink-2: #636369;
  --ink-3: #8e8e93;
  --line: #d9d9de;
  --line-2: #e9e9ee;

  --accent: #2f5bea;
  --accent-hover: #1f44c4;
  --accent-soft: #eef2fd;
  --btn: #2f5bea;
  --btn-hover: #1f44c4;
  --btn-ink: #ffffff;
  --ring: rgba(47, 91, 234, .45);

  --ok: #1e7b34;
  --ok-bg: #e6f4ea;
  --warn: #9a4a06;
  --warn-bg: #fdf1e2;
  --bad: #b42318;
  --bad-bg: #fdecec;
  --violet: #6a3fc1;
  --violet-bg: #f0eafb;
  --blue-bg: #e2e9fd;

  --header: rgba(255, 255, 255, .82);
  --header-solid: #ffffff;
  --header-line: rgba(0, 0, 0, .08);
  --band: #0d0d10;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 24px rgba(0, 0, 0, .06);
  --shadow-pop: 0 12px 40px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .06);
  --frame: #f5f5f7;
  --frame-line: #e6e6eb;
  --shot-filter: none;
}

/* Dark tokens. Kept in two identical blocks: one for an explicit choice and
   the .section-dark band, one for "system" when the OS is dark. */
:root[data-theme-choice="dark"],
.section-dark {
  --bg: #0b0b0d;
  --bg-alt: #151517;
  --surface: #1c1c1f;
  --surface-2: #18181b;
  --hover: #202024;
  --chip: #2a2a2f;
  --track: #2c2c32;

  --ink: #f2f2f5;
  --ink-2: #a3a3ab;
  --ink-3: #6f6f78;
  --line: #313137;
  --line-2: #26262b;

  --accent: #8aabff;
  --accent-hover: #adc4ff;
  --accent-soft: #18213b;
  --btn: #3460ee;
  --btn-hover: #4a72f2;
  --btn-ink: #ffffff;
  --ring: rgba(138, 171, 255, .55);

  --ok: #5fd27f;
  --ok-bg: rgba(52, 199, 89, .14);
  --warn: #f3ac55;
  --warn-bg: rgba(255, 159, 10, .14);
  --bad: #ff7a70;
  --bad-bg: rgba(255, 69, 58, .15);
  --violet: #bca2ff;
  --violet-bg: rgba(175, 130, 255, .16);
  --blue-bg: rgba(94, 130, 255, .2);

  --header: rgba(11, 11, 13, .78);
  --header-solid: #0b0b0d;
  --header-line: rgba(255, 255, 255, .08);
  --band: #121215;

  --shadow-card: 0 0 0 1px #2a2a30;
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, .55), 0 0 0 1px #313137;
  --frame: #161619;
  --frame-line: #2a2a30;
  --shot-filter: brightness(.92);
}

@media (prefers-color-scheme: dark) {
  :root[data-theme-choice="system"] {
    --bg: #0b0b0d;
    --bg-alt: #151517;
    --surface: #1c1c1f;
    --surface-2: #18181b;
    --hover: #202024;
    --chip: #2a2a2f;
    --track: #2c2c32;

    --ink: #f2f2f5;
    --ink-2: #a3a3ab;
    --ink-3: #6f6f78;
    --line: #313137;
    --line-2: #26262b;

    --accent: #8aabff;
    --accent-hover: #adc4ff;
    --accent-soft: #18213b;
    --btn: #3460ee;
    --btn-hover: #4a72f2;
    --btn-ink: #ffffff;
    --ring: rgba(138, 171, 255, .55);

    --ok: #5fd27f;
    --ok-bg: rgba(52, 199, 89, .14);
    --warn: #f3ac55;
    --warn-bg: rgba(255, 159, 10, .14);
    --bad: #ff7a70;
    --bad-bg: rgba(255, 69, 58, .15);
    --violet: #bca2ff;
    --violet-bg: rgba(175, 130, 255, .16);
    --blue-bg: rgba(94, 130, 255, .2);

    --header: rgba(11, 11, 13, .78);
    --header-solid: #0b0b0d;
    --header-line: rgba(255, 255, 255, .08);
    --band: #121215;

    --shadow-card: 0 0 0 1px #2a2a30;
    --shadow-pop: 0 16px 48px rgba(0, 0, 0, .55), 0 0 0 1px #313137;
    --frame: #161619;
    --frame-line: #2a2a30;
    --shot-filter: brightness(.92);
    color-scheme: dark;
  }
}

:root[data-theme-choice="dark"] { color-scheme: dark; }
:root[data-theme-choice="light"] { color-scheme: light; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.sr, .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 60;
  background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 980px;
}
.skip:focus { top: 12px; box-shadow: var(--shadow-pop); }

/* ---------- Layout ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-mid { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-read { max-width: 700px; margin: 0 auto; padding: 0 24px; }

.section { padding: 112px 0; }
.section-s { padding: 80px 0; }
.section.section-top, .section-s.section-top, .section-top { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--band);
  color: var(--ink);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.center { text-align: center; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.mt-xl { margin-top: 72px; }

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .section-s { padding: 56px 0; }
}

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

.hero { padding: 88px 0 0; text-align: center; }
.page-hero { padding: 80px 0 0; text-align: center; }
.hero h1, .page-hero h1 {
  max-width: 920px; margin: 0 auto;
  font-size: clamp(42px, 6.6vw, 76px);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
}
.page-hero h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.06; }
.page-hero.left { text-align: left; }
.page-hero.left h1 { margin: 0; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 12px; letter-spacing: 0; }
.lead {
  max-width: 680px; margin: 22px auto 0;
  font-size: clamp(19px, 2vw, 22px); line-height: 1.45;
  color: var(--ink-2); letter-spacing: -.012em;
}
.page-hero.left .lead { margin-left: 0; }
.ai-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.headline {
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08;
  letter-spacing: -.03em; font-weight: 700;
}
.center .headline, .headline.center { max-width: 780px; margin-left: auto; margin-right: auto; }
.subhead { margin-top: 18px; font-size: 20px; line-height: 1.45; color: var(--ink-2); }
.center .subhead { max-width: 620px; margin-left: auto; margin-right: auto; }
.small { font-size: 14px; color: var(--ink-2); }
.fine { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }

.product-hero h1 {
  font-size: 19px; line-height: 1.3; letter-spacing: -.01em;
  font-weight: 600; color: var(--accent);
}
.tagline {
  max-width: 900px; margin: 12px auto 0;
  font-size: clamp(38px, 5.8vw, 64px); line-height: 1.06;
  letter-spacing: -.035em; font-weight: 700;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border-radius: 980px; border: 1px solid var(--btn);
  background: var(--btn); color: var(--btn-ink);
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-ink); text-decoration: none; }
.btn-s { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); }
.btn-block { display: flex; width: 100%; }
span.btn { cursor: default; }

.more { font-size: 17px; font-weight: 500; }
.more::after { content: " \203A"; }
.cta-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }
.cta-row.left { justify-content: flex-start; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--header-line);
}
.nav {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.015em;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand img { width: 24px; height: 24px; }

.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links > a, .nav-drop > summary { color: var(--ink-2); }
.nav-links > a:hover, .nav-drop > summary:hover, .nav-drop[open] > summary { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

.nav-drop { position: relative; }
.nav-drop > summary {
  list-style: none; cursor: pointer; font-size: 14px;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .7;
}
.nav-drop[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: -14px; z-index: 45;
  min-width: 248px; padding: 6px;
  background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-pop);
}
.nav-drop-panel a {
  display: block; padding: 9px 12px; border-radius: 9px;
  color: var(--ink); font-size: 14px; text-decoration: none;
}
.nav-drop-panel a:hover, .nav-drop-panel a:focus-visible { background: var(--bg-alt); color: var(--ink); text-decoration: none; }

.nav-end { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-end a.plain { color: var(--ink-2); }
.nav-end a.plain:hover { color: var(--ink); text-decoration: none; }

/* Theme switch: three icon buttons in a pill. */
.theme-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 980px; background: var(--chip);
}
.theme-opt {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 28px; height: 26px; padding: 0 6px;
  border: 0; border-radius: 980px; background: transparent;
  color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer;
}
.theme-opt svg { width: 15px; height: 15px; flex: none; }
.theme-opt:hover { color: var(--ink); }
.theme-opt.is-on, .theme-opt[aria-pressed="true"] {
  background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .06);
}

/* Mobile menu */
.menu { display: none; position: static; }
.menu > summary {
  list-style: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-right: -8px; cursor: pointer; border-radius: 10px;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span, .menu > summary span::before, .menu > summary span::after {
  display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease-out, background-color .2s ease-out;
}
.menu > summary span { position: relative; }
.menu > summary span::before, .menu > summary span::after { content: ""; position: absolute; left: 0; }
.menu > summary span::before { top: -6px; }
.menu > summary span::after { top: 6px; }
.menu[open] > summary span { background: transparent; }
.menu[open] > summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] > summary span::after { transform: translateY(-6px) rotate(-45deg); }
/* The header's backdrop-filter makes it the containing block for fixed
   children, so the panel gets an explicit height instead of bottom: 0. */
.menu-panel {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--header-line);
  background: var(--header-solid);
  padding: 8px 24px 40px;
  display: flex; flex-direction: column;
}
.menu-panel a {
  color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em;
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.menu-panel a:hover { text-decoration: none; color: var(--ink-2); }
.menu-panel .btn { margin-top: 20px; font-size: 17px; border-bottom: 0; color: var(--btn-ink); padding: 0 24px; }
.menu-panel .btn:hover { color: var(--btn-ink); }
.menu-label {
  display: block; margin: 18px 0 2px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3);
}
.menu-label:first-child { margin-top: 10px; }
:root:has(.menu[open]) body { overflow: hidden; }
.nav-end:has(.menu[open]) > .btn { visibility: hidden; }
.menu-theme { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.menu-theme .menu-label { margin: 0; }
.menu-theme .theme-opt { height: 30px; padding: 0 10px; }

@media (max-width: 860px) {
  .nav-links, .nav-end > .plain, .nav-end > .theme-switch { display: none; }
  .menu { display: block; }
  .nav-end { gap: 12px; }
}
@media (max-width: 380px) {
  .nav-end > .btn { display: none; }
}

.crumbs { font-size: 13px; color: var(--ink-2); padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--ink-3); }

/* ---------- Screenshots ---------- */

.shot-fig {
  margin: 56px auto 0; padding: 8px;
  border-radius: 22px; background: var(--frame);
  box-shadow: inset 0 0 0 1px var(--frame-line);
}
.hero .shot-fig { max-width: 1080px; margin-top: 64px; }
.section-dark .shot-fig { margin-top: 48px; }
.prose .shot-fig { margin: 32px 0; }
.shot-fig picture { display: block; }
.shot {
  width: 100%; height: auto;
  border-radius: 15px; border: 1px solid var(--frame-line);
  background: var(--surface);
}
/* Only for a screenshot that has no dark capture yet. */
.shot-dim { filter: var(--shot-filter); }
@media (max-width: 760px) {
  .shot-fig { padding: 5px; border-radius: 14px; margin-top: 40px; }
  .shot { border-radius: 10px; }
}

/* ---------- Product illustrations ---------- */

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > .text { flex: 1 1 420px; }
.split > .media { flex: 1 1 380px; }

.panel { background: var(--bg-alt); border-radius: var(--radius-l); padding: 40px; }
.card { background: var(--surface); border-radius: var(--radius-m); padding: 22px; box-shadow: var(--shadow-card); }
.card-title { font-weight: 600; }
.card-sub { font-size: 13px; color: var(--ink-2); }
.window-title { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }

.person { display: flex; align-items: center; gap: 12px; }
.person b { display: block; font-weight: 500; }
.person i { display: block; font-style: normal; font-size: 12px; color: var(--ink-2); }

.note-box {
  display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 13px 14px;
  border-radius: var(--radius-s); background: var(--chip); font-size: 14px; color: var(--ink-2);
}
.lock { flex: none; }
.lock rect, .lock path { stroke: currentColor; }

.chip {
  display: inline-block; border-radius: 980px; padding: 4px 10px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  background: var(--chip); color: var(--ink);
}
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); }
.chip-muted { color: var(--ink-2); }
.pill { display: inline-block; background: var(--chip); border-radius: 980px; padding: 5px 12px; font-size: 13px; color: var(--ink); }

.avatar {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; background: var(--blue-bg); color: var(--accent);
}
.avatar-l { width: 40px; height: 40px; font-size: 14px; }
.av-green { background: var(--ok-bg); color: var(--ok); }
.av-orange { background: var(--warn-bg); color: var(--warn); }
.av-purple { background: var(--violet-bg); color: var(--violet); }
.stack { display: flex; align-items: center; }
.stack .avatar { width: 34px; height: 34px; border: 2px solid var(--surface); }
.stack .avatar + .avatar { margin-left: -8px; }
/* Tinted avatars need an opaque base so the overlap reads cleanly. */
.stack .avatar { background-color: var(--surface); background-image: linear-gradient(var(--blue-bg), var(--blue-bg)); }
.stack .av-green { background-image: linear-gradient(var(--ok-bg), var(--ok-bg)); }
.stack .av-orange { background-image: linear-gradient(var(--warn-bg), var(--warn-bg)); }
.stack .av-purple { background-image: linear-gradient(var(--violet-bg), var(--violet-bg)); }

.bar { height: 8px; border-radius: 8px; background: var(--track); overflow: hidden; display: flex; }
.bar-s { height: 6px; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--btn); }
.bar > .warn { background: #f5a623; }
.bar > .bad { background: #e5484d; }
.w-10 { width: 10%; } .w-19 { width: 19%; } .w-62 { width: 62%; } .w-71 { width: 71%; }
.w-76 { width: 76%; } .w-78 { width: 78%; } .w-84 { width: 84%; } .w-88 { width: 88%; }

.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 18px; margin-top: 56px;
}
.tiles-2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); margin-top: 0; }
.tile {
  background: var(--bg-alt); border-radius: var(--radius-l); padding: 32px;
  display: flex; flex-direction: column; gap: 12px; color: var(--ink);
  border: 1px solid transparent;
  transition: background-color .18s ease-out, border-color .18s ease-out;
}
a.tile:hover { text-decoration: none; color: var(--ink); background: var(--hover); }
.tile h2, .tile h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile .more { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: 16px; }
.tile-plain { background: transparent; border-color: var(--line); }
.section-alt .tile { background: var(--surface); }
.section-alt a.tile:hover { background: var(--surface-2); border-color: var(--line); }

.mini {
  margin-top: 8px; background: var(--surface); border-radius: 14px; padding: 16px;
  font-size: 14px; box-shadow: var(--shadow-card);
}
.section-alt .mini { background: var(--bg-alt); box-shadow: none; }
.mini-list { padding: 6px 16px; }
.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.mini-row span:last-child { white-space: nowrap; text-align: right; }
.mini-list .mini-row + .mini-row { border-top: 1px solid var(--line-2); }
.mini-gap { display: flex; flex-direction: column; gap: 10px; }
.mini-gap .mini-row { padding: 4px 0; }
.mini .bar { margin-top: 4px; }

.track { position: relative; height: 4px; margin: 10px 7px 0; border-radius: 4px; background: var(--track); }
.dot {
  position: absolute; top: -5px; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--btn); box-shadow: 0 0 0 3px var(--surface);
}
.dot.open { background: var(--surface); border: 2px solid var(--btn); }
.dot.future { background: var(--surface); border: 2px solid var(--ink-3); }
.at-0 { left: 0; } .at-33 { left: 33%; } .at-66 { left: 66%; } .at-100 { left: 100%; }
.track-labels { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--ink-2); }

.org { display: flex; flex-direction: column; align-items: center; font-size: 13px; }
.org-node { padding: 6px 14px; border-radius: 9px; background: var(--chip); font-weight: 500; white-space: nowrap; }
.org-stem { width: 1px; height: 14px; background: var(--line); }
.org-rail { width: 56%; height: 1px; background: var(--line); }
.org-kids { display: flex; justify-content: space-between; width: calc(56% + 96px); max-width: 100%; }
.org-kid { display: flex; flex-direction: column; align-items: center; }
.org-kid .org-node { font-weight: 400; }

.cal-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.cal-rows { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.cal-bar { display: block; padding: 5px 8px; border-radius: 7px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-review { width: 62%; background: var(--blue-bg); color: var(--accent); }
.cal-calib { width: 38%; margin-left: 36%; background: var(--violet-bg); color: var(--violet); }
.cal-pulse { width: 40%; margin-left: 60%; background: var(--ok-bg); color: var(--ok); }

.points {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px; margin-top: 56px; text-align: left;
}
.points b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.points p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 56px; padding: 0; list-style: none;
}
.steps li { padding: 28px; border-radius: var(--radius-l); background: var(--bg-alt); }
.steps .n {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 980px;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600;
}
.steps b { display: block; margin-top: 16px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 40px 48px; margin-top: 56px;
}
.features > div { padding-top: 22px; border-top: 1px solid var(--line); }
.features h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.features p { margin-top: 8px; color: var(--ink-2); }

/* ---------- Pricing ---------- */

.price-big { margin-top: 36px; font-size: clamp(72px, 10vw, 112px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.price-unit { margin-top: 10px; font-size: 21px; }
.calc {
  max-width: 520px; margin: 40px auto 0; padding: 26px 28px;
  background: var(--bg-alt); border-radius: 20px; text-align: left;
}
.calc label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; }
.calc output { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc input[type="range"] { width: 100%; margin: 14px 0 0; accent-color: var(--btn); height: 28px; }
.calc-out { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.calc-out b { font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-out b small { font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.calc-alt { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

.checks {
  max-width: 580px; margin: 36px auto 0; padding: 0; list-style: none; text-align: left;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; font-size: 15px;
}
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--ok);
  -webkit-mask: url(../check.svg) center / 16px no-repeat;
  mask: url(../check.svg) center / 16px no-repeat;
}
.checks-left { margin: 4px 0 0; max-width: none; grid-template-columns: 1fr; font-size: 16px; }
.checks-left li { align-items: flex-start; }
.checks-left li::before { margin-top: 4px; }
.dots { margin: 4px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 16px; }
.dots li { margin: 6px 0; }
.dots li::marker { color: var(--ink-3); }

/* ---------- Tables ---------- */

.table-box {
  margin-top: 40px; overflow-x: auto; border-radius: var(--radius-m);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.section-alt .table-box { box-shadow: var(--shadow-card); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.table thead th {
  border-top: 0; padding-top: 16px; padding-bottom: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
}
.table tbody th { font-weight: 600; white-space: nowrap; }
.table td { color: var(--ink); }
.table a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.table a:hover { color: var(--accent); text-decoration-color: currentColor; }
.table .us th, .table .us td { background: var(--accent-soft); }
.table .us th { color: var(--accent); }
.table .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wide { min-width: 900px; }
.table-vs th[scope="row"] { width: 34%; }
.table-vs td { width: 33%; }
.table-vs td:nth-child(2), .table-vs thead th:nth-child(2) { background: var(--accent-soft); }
.table-vs thead th:nth-child(2) { color: var(--accent); }
@media (max-width: 760px) {
  .table { font-size: 14px; }
  .table th, .table td { padding: 12px; }
  .table tbody th { white-space: normal; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 44px auto 0; text-align: left; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .2s ease-out;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 680px; }

/* ---------- Cards and lists ---------- */

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px; margin-top: 48px; padding: 0; list-style: none;
}
.cards a {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px;
  border-radius: 20px; background: var(--bg-alt); color: var(--ink);
  border: 1px solid transparent;
  transition: background-color .18s ease-out, border-color .18s ease-out;
}
.cards a:hover { text-decoration: none; background: var(--hover); color: var(--ink); }
.cards b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.cards span { color: var(--ink-2); font-size: 15px; }
.section-alt .cards a { background: var(--surface); box-shadow: var(--shadow-card); }
.section-alt .cards a:hover { background: var(--surface); border-color: var(--line); }

/* ---------- Long-form ---------- */

.prose { font-size: 18px; line-height: 1.65; letter-spacing: -.011em; }
.prose h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.prose h2 { margin: 48px 0 10px; font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.prose h3 { margin: 32px 0 6px; font-size: 20px; font-weight: 600; }
.prose p { margin: 16px 0 0; }
.prose ul, .prose ol { margin: 16px 0 0; padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: var(--ink-2); }
.prose code { font-size: .88em; background: var(--chip); padding: 2px 6px; border-radius: 6px; }
.prose strong { font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: .18em; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .btn, .prose .cta-row a { text-decoration: none; }
.prose > .fine { margin-top: 14px; }
.byline { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

.cta-box { margin-top: 64px; padding: 34px; border-radius: var(--radius-l); background: var(--bg-alt); text-align: left; }
.cta-box b { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.cta-box p { margin-top: 8px; color: var(--ink-2); font-size: 17px; }
.cta-box .cta-row { margin-top: 20px; }
.cta-box a:not(.btn) { text-decoration: none; }

.template-text { margin-top: 28px; padding: 6px 30px 30px; border-radius: 20px; background: var(--bg-alt); font-size: 17px; }
.template-text h2:first-child { margin-top: 24px; }

.glossary-list { margin-top: 48px; padding: 0; list-style: none; }
.glossary-list li { padding: 28px 0; border-top: 1px solid var(--line); }
.glossary-list h2 { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.glossary-list p { margin-top: 8px; color: var(--ink-2); font-size: 17px; }
.glossary-list p.def { color: var(--ink); font-size: 18px; }
.glossary-body { font-size: 17px; color: var(--ink-2); }
.glossary-body p { margin-top: 8px; }

.spec { max-width: 760px; margin: 40px auto 0; padding: 0; list-style: none; }
.spec li {
  padding: 26px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px;
}
.spec li:last-child { border-bottom: 1px solid var(--line); }
.spec li b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.spec li p { color: var(--ink-2); }
@media (max-width: 640px) { .spec li { grid-template-columns: 1fr; } }
/* Notes that follow the spec list share its column. */
.spec ~ h2, .spec ~ p, .spec ~ .cta-row { max-width: 760px; margin-left: auto; margin-right: auto; }
.spec ~ h2 { margin-top: 56px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.spec ~ p { margin-top: 10px; color: var(--ink-2); }
.spec ~ .cta-row { justify-content: flex-start; }

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

.form { max-width: 560px; margin: 44px auto 0; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.form select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:hover, .form textarea:hover, .form select:hover { border-color: var(--ink-3); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form .btn { min-width: 180px; }
.hp { display: none; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg); border-top: 1px solid var(--line-2); padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot-top { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: 40px; }
.foot-brand .brand { font-size: 16px; }
.foot-brand .brand img { width: 22px; height: 22px; }
.foot-brand p { margin-top: 12px; }
.foot-brand a.foot-mail { color: var(--ink-2); }
.foot-brand a.foot-mail:hover { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot-cols h2 { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-cols a, .foot-base a { color: var(--ink-2); }
.foot-cols a:hover, .foot-base a:hover { color: var(--ink); text-decoration: none; }
.foot-base {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px;
}
.foot-base nav { display: flex; gap: 22px; }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .page-hero h1, .rise { animation: rise .35s cubic-bezier(.2, .7, .2, 1) both; }
  .rise { animation-delay: .05s; }
  .btn, .nav-links > a, .nav-drop > summary, .theme-opt, .more {
    transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out;
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 760px) {
  .tile { padding: 26px; }
  .panel { padding: 22px; }
  .cta-box { padding: 26px; }
  .steps li { padding: 24px; }
  .template-text { padding: 4px 20px 22px; }
  .hero { padding-top: 64px; }
  .page-hero { padding-top: 56px; }
}
