/* =========================================================
   Medixa — design tokens
   ========================================================= */
:root {
  --bg: #f5f8fa;
  --bg-soft: #eef3f7;
  --surface: #ffffff;
  --ink: #081721;
  --ink-soft: #1c3242;
  --muted: #556b7b;
  --line: #e0e8ee;
  --line-strong: #cdd9e2;

  --brand: #0d9488;
  --brand-ink: #0b6f66;
  --brand-deep: #0f766e;
  --brand-050: #ecfdfa;
  --brand-100: #d3f5f0;
  --sky: #0ea5e9;

  --navy: #071a26;
  --navy-2: #0b2634;

  --danger: #b42318;
  --success: #087443;

  --shadow-sm: 0 1px 2px rgba(8, 23, 33, .06), 0 4px 14px rgba(8, 23, 33, .05);
  --shadow-md: 0 10px 30px rgba(8, 23, 33, .09), 0 2px 6px rgba(8, 23, 33, .04);
  --shadow-lg: 0 30px 70px rgba(8, 23, 33, .14), 0 6px 18px rgba(8, 23, 33, .06);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1140px;
  --header-h: 72px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;
}

/* =========================================================
   base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.28rem); letter-spacing: -.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

strong { color: var(--ink); font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-100); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* =========================================================
   shared blocks
   ========================================================= */
.section {
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
}
.section--tint { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  margin-bottom: 0;
}
.section-head .after { margin-top: 14px; }

.grad {
  background: linear-gradient(100deg, var(--sky), var(--brand) 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: inherit;
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #0f766e, #0b6f66);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 111, 102, .3);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 32px rgba(11, 111, 102, .38); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--brand); }

.btn-sm { padding: 12px 20px; font-size: 14.5px; }

.btn-block { width: 100%; }

/* cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}

.grid { display: grid; gap: clamp(16px, 2vw, 22px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.icon-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  color: var(--brand-ink);
  margin-bottom: 16px;
  flex: none;
}
.icon-tile svg { width: 22px; height: 22px; }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* =========================================================
   header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 248, 250, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(8, 23, 33, .06);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  position: relative;
  display: inline-block;
  flex: none;
  width: 110px;
  height: 34px;
  /* brand asset: https://cdn.medixa.us/logo/logo.webp (1376x768, artwork 932x289
     at 220,236 with transparent padding; height-fit scale keeps the aspect ratio
     and crops the padding into this 110x34 box) */
  background: url("https://cdn.medixa.us/logo/logo.webp") no-repeat -25.9px -27.8px / auto 90.4px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover { color: var(--ink); opacity: .9; }

.logo .mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--sky));
  box-shadow: 0 6px 16px rgba(13, 148, 136, .3);
  flex: none;
}
.logo .mark svg { width: 17px; height: 17px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 550;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 9px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(8, 23, 33, .05); }

.nav-cta { margin-left: 8px; }

.site-header--minimal .nav-links { margin-left: auto; }

@media (max-width: 760px) {
  .site-header--minimal .nav-links { display: none; }
  .site-header--minimal .nav-cta { display: inline-flex; margin-left: auto; }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* =========================================================
   hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 620px;
  background:
    radial-gradient(600px 320px at 18% 30%, rgba(14, 165, 233, .16), transparent 65%),
    radial-gradient(560px 340px at 82% 20%, rgba(13, 148, 136, .18), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .line2 { display: block; }

.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.19rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--ink-soft);
  list-style: none;
}
.hero-proof ul { display: contents; }
.hero-proof svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

.hero-bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

/* verification mock */
.hero-visual { position: relative; }

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.mock::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, .55), transparent);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--navy);
  color: #cbd8e2;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 650;
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  font-style: normal;
}

