/* Kiros Healthcare. One stylesheet, token-driven, light + dark. */

:root {
  --paper: #F6F3EC;
  --paper-2: #EFEBE1;
  --surface: #FCFBF8;
  --ink: #11201F;
  --ink-2: #3B4C4A;
  --ink-3: #5B6B69;
  --line: #D8D2C4;
  --line-2: #E6E1D4;
  --teal: #14625E;
  --teal-ink: #0E4A47;
  --teal-tint: #E0ECE8;
  --btn-bg: #14625E;
  --btn-bg-hover: #0E4A47;
  --btn-ink: #FFFFFF;
  --red: #C41E2E;
  --green: #4C9A2A;
  --green-ink: #2D6A1B;
  --green-tint: #E4EFD9;
  --amber: #B7791F;
  --amber-ink: #7A4E0A;
  --amber-tint: #F4E8CF;
  --shadow: 0 1px 2px rgba(17,32,31,.06), 0 8px 24px -12px rgba(17,32,31,.18);
  --shadow-lg: 0 2px 4px rgba(17,32,31,.06), 0 24px 48px -20px rgba(17,32,31,.28);
  --fam-practice-clinic: #14625E;
  --fam-pharmacy: #2D6A1B;
  --fam-patient: #1B6A86;
  --fam-hospital-rehab: #4B5C86;
  --fam-add-ons: #8A5A1B;

  --f-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1413; --paper-2: #0F1B1A; --surface: #13211F;
    --ink: #EAF1EE; --ink-2: #B6C6C2; --ink-3: #8FA39E;
    --line: #27403D; --line-2: #1E3230;
    --teal: #5FC2B8; --teal-ink: #8AD8CF; --teal-tint: #14312F;
    --btn-bg: #5FC2B8; --btn-bg-hover: #8AD8CF; --btn-ink: #06201E;
    --red: #FF7A85; --green: #7BC356; --green-ink: #8FD36B; --green-tint: #172B16;
    --amber: #D9A441; --amber-ink: #E6B65C; --amber-tint: #2C2412;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -20px rgba(0,0,0,.7);
    --fam-practice-clinic: #5FC2B8; --fam-pharmacy: #8FD36B; --fam-patient: #6CC4E3; --fam-hospital-rehab: #9DB1E8; --fam-add-ons: #E6B65C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1413; --paper-2: #0F1B1A; --surface: #13211F;
  --ink: #EAF1EE; --ink-2: #B6C6C2; --ink-3: #8FA39E;
  --line: #27403D; --line-2: #1E3230;
  --teal: #5FC2B8; --teal-ink: #8AD8CF; --teal-tint: #14312F;
  --btn-bg: #5FC2B8; --btn-bg-hover: #8AD8CF; --btn-ink: #06201E;
  --red: #FF7A85; --green: #7BC356; --green-ink: #8FD36B; --green-tint: #172B16;
  --amber: #D9A441; --amber-ink: #E6B65C; --amber-tint: #2C2412;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -20px rgba(0,0,0,.7);
  --fam-practice-clinic: #5FC2B8; --fam-pharmacy: #8FD36B; --fam-patient: #6CC4E3; --fam-hospital-rehab: #9DB1E8; --fam-add-ons: #E6B65C;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-family: var(--f-body); font-weight: 650; letter-spacing: 0; }
h1 em, h2 em { font-style: italic; color: var(--teal); font-weight: 450; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-ink); text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: var(--btn-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm); z-index: 200; transition: top .2s; }
.skip:focus { top: 0; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 8vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--sunk { background: var(--paper-2); border-block: 1px solid var(--line-2); }
.measure { max-width: 66ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.mono { font-family: var(--f-mono); font-feature-settings: "zero" 1; }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); font-weight: 500; display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); display: inline-block; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-2); font-size: 1.125rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.section-head--row > div { max-width: 62ch; }

.ico { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; touch-action: manipulation;
  background: var(--btn-bg); color: var(--btn-ink);
  transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s, box-shadow .18s;
}
.btn:hover { background: var(--btn-bg-hover); color: var(--btn-ink); transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-tint); color: var(--teal-ink); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .18s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

