/* Vhealth static site styles — Apple HIG palette + modern web guidance */

@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --line: #D2D2D7;
  --line-soft: #E8E8ED;
  --accent: #0071E3;
  --accent-ink: #0058B8;
  --accent-tint: rgba(0, 113, 227, .1);
  --positive: #248A3D;
  --positive-tint: rgba(36, 138, 61, .12);
  --negative: #D70015;
  --code-bg: #F5F5F7;
  --code-ink: #1D1D1F;

  --r-card: 20px;
  --r-sm: 12px;
  --pill: 980px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 28px rgba(0, 0, 0, .06);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, .05), 0 18px 48px rgba(0, 0, 0, .09);
  --nav-bg: rgba(255, 255, 255, .82);
  --hairline: transparent;
  --toggle-bg: var(--bg-alt);
  --toggle-on: var(--card);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --card: #1D1D1F;
    --ink: #F5F5F7;
    --ink-2: #A1A1A6;
    --line: #48484A;
    --line-soft: #2C2C2E;
    --accent: #0A84FF;
    --accent-ink: #409CFF;
    --accent-tint: rgba(10, 132, 255, .18);
    --positive: #30D158;
    --positive-tint: rgba(48, 209, 88, .16);
    --negative: #FF453A;
    --code-bg: #161617;
    --code-ink: #F5F5F7;

    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 28px rgba(0, 0, 0, .4);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .55), 0 18px 48px rgba(0, 0, 0, .5);
    --nav-bg: rgba(0, 0, 0, .76);
    --hairline: #2C2C2E;
    --toggle-bg: #1D1D1F;
    --toggle-on: #3A3A3C;
  }
}

* { 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;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(32px, 5.8vw, 54px); }
h2 { font-size: clamp(25px, 3.8vw, 38px); letter-spacing: -.022em; }
h3 { font-size: 19px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); }
code {
  font-size: .88em;
  background: var(--code-bg);
  color: var(--code-ink);
  padding: .12em .4em;
  border-radius: 6px;
}
.num { font-variant-numeric: tabular-nums; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- responsive site header & popover navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-measuring * { transition: none !important; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-block-size: 58px;
}
.header-inner > * {
  flex-shrink: 0;
  white-space: nowrap;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.site-logo:hover { text-decoration: none; }
.site-logo img { width: 28px; height: 28px; border-radius: 7px; display: block; }

.site-nav { display: flex; align-items: center; gap: 10px; }
.menu-button {
  anchor-name: --menu-button;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-inline-size: 44px;
  min-block-size: 38px;
  padding: 6px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.menu-button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

.site-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
}
.site-menu[popover] {
  position: fixed;
  inset: auto;
  inset-block-start: 4.25rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(82dvw, 21rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 5.5rem);
  margin-block-start: .5rem;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}
@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) { display: none; }
}
[popover]:is(:popover-open, .\:popover-open) { display: block; }

.site-menu a {
  display: inline-flex;
  align-items: center;
  min-block-size: 38px;
  padding: 6px 14px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
}
.site-menu[popover] li a { display: flex; width: 100%; }
.site-menu a:hover { color: var(--ink); text-decoration: none; background: var(--accent-tint); }
.site-menu a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.site-menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 3px;
  border-block-end: 2.5px solid var(--accent);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-block-size: 36px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-ink); text-decoration: none; }

.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 2px;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.site-header.is-wide .site-menu::backdrop { display: none; }

@media (forced-colors: active) {
  .site-menu a[aria-current="page"]::after,
  [role="tab"][aria-selected="true"]::after {
    border-color: Highlight;
  }
}

/* ---------- announcement bar ---------- */
.news { background: var(--accent-tint); font-size: 14px; }
.news .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 9px; padding-bottom: 9px; }
.news p { margin: 0; }
.news a { color: var(--ink); font-weight: 500; }
.news a:hover { color: var(--accent); }
.news-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: var(--pill);
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 6px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 44px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: var(--pill);
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: background .18s ease;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--accent-tint); text-decoration: none; }
.btn-sm { min-block-size: 38px; padding: 8px 18px; font-size: 14.5px; }

/* ---------- hero & page headers ---------- */
/* Keep padding-top/bottom only because .hero and .doc share .wrap */
.hero { padding-top: 46px; padding-bottom: 48px; text-align: center; }
.hero h1 { max-width: 18ch; margin: 0 auto 18px; }
.hero .sub {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 auto 26px;
  line-height: 1.44;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 18px; }
