/* Self-hosted type (SIL OFL 1.1): Instrument Serif for display, Instrument Sans for text and UI */
@font-face { font-family: "Arx Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Arx Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Arx Sans"; src: url("../fonts/InstrumentSans-Regular.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Arx Sans"; src: url("../fonts/InstrumentSans-Bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

/* ==========================================================================
   Arogyam Rx — marketing site design system
   Tokens → base → layout → components → product mockups → pages → motion
   ========================================================================== */

:root {
  /* Approved palette */
  --navy: #173B57;
  --navy-deep: #102F46;
  --teal: #17677A;
  --teal-hover: #125565;
  --ocean: #3D8FA8;
  --aqua: #A9DCE2;
  --mist: #EAF4F5;
  --cloud: #F7FAFA;
  --white: #FFFFFF;
  --slate: #536775;
  --ink: #182A35;

  /* Functional */
  --line: rgba(23, 59, 87, 0.10);
  --line-strong: rgba(23, 59, 87, 0.18);
  --focus: #17677A;
  --ai: #17677A;
  --ai-bg: #EAF4F5;
  --warn: #8A5A00;
  --warn-bg: #FFF6E5;
  --ok: #1D6B4F;
  --ok-bg: #E7F4EE;
  --error: #B42318;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-display: clamp(2.6rem, 1.6rem + 4.4vw, 5rem);

  /* Space & shape */
  --container: 1200px;
  --narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 9vw, 9rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(16, 47, 70, .06), 0 1px 1px rgba(16, 47, 70, .04);
  --shadow-md: 0 8px 24px -8px rgba(16, 47, 70, .14), 0 2px 6px rgba(16, 47, 70, .05);
  --shadow-lg: 0 40px 80px -24px rgba(16, 47, 70, .28), 0 12px 28px -12px rgba(16, 47, 70, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.panel .ph .ico { width: 13px; height: 13px; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-hover); }
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--fs-display); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-xl); line-height: 1.2; }
h4 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--aqua); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section--cloud { background: var(--cloud); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-deep); color: #D9E8EE; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--narrow-first { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--even, .split--narrow-first { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.55; color: var(--slate); max-width: 40em; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }
.section--navy .lead, .section--navy .muted { color: #A9C3CF; }
.section--navy .eyebrow { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--h); padding: 0 1.4rem; border-radius: 999px;
  font: 500 var(--fs-sm)/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px -6px rgba(23, 103, 122, .55); }
.btn-primary:hover { background: var(--teal-hover); color: #fff; box-shadow: 0 10px 22px -8px rgba(23, 103, 122, .6); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--teal); padding-inline: .25rem; min-height: auto; border-radius: 6px; }
.btn-ghost:hover { color: var(--teal-hover); }
.btn-ghost .arr { transition: transform .25s var(--ease); }
.btn-ghost:hover .arr { transform: translateX(3px); }
.btn-sm { --h: 38px; padding: 0 1rem; font-size: .875rem; }
.btn-lg { --h: 56px; padding: 0 1.75rem; font-size: 1rem; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: .55rem; } }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; text-decoration: none; font-size: var(--fs-sm); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .86); }
.nav { display: flex; align-items: center; height: 100%; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; list-style: none; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem; border-radius: 8px;
  font: 500 .9rem/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: var(--teal); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { display: flex; gap: .5rem; align-items: center; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; padding: .5rem; border-radius: var(--r-md); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: .7rem .85rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--cloud); }
.dropdown strong { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); }
.dropdown span { display: block; font-size: .8125rem; color: var(--slate); line-height: 1.4; margin-top: 2px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--navy); }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-panel { display: none; }

@media (max-width: 1060px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: .25rem; }
  .mobile-panel {
    display: block; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; overflow-y: auto;
    background: #fff; padding: 1rem var(--gutter) 3rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-panel h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--slate); margin: 1.5rem 0 .5rem; font-weight: 600; }
  .mobile-panel ul { list-style: none; }
  .mobile-panel a { display: block; padding: .7rem 0; font-size: 1.125rem; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-panel .btn-row { margin-top: 2rem; }
  .mobile-panel .btn-row .btn { flex: 1; border-bottom: 0; font-size: var(--fs-sm); padding: 0 1rem; color: inherit; }
  .mobile-panel .btn-row .btn-primary { color: #fff; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .nav { gap: .5rem; }
  .menu-toggle { margin-left: 0; }
  .nav-cta .btn-primary { padding: 0 .85rem; }
  .brand img { height: 46px; }
}

/* ---------- Status / labels ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  background: var(--mist); color: var(--teal);
}
.pill--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--navy { background: var(--navy); color: #fff; }
.announce {
  display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .45rem .35rem .9rem; border-radius: 999px;
  background: var(--cloud); border: 1px solid var(--line); font-size: .8125rem; color: var(--slate); text-decoration: none;
  margin-bottom: 1.75rem;
}
.announce strong { color: var(--navy); font-weight: 600; }
.announce .pill { background: #fff; }
.announce:hover { border-color: var(--line-strong); color: var(--slate); }

.ai-note {
  display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm);
  background: var(--ai-bg); color: var(--navy); font-size: var(--fs-sm); line-height: 1.5;
  border: 1px solid rgba(23, 103, 122, .18);
}
.ai-note svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--teal); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(169, 220, 226, .45), transparent 70%),
    radial-gradient(30% 40% at 85% 20%, rgba(61, 143, 168, .12), transparent 70%);
}
.hero-copy { max-width: 56rem; margin-inline: auto; text-align: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin: 0 auto 2.25rem; max-width: 42rem; }
.hero .btn-row { justify-content: center; }
.hero-sub { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--slate); }
.hero-visual { margin-top: clamp(3rem, 6vw, 5rem); position: relative; }
.page-hero { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1;
  background: linear-gradient(180deg, var(--cloud) 0%, rgba(247, 250, 250, 0) 100%);
}
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem); max-width: 18ch; }
.page-hero.center h1 { margin-inline: auto; }
.breadcrumb { font-size: var(--fs-xs); color: var(--slate); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span[aria-hidden] { margin: 0 .4rem; opacity: .6; }

/* ---------- Product window (mockup frame) ---------- */
.window {
  position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.45; color: var(--ink); text-align: left;
}
.window-bar { display: flex; align-items: center; gap: .9rem; height: 42px; padding: 0 1rem; border-bottom: 1px solid var(--line); background: #FBFDFD; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #DCE6E9; }
.window-url { flex: 1; max-width: 340px; margin: 0 auto; height: 26px; border-radius: 7px; background: var(--cloud); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 11.5px; color: var(--slate); min-width: 0; overflow: hidden; white-space: nowrap; }
.window-caption { position: absolute; right: 12px; bottom: 10px; font-size: 10.5px; color: var(--slate); background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); }
.synthetic-note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--slate); text-align: center; }