.chip, .tag {
  display: inline-flex; align-items: center; gap: .5em; font-size: .8125rem; font-weight: 600; line-height: 1.2;
  padding: .38em .8em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
}
a.chip:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-tint); }
.chip--link { min-height: 44px; }
.dot { width: .6em; height: .6em; border-radius: 50%; background: var(--ink-3); flex: none; }
.st-available .dot { background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
.st-on-request .dot { background: var(--amber); }
.st-coming .dot { background: transparent; border: 2px solid var(--ink-3); }
.st-available { color: var(--green-ink); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); background: var(--green-tint); }
.st-on-request { color: var(--amber-ink); border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); background: var(--amber-tint); }
.st-coming { color: var(--ink-2); background: transparent; border-style: dashed; }
.daily {
  display: inline-flex; align-items: center; gap: .45em; font-size: .8125rem; color: var(--teal); font-weight: 600;
}
.daily .ico { width: 1.15em; height: 1.15em; }
.code-tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 48px; margin-right: auto; }
.brand img { width: 46px; height: 47px; border-radius: 12px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand__word b { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; letter-spacing: .24em; color: var(--ink); }
.brand__word i { font-style: normal; font-size: .62rem; letter-spacing: .34em; font-weight: 600; color: var(--red); }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--teal); background: var(--teal-tint); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; color: var(--ink); touch-action: manipulation; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ico-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .ico-moon { display: block; }
}
.header-cta { display: none; }
.menu-btn .ico-x { display: none; }
.menu-btn[aria-expanded="true"] .ico-x { display: block; }
.menu-btn[aria-expanded="true"] .ico-menu { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 8px var(--gutter) 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; align-items: center; min-height: 52px; font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-nav a[aria-current="page"] { color: var(--teal); }
.mobile-nav .btn { margin-top: 16px; width: 100%; border-bottom: 0; color: var(--btn-ink); }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .brand { margin-right: 24px; }
  .site-header__in { gap: 10px; }
  .nav { margin-right: auto; }
}

/* ---------- banner ---------- */

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: var(--ar, 16 / 9);
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--teal) 22%, transparent), transparent 60%),
    linear-gradient(135deg, var(--teal-tint), var(--paper-2));
}
.media::before { content: ""; position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; opacity: .35;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314625E' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9 3h6v6h6v6h-6v6H9v-6H3V9h6z'/%3E%3C/svg%3E"); }
.media picture, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media img.is-missing { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__media { position: relative; aspect-ratio: 16 / 9; }
.hero__media .media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero__copy { position: relative; z-index: 2; padding-block: clamp(36px, 6vw, 72px); max-width: 640px; }
.hero__copy h1 { animation: rise .8s var(--ease) both; }
.hero__copy .lede { margin-top: 1.25rem; animation: rise .8s .1s var(--ease) both; }
.hero__copy .btn-row { margin-top: 1.75rem; animation: rise .8s .2s var(--ease) both; }
.hero__copy .eyebrow { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); animation: rise .8s .3s var(--ease) both; }
.hero-stats div { display: flex; align-items: baseline; gap: 8px; }
.hero-stats b { font-family: var(--f-display); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--teal); }
.hero-stats span { font-size: .9rem; color: var(--ink-2); }
.verify-card {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 28px);
}
.verify-card .tick { width: 34px; height: 34px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); display: grid; place-items: center; flex: none; }
.verify-card small { display: block; font-size: .72rem; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-family: var(--f-mono); }
.verify-card code { font-family: var(--f-mono); font-size: .95rem; font-weight: 500; color: var(--ink); letter-spacing: .05em; }
@media (min-width: 900px) {
  .hero { min-height: 640px; display: flex; align-items: center; }
  .hero__media { position: absolute; inset: 0 0 0 0; aspect-ratio: auto; }
  .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 38%, color-mix(in srgb, var(--paper) 82%, transparent) 52%, transparent 72%); }
  .hero__media .media img { object-position: 62% 50%; }
  .hero .container { position: relative; z-index: 2; }
  .verify-card { right: 32px; bottom: 32px; z-index: 3; }
}
@media (max-width: 899px) {
  .hero__copy { padding-bottom: 28px; }
  .hero { display: flex; flex-direction: column; }
  .hero > .container { order: 1; }
  .hero__media { order: 2; }
}

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.suite-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .suite-grid { grid-template-columns: repeat(6, 1fr); } .suite-card { grid-column: span 3; } }
@media (min-width: 1000px) { .suite-card { grid-column: span 2; } .suite-card--wide { grid-column: span 3; } }
.suite-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.suite-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); color: inherit; }
.suite-card .media { border-radius: 0; --ar: 16/9; }
.suite-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.suite-card h3 { margin: 0; }
.suite-card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.suite-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: end; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); }
.price-from { display: flex; flex-direction: column; line-height: 1.1; }
.price-from small { font-size: .78rem; color: var(--ink-3); font-weight: 500; }
.price-from b { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.price-from em { font-style: normal; font-size: .8rem; color: var(--ink-3); }
.suite-card .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: grid; place-items: center; transition: background .2s, color .2s; }
.suite-card:hover .arrow { background: var(--teal); color: var(--btn-ink); }