.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 68ch;
}
.pill-list li {
  font-size: 13.5px;
  color: var(--ink-2);
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  padding: 5px 12px;
  border-radius: var(--pill);
}

.page-head { padding-top: 48px; padding-bottom: 34px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.page-head .sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 58ch; margin: 0 0 20px; line-height: 1.45; }

/* ---------- sections & cards ---------- */
section { padding: 56px 0; scroll-margin-top: 64px; }
section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 54ch; margin: 0 auto 38px; }
.sec-head p { font-size: 17.5px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.45; }
.sec-head.left { text-align: left; margin-left: 0; margin-right: 0; margin-bottom: 26px; }

.grid-3, .grid-2, .steps { display: grid; gap: 18px; }
.card, .step {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 24px 24px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--hairline);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 500; }

.steps { counter-reset: s; }
.step { counter-increment: s; }
.step::before {
  content: counter(s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.step .note { font-size: 14px; margin-top: 10px; color: var(--ink); }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 3px 10px;
  border-radius: var(--pill);
}
.badge.pos { color: var(--positive); background: var(--positive-tint); }
.badge.warn { color: var(--negative); background: rgba(215, 0, 21, .1); }

/* ---------- pricing plans ---------- */
.billing-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 32px;
}
.seg {
  display: inline-flex;
  background: var(--toggle-bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--pill);
  padding: 3px;
  gap: 2px;
}
.seg button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: var(--pill);
  min-block-size: 34px;
  padding: 6px 14px;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--toggle-on);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.plans { display: grid; gap: 18px; }
.plan {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}
.plan.featured { box-shadow: var(--shadow-lift), inset 0 0 0 2px var(--accent); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.plan-for { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; min-height: 2.6em; }
.price-was { display: flex; align-items: baseline; gap: 8px; min-height: 24px; margin-bottom: 2px; }
.price-was.is-empty { visibility: hidden; }
.was { position: relative; color: var(--ink-2); font-size: 16px; }
.was::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; background: currentColor; }
.off { font-size: 13.5px; font-weight: 600; color: var(--positive); }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-big { font-size: 38px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-per { font-size: 15px; color: var(--ink-2); }
.price-note { font-size: 13.5px; color: var(--ink-2); min-height: 1.4em; margin: 4px 0 16px; }
.meter-box {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.meter-box div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.meter-box b { color: var(--ink); font-weight: 600; }

.specs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.specs li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; line-height: 1.4; }
.specs svg { width: 13px; height: 13px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.specs li.exc svg { stroke: var(--ink-2); }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- accessible tabs with scroll fades ---------- */
.tabs { margin: 20px 0; }
.tablist-wrap { position: relative; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.tablist {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  scroll-padding-inline: 2.5rem;
  --fade-size: 2.5rem;
  mask:
    linear-gradient(black, black) no-clip subtract,
    linear-gradient(to right, black, transparent) 0 0 / var(--fade-start) 100% no-repeat no-clip,
    linear-gradient(to right, transparent, black) 100% 0 / var(--fade-end) 100% no-repeat no-clip;
  animation: reveal-fade-start linear both, hide-fade-end linear both;
  animation-timeline: scroll(self inline);
  animation-range: 0 var(--fade-size), calc(100% - var(--fade-size)) 100%;
}
.tablist::-webkit-scrollbar { display: none; }
.tablist.more-start { --fade-start: var(--fade-size); }
.tablist.more-end { --fade-end: var(--fade-size); }
@keyframes reveal-fade-start { to { --fade-start: var(--fade-size); } }
@keyframes hide-fade-end { from { --fade-end: var(--fade-size); } }

[role="tab"] {
  flex: none;
  scroll-snap-align: start;
  position: relative;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 0;
  min-block-size: 42px;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
}
[role="tab"]:hover { color: var(--ink); }
[role="tab"][aria-selected="true"] { color: var(--accent); }
[role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 3px solid var(--accent);
}
/* Do not style [role="tabpanel"] directly (padding/border/bg stays on .panel-inner) */
[role="tabpanel"][hidden="until-found"] { content-visibility: hidden; }
.panel-inner {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow);
}
.panel-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }

/* ---------- code blocks & copy button ---------- */
.copyable { display: flex; align-items: flex-start; gap: 8px; }
.copyable pre {
  flex: 1;
  min-inline-size: 0;
  margin: 0;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 16px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.5;
}
.copyable .copy { flex: none; order: 1; position: relative; }
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 36px;
  min-block-size: 36px;
  padding: 6px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.copy-button:hover { border-color: var(--accent); color: var(--accent); }
.copy-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.copy-button .ic-ok { display: none; color: var(--positive); }
.copy-button[data-copied] .ic-copy { display: none; }
.copy-button[data-copied] .ic-ok { display: block; }
.copy-button[data-failed] { border-color: var(--negative); color: var(--negative); }

.copy .tip {
  position: absolute;
  inset-block-end: calc(100% + 6px);
  inset-inline-end: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.copy:has([data-copied]) .tip,
.copy:has([data-failed]) .tip { opacity: 1; }

@media (hover: hover) {
  .copyable { display: block; position: relative; }
  .copyable pre { padding-inline-end: 54px; }
  .copyable .copy { position: absolute; inset-block-start: .6rem; inset-inline-end: .6rem; }
  .copyable .copy-button { opacity: 0; transition: opacity .15s ease; background: color-mix(in srgb, var(--card) 92%, transparent); }
  .copyable:hover .copy-button,
  .copyable:focus-within .copy-button,
  .copyable .copy-button:focus-visible,
  .copyable .copy-button[data-copied],
  .copyable .copy-button[data-failed] { opacity: 1; }
}

/* ---------- responsive data tables ---------- */
.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(640px, 78dvh);
  container-type: inline-size;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  text-align: left;
}
.table-wrapper caption {
  padding: 14px 18px 10px;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.table-wrapper thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.table-wrapper tbody th,
.table-wrapper tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.table-wrapper tbody tr:last-child th,
.table-wrapper tbody tr:last-child td { border-bottom: 0; }
.table-wrapper tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--card);
  font-weight: 600;
}