/* App chrome inside mockups */
.app { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 520px; }
.app-side { background: var(--cloud); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-side .logo-chip { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 600; color: var(--navy); font-size: 12.5px; }
.app-side .logo-chip i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--teal), var(--ocean)); }
.app-nav { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; color: var(--slate); font-size: 12.5px; }
.app-nav svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-nav.is-active { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); }
.app-nav .count { margin-left: auto; font-size: 10.5px; background: var(--mist); color: var(--teal); border-radius: 999px; padding: 0 6px; font-weight: 600; }
.app-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 12px; }
.app-top h5 { margin: 0; font-size: 15px; color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
.app-top .sub { color: var(--slate); font-size: 11.5px; }
.app-top .spacer { flex: 1; }
.app-search { height: 30px; min-width: 180px; border-radius: 8px; border: 1px solid var(--line); background: var(--cloud); display: flex; align-items: center; padding: 0 10px; color: #8197A3; font-size: 11.5px; gap: 6px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--teal); background: var(--mist); flex-shrink: 0; }
.avatar--sm { width: 28px; height: 28px; font-size: 11px; }
.avatar--lg { width: 48px; height: 48px; font-size: 15px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; min-width: 0; }
.panel h6, .panel .ph { margin: 0 0 8px; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.panel h6 .pill, .panel .ph .pill { text-transform: none; letter-spacing: 0; font-size: 10px; padding: 1px 7px; margin-left: auto; }
.panel--ai { background: linear-gradient(180deg, #F2FAFB 0%, #fff 100%); border-color: rgba(23, 103, 122, .22); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; font-size: 12px; }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.rows { list-style: none; display: flex; flex-direction: column; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; min-width: 0; }
.rows li:first-child { border-top: 0; padding-top: 2px; }
.rows .meta { color: var(--slate); font-size: 11px; margin-left: auto; white-space: nowrap; }
.rows .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-ico { width: 26px; height: 30px; border-radius: 5px; background: var(--mist); border: 1px solid rgba(23,103,122,.15); display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: var(--teal); flex-shrink: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; background: var(--cloud); border: 1px solid var(--line); color: var(--slate); white-space: nowrap; }
.chip--teal { background: var(--mist); color: var(--teal); border-color: transparent; }
.chip--warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.bullets { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.bullets li { position: relative; padding-left: 14px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--ocean); }
.src { font-size: 10px; color: var(--teal); background: var(--mist); border-radius: 4px; padding: 0 4px; margin-left: 4px; white-space: nowrap; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.ai-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: var(--teal); }
.ai-tag svg { width: 12px; height: 12px; }
.review-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: 11px; font-weight: 500; }
.review-bar svg { width: 14px; height: 14px; flex-shrink: 0; }
.mini-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 11px; font-weight: 600; background: var(--teal); color: #fff; white-space: nowrap; }
.mini-btn--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line-strong); }
.vitals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vital { background: var(--cloud); border-radius: 9px; padding: 8px 10px; }
.vital b { display: block; font-size: 14px; color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
.vital span { font-size: 10.5px; color: var(--slate); }
.spark { height: 26px; margin-top: 4px; }
.timeline { list-style: none; position: relative; padding-left: 16px; display: flex; flex-direction: column; gap: 10px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 1.5px; background: var(--line-strong); }
.timeline li { position: relative; font-size: 12px; }
.timeline li::before { content: ""; position: absolute; left: -16px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--ocean); }
.timeline li b { color: var(--navy); font-weight: 600; }
.timeline .d { display: block; color: var(--slate); font-size: 11px; }
.queue-row { display: grid; grid-template-columns: 24px 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 12px; }
.queue-row.is-next { background: var(--mist); }
.queue-row .tok { font-weight: 600; color: var(--slate); font-size: 11px; }
.queue-row .nm { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-row .nm small { display: block; color: var(--slate); font-weight: 400; font-size: 10.5px; }

.mock-grid { display: grid; gap: 12px; }
.mock-grid--hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.mock-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mock-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* Mockups placed in a half-width split: drop the sidebar, give panels room */
.split .app { grid-template-columns: 1fr; }
.split .app-side { display: none; }
@media (min-width: 961px) { .split .mock-grid--3 { grid-template-columns: 1fr 1fr; } .split .mock-grid--3 > :last-child { grid-column: 1 / -1; } }
.section--navy .ai-note .ico { color: var(--aqua); }

/* Responsive mockups: keep them legible on small screens */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .mock-grid--hero, .mock-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .window { font-size: 12px; border-radius: var(--r-md); }
  .mock-grid--hero, .mock-grid--3, .mock-grid--2 { grid-template-columns: 1fr; }
  .app-search, .hide-sm { display: none !important; }
  .vitals { grid-template-columns: repeat(2, 1fr); }
  .app-main { padding: 14px; }
  .app { min-height: 0; }
}

/* Floating detail cards around the hero mockup */
.float-card {
  position: absolute; z-index: 2; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 12px; max-width: 240px;
}
.float-card--l { left: -28px; bottom: 70px; }
.float-card--r { right: -28px; top: 110px; }
@media (max-width: 1280px) { .float-card { display: none; } }

/* ---------- Problem list (editorial) ---------- */
.problem-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.problem-list li { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.problem-list li:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.problem-list .n { font-size: var(--fs-xs); font-weight: 600; color: var(--teal); letter-spacing: .05em; display: block; margin-bottom: .75rem; font-variant-numeric: tabular-nums; }
.problem-list h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.problem-list p { color: var(--slate); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 960px) {
  .problem-list { grid-template-columns: 1fr 1fr; }
  .problem-list li, .problem-list li:not(:nth-child(3n+1)) { padding: 1.75rem 1.5rem 1.75rem 0; border-left: 0; }
  .problem-list li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li, .problem-list li:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
}

/* ---------- Flow (philosophy progression) ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: flow; }
.flow li { position: relative; padding: 0 1.25rem; text-align: center; }
.flow .node {
  width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 20px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--teal); position: relative; z-index: 1;
}
.flow li:last-child .node { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow .node svg { width: 26px; height: 26px; }
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px); height: 1.5px;
  background: linear-gradient(90deg, var(--aqua), var(--ocean));
  transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 1s var(--ease) .2s;
}
.flow h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.flow p { font-size: var(--fs-sm); color: var(--slate); margin: 0; }
.reveal:not(.is-in) .flow li:not(:last-child)::after, .flow.reveal:not(.is-in) li:not(:last-child)::after { --p: 0; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 2rem; }
  .flow li { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; text-align: left; padding: 0; align-items: start; }
  .flow .node { margin: 0; }
  .flow li:not(:last-child)::after { top: 72px; bottom: -28px; left: 32px; right: auto; width: 1.5px; height: auto; background: linear-gradient(180deg, var(--aqua), var(--ocean)); transform: scaleY(var(--p,1)); transform-origin: top; }
}

/* ---------- Features / modules ---------- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.feature-list .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--mist); color: var(--teal); display: grid; place-items: center; }
.feature-list .ic svg { width: 16px; height: 16px; }
.feature-list strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: .1rem; }
.feature-list span { color: var(--slate); font-size: var(--fs-sm); }
.section--navy .feature-list strong { color: #fff; }
.section--navy .feature-list span { color: #A9C3CF; }
.section--navy .feature-list .ic { background: rgba(169, 220, 226, .12); color: var(--aqua); }

.module-grid > *, .grid > *, .split > *, .mock-grid > * { min-width: 0; }
.clip-x { overflow-x: clip; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.module {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  padding: 1.5rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  text-decoration: none; color: inherit;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: inherit; }
.module--wide { grid-column: span 2; }
.module .mv { height: 150px; margin: -.25rem -.25rem 1.25rem; border-radius: 14px; background: var(--cloud); border: 1px solid var(--line); overflow: hidden; padding: 14px; font-size: 11.5px; position: relative; }
.module h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.module p { font-size: var(--fs-sm); color: var(--slate); margin: 0 0 1rem; flex: 1; }
.module .link-arrow { color: var(--teal); }
.module .pill { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1; }
@media (max-width: 960px) { .module-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .module-grid { grid-template-columns: 1fr; } .module--wide { grid-column: auto; } }

/* Generic cards */
.card { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card--cloud { background: var(--cloud); border-color: transparent; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--slate); }
.card .ic-lg { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--teal); margin-bottom: 1.25rem; }
.card .ic-lg svg { width: 22px; height: 22px; }

/* Solutions */
.solution { display: flex; flex-direction: column; border-radius: var(--r-xl); padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--cloud); border: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.solution:hover { background: #fff; border-color: var(--line); }
.solution .who { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 1rem; }
.solution h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin-bottom: .75rem; }
.solution p { color: var(--slate); font-size: var(--fs-sm); }
.solution ul { list-style: none; margin: .5rem 0 2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.solution li { position: relative; padding-left: 1.6rem; font-size: var(--fs-sm); color: var(--ink); }
.check::before, .solution li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2317677A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checklist { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2317677A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E") center/100% no-repeat; }
.section--navy .checklist li::before { background-color: rgba(169,220,226,.18); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; padding: 1.75rem 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--teal); margin-bottom: 2.5rem; letter-spacing: .05em; }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { color: var(--slate); font-size: var(--fs-sm); margin: 0; }
.steps .bar { position: absolute; left: 1.5rem; right: 1.5rem; top: 3.4rem; height: 2px; border-radius: 2px; background: var(--mist); overflow: hidden; }
.steps .bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--ocean)); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.steps.is-in li .bar::after { transform: scaleX(1); }
.steps.is-in li:nth-child(2) .bar::after { transition-delay: .25s; }
.steps.is-in li:nth-child(3) .bar::after { transition-delay: .5s; }
.steps.is-in li:nth-child(4) .bar::after { transition-delay: .75s; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Trust grid */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(169,220,226,.15); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(169,220,226,.15); }
.trust-grid > div { background: var(--navy-deep); padding: 1.75rem; }
.trust-grid h3 { font-size: 1.05rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .6rem; }
.trust-grid h3 svg { width: 18px; height: 18px; color: var(--aqua); }
.trust-grid p { font-size: var(--fs-sm); color: #A9C3CF; margin: 0; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- Tabs (interactive demos) ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist); margin-bottom: 1.5rem; flex-wrap: wrap; justify-content: center; }
.tab { border: 0; background: transparent; padding: .55rem 1.1rem; border-radius: 999px; font: 500 .875rem/1.2 var(--font); color: var(--slate); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Briefing reveal list */
.brief-sections { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.brief-sections button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 32px 1fr auto; gap: .9rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: var(--r-md); background: transparent; border: 1px solid transparent; cursor: pointer;
  font: inherit; color: var(--ink); transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.brief-sections button:hover { background: var(--cloud); }
.brief-sections button[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.brief-sections .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); color: var(--teal); }
.brief-sections .ic svg { width: 16px; height: 16px; }
.brief-sections strong { display: block; font-weight: 600; color: var(--navy); font-size: .975rem; }
.brief-sections small { color: var(--slate); font-size: .8125rem; }
.brief-target { transition: box-shadow .35s var(--ease), border-color .35s var(--ease); }
.brief-target.is-hl { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(61,143,168,.18); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; font-size: 1.125rem; font-weight: 500; color: var(--navy); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--cloud) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23173B57' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mist); }
.faq .ans { padding: 0 3rem 1.5rem 0; color: var(--slate); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy-deep); color: #D9E8EE; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem); text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(61,143,168,.45), transparent 70%), radial-gradient(40% 60% at 90% 100%, rgba(23,103,122,.5), transparent 70%); }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: #B9D2DC; max-width: 38rem; margin: 0 auto 2.25rem; font-size: var(--fs-lg); }
.cta-band .btn-row { justify-content: center; }
.cta-band .contact-line { margin-top: 1.75rem; font-size: var(--fs-sm); color: #A9C3CF; }
.cta-band .contact-line a { color: #fff; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; padding: 2rem; }
.plan--feature { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-md); }
.plan .who { font-size: var(--fs-sm); color: var(--slate); margin-bottom: 1.5rem; min-height: 3em; }
.plan h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.plan .price { font-size: 1.25rem; color: var(--navy); font-weight: 600; padding: 1.25rem 0; border-block: 1px solid var(--line); margin-bottom: 1.5rem; }
.plan .price small { display: block; font-size: var(--fs-xs); color: var(--slate); font-weight: 400; margin-top: .2rem; }
.plan ul { flex: 1; margin-bottom: 2rem; }
.plan li { font-size: var(--fs-sm); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend { font-size: .875rem; font-weight: 500; color: var(--navy); }
.field .opt { color: var(--slate); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
  font: 400 1rem/1.4 var(--font); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23536775' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") right .9rem center/14px no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(23,59,87,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23,103,122,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field .err { font-size: .8125rem; color: var(--error); display: none; }
.field.has-error .err { display: block; }
.field .hint { font-size: .8125rem; color: var(--slate); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; font-size: .875rem; color: var(--slate); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.consent.has-error { color: var(--error); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-note { font-size: .8125rem; color: var(--slate); margin-top: 1rem; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { display: none; margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 12px; font-size: var(--fs-sm); }
.form-status.is-error { display: block; background: #FDECEA; color: #7A1D14; border: 1px solid rgba(180,35,24,.2); }
.form-status.is-error a { color: #7A1D14; font-weight: 600; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.25rem; background: var(--ok-bg); color: var(--ok); }
.form-success .ok svg { width: 26px; height: 26px; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-success { display: block; }
.side-points { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .9rem; font-size: var(--fs-sm); }
.contact-block a { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-block a:hover { color: var(--teal); }
.contact-block svg { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Prose (legal, articles) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.75rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose p, .prose li { color: #2E4350; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .4rem; }
.notice { padding: 1rem 1.25rem; border-radius: 12px; background: var(--warn-bg); color: #5C3D00; font-size: var(--fs-sm); border: 1px solid rgba(138,90,0,.18); margin-bottom: 2rem; }
.toc { position: sticky; top: calc(var(--nav-h) + 2rem); font-size: var(--fs-sm); }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: .5rem; border-left: 1px solid var(--line); padding-left: 1rem; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--teal); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4rem; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }

/* Articles / resources */
.article-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.article-card .cover { aspect-ratio: 16/9; background: var(--mist); position: relative; overflow: hidden; }
.article-card .cover svg { width: 100%; height: 100%; }
.article-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-card .tag { font-size: var(--fs-xs); font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.article-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.article-card p { font-size: var(--fs-sm); color: var(--slate); flex: 1; }
.article-card .meta { font-size: var(--fs-xs); color: var(--slate); }

/* Stat-free "fact" strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts > div { padding: 1.75rem 1.5rem; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--navy); font-size: 1.05rem; font-weight: 600; margin-bottom: .2rem; }
.facts span { font-size: var(--fs-sm); color: var(--slate); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Roadmap / status table */
.status-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.status-table th, .status-table td { text-align: left; padding: 1rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.status-table th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--slate); font-weight: 600; }
.status-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Comparison: AI vs clinician content */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare .panel { padding: 1.25rem; font-size: 14px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; }
.founder .avatar { width: 72px; height: 72px; font-size: 1.4rem; background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cloud); border-top: 1px solid var(--line); padding: 4.5rem 0 2.5rem; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; }
.footer-brand img { height: 80px; width: auto; margin-bottom: 1.25rem; }
.footer-brand .tag { color: var(--navy); font-weight: 600; margin-bottom: 1.25rem; }
.footer-brand address { font-style: normal; display: flex; flex-direction: column; gap: .4rem; }
.footer-brand address a { color: var(--slate); text-decoration: none; }
.footer-brand address a:hover { color: var(--teal); }
.site-footer h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.site-footer ul a { color: var(--slate); text-decoration: none; }
.site-footer ul a:hover { color: var(--teal); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; color: var(--slate); font-size: var(--fs-xs); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: var(--slate); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem; height: 48px; padding: 0 1.1rem 0 .9rem; border-radius: 999px;
  background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font: 500 .875rem/1 var(--font); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--navy); }
.wa-float svg { width: 22px; height: 22px; color: #1F8F4E; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 640px) { .wa-float { width: 48px; padding: 0; justify-content: center; } .wa-float .lbl { display: none; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
.hero-visual .window { transform: perspective(1800px) rotateX(calc(var(--tilt, 8) * 1deg)) scale(calc(.96 + var(--sp, 0) * .04)); transform-origin: 50% 0; transition: transform .2s linear; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-visual .window { transform: none !important; }
}

/* Print */
@media print {
  .site-header, .wa-float, .site-footer, .cta-band { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   v2 — design refinements
   ========================================================================== */

/* Type: quieter labels, larger, tighter display */
.eyebrow { text-transform: none; letter-spacing: -0.005em; font-size: .9375rem; font-weight: 600; margin-bottom: 1rem; }
.eyebrow::before { display: none; }
.solution .who, .article-card .tag, .site-footer h2, .mobile-panel h2, .status-table th { text-transform: none; letter-spacing: 0; }
.site-footer h2 { font-size: .875rem; }
.hero h1 { font-size: clamp(2.75rem, 1.3rem + 4.6vw, 5.25rem); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 1.25rem; }
.hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.hero .announce { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-sub { margin-top: 1.1rem; }
.hero-visual { margin-top: clamp(2.5rem, 4.5vw, 3.75rem); }
h2 { letter-spacing: -0.035em; }

/* Links: an underline that firms up, rather than an arrow */
.link-arrow::after { content: none; }
.link-arrow { text-decoration: underline; text-decoration-color: rgba(23,103,122,.35); text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-decoration-color .2s var(--ease); }
.link-arrow:hover { text-decoration-color: currentColor; }

/* Hero: light pooling under the product */
.hero-visual { isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 6% 4% -8%; background: radial-gradient(50% 50% at 50% 55%, rgba(61,143,168,.30), rgba(169,220,226,.18) 45%, transparent 72%); filter: blur(36px); pointer-events: none; }

/* Signature moment: the briefing assembles itself on load */
.hero .hero-visual { animation: arxRise 1s var(--ease) .15s both; }
.hero .seq-panel { animation: arxGlow 1.8s var(--ease) .95s both; }
.hero .seq { animation: arxIn .55s var(--ease) both; animation-delay: calc(1.15s + var(--i) * .32s); }
.hero .seq .src { animation: arxSrc .4s var(--ease) both; animation-delay: calc(1.4s + var(--i) * .32s); }
.hero .seq-pill { animation: arxStamp .5s cubic-bezier(.3, 1.5, .5, 1) 2.6s both; }
.hero .float-card--r { animation: arxFloat .7s var(--ease) 2.95s both; }
.hero .float-card--l { animation: arxFloat .7s var(--ease) 3.2s both; }
@keyframes arxRise { from { opacity: 0; transform: translateY(48px); } }
@keyframes arxIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes arxSrc { from { opacity: 0; transform: scale(.75); } }
@keyframes arxStamp { from { opacity: 0; transform: scale(1.7); } }
@keyframes arxFloat { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes arxGlow { 0% { box-shadow: 0 0 0 0 rgba(61,143,168,0); } 45% { box-shadow: 0 0 0 5px rgba(61,143,168,.22); } 100% { box-shadow: 0 0 0 0 rgba(61,143,168,0); } }

/* Problem: the scattered file */
.split--problem { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-bottom: clamp(3rem, 6vw, 5rem); }
.scatter { position: relative; margin: 0; height: 470px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--cloud), var(--mist)); overflow: hidden; }
.frag { position: absolute; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 18px 36px -18px rgba(16,47,70,.35), 0 2px 6px rgba(16,47,70,.06); font-size: 12px; color: var(--ink); line-height: 1.4; }
.frag--rx { left: 6%; top: 8%; width: 200px; padding: 14px 16px 10px; transform: rotate(-7deg); background: #FFFEFA; }
.frag-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.frag-head b { color: var(--navy); font-size: 12px; }
.frag-head span { font-size: 10px; color: var(--slate); }
.rx-glyph { display: block; font-size: 22px; line-height: 1; color: var(--navy); font-weight: 600; }
.frag--rx svg { width: 100%; height: auto; margin-top: 2px; }
.frag-date { display: block; text-align: right; font-size: 10px; color: var(--slate); font-style: italic; }
.frag--phone { right: 9%; top: 6%; width: 150px; height: 252px; border-radius: 26px; border: 6px solid var(--ink); padding: 22px 10px 10px; transform: rotate(6deg); background: #ECF2EF; }
.phone-notch { position: absolute; top: 5px; left: 50%; width: 44px; height: 6px; border-radius: 6px; background: var(--ink); transform: translateX(-50%); }
.chat-name { margin: 0 0 8px; font-weight: 600; font-size: 11px; color: var(--navy); }
.chat-img { background: #fff; border-radius: 10px; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); transform: rotate(-3deg); }
.chat-img span { height: 6px; border-radius: 3px; background: #D5E2E6; }
.chat-img span:nth-child(2) { width: 72%; } .chat-img span:nth-child(4) { width: 55%; }
.chat-cap { margin: 10px 0 0; background: #D9F2E2; border-radius: 10px; padding: 6px 8px; font-size: 11px; }
.chat-cap small { display: block; text-align: right; font-size: 9px; color: var(--slate); }
.frag--pdf { left: 31%; top: 46%; width: 232px; padding: 0 0 14px; transform: rotate(-2deg); overflow: hidden; }
.pdf-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--cloud); border-bottom: 1px solid var(--line); font-size: 10px; color: var(--slate); }
.pdf-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D5E2E6; }
.pdf-bar span { margin-left: 6px; }
.pdf-title { margin: 10px 14px 0; font-size: 11px; color: var(--slate); }
.pdf-val { margin: 2px 14px 8px; font-size: 28px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.pdf-val small { font-size: 14px; color: var(--slate); }
.pdf-btn { margin-left: 14px; display: inline-block; font-size: 10.5px; font-weight: 600; color: var(--teal); border: 1px solid rgba(23,103,122,.3); border-radius: 6px; padding: 3px 8px; }
.frag--reg { left: 5%; bottom: 13%; width: 205px; padding: 10px 14px; transform: rotate(5deg); background: #FFFEFA repeating-linear-gradient(180deg, transparent 0 21px, #E2EBEE 21px 22px); background-position: 0 30px; }
.frag--reg p { margin: 0 0 4px; font-size: 10px; color: var(--slate); font-weight: 600; }
.frag--reg ol { list-style: none; font-size: 12px; line-height: 22px; }
.frag--reg b { color: var(--slate); font-weight: 500; margin-right: 6px; }
.frag--note { right: 7%; bottom: 15%; width: 148px; padding: 14px; background: #FFF1BF; border-color: transparent; border-radius: 3px; transform: rotate(-5deg); font-size: 13px; line-height: 1.35; color: #4F4000; }
.scatter figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: var(--fs-xs); color: var(--slate); }
@media (max-width: 960px) { .split--problem { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .scatter { height: 500px; }
  .frag--rx { width: 168px; left: 3%; top: 5%; }
  .frag--phone { width: 124px; height: 216px; right: 3%; top: 4%; }
  .frag--pdf { left: 10%; top: 47%; width: 196px; }
  .frag--reg { width: 172px; left: 3%; bottom: 10%; }
  .frag--note { width: 122px; right: 3%; bottom: 17%; font-size: 12px; }
}
.problem-list li h3 { margin-top: 0; }

/* Before You See This Patient — scroll-driven on large screens */
.window.has-hl .brief-target { transition: opacity .4s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.window.has-hl .brief-target:not(.is-hl) { opacity: .42; }
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .split--scrolly .sticky-visual { position: sticky; top: calc(var(--nav-h) + 28px); }
  .split--scrolly .brief-sections { gap: 0; }
  .split--scrolly .brief-sections li { min-height: 26vh; display: flex; align-items: center; }
  .split--scrolly .brief-sections button { transition: opacity .35s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
  .split--scrolly .brief-sections button:not([aria-selected="true"]) { opacity: .5; }
  .split--scrolly .brief-sections button:hover, .split--scrolly .brief-sections button:focus-visible { opacity: 1; }
}

/* Feature lists: editorial columns instead of boxed cards */
.grid > .card--cloud { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 1.75rem 0 0; }
.grid > .card--cloud .ic-lg { width: auto; height: auto; background: none; justify-content: start; margin-bottom: 1rem; display: block; }
.grid > .card--cloud .ic-lg svg { width: 26px; height: 26px; }
.grid > .card--cloud h3 { font-size: 1.15rem; }

/* Modules, grouped by the job they do */
.module-groups { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.mgroup { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.mgroup-head { position: sticky; top: calc(var(--nav-h) + 24px); }
.mgroup-head h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin-bottom: .5rem; }
.mgroup-head p { color: var(--slate); font-size: var(--fs-sm); max-width: 24ch; }
.mgroup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mgroup .module { border: 0; background: var(--cloud); }
.section--cloud .mgroup .module { background: #fff; }
.mgroup .module:hover { transform: none; box-shadow: none; background: var(--mist); }
.mgroup .module .mv { background: #fff; }
.section--cloud .mgroup .module .mv { background: var(--cloud); }
.module h4 { font-size: 1.1rem; margin-bottom: .35rem; }
@media (max-width: 960px) { .mgroup { grid-template-columns: 1fr; } .mgroup-head { position: static; } .mgroup-head p { max-width: none; } }
@media (max-width: 640px) { .mgroup-grid { grid-template-columns: 1fr; } .mgroup .module--wide { grid-column: auto; } }

/* Fewer moving parts: card hover lifts only where the card is a link */
.solution:hover { background: var(--cloud); border-color: transparent; }
.brief-sections small { display: block; line-height: 1.45; margin-top: 3px; }
.mgroup > *, .mgroup-grid > * { min-width: 0; }
.mgroup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .mgroup { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .mgroup-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .announce .pill { display: none; } .announce { padding: .45rem 1rem; text-align: center; } }


/* ==========================================================================
   v3 — typography system
   Two optical cuts of one family. Inter Display carries every headline and
   introduction; Inter carries reading text and the product UI.
   Scale: 13 / 15 / 17 / 20 / 24 / 32 / 44 / 60 / 88 (display)
   ========================================================================== */
:root {
  --font: "Arx Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arx Display", "Arx Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-base: 1.0625rem;
  --fs-h2: clamp(2.25rem, 1.35rem + 3.2vw, 3.75rem);
  --fs-xl: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
}
body { font-feature-settings: "cv05", "ss03", "calt"; letter-spacing: -0.006em; }
h1, h2, h3, h4, .lead, .eyebrow, .faq summary, .plan .price, .facts b, .cta-band p, .mgroup-head h3 { font-family: var(--font-display); }
h1 { font-weight: 600; letter-spacing: -0.032em; line-height: 1.02; }
h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h4 { font-weight: 600; letter-spacing: -0.012em; }
.hero h1 { font-size: clamp(2.9rem, 1.2rem + 5.4vw, 5.5rem); letter-spacing: -0.038em; line-height: .98; }
.page-hero h1 { font-size: clamp(2.6rem, 1.5rem + 4vw, 4.5rem); letter-spacing: -0.035em; line-height: 1; max-width: 16ch; }
.section-head h2, .split h2 { max-width: 17ch; }
.section-head.center h2 { margin-inline: auto; }
.lead { font-weight: 400; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.45; letter-spacing: -0.014em; max-width: 34em; }
.hero .lead { color: #46606E; }
.eyebrow { font-weight: 500; font-size: clamp(1rem, .95rem + .2vw, 1.1875rem); letter-spacing: -0.01em; color: var(--teal); margin-bottom: .85rem; }
p, li { hanging-punctuation: first; }
.muted, .small { letter-spacing: -0.003em; }
.faq summary { font-weight: 500; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); letter-spacing: -0.015em; }
.btn { font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; }
.window, .app, .vitals, .kv, .rows, .queue-row, .pdf-val { font-variant-numeric: tabular-nums; }
.window { font-family: var(--font); letter-spacing: 0; }
.problem-list h3, .steps h3, .solution h3, .card h3, .module h4, .article-card h3, .plan h2 { letter-spacing: -0.02em; }
.problem-list h3 { font-size: 1.25rem; }
.solution h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.12; }
.steps h3 { font-size: 1.1875rem; }
.cta-band h2 { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4rem); letter-spacing: -0.035em; max-width: 18ch; }
.cta-band p { letter-spacing: -0.012em; }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .7vw, 1.875rem); letter-spacing: -0.022em; margin-top: 2.5em; }
.prose p, .prose li { color: #2A3F4C; }
.footer-brand .tag { font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -0.01em; }

/* Pricing */
.plan { padding: clamp(1.75rem, 3vw, 2.5rem); }
.plan h2 { font-size: clamp(1.625rem, 1.4rem + .6vw, 2rem); margin-bottom: .6rem; }
.plan .who { min-height: 0; margin-bottom: 1.5rem; font-size: 1rem; }
.plan .fit { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 0; margin: 0 0 1.5rem; border-block: 1px solid var(--line); font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--navy); letter-spacing: -0.012em; line-height: 1.3; }
.plan .fit span { font-family: var(--font); font-size: .8125rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan--feature { background: linear-gradient(180deg, #F3FAFB 0%, #fff 40%); }
.plan .btn { width: 100%; }
.quote-factors { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 2fr); align-items: center; gap: 1.5rem; padding: 1.5rem 1.75rem; border-radius: var(--r-lg); background: var(--cloud); }
.qf-title { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); letter-spacing: -0.015em; }
.quote-factors ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.quote-factors li { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--slate); }
.quote-factors li .ico { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.quote-factors strong { display: block; color: var(--navy); font-weight: 600; }
.next-steps { list-style: none; counter-reset: ns; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 1.25rem; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: .9rem; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-strong); color: var(--teal); font-weight: 600; font-size: .9375rem; }
.next-steps strong { color: var(--navy); font-weight: 600; }
.next-steps span { color: var(--slate); font-size: var(--fs-sm); }
@media (max-width: 860px) { .quote-factors { grid-template-columns: 1fr; } .quote-factors ul { grid-template-columns: 1fr; } }

/* Related reading */
.related { max-width: 46rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.related h2 { font-size: 1.375rem; margin-bottom: 1rem; }
.related ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.related a { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.012em; color: var(--navy); text-decoration: none; }
.related a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.related span { display: block; font-size: var(--fs-xs); color: var(--slate); margin-top: .15rem; }

/* v3.1 — tracking tuned for Inter Display's optical cut (it is already tight) */
h1 { letter-spacing: -0.024em; }
.hero h1 { letter-spacing: -0.026em; line-height: 1; }
.page-hero h1 { letter-spacing: -0.024em; line-height: 1.03; }
h2, .cta-band h2 { letter-spacing: -0.022em; line-height: 1.06; }
h3 { letter-spacing: -0.014em; }
.problem-list h3, .steps h3, .solution h3, .card h3, .module h4, .article-card h3, .plan h2 { letter-spacing: -0.012em; }
.lead { letter-spacing: -0.008em; }
.hero .lead { max-width: 37rem; }
.hero-copy { max-width: 70rem; }
.hero h1 { font-size: clamp(2.9rem, 1.2rem + 5vw, 5.25rem); }
.split h2 { max-width: 20ch; }
.split--problem h2 { font-size: clamp(2.25rem, 1.35rem + 2.8vw, 3.5rem); }


/* Founder */
.founder-home-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.founder-note { margin: 0; }
.founder-note blockquote { margin: 0 0 2rem; }
.founder-note blockquote p { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.35; letter-spacing: -0.016em; color: var(--navy); font-weight: 500; }
.founder-note blockquote p + p { color: #3E5866; font-weight: 400; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); }
.signature { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; }
.signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.signature span { display: flex; flex-direction: column; font-size: var(--fs-sm); color: var(--slate); line-height: 1.35; margin-right: auto; }
.signature strong { color: var(--navy); font-weight: 600; font-size: 1rem; }
.founder-ea { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-xl); background: var(--mist); }
.fea-title { font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.016em; color: var(--navy); margin-bottom: .75rem; }
.founder-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.founder-portrait { margin: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.founder-portrait img { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: #D9DDE0; }
.founder-role { color: var(--slate); font-weight: 500; margin-top: -.25rem; }
.founder-letter { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.founder-letter h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); margin-bottom: 1rem; }
.founder-letter p { font-size: 1.125rem; line-height: 1.7; color: #2A3F4C; }
.founder-letter .sig { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 1.25rem; }
@media (max-width: 900px) {
  .founder-home-grid, .founder-about { grid-template-columns: 1fr; }
  .founder-portrait { position: static; max-width: 420px; }
}

/* Mobile menu: the panel's link styling must not leak into its two buttons */
.mobile-panel .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
.mobile-panel .btn-row .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1rem; font-size: 1rem; line-height: 1.2; text-align: center; white-space: nowrap; border-bottom: 1px solid transparent; }
.mobile-panel .btn-row .btn-secondary { border: 1px solid var(--line-strong); color: var(--navy); }
.mobile-panel .btn-row .btn-primary { color: #fff; }
@media (max-width: 340px) { .mobile-panel .btn-row { grid-template-columns: 1fr; } }


/* ==========================================================================
   v4 — editorial type system
   Instrument Serif (display, regular weight only) sets every headline;
   Instrument Sans sets reading text, labels, buttons and the product UI.
   ========================================================================== */
:root {
  --font: "Arx Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arx Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --fs-base: 1.0625rem;
}
body { font-family: var(--font); font-feature-settings: normal; letter-spacing: 0; }
.nw { white-space: nowrap; }

/* Serif: headlines and a few editorial moments. One weight, so never synthesise bold. */
h1, h2, h3, .faq summary, .facts b, .plan h2, .plan .fit, .qf-title, .fea-title, .mgroup-head h3, .related a, .footer-brand .tag, .founder-letter .sig, .cta-band h2 {
  font-family: var(--font-display); font-weight: 400; font-synthesis: none;
}
h1 { letter-spacing: -0.012em; line-height: 1; }
.hero h1 { font-size: clamp(3.2rem, 1.3rem + 6.2vw, 6.5rem); letter-spacing: -0.018em; line-height: .96; }
.page-hero h1 { font-size: clamp(2.9rem, 1.6rem + 4.4vw, 5.25rem); letter-spacing: -0.014em; line-height: 1; max-width: 17ch; }
h2, .cta-band h2 { font-size: clamp(2.5rem, 1.45rem + 3.8vw, 4.5rem); letter-spacing: -0.012em; line-height: 1.02; }
.section-head h2, .split h2 { max-width: 18ch; }
.split--problem h2 { font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4rem); }
h3 { font-size: clamp(1.5rem, 1.3rem + .7vw, 1.9375rem); letter-spacing: -0.006em; line-height: 1.1; }
.problem-list h3, .steps h3, .card h3, .article-card h3, .solution h3 { font-size: clamp(1.5rem, 1.35rem + .5vw, 1.8125rem); letter-spacing: -0.006em; line-height: 1.1; }
.solution h3 { font-size: clamp(1.75rem, 1.5rem + .8vw, 2.25rem); }
.plan h2 { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); }
.plan .fit { font-size: 1.375rem; line-height: 1.2; }
.plan .fit span { font-family: var(--font); }
.qf-title { font-size: 1.625rem; line-height: 1.1; }
.fea-title { font-size: clamp(1.75rem, 1.45rem + 1vw, 2.375rem); line-height: 1.08; }
.mgroup-head h3 { font-size: clamp(1.75rem, 1.5rem + .8vw, 2.25rem); }
.facts b { font-size: 1.625rem; line-height: 1.1; margin-bottom: .35rem; }
.faq summary { font-size: clamp(1.375rem, 1.25rem + .45vw, 1.625rem); letter-spacing: -0.004em; line-height: 1.2; }
.related a { font-size: 1.5rem; line-height: 1.2; }
.footer-brand .tag { font-size: 1.375rem; }
.founder-letter .sig { font-style: italic; font-size: 1.75rem; }
.cta-band h2 { max-width: 16ch; }
.prose h2 { font-size: clamp(1.875rem, 1.5rem + 1vw, 2.375rem); letter-spacing: -0.008em; }
.founder-letter h3 { font-size: clamp(1.875rem, 1.5rem + 1vw, 2.375rem); }

/* Sans: everything you read, click or scan */
h4, .lead, .eyebrow, .cta-band p, .btn, .nav-link, .window, .module h4 { font-family: var(--font); }
h4, .module h4 { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.008em; }
.lead { font-weight: 400; font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.55; letter-spacing: -0.004em; max-width: 36em; }
.hero .lead { max-width: 38rem; color: #4A6370; }
.eyebrow { font-weight: 700; font-size: .9375rem; letter-spacing: 0; }
.btn { font-weight: 500; letter-spacing: 0; }
.nav-link { font-weight: 500; font-size: .9375rem; }
.cta-band p { letter-spacing: 0; }
.window, .app { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.prose { font-size: 1.125rem; line-height: 1.72; }

/* Founder note: the first paragraph set as a pull quote */
.founder-note blockquote p:first-child { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.875rem, 1.35rem + 1.7vw, 2.875rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--navy); }
.founder-note blockquote p + p { font-family: var(--font); font-weight: 400; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: #3E5866; letter-spacing: 0; }
.founder-note blockquote p:first-child { font-size: clamp(1.625rem, 1.25rem + 1.2vw, 2.25rem); line-height: 1.16; }


/* ==========================================================================
   v5 — more presence: product stage, pull-quote, illustrated solutions,
   tinted preview stage, editorial footer sign-off
   ========================================================================== */

/* Hero: headline settles in, then the product rises onto its stage */
.hero-copy > * { animation: arxIn .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }

.hero-stage {
  position: relative; isolation: isolate;
  padding: clamp(20px, 4.5vw, 64px) clamp(14px, 4.5vw, 64px) 0;
  border-radius: clamp(20px, 3vw, 36px);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(169, 220, 226, .35), transparent 70%),
    radial-gradient(70% 90% at 85% 100%, rgba(61, 143, 168, .45), transparent 70%),
    linear-gradient(160deg, #1B6E80 0%, #173B57 55%, #102F46 100%);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(16, 47, 70, .55);
}
.hero-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-visual::before { display: none; }
.hero-stage .window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: 0 -2px 0 rgba(255,255,255,.08), 0 30px 60px -20px rgba(0,0,0,.45); }
.hero-stage .float-card { z-index: 3; display: block; background: rgba(255,255,255,.94); }
.hero-stage .float-card--l { left: clamp(14px, 2.5vw, 36px); bottom: 64px; top: auto; }
.hero-stage .float-card--r { right: clamp(14px, 2.5vw, 36px); top: clamp(80px, 9vw, 120px); }
@media (max-width: 1100px) { .hero-stage .float-card { display: none; } }

/* Philosophy: a soft aqua field and a large pull-quote */
.philosophy { background: radial-gradient(70% 60% at 50% 0%, rgba(169,220,226,.45), transparent 70%), linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.philosophy .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pull-quote { margin: 0 auto clamp(3.5rem, 7vw, 6rem); max-width: 56rem; text-align: center; }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--teal); margin: 0 0 1.25rem; }
.pull-quote blockquote p::before { content: "\201C"; }
.pull-quote blockquote p::after { content: "\201D"; }
.pull-quote figcaption { max-width: 34rem; margin: 0 auto; color: var(--slate); font-size: var(--fs-sm); line-height: 1.6; }
.philosophy .flow .node { background: #fff; box-shadow: var(--shadow-md); }

/* Solutions: each card opens with a small product illustration */
.solution { background: #fff; border: 1px solid var(--line); }
.solution:hover { background: #fff; border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.sol-visual { margin: -.5rem -.5rem 1.75rem; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, var(--mist), #F3F9FA); display: flex; flex-direction: column; gap: 12px; font-size: 12px; min-height: 132px; justify-content: center; }
.sv-card, .sv-stack { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.sv-stack .avatar + .avatar { margin-left: -16px; box-shadow: 0 0 0 2px #fff; }
.sv-stack .avatar:first-child { box-shadow: 0 0 0 2px #fff; }
.sv-t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sv-t b { color: var(--navy); font-weight: 700; font-size: 12.5px; }
.sv-t small { color: var(--slate); font-size: 11px; }
.sv-row { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-row .chip { background: #fff; }
.sv-row .chip--teal { background: var(--teal); color: #fff; }
.sv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sv-grid span { background: #fff; border-radius: 9px; padding: 8px 10px; color: var(--navy); font-weight: 600; font-size: 11.5px; box-shadow: var(--shadow-sm); }

/* Product preview on a tinted stage */
.demo-stage { padding: clamp(18px, 3.5vw, 48px); border-radius: clamp(20px, 3vw, 36px); background: radial-gradient(60% 80% at 50% 0%, rgba(169,220,226,.55), transparent 70%), linear-gradient(180deg, var(--mist), #F4FAFB); }
.demo-stage .tabs { background: rgba(255,255,255,.7); }

/* Footer: the tagline as the site's closing line */
.footer-sign { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.75rem, 1rem + 7.5vw, 8.5rem); line-height: .95; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line-strong); text-wrap: balance; }
.site-footer h2, .mobile-panel h2 { font-family: var(--font); font-weight: 700; font-size: .8125rem; letter-spacing: .01em; }
.footer-brand .tag { display: none; }
.flow h3 { font-size: clamp(1.25rem, 1.15rem + .35vw, 1.5rem); margin-bottom: .45rem; }
.sol-visual { min-height: 152px; }
.pill--dev { background: var(--warn-bg); color: var(--warn); font-family: var(--font); font-size: .6875rem; vertical-align: middle; margin-left: .35rem; }

/* ==========================================================================
   v6 — minimal: fewer words, more product
   ========================================================================== */
.note-line { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 0; font-size: var(--fs-sm); color: var(--slate); }
.note-line .ico { width: 16px; height: 16px; color: var(--teal); }
.note-line--dark { justify-content: center; color: #A9C3CF; margin-top: 2rem; }
.note-line--dark .ico { color: var(--aqua); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag-list li { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: var(--fs-sm); font-weight: 500; }
.flow--min .node { margin-bottom: 1rem; }
.flow--min h3 { margin: 0; }
.steps--min li { padding: 1.5rem; }
.steps--min li::before { margin-bottom: 2rem; }
.steps--min h3 { margin: 0; }
.trust-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.trust-list li { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 2rem 1rem; border-radius: var(--r-lg); background: rgba(169, 220, 226, .07); border: 1px solid rgba(169, 220, 226, .16); color: #fff; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); text-align: center; line-height: 1.15; }
.trust-list .ico { width: 28px; height: 28px; color: var(--aqua); }
@media (max-width: 860px) { .trust-list { grid-template-columns: 1fr 1fr; } }
.module--min { padding: 1.25rem; }
.module--min h4 { margin: 0; }
.module--min .mv { margin-bottom: 1rem; }
.mgroup-head h3 { margin: 0; }
.brief-sections--min button { grid-template-columns: 32px 1fr; padding: .85rem 1rem; }
.solution h3 { margin-bottom: 1.75rem; flex: 1; }
.solution .btn { align-self: flex-start; }
.split--problem { margin-bottom: 0; }
.hero .lead { max-width: 30rem; }
.cta-band h2 { margin-bottom: 2rem; }
.founder-note blockquote p:first-child { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1.04; max-width: 16ch; }