/* ---------- identity flow ---------- */
.flow-wrap { position: relative; }
.identity-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.identity-bar .pill { display: inline-flex; gap: 10px; align-items: center; background: var(--teal); color: var(--btn-ink); border-radius: 999px; padding: 8px 16px; font-weight: 650; font-size: .95rem; }
.identity-bar p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.flow { display: grid; gap: 0; position: relative; counter-reset: step; }
.flow__node { position: relative; padding: 0 0 28px 56px; }
.flow__node::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--teal); opacity: .5; }
.flow__node:last-child::before { display: none; }
.flow__dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid var(--teal); color: var(--teal); display: grid; place-items: center; z-index: 2; }
.flow__node h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; margin: 4px 0 4px; }
.flow__node p { margin: 0 0 8px; color: var(--ink-2); font-size: .96rem; }
.flow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.flow__node--lab .flow__dot { border-style: dashed; border-color: var(--red); color: var(--red); }
.flow__lab-title { color: var(--red); }
.flow-loop { display: none; }
@media (min-width: 1000px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 0 18px; }
  .flow__node { padding: 0; }
  .flow__node::before { left: 40px; right: -18px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .flow__node:nth-child(5)::before { display: none; }
  .flow__node:nth-child(5)::after { display: none; }
  .flow__dot { position: relative; margin-bottom: 14px; }
  .flow__node--lab { grid-column: 3 / span 2; grid-row: 2; margin-top: 70px; padding: 18px 20px; border: 1.5px dashed var(--red); border-radius: var(--r); background: var(--surface); }
  .flow__node--lab::before { display: none; }
  .flow__node--lab .flow__dot { position: absolute; top: -22px; left: 20px; width: 42px; height: 42px; margin: 0; background: var(--surface); }
  .flow__node--lab h3 { margin-top: 14px; }
  .flow-loop { display: block; position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; z-index: 1; }
}
.flow-note { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }
@media (max-width: 999px) { .flow__node--lab { padding-left: 56px; } }