@container (width < 600px) {
  .table-wrapper { max-block-size: none; overflow: visible; background: transparent; border: 0; box-shadow: none; }
  .table-wrapper table,
  .table-wrapper thead,
  .table-wrapper tbody,
  .table-wrapper tr,
  .table-wrapper th,
  .table-wrapper td { display: block; }
  .table-wrapper thead { display: none; }
  .table-wrapper caption { padding: 0 0 10px; border: 0; }
  .table-wrapper tbody tr {
    margin-block-end: 12px;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .table-wrapper tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line-soft);
    padding: 11px 14px;
  }
  .table-wrapper tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--line-soft);
  }
  .table-wrapper tbody td::before {
    font-weight: 600;
    color: var(--ink-2);
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
  }
  .table-wrapper table[data-cols="4"] td:nth-child(2)::before { content: var(--label-2); }
  .table-wrapper table[data-cols="4"] td:nth-child(3)::before { content: var(--label-3); }
  .table-wrapper table[data-cols="4"] td:nth-child(4)::before { content: var(--label-4); }
  .table-wrapper table[data-cols="3"] td:nth-child(2)::before { content: var(--label-2); }
  .table-wrapper table[data-cols="3"] td:nth-child(3)::before { content: var(--label-3); }
}

/* ---------- FAQ & doc prose ---------- */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line-soft); }
details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 17.5px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
details p { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 66ch; }

.doc { padding-top: 48px; padding-bottom: 36px; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 10px; }
.doc .stamp { font-size: 14px; color: var(--ink-2); margin: 0 0 28px; font-variant-numeric: tabular-nums; }
.doc .lede { font-size: 18.5px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.48; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.55; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.panel { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 20px 22px; margin: 0 0 18px; }
.panel p:last-child { margin-bottom: 0; }
.fine { font-size: 14px; color: var(--ink-2); text-align: center; margin: 22px auto 0; max-width: 66ch; line-height: 1.5; }

/* ---------- footer ---------- */
footer {
  background: var(--bg-alt);
  padding: 40px 0;
  font-size: 14px;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
}
footer nav { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 18px 22px; }
footer nav a { color: var(--ink-2); }
footer nav a:hover { color: var(--ink); }
footer p { margin: 0 0 6px; line-height: 1.5; }

:focus-visible { outline: 3px solid rgba(0, 113, 227, .5); outline-offset: 3px; border-radius: 5px; }

@media (min-width: 680px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 82px; padding-bottom: 68px; }
  section { padding: 80px 0; }
}
@media (min-width: 960px) {
  .steps.four { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
