/* ==========================================================================
   VantageSCI — stylesheet v3 · bright & light
   Palette: white paper + soft mint sections · teal primary · amber accent
   Tone: light, friendly, still professional
   ========================================================================== */

:root {
  --ink: #14333f;
  --ink-2: #1d4453;
  --teal: #0ea88c;
  --teal-bright: #14c3a2;
  --teal-dark: #0b8471;
  --teal-deep: #085f52;
  --teal-tint: #e2f6f0;
  --amber: #f0a32f;
  --amber-tint: #fdf3e2;
  --paper: #ffffff;
  --mist: #f2faf7;
  --mist-2: #e9f4f1;
  --line: #dfe9e7;
  --muted: #4e6d7b;
  --muted-2: #7d97a1;
  --shadow-sm: 0 1px 2px rgba(20, 51, 63, 0.06);
  --shadow-md: 0 14px 34px -16px rgba(20, 51, 63, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(20, 51, 63, 0.22);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Georgia", "Songti SC",
    "Times New Roman", serif;

  --radius: 8px;
  --radius-lg: 14px;

  --max: 1200px;
  --gutter: clamp(20px, 4.5vw, 44px);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--teal-deep);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.016em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p {
  margin: 0 0 1.05em;
}
ul,
ol {
  margin: 0 0 1.05em;
  padding-left: 1.15em;
}
li {
  margin-bottom: 0.4em;
}
strong {
  font-weight: 600;
  color: var(--ink);
}
::selection {
  background: var(--teal);
  color: #fff;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(56px, 6vw, 92px);
}
.section--tight {
  padding-block: clamp(40px, 4.2vw, 60px);
}
.section--mist {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* legacy dark-band class kept so existing pages render as a light emphasis band */
.section--ink {
  background: linear-gradient(180deg, #eef9f5 0%, #f6fbf9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--ink h2,
.section--ink h3 {
  color: var(--ink);
}
.section--ink .eyebrow {
  color: var(--teal-dark);
}
.section--ink .lede {
  color: var(--muted);
}
.section--ink .card {
  background: #fff;
  border-color: var(--line);
}
.section--ink .card p,
.section--ink .card__list,
.section--ink .small,
.section--ink .step p,
.section--ink .stat__l {
  color: var(--muted);
}
.section--ink .step h3,
.section--ink .stat__n {
  color: var(--ink);
}
.section--ink .checklist li {
  border-bottom-color: var(--line);
  color: var(--ink-2);
}
.section--ink .checklist svg {
  color: var(--teal);
}
.section--ink .step {
  border-top-color: #cfe7e0;
}
.section--ink .chip {
  background: #fff;
  border-color: #c9e2da;
  color: var(--ink-2);
}
.section--ink .tag {
  color: var(--teal-dark);
  border-color: #b7e2d6;
  background: var(--teal-tint);
}
.section--ink a:not(.btn) {
  color: var(--teal-deep);
}
.section--ink .panel {
  background: #fff;
  border-color: var(--line);
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  opacity: 0.7;
}
.h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
}
.h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.7rem);
}
.h3 {
  font-size: clamp(1.2rem, 2vw, 1.42rem);
}
.lede {
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}
.small {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: clamp(32px, 4.4vw, 52px);
  max-width: 47rem;
}
.section-head--wide {
  max-width: 62rem;
}

/* ---------- header (light) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(223, 233, 231, 0.7);
  transition: box-shadow 0.25s ease;
}
.site-header.is-stuck {
  box-shadow: 0 6px 24px -14px rgba(20, 51, 63, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__sub {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 700;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links > li {
  margin: 0;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav__links a:hover {
  background: var(--mist-2);
  color: var(--ink);
}
.nav__links a[aria-current="page"] {
  color: var(--teal-deep);
  background: var(--teal-tint);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--teal);
  border: 1px solid var(--teal);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(14, 168, 140, 0.55);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.nav__cta:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav__burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
}
.nav__burger span::before {
  top: -5px;
}
.nav__burger span::after {
  top: 5px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(14, 168, 140, 0.6);
}
.btn--primary:hover {
  background: var(--teal-dark);
  color: #fff;
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: var(--ink-2);
  color: #fff;
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: #c6dbd5;
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--teal-tint);
}
.btn--sm {
  padding: 10px 16px;
  font-size: 14px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--teal-deep);
}
.link-arrow svg {
  transition: transform 0.2s ease;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- hero (index, light & welcoming) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(720px 420px at 88% -8%, rgba(14, 168, 140, 0.14) 0%, transparent 62%),
    radial-gradient(560px 380px at -6% 108%, rgba(240, 163, 47, 0.1) 0%, transparent 58%),
    linear-gradient(180deg, #f4fbf9 0%, #ffffff 100%);
  padding-block: clamp(60px, 7.5vw, 100px) clamp(48px, 5.5vw, 72px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: 6%;
  top: -120px;
  background: radial-gradient(closest-side, rgba(14, 168, 140, 0.16), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  left: 3%;
  bottom: -110px;
  background: radial-gradient(closest-side, rgba(240, 163, 47, 0.14), transparent 72%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
}
.hero__lede {
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 28px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
  font-weight: 500;
}
.hero__points svg {
  flex-shrink: 0;
  color: var(--teal);
}

/* document card visual */
.doccard {
  position: relative;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  font-size: 13px;
}
.doccard::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid #cfe7e0;
  border-radius: var(--radius-lg);
  z-index: -1;
  background: var(--teal-tint);
}
.doccard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.doccard__title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
}
.doccard__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-tint);
  padding: 4px 8px;
  border-radius: 100px;
}
.docrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.docrow:last-of-type {
  border-bottom: 0;
}
.docrow__src {
  color: var(--muted);
  line-height: 1.45;
}
.docrow__tgt {
  color: var(--ink);
  line-height: 1.45;
  font-weight: 500;
}
.docrow__arrow {
  color: var(--teal);
  font-size: 11px;
  padding-top: 3px;
}
.doccard__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- stat bar (light) ---------- */
.strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip__item {
  padding: 26px clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.strip__item:first-child {
  border-left: 0;
}
.strip__k {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 600;
  color: var(--teal-dark);
  display: block;
  line-height: 1.15;
  margin-bottom: 6px;
}
.strip__v {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}

/* ---------- cards / grids ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}
.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));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), rgba(240, 163, 47, 0.6) 60%, transparent 90%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover {
  border-color: #bfe0d7;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.card__list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.card__list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 6px;
  line-height: 1.45;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}
.card__list li:last-child {
  margin-bottom: 0;
}

/* link-style overview cards (homepage explore grid) */
.overview-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.overview-card:hover {
  text-decoration: none;
  border-color: #bfe0d7;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.overview-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.08rem;
}
.overview-card h3 svg {
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.overview-card:hover h3 svg {
  transform: translateX(3px);
}
.overview-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.overview-card .tag {
  margin-bottom: 8px;
}

/* equal-height intro text so sibling lists start on the same line;
   lists follow the text instead of pinning to card bottom */
@media (min-width: 821px) {
  .card--align > p {
    min-height: 4.8em;
  }
}
.card--align .card__list,
.card--flow .card__list {
  margin-top: 2px;
}

/* feature list (numbered) */
.feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 26px;
}
.feature__num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  border-top: 1px solid var(--teal);
  padding-top: 8px;
  letter-spacing: 0.06em;
}
.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
.feature p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.62;
}