/* proofs inside the flow: the finished state is what shows without JS or with reduced motion */
.flow__code { margin: 2px 0 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.flow__code small { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.vcode { font-family: var(--f-mono); font-size: 1.02rem; font-weight: 500; letter-spacing: .08em; color: var(--ink); background: var(--surface); border: 1px dashed var(--teal); border-radius: 8px; padding: .3em .6em; white-space: nowrap; }
.vc { display: inline-block; }
.flow__chart { margin: 4px 0 10px; }
.flow__chart svg { display: block; width: 100%; max-width: 220px; height: auto; }
.flow__chart figcaption { display: grid; gap: 1px; margin-top: 4px; font-size: .78rem; color: var(--ink-3); }
.flow__chart figcaption span { font-weight: 600; color: var(--ink-2); }
.flow__chart figcaption code { font-family: var(--f-mono); font-size: .86rem; color: var(--ink); }
.flow__chart figcaption em { font-style: normal; }
.flow__chart .rb { fill: var(--green-tint); stroke: var(--green); stroke-opacity: .55; stroke-width: 1; }
.flow__chart .rl { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow__chart .rp { fill: var(--surface); stroke: var(--teal); stroke-width: 2; }
.flow__chart .rp--new { fill: var(--teal); }

/* scroll walk (js/walk.js adds .is-walk; nothing below applies without it) */
.walk { display: grid; }
.walk__sticky { grid-area: 1 / 1; position: sticky; top: calc(var(--header-h) + 12px); align-self: start; }
.walk__beats { grid-area: 1 / 1; pointer-events: none; }
.walk__beat { height: 60svh; }
.walk .identity-bar { margin-bottom: 10px; }
.walk .flow-note { margin-top: 6px; }
@media (min-width: 1000px) { .walk .flow__node--lab { margin-top: 54px; } }
.walk-fill, .walk-token { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; }
.walk-fill { background: var(--teal); transform-origin: 0 0; border-radius: 2px; }
.walk-token { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 24%, transparent); will-change: transform; }
.walk-token--lab, .walk-token.is-lab { background: var(--red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 24%, transparent); }
.walk-token--lab { opacity: 0; transition: opacity .2s; }
.walk-token--lab.is-run { opacity: 1; }
.is-walk .flow__node { transition: opacity .35s var(--ease); }
.is-walk .flow__node:not(.is-on) { opacity: .5; }
.is-walk .flow__dot { transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.is-walk .flow__node.is-on .flow__dot { background: var(--teal); color: var(--btn-ink); }
.is-walk .flow__node--lab.is-on .flow__dot { background: var(--red); color: var(--surface); }
.is-walk .flow__node.is-now .flow__dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 24%, transparent); }
.is-walk .flow__node--lab.is-now .flow__dot { box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 24%, transparent); }
.is-walk .vc { opacity: 0; transform: translateY(.35em); transition: opacity .12s, transform .12s; }
.is-walk .flow__node.is-typed .vc { opacity: 1; transform: none; transition-delay: calc(var(--i) * 48ms); }
.is-walk .flow__chart .rb { opacity: .35; transition: opacity .4s var(--ease); }
.is-walk .flow__chart .rl:not(.rl--new), .is-walk .flow__chart .rp:not(.rp--new) { opacity: 0; transition: opacity .4s var(--ease); }
.is-walk .flow__node.is-on .flow__chart .rb, .is-walk .flow__node.is-on .flow__chart .rl:not(.rl--new), .is-walk .flow__node.is-on .flow__chart .rp:not(.rp--new) { opacity: 1; }
.is-walk .flow__chart .rl--new { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .32s var(--ease); }
.is-walk .flow__chart .rp--new { opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; transition: opacity .2s .18s, transform .32s .18s var(--ease); }
.is-walk .flow__chart figcaption { opacity: 0; transition: opacity .3s .25s; }
.is-walk .flow__chart.is-landed .rl--new { stroke-dashoffset: 0; }
.is-walk .flow__chart.is-landed .rp--new { opacity: 1; transform: none; }
.is-walk .flow__chart.is-landed figcaption { opacity: 1; }
.is-walk .flow-loop { opacity: 0; transition: opacity .4s; }
.is-walk.is-lab .flow-loop { opacity: 1; }

@media (max-width: 999px) {
  .flow__node--lab { padding-left: 56px; }
}

/* ---------- strips ---------- */
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.brand-demo-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-app { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); padding: 12px; box-shadow: var(--shadow); }
.mini-app__bar { height: 52px; border-radius: 12px; background: var(--b, var(--teal)); color: #fff; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: .78rem; font-weight: 650; line-height: 1.15; }
.mini-app__logo { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex: none; }
.mini-app__row { height: 10px; border-radius: 6px; background: var(--line-2); margin-top: 10px; }
.mini-app__row:nth-child(3) { width: 70%; }
.mini-app__tile { margin-top: 12px; height: 54px; border-radius: 12px; background: color-mix(in srgb, var(--b, var(--teal)) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--b, var(--teal)) 30%, var(--line)); }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: var(--teal); margin-top: .22em; }
.checklist--tight { gap: 8px; }

.facts { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.fact .ico { width: 28px; height: 28px; color: var(--teal); margin-bottom: 14px; }
.fact h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.proof { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .proof { grid-template-columns: .8fr 1.2fr; } }
.proof__num { font-family: var(--f-display); font-size: clamp(4.5rem, 12vw, 8rem); line-height: .9; color: var(--teal); font-weight: 400; letter-spacing: -.04em; }
.proof__num small { font-size: .3em; color: var(--ink-3); letter-spacing: 0; font-family: var(--f-body); font-weight: 500; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s var(--ease); color: var(--teal); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq .ans { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
.faq .ans p:last-child { margin: 0; }

/* ---------- forms ---------- */
.form-card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper);
  color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field .hint { font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
.field .err { color: var(--red); font-size: .88rem; margin-top: 4px; display: none; font-weight: 600; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; margin: 0; background: var(--paper); }
.checks input { width: 18px; height: 18px; min-height: 0; accent-color: var(--teal); }
.checks label:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-ink); }
.checks label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.form-foot small { color: var(--ink-3); max-width: 46ch; }
.thanks { text-align: center; padding: clamp(20px, 4vw, 48px) 8px; }
.thanks .tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); display: grid; place-items: center; }
.thanks .tick .ico { width: 30px; height: 30px; }
.demo-band { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .demo-band { grid-template-columns: .85fr 1.15fr; align-items: start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 28px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.3fr; } }
.footer-grid h4 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; font-weight: 500; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--teal); text-decoration: underline; }
.footer-grid li { margin: 0; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: var(--ink-3); }
.footer-note { font-size: .95rem; color: var(--ink-2); max-width: 36ch; margin-top: 12px; }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--btn-bg-hover); }