.mock-body { padding: clamp(20px, 3vw, 26px); }

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.mock-row:last-child { border-bottom: 0; }
.mock-row .k { color: var(--muted); }
.mock-row .v { font-weight: 650; color: var(--ink); text-align: right; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.pill-ok { background: #e7f8ef; color: var(--success); }
.pill-warn { background: #fff5e5; color: #a35a00; }

.mock-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--brand-ink);
}
.mock-caption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.mock-float {
  position: absolute;
  right: -14px;
  top: -16px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 13px 17px;
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  animation: floaty 5.5s ease-in-out infinite;
}
.mock-float svg { width: 18px; height: 18px; color: #5eead4; }

@keyframes floaty {
  50% { transform: translateY(-9px); }
}

/* =========================================================
   audience strip
   ========================================================= */
.strip {
  background: var(--navy);
  color: #c6d5e0;
  padding-block: 26px;
}
.strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.strip .label {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7dd3fc;
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 15px;
  font-weight: 550;
}
.strip li { color: #e2ecf3; }

/* =========================================================
   pain cards
   ========================================================= */
.pain .card h3 { margin-bottom: 8px; }
.pain .card p { font-size: 15.5px; color: var(--muted); margin: 0; }
.pain .num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 14px;
}

/* =========================================================
   services
   ========================================================= */
.service .icon-tile { margin-bottom: 14px; }
.service h3 { margin-bottom: 7px; font-size: 1.08rem; }
.service p { font-size: 15.3px; color: var(--muted); margin: 0; }

/* =========================================================
   trained & certified
   ========================================================= */
.certified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.disclosure {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--brand);
  background: var(--brand-050);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.pipeline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}
.pipeline ol {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
  display: grid;
  gap: 4px;
}
.pipeline-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin: 0 0 22px;
}
.pipeline li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 54px;
}
.pipeline li:last-child { padding-bottom: 0; }
.pipeline li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 2px solid var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
}
.pipeline li::after {
  content: "";
  position: absolute;
  left: 16px; top: 34px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--brand-100), var(--brand-100));
}
.pipeline li:last-child::after { display: none; }
.pipeline h3 { font-size: 1.03rem; margin-bottom: 4px; }
.pipeline p { font-size: 14.8px; color: var(--muted); margin: 0; }

/* =========================================================
   why outsource
   ========================================================= */