/* ---------- process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 18px 0 0;
  border-top: 2px solid #cfe7e0;
  padding-top: 20px;
}
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.step__n {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  display: block;
  margin-bottom: 8px;
}
.step h3 {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 7px;
}
.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  padding-right: 6px;
}

/* ---------- table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
thead th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  background: var(--mist);
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
}
tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover td {
  background: #f7fcfa;
}
td strong {
  color: var(--ink);
  font-weight: 600;
}
.t-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- quote / callout (light) ---------- */
.callout {
  background: linear-gradient(160deg, #eafaf5 0%, #f7fcf9 100%);
  border: 1px solid #cfe7e0;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 52px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(14, 168, 140, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 4% 100%, rgba(240, 163, 47, 0.1) 0%, transparent 42%);
  pointer-events: none;
}
.callout > * {
  position: relative;
}
.callout h2 {
  margin-bottom: 14px;
}
.callout p {
  color: var(--muted);
  max-width: 44rem;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 18px 44px 18px 0;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--teal);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  font-size: 14.5px;
  color: var(--muted);
  padding-right: 44px;
  margin-top: -4px;
  margin-bottom: 20px;
  line-height: 1.65;
}

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
}
.field--row {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
label .req {
  color: var(--amber);
}
input,
select,
textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfdfd9;
  border-radius: var(--radius);
  padding: 11px 13px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 168, 140, 0.14);
}
input::placeholder,
textarea::placeholder {
  color: #9aabb3;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.hint {
  font-size: 12px;
  color: var(--muted-2);
}
.form__note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--teal);
}
.form-status {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: none;
}
.form-status.is-visible {
  display: block;
}