/* ---------- page head ---------- */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- products listing ---------- */
.toolbar { display: grid; gap: 16px; margin-bottom: 24px; background: var(--paper); padding-block: 14px; border-bottom: 1px solid var(--line-2); }
@media (min-width: 900px) { .toolbar { position: sticky; top: var(--header-h); z-index: 20; } }
.search { position: relative; }
.search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { width: 100%; min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 20px 0 48px; font: inherit; color: var(--ink); }
.search input:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row .label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.fchip { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .95rem; cursor: pointer; touch-action: manipulation; }
.fchip:hover { border-color: var(--teal); color: var(--teal); }
.fchip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--btn-ink); }
.fchip .n { font-family: var(--f-mono); font-size: .75rem; opacity: .8; }
.result-count { font-size: .95rem; color: var(--ink-2); }
.prod-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; gap: 12px; padding: 22px; text-decoration: none; color: inherit; position: relative; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; border-top: 3px solid var(--fam, var(--teal)); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal); color: inherit; border-top-color: var(--fam, var(--teal)); }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fam-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--fam, var(--teal)) 14%, var(--surface)); color: var(--fam, var(--teal)); flex: none; }
.fam-ico .ico { width: 24px; height: 24px; }
.pcard h3 { font-size: 1.35rem; margin: 0; }
.pcard p { margin: 0; color: var(--ink-2); font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-3); }
.empty { text-align: center; padding: 56px 16px; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }

/* ---------- product detail ---------- */
.pd-head { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .pd-head { grid-template-columns: 1.1fr .9fr; } }
.pd-head h1 { max-width: 16ch; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 20px; }
.pd-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 1000px) { .pd-grid { grid-template-columns: 1fr 340px; align-items: start; } .pd-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.pd-block { margin-bottom: clamp(36px, 5vw, 64px); }
.pd-block > h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
.feature-list { display: grid; gap: 4px 28px; }
@media (min-width: 700px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: .98rem; }
.feature-list .ico { color: var(--teal); margin-top: .2em; width: 1.2em; height: 1.2em; }
.steps { counter-reset: s; position: relative; display: grid; gap: 0; }
.steps li { position: relative; padding: 0 0 26px 68px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--btn-ink); font-family: var(--f-mono); font-weight: 500; font-size: 1.05rem; z-index: 2; }
.steps li::after { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: linear-gradient(var(--teal), color-mix(in srgb, var(--teal) 25%, transparent)); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li > span { display: block; padding: 8px 0 0; font-size: 1.02rem; max-width: 62ch; }
.sec-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--teal-tint); border: 1px solid color-mix(in srgb, var(--teal) 25%, var(--line)); }
.sec-card h2 { display: flex; align-items: center; gap: 12px; }
.sec-card .checklist .ico { color: var(--teal); }
.side-card { padding: 22px; }
.side-card h3 { font-family: var(--f-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.incl { display: grid; gap: 14px; }
.incl__suite { padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.incl__suite:last-child { border: 0; padding: 0; }
.incl__suite a.nm { font-weight: 700; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.incl__tiers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pd-nav { display: grid; gap: 14px; margin-top: 12px; }
@media (min-width: 700px) { .pd-nav { grid-template-columns: 1fr 1fr; } }
.pd-nav a { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--surface); display: block; }
.pd-nav a:hover { border-color: var(--teal); }
.pd-nav small { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pd-nav b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; }
.cta-band { padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--teal); color: var(--btn-ink); display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--btn-ink); margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn { background: var(--paper); color: var(--teal-ink); }
.cta-band .btn:hover { background: var(--surface); color: var(--teal-ink); }
:root[data-theme="dark"] .cta-band .btn, :root[data-theme="dark"] .cta-band .btn:hover { background: #06201E; color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band .btn, :root:not([data-theme="light"]) .cta-band .btn:hover { background: #06201E; color: #fff; } }

/* ---------- packages ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); gap: 4px; }
.seg button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font-weight: 650; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; touch-action: manipulation; }
.seg button[aria-pressed="true"] { background: var(--teal); color: var(--btn-ink); }
.seg .save { font-size: .72rem; font-family: var(--f-mono); padding: 2px 8px; border-radius: 999px; background: var(--green-tint); color: var(--green-ink); font-weight: 500; }
.seg button[aria-pressed="true"] .save { background: rgba(255,255,255,.2); color: inherit; }
.suite-nav { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.suite-nav::-webkit-scrollbar { display: none; }
.suite-nav a { flex: none; }
.pk-bar { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line-2); padding-block: 12px; }
.pk-bar__in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.suite { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.suite__head { display: grid; gap: 24px; margin-bottom: 32px; align-items: end; }
@media (min-width: 900px) { .suite__head { grid-template-columns: 1.3fr .7fr; } }
.suite__head .media { --ar: 16/9; }
.tiers { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .tiers[data-n="2"] { grid-template-columns: repeat(2, 1fr); } .tiers[data-n="3"] { grid-template-columns: repeat(3, 1fr); } }
.tier { padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.tier--hl { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg); }
.tier__flag { position: absolute; top: -12px; left: 22px; background: var(--teal); color: var(--btn-ink); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier h3 { margin: 0; font-size: 1.5rem; }
.tier__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tier__price b { font-family: var(--f-display); font-weight: 500; font-size: 3rem; line-height: 1; letter-spacing: -.02em; }
.tier__price .from { font-size: .85rem; color: var(--ink-3); width: 100%; }
.tier__unit { color: var(--ink-2); font-size: .92rem; margin-top: -6px; }
.tier__vat { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tier__save { font-size: .85rem; color: var(--green-ink); font-weight: 600; }
.tier__save:empty { display: none; }
.tier__points { border-top: 1px dashed var(--line); padding-top: 14px; display: grid; gap: 10px; font-size: .96rem; }
.tier__points li { display: flex; gap: 10px; }
.tier__points .ico { color: var(--teal); margin-top: .2em; width: 1.1em; height: 1.1em; }
.tier__extra { font-size: .9rem; color: var(--ink-2); padding: 10px 12px; background: var(--paper-2); border-radius: var(--r-sm); }
.tier details { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 10px; }
.tier summary { cursor: pointer; font-weight: 650; font-size: .92rem; min-height: 44px; display: flex; align-items: center; justify-content: space-between; list-style: none; color: var(--teal); }
.tier summary::-webkit-details-marker { display: none; }
.tier details .chip-cloud { padding-bottom: 6px; }
.tier .btn { margin-top: 4px; }
.suite__note { margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
.cmp-details { margin-top: 28px; }
.cmp-details > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 650; color: var(--teal); list-style: none; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.cmp-details > summary::-webkit-details-marker { display: none; }
.cmp-details[open] > summary .ico { transform: rotate(180deg); }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 520px; font-size: .95rem; }
table.cmp th, table.cmp td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--line-2); }
table.cmp thead th { background: var(--paper-2); font-weight: 700; position: sticky; top: 0; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 190px; }
table.cmp thead th:first-child { background: var(--paper-2); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td a { font-weight: 600; text-decoration: none; }
table.cmp td a:hover { text-decoration: underline; }
.yes { color: var(--green-ink); display: inline-grid; place-items: center; }
.no { color: var(--ink-3); }
.tbl-price { font-family: var(--f-mono); font-size: .8rem; font-weight: 400; color: var(--ink-3); display: block; }
.wl-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .wl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .wl-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.price-card h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin: 0; }
.price-card .big { font-family: var(--f-display); font-size: 2.2rem; line-height: 1.1; }
.price-card .u { font-size: .88rem; color: var(--ink-2); }
.price-card ul { margin-top: 8px; display: grid; gap: 6px; font-size: .94rem; color: var(--ink-2); }
.price-card .st { margin-top: auto; padding-top: 10px; }
.sub-h { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 40px 0 16px; font-weight: 500; }

/* ---------- white label ---------- */
.wl-stage { display: grid; gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .wl-stage { grid-template-columns: 1.15fr .85fr; } }
.stage { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); }
.brand-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.swatch { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-weight: 600; }
.swatch i { width: 32px; height: 32px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.swatch[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink); }
.demo-pair { display: grid; gap: 24px; align-items: start; --b: #1F4E8C; --b-ink: #fff; --b-tint: #E3EBF6; }
@media (min-width: 640px) { .demo-pair { grid-template-columns: 1.25fr .75fr; } }
.demo-pair[data-brand="blue"] { --b: #1F4E8C; --b-tint: #E3EBF6; }
.demo-pair[data-brand="green"] { --b: #2F6B3A; --b-tint: #E2EFE5; }
.demo-pair[data-brand="clay"] { --b: #A3472B; --b-tint: #F6E4DC; }
.demo-pair, .demo-pair * { transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
/* the sample documents always render on white paper, in either theme */
.rx { background: #fff; color: #1b2423; border-radius: 6px; box-shadow: var(--shadow-lg); padding: 0 0 18px; font-size: .86rem; line-height: 1.45; overflow: hidden; border: 1px solid #ddd; }
.rx__head { background: var(--b); color: #fff; padding: 16px 20px; display: flex; gap: 12px; align-items: center; }
.rx__logo { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-weight: 800; letter-spacing: .02em; flex: none; }
.rx__head b { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; }
.rx__head span { font-size: .75rem; opacity: .9; }
.rx__body { padding: 16px 20px 0; }
.rx__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #e8e8e8; font-size: .82rem; }
.rx__row span:first-child { color: #5a6866; }
.rx__med { margin: 14px 0; padding: 12px 14px; border-left: 4px solid var(--b); background: var(--b-tint); border-radius: 0 6px 6px 0; }
.rx__med small { display: block; color: #4a5856; font-size: .75rem; }
.rx__foot { display: flex; gap: 14px; align-items: center; padding: 12px 20px 0; border-top: 1px dashed #ccc; margin-top: 8px; }
.rx__qr { width: 58px; height: 58px; flex: none; color: var(--b); }
.rx__foot code { font-family: var(--f-mono); font-size: .85rem; color: var(--b); font-weight: 500; letter-spacing: .05em; }
.rx__foot small { display: block; font-size: .7rem; color: #5a6866; }
.phone { width: 100%; max-width: 270px; margin-inline: auto; border-radius: 34px; background: #17201f; padding: 10px; box-shadow: var(--shadow-lg); }
.phone__screen { border-radius: 26px; background: #fff; color: #1b2423; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; }
.phone__bar { background: var(--b); color: #fff; padding: 30px 16px 16px; display: flex; gap: 10px; align-items: center; }
.phone__bar .rx__logo { width: 36px; height: 36px; border-radius: 9px; font-size: .8rem; }
.phone__bar b { font-size: .9rem; line-height: 1.15; display: block; }
.phone__bar span { font-size: .68rem; opacity: .9; }
.phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.phone__tile { aspect-ratio: 1.15; border-radius: 14px; background: var(--b-tint); color: var(--b); display: flex; flex-direction: column; justify-content: space-between; padding: 10px; font-size: .75rem; font-weight: 700; }
.phone__tile .ico { width: 22px; height: 22px; }
.phone__card { margin: 0 14px 14px; padding: 12px; border-radius: 14px; border: 1px solid #e3e3e3; font-size: .75rem; color: #3b4846; }
.phone__card b { color: var(--b); display: block; font-size: .8rem; }
.phone__btn { margin: auto 14px 16px; background: var(--b); color: #fff; text-align: center; border-radius: 999px; padding: 11px; font-weight: 700; font-size: .8rem; }
.own-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .own-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .own-grid { grid-template-columns: repeat(3, 1fr); } }
.own { padding: 22px; }
.own .ico { width: 28px; height: 28px; color: var(--teal); margin-bottom: 12px; }
.own h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; margin-bottom: 6px; }
.own p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.callout { padding: 20px 22px; border-radius: var(--r); border-left: 4px solid var(--teal); background: var(--teal-tint); }
.callout p:last-child { margin: 0; }
.timeline { display: grid; gap: 0; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 28px 64px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); background: var(--paper); color: var(--teal); display: grid; place-items: center; font-family: var(--f-mono); z-index: 2; }
.timeline li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; margin: 6px 0 4px; }
.timeline p { margin: 0; color: var(--ink-2); max-width: 56ch; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 0 20px; }
  .timeline li { padding: 60px 0 0; }
  .timeline li::before { left: 0; top: 0; }
  .timeline li::after { left: 48px; right: -20px; top: 21px; bottom: auto; width: auto; height: 2px; }
}
.two-col { display: grid; gap: clamp(20px, 4vw, 48px); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- security ---------- */
.theme-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } }
.theme { padding: clamp(20px, 3vw, 30px); }
.theme__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.theme__head .fam-ico { background: var(--teal-tint); color: var(--teal); }
.theme h3 { margin: 0 0 4px; }
.theme__plain { color: var(--ink-2); margin: 0; }
.theme details { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 4px; }
.theme summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-weight: 650; font-size: .92rem; color: var(--teal); }
.theme summary::-webkit-details-marker { display: none; }
.theme details[open] summary .ico { transform: rotate(180deg); }
.theme details ul { display: grid; gap: 10px; padding-bottom: 6px; }
.theme details li { font-size: .92rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.theme details li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--teal); }
.roles { display: grid; gap: 16px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 900px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { padding: 24px; position: relative; }
.role .tagline { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; display: block; }
.role h3 { margin-bottom: 8px; }
.role ul { display: grid; gap: 8px; margin-top: 12px; font-size: .95rem; color: var(--ink-2); }
.role ul li { padding-left: 16px; position: relative; }
.role ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 2px; background: var(--teal); }
.honest { padding: 24px 26px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); display: flex; gap: 16px; align-items: flex-start; }
.honest .ico { color: var(--teal); width: 28px; height: 28px; margin-top: 2px; }
.honest p:last-child { margin: 0; }

/* ---------- about / contact ---------- */
.contact-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.contact-card { padding: 20px 22px; display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); }
.contact-card:hover { border-color: var(--teal); color: var(--ink); }
.contact-card .fam-ico { --fam: var(--teal); }
.contact-card small { display: block; color: var(--ink-3); font-size: .85rem; }
.contact-card b { font-size: 1.05rem; overflow-wrap: anywhere; }
.trio { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); } }

.load-error { padding: 24px; border: 1.5px dashed var(--red); border-radius: var(--r); color: var(--ink); background: var(--surface); }
noscript .load-error { margin: 24px var(--gutter); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (max-width: 420px) {
  .brand__word b { font-size: 1.2rem; letter-spacing: .2em; }
  .brand img { width: 40px; height: 41px; }
  .tier__price b { font-size: 2.6rem; }
}

.suite, #apps, #onboarding, #addons, #brand-demo, #popia, #partners { scroll-margin-top: calc(var(--header-h) + 76px); }

.split > *, .two-col > *, .demo-band > *, .proof > *, .pd-grid > *, .pd-head > *, .wl-stage > *, .suite__head > *, .demo-pair > * { min-width: 0; }
.brand-demo-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-app__bar { overflow: hidden; }
@media (max-width: 520px) { .mini-app__bar { font-size: .66rem; padding: 0 6px; gap: 4px; } .mini-app__logo { display: none; } .brand-demo-mini { gap: 8px; } }

@media (min-width: 900px) { .pk-bar { position: sticky; top: var(--header-h); } }

/* ---------- member cards and staff cards ---------- */
.cards-duo { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .cards-duo { grid-template-columns: 1fr 1fr; } }
.cards-duo__col h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0; margin: 22px 0 12px; }
.cards-note { margin-top: 28px; max-width: 78ch; font-size: .95rem; }
.idcard { background: #fff; color: #1b2423; border: 1px solid #ddd; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 440px; }
.idcard__head { background: var(--b); color: #fff; padding: 16px 20px; display: flex; gap: 12px; align-items: center; }
.idcard__head b { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; line-height: 1.2; }
.idcard__head span:not(.rx__logo) { font-size: .78rem; opacity: .92; }
.idcard__body { display: flex; gap: 18px; align-items: center; padding: 20px; }
.idcard__qr { width: 104px; height: 104px; flex: none; color: var(--b); padding: 6px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; }
.idcard__who { min-width: 0; display: grid; gap: 4px; }
.idcard__who b { font-size: 1.15rem; line-height: 1.2; }
.idcard__who small { color: #4a5856; font-size: .8rem; line-height: 1.4; }
.idcard__ok { display: inline-flex; align-items: center; gap: 6px; align-self: start; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--b-tint); color: var(--b); font-weight: 700; font-size: .82rem; }
.idcard__ok .ico { width: 16px; height: 16px; }
@media (max-width: 420px) { .idcard__body { flex-direction: column; align-items: flex-start; } }

/* patients and health professionals strip (the WordPress Health Vault log-in pages stay where they were) */
.patient-strip { background: var(--teal-tint); border-bottom: 1px solid var(--line-2); }
.patient-strip__in { display: flex; flex-wrap: wrap; gap: 2px 28px; align-items: center; justify-content: space-between; padding-block: 8px; }
.patient-strip p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.patient-strip p b { color: var(--ink); }
.patient-strip__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.patient-strip__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: var(--teal); }
.send-err { color: var(--red); font-weight: 600; margin: 12px 0 0; }