.why .card { position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.why .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.why h3 { font-size: 1.06rem; margin-bottom: 8px; }
.why p { font-size: 15.3px; color: var(--muted); margin: 0; }

/* =========================================================
   how it works
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  counter-reset: s;
}
.step {
  counter-increment: s;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 28px);
  position: relative;
}
.step::before {
  content: "0" counter(s);
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  padding: 6px 10px;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-ink);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  border-radius: 9px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 7px; }
.step p { font-size: 15.2px; color: var(--muted); margin: 0; }

/* =========================================================
   faq
   ========================================================= */
.faq-wrap { max-width: 800px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px clamp(20px, 3vw, 26px);
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 12px; height: 12px;
  flex: none;
  border-right: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-item .faq-body {
  padding: 0 clamp(20px, 3vw, 26px) 22px;
  color: var(--muted);
  font-size: 15.6px;
}
.faq-item .faq-body p { margin-bottom: .8em; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* =========================================================
   CTA + form
   ========================================================= */
.cta {
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(14, 165, 233, .22), transparent 60%),
    radial-gradient(700px 420px at 90% 100%, rgba(13, 148, 136, .26), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #c9d8e3;
}
.cta h2, .cta h3 { color: #fff; }
.cta .eyebrow {
  background: rgba(94, 234, 212, .1);
  border-color: rgba(94, 234, 212, .28);
  color: #5eead4;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
.cta p { color: #b8cad7; }
.cta .cta-alt {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid #14b8a6;
  background: rgba(255, 255, 255, .05);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: #b8cad7;
}
.cta .cta-alt b { display: block; color: #fff; margin-bottom: 4px; }
.cta .cta-alt a { color: #5eead4; font-weight: 600; text-underline-offset: 3px; }
.cta .cta-alt a:hover { color: #fff; }
.cta .check-list li { color: #b8cad7; }
.cta .check-list li::before { background-color: #14b8a6; }

.next-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.next-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15.4px;
}
.next-list .n {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(94, 234, 212, .14);
  border: 1px solid rgba(94, 234, 212, .3);
  color: #5eead4;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}
.next-list b { color: #fff; font-weight: 650; }
.next-list span { display: block; color: #a9bece; font-size: 14.6px; }

.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 36px);
  box-shadow: var(--shadow-lg);
  color: var(--ink-soft);
}
.form-card h3 { color: var(--ink); font-size: 1.24rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: .01em;
}
.field .req { color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556b7b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field input::placeholder, .field textarea::placeholder { color: #5f7484; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, .16);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }

.field-error {
  display: none;
  font-size: 13.5px;
  color: var(--danger);
  margin-top: 6px;
}
.field.has-error .field-error { display: block; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-foot {
  margin-top: 14px;
  font-size: 13.4px;
  color: var(--muted);
  text-align: center;
}
.form-foot a { color: var(--brand-ink); }

.form-status {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  min-height: 22px;
  text-align: center;
}
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* =========================================================
   footer
   ========================================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 64px) 34px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(26px, 4vw, 48px);
  margin-bottom: 34px;
}
.footer-grid h4 {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--brand-ink); text-decoration: underline; }
.footer-about p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 34em; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 13.6px;
  color: var(--muted);
}
.footer-bottom .co {
  font-size: 11.6px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   legal page
   ========================================================= */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose li { margin-bottom: 8px; }
.prose .updated {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* =========================================================
   reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid,
  .certified-grid,
  .cta-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .mock-float { right: 4px; top: -14px; }
  .hero { padding-bottom: clamp(70px, 10vw, 100px); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }

  .nav-toggle { display: grid; }
  .nav-cta { display: none; }

  .nav-links {
    position: absolute;
    left: clamp(20px, 5vw, 32px);
    right: clamp(20px, 5vw, 32px);
    top: calc(var(--header-h) + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links .mobile-cta { display: block; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { gap: 12px; }
  .strip .container { justify-content: flex-start; }
}

@media (min-width: 761px) {
  .nav-links .mobile-cta { display: none; }
}

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

/* =========================================================
   article / cluster pages
   ========================================================= */
.prose {
  color: var(--ink-soft);
  font-size: 16.2px;
  line-height: 1.7;
}
.prose h1 { color: var(--ink); }
.prose h2 { color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { color: var(--brand-ink); text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-deep); }
.prose p { margin-bottom: 1.05em; }
.prose .lead {
  font-size: 1.09rem;
  color: var(--muted);
  margin-top: 18px;
}
.prose ul, .prose ol { margin-bottom: 1.1em; }
.prose ol { padding-left: 22px; color: var(--muted); }
.prose ol li { margin-bottom: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--brand-050, rgba(13, 148, 136, .06));
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
  font-size: 15.6px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 24px);
  box-shadow: var(--shadow-sm);
  margin: 28px 0;
}
.toc h2 {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  font-size: 15.4px;
}
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand-ink); text-decoration: underline; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.2px;
  min-width: 560px;
}
.prose th, .prose td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose thead th {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-soft);
}
.prose tbody tr:last-child th,
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody th { color: var(--ink); font-weight: 650; }
.prose td { color: var(--muted); }

.steps-ordered {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 14px;
}
.steps-ordered li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15.6px;
}
.steps-ordered li::before {
  content: counter(step);
  position: absolute;
  left: 16px; top: 15px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}
.steps-ordered b { color: var(--ink); font-weight: 650; display: block; margin-bottom: 3px; }

.prose .check-group { margin-top: 1.8em; }
.prose .check-group h3 { margin-bottom: 12px; }

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: 24px;
}
.related a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.related a:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.related .k {
  display: block;
  font-family: var(--font-head);
  font-size: 11.6px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 8px;
}
.related .t {
  display: block;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.related .d { display: block; font-size: 14.4px; color: var(--muted); }

.mini-cta {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow-sm);
}
.mini-cta h2 { margin-top: 0; font-size: 1.35rem; }
.mini-cta p { color: var(--muted); }
.mini-cta .btn { margin-top: 8px; }

@media (max-width: 760px) {
  .prose { font-size: 15.8px; }
  .prose th, .prose td { padding: 11px 13px; }
  .steps-ordered li { padding: 14px 14px 14px 52px; }
}

.section-note {
  margin-top: clamp(24px, 4vw, 34px);
  text-align: center;
  font-size: 15.4px;
  color: var(--muted);
}
.section-note a {
  color: var(--brand-ink);
  font-weight: 550;
  text-underline-offset: 3px;
}
.section-note a:hover { color: var(--brand-deep); }

/* keep buttons readable inside .prose (overrides .prose a link colour) */
.prose a.btn-primary { color: #fff; }
.prose a.btn-ghost { color: var(--ink); }
.prose a.btn-ghost:hover { color: var(--ink); border-color: var(--brand); }