/* ---------- footer (light) ---------- */
.site-footer {
  background: var(--mist);
  color: var(--muted);
  padding-block: clamp(44px, 5.5vw, 62px) 26px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 36px;
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 15px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 9px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  word-break: break-word;
}
.site-footer a:hover {
  color: var(--teal-deep);
  text-decoration: none;
}
.footer__brand .brand__name {
  color: var(--ink);
}
.footer__brand .brand__sub {
  color: var(--teal-dark);
}
.footer__brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 26rem;
  margin-top: 16px;
  line-height: 1.6;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer__bottom a {
  color: var(--muted-2);
  font-size: 12.5px;
}

/* ---------- page hero (sub pages, light) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 360px at 86% -12%, rgba(14, 168, 140, 0.13) 0%, transparent 60%),
    linear-gradient(180deg, #f2fbf8 0%, #ffffff 100%);
  padding-block: clamp(56px, 6.5vw, 92px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: 4%;
  top: -110px;
  background: radial-gradient(closest-side, rgba(14, 168, 140, 0.15), transparent 72%);
  pointer-events: none;
}
.page-hero > .wrap {
  position: relative;
  z-index: 1;
}
.page-hero .lede {
  margin-bottom: 0;
}

/* ---------- misc components ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
  margin: 0;
}
.chip {
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid #c9e2da;
  border-radius: 100px;
  color: var(--ink-2);
  background: #fff;
  margin: 0;
}
.chip--amber {
  border-color: #f2d9ab;
  background: var(--amber-tint);
  color: #8a6215;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: start;
}
.split--mid {
  align-items: center;
}
.sticky-head {
  position: sticky;
  top: 96px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 30px);
}
.panel--mist {
  background: var(--mist);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.stat__n {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
  color: var(--teal-dark);
}
.stat__l {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.checklist li:last-child {
  border-bottom: 0;
}
.checklist svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}
.tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-deep);
  border: 1px solid #b7e2d6;
  background: var(--teal-tint);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.tag--amber {
  color: #8a6215;
  border-color: #f2d9ab;
  background: var(--amber-tint);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .doccard {
    max-width: 520px;
  }
  .doccard::after {
    display: none;
  }
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .sticky-head {
    position: static;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip__item:nth-child(odd) {
    border-left: 0;
  }
  .strip__item {
    border-top: 1px solid var(--line);
  }
  .strip__item:nth-child(-n + 2) {
    border-top: 0;
  }
}

@media (max-width: 820px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }
  .site-header.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .site-header.is-open .nav__links a {
    padding: 12px 14px;
    font-size: 15.5px;
    border-radius: var(--radius);
  }
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .field--row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .stat-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .strip__grid {
    grid-template-columns: 1fr;
  }
  .strip__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .strip__item:first-child {
    border-top: 0;
  }
  .docrow {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .docrow__arrow {
    display: none;
  }
  .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- motion layer (additive & fail-safe: content is never hidden without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* one-time hero entrance — pure CSS, plays on load, works without JS */
  .hero__grid > div > * {
    animation: hero-rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  .hero__grid > div > *:nth-child(2) { animation-delay: 0.08s; }
  .hero__grid > div > *:nth-child(3) { animation-delay: 0.16s; }
  .hero__grid > div > *:nth-child(4) { animation-delay: 0.24s; }
  .hero__grid > div > *:nth-child(5) { animation-delay: 0.32s; }
  .doccard {
    animation: hero-rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }

  /* scroll reveal — JS adds .rv-hide first; removing it transitions back to visible */
  html.js [data-reveal] {
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  html.js [data-reveal].rv-hide {
    opacity: 0;
    transform: translateY(20px);
  }

  /* hover micro-interactions */
  .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease,
      opacity 0.65s ease;
  }
  .card:hover {
    transform: translateY(-4px);
    border-color: var(--teal-soft, #bfe9de);
    box-shadow: 0 18px 44px -20px rgba(6, 42, 52, 0.3);
  }
  .card:hover .card__icon {
    transform: scale(1.08) rotate(-3deg);
  }
  .card__icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .btn {
    overflow: hidden;
    position: relative;
  }
  .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
  }
  .btn:hover::after {
    transform: translateX(120%);
  }
  .strip__item {
    transition: background 0.25s ease;
  }
  .strip__item:hover {
    background: rgba(14, 168, 140, 0.05);
  }
  .step {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px -18px rgba(6, 42, 52, 0.28);
  }
  .nav__links a,
  .footer a {
    transition: color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  }
  .card__list li {
    transition: transform 0.2s ease;
  }
  .card:hover .card__list li {
    transform: translateX(2px);
  }
}
