/* Mind Readers core public styles. Checkout, registration and portal styles
   live in app-extras.css; the homepage does not load those components.
   No framework or build step. Section labels document the design system. */

/* 01 Tokens */
:root {
  /* Brand */
  --navy-950: #06101F;
  --navy-900: #0B1F3A;
  --navy-800: #12294A;
  --navy-700: #1B3A63;
  --emerald-700: #0A6E4C;
  --emerald-600: #0B8A5F;
  --emerald-500: #0E9F6E;
  --emerald-400: #22C58B;
  --emerald-50: #E7F7F0;
  --charcoal: #232A33;

  /* Neutrals */
  --ink: #101A26;
  --muted: #566374;
  --muted-strong: #3D4A5A;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --surface: #FFFFFF;
  --surface-alt: #F5F8FB;
  --surface-navy-tint: #EEF3F9;

  /* States */
  --success: #0B8A5F;
  --warning: #B45309;
  --danger: #B42318;
  --info: #1B3A63;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: var(--font-sans);

  /* Radii and elevation */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 26, 38, .06);
  --shadow-sm: 0 2px 8px rgba(16, 26, 38, .06), 0 1px 2px rgba(16, 26, 38, .04);
  --shadow-md: 0 12px 28px -12px rgba(16, 26, 38, .18), 0 2px 6px rgba(16, 26, 38, .05);
  --shadow-lg: 0 28px 60px -28px rgba(11, 31, 58, .32), 0 6px 18px -8px rgba(11, 31, 58, .16);

  /* Rhythm */
  --container: 1180px;
  --gutter: 24px;
  --section-y: clamp(56px, 7vw, 104px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .28s;
}

/* 02 Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--emerald-700);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--emerald-600);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--navy-900);
}

p {
  margin: 0 0 1rem;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

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

::selection {
  background: rgba(14, 159, 110, .18);
}

/* 03 Typography */
.display-1 {
  font-size: clamp(2.1rem, 5.2vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.display-2 {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  letter-spacing: -.028em;
}

.display-3 {
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  letter-spacing: -.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--emerald-500);
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--emerald-400);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted-strong);
  line-height: 1.7;
}

.text-muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

/* 04 Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(40px, 4.5vw, 64px);
}

.section--alt {
  background: var(--surface-alt);
}

.section--navy {
  background: var(--navy-900);
  color: #E8EEF6;
}

.section--navy h2,
.section--navy h3 {
  color: #FFFFFF;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}

.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, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.stack > * + * {
  margin-top: 1rem;
}

/* 05 Utilities */
.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;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

.icon {
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

/* Scroll reveal — only applied when JS is present (progressive enhancement) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 06 Buttons */
.btn {
  --btn-bg: var(--emerald-500);
  --btn-fg: #FFFFFF;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: .96rem;
  letter-spacing: -.01em;
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
      box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  box-shadow: 0 10px 22px -14px rgba(14, 159, 110, .9);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--emerald-500);
}

.btn--primary:hover {
  --btn-bg: var(--emerald-600);
  box-shadow: 0 16px 30px -16px rgba(14, 159, 110, 1);
}

.btn--navy {
  --btn-bg: var(--navy-900);
  box-shadow: 0 12px 26px -16px rgba(11, 31, 58, .9);
}

.btn--navy:hover {
  --btn-bg: var(--navy-800);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-900);
  --btn-border: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  --btn-border: var(--navy-900);
  --btn-bg: rgba(11, 31, 58, .04);
}

.btn--light {
  --btn-bg: rgba(255, 255, 255, .10);
  --btn-fg: #FFFFFF;
  --btn-border: rgba(255, 255, 255, .34);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, .18);
  --btn-border: rgba(255, 255, 255, .55);
}

.btn--white {
  --btn-bg: #FFFFFF;
  --btn-fg: var(--navy-900);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 10px 18px;
  font-size: .88rem;
}

.btn--lg {
  padding: 17px 32px;
  font-size: 1rem;
}

.btn__icon {
  display: inline-flex;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

.btn[disabled],
.btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  color: var(--emerald-700);
}

.link-arrow .icon {
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* 07 Top bar and header */
.topbar {
  background: var(--navy-950);
  color: #C6D3E4;
  font-size: .84rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}

.topbar__contact,
.topbar__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #C6D3E4;
  padding-block: 8px;
}

.topbar__item:hover {
  color: #fff;
}

.topbar__item .icon {
  color: var(--emerald-400);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

/* The frosted-glass effect is desktop only.
   Reason: `backdrop-filter` makes the element a containing block for
   fixed-position descendants, which would scope the mobile menu panel and its
   overlay to the header box instead of the viewport. Below 941px those two
   elements are in play, so the blur is switched off there. */
@media (min-width: 941px) {
  .site-header {
      background: rgba(255, 255, 255, .92);
      backdrop-filter: saturate(180%) blur(14px);
  }
}

.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(11, 31, 58, .5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy-900);
}

.brand__mark {
  display: inline-flex;
  filter: drop-shadow(0 6px 14px rgba(11, 31, 58, .18));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.16rem;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand__tagline {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .02em;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav__link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--charcoal);
  font-size: .93rem;
  font-weight: 550;
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.primary-nav__link:hover {
  color: var(--navy-900);
  background: rgba(11, 31, 58, .05);
}

.primary-nav__link.is-active {
  color: var(--emerald-700);
  font-weight: 650;
}

.primary-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--emerald-500);
}

.primary-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(6, 16, 31, .5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .34s var(--ease);
}

.nav-overlay[hidden] {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy-900);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.maintenance-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FEF3C7;
  color: #7C4A03;
  font-size: .86rem;
  font-weight: 600;
  padding: 10px 18px;
  text-align: center;
}

/* 08 Hero */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 82% 8%, #16345C 0%, var(--navy-900) 42%, var(--navy-950) 100%);
  color: #E9EFF7;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 108px) clamp(64px, 9vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
      linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(85% 75% at 65% 25%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -160px;
  background: radial-gradient(circle, rgba(14, 159, 110, .30), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero__title {
  color: #FFFFFF;
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--emerald-400);
  position: relative;
  white-space: nowrap;
}

.hero__text {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: #BECDE0;
  max-width: 56ch;
  line-height: 1.72;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero__assurance li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: #AFC0D6;
}

.hero__assurance .icon {
  color: var(--emerald-400);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-card__label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #93A8C2;
  font-weight: 700;
}

.hero-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(14, 159, 110, .18);
  color: var(--emerald-400);
  border: 1px solid rgba(14, 159, 110, .35);
}

.journey {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.journey__step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  position: relative;
}

.journey__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 42px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(14, 159, 110, .55), rgba(255, 255, 255, .08));
  border-radius: 2px;
}

.journey__dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #93A8C2;
  font-size: .78rem;
  font-weight: 700;
}

.journey__step.is-done .journey__dot {
  background: rgba(14, 159, 110, .22);
  border-color: rgba(14, 159, 110, .5);
  color: var(--emerald-400);
}

.journey__step.is-current .journey__dot {
  background: var(--emerald-500);
  border-color: var(--emerald-400);
  color: #04201A;
  box-shadow: 0 0 0 6px rgba(14, 159, 110, .16);
}

.journey__title {
  font-size: .93rem;
  font-weight: 650;
  color: #F2F6FB;
  line-height: 1.3;
}

.journey__meta {
  font-size: .78rem;
  color: #8FA3BC;
  margin-top: 3px;
}

.hero-card__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: #93A8C2;
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--navy-900);
  border-radius: var(--radius);
  padding: 11px 15px;
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  font-weight: 650;
  border: 1px solid var(--line);
}

.hero-float .icon {
  color: var(--emerald-600);
}

.hero-float--one {
  top: 8%;
  left: -34px;
  animation: float 7s var(--ease) infinite;
}

.hero-float--two {
  bottom: 9%;
  right: -26px;
  animation: float 8.5s var(--ease) infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* 09 Trust band */
.trust {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 3.6vw, 44px);
}

.trust__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px 30px;
  align-items: center;
}

.trust__metric {
  text-align: center;
  padding-inline: 10px;
}

.trust__value {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--navy-900);
  line-height: 1.1;
}

.trust__label {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.trust__divider {
  display: none;
}

.trust__note {
  text-align: center;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 18px;
}

/* Icon variant, shown when no verified metric has been entered yet.
   Deliberately not styled like a statistic. */
.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 28px;
}

.capability {
  display: flex;
  align-items: center;
  gap: 13px;
}

.capability__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--emerald-50), #FFFFFF);
  border: 1px solid rgba(14, 159, 110, .18);
  color: var(--emerald-600);
}

.capability__label {
  font-size: .89rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.4;
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.trust__logo {
  height: 30px;
  width: auto;
  opacity: .72;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.trust__logo:hover {
  opacity: 1;
  filter: none;
}

/* 10 Section headers */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head__title {
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}

.section-head__text {
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.section--navy .section-head__text {
  color: #B9C8DB;
}

/* 11 Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
      border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--emerald-50), #FFFFFF);
  border: 1px solid rgba(14, 159, 110, .18);
  color: var(--emerald-600);
  margin-bottom: 18px;
}

.card__title {
  font-size: 1.12rem;
  letter-spacing: -.02em;
  margin-bottom: 9px;
}

.card__text {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

.card__list {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.card__list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  font-size: .89rem;
  color: var(--muted-strong);
  align-items: start;
}

.card__list .icon {
  color: var(--emerald-500);
  margin-top: 3px;
}

/* Service card variant */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card__foot {
  margin-top: auto;
  padding-top: 14px;
}

/* Step cards */
.step-card {
  position: relative;
  padding-top: clamp(26px, 3vw, 34px);
}

.step-card__number {
  position: absolute;
  top: -18px;
  left: clamp(22px, 2.6vw, 30px);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
  font-weight: 750;
  font-size: 1rem;
  box-shadow: 0 12px 24px -14px rgba(11, 31, 58, .8);
}

.step-card__title {
  font-size: 1.08rem;
  margin: 12px 0 8px;
}

.step-card__text {
  color: var(--muted);
  font-size: .94rem;
}

.step-connector {
  display: none;
}

/* Testimonial cards */
.story-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-card__quote {
  color: var(--muted-strong);
  font-size: .98rem;
  line-height: 1.7;
}

.story-card__quote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  line-height: .6;
  color: var(--emerald-400);
  margin-bottom: 6px;
  font-family: Georgia, serif;
}

.story-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .02em;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__name {
  font-weight: 650;
  font-size: .93rem;
  color: var(--navy-900);
  line-height: 1.3;
}

.story-card__role {
  font-size: .82rem;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--line-strong);
}

.stars .is-on {
  color: #F59E0B;
}

/* Empty state */
.empty-state {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  background: var(--surface);
}

.empty-state__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.empty-state__title {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.empty-state__text {
  color: var(--muted);
  font-size: .94rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* 12 About */
.about__media {
  position: relative;
}

.about__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  padding: clamp(22px, 3vw, 34px);
  color: #DCE6F2;
  box-shadow: var(--shadow-lg);
  position: relative;
  isolation: isolate;
}

.about__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .7;
  z-index: -1;
}

.about__mission {
  display: grid;
  gap: 16px;
}

.about__pillar {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 18px;
}

.about__pillar-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 8px;
}

.about__pillar p {
  font-size: .92rem;
  color: #C3D2E4;
  line-height: 1.65;
}

.about__founder {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 22px;
}

.about__founder-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
}

.about__founder-role {
  font-size: .86rem;
  color: var(--muted);
}

.about__points {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.about__point {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.about__point-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid rgba(14, 159, 110, .16);
}

.about__point-title {
  font-weight: 650;
  font-size: .98rem;
  color: var(--navy-900);
  margin-bottom: 3px;
}

.about__point-text {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* 13 How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 34px;
}

.step__badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 14px 28px -16px rgba(11, 31, 58, .85);
}

.section--navy .step__badge {
  background: var(--emerald-500);
  color: #04201A;
  box-shadow: 0 14px 28px -16px rgba(14, 159, 110, 1);
}

.step__title {
  font-size: 1.1rem;
  margin: 18px 0 10px;
}

.step__text {
  color: var(--muted);
  font-size: .95rem;
}

.section--navy .step__text {
  color: #B9C8DB;
}

.step__meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: .82rem;
  font-weight: 650;
  color: var(--emerald-700);
}

.section--navy .step__meta {
  color: var(--emerald-400);
}

.how-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 44px);
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted-strong);
}

.section--navy .how-note {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: #C3D2E4;
}

.how-note .icon {
  color: var(--emerald-500);
  margin-top: 2px;
}

/* 14 Registration fee */
.fee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.fee__benefits {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.fee__benefit {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.fee__benefit .icon {
  color: var(--emerald-500);
  margin-top: 3px;
}

.fee__benefit strong {
  display: block;
  font-size: .96rem;
  color: var(--navy-900);
  font-weight: 650;
}

.fee__benefit span {
  font-size: .88rem;
  color: var(--muted);
}

.fee-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.fee-card__head {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
  position: relative;
}

.fee-card__head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .55;
}

.fee-card__label {
  position: relative;
  z-index: 1;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--emerald-400);
  font-weight: 700;
  margin-bottom: 10px;
}

.fee-card__amount {
  position: relative;
  z-index: 1;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
}

.fee-card__amount small {
  font-size: .8rem;
  font-weight: 600;
  color: #A9BDD4;
  letter-spacing: 0;
  display: block;
  margin-top: 8px;
}

.fee-card__body {
  padding: clamp(22px, 3vw, 30px);
}

.fee-card__list {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

.fee-card__list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  font-size: .91rem;
  color: var(--muted-strong);
  align-items: start;
}

.fee-card__list .icon {
  color: var(--emerald-500);
  margin-top: 3px;
}

.fee-card__note {
  margin-top: 16px;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.fee-card__gateway {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}

.fee-card__gateway .icon {
  color: var(--emerald-600);
}

.fee-card__status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #7C4A03;
  font-size: .84rem;
  line-height: 1.5;
}

/* 15 Status lookup */
.lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.lookup__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3vw, 34px);
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.result-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 3vw, 28px);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.result-card__id {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .86rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.result-card__name {
  font-size: 1.2rem;
  margin-top: 4px;
}

.result-card__body {
  padding: clamp(22px, 3vw, 28px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

.badge--navy    { background: #E8EEF7; color: var(--navy-800); }
.badge--emerald { background: var(--emerald-50); color: var(--emerald-700); }
.badge--amber   { background: #FEF3C7; color: #92400E; }
.badge--grey    { background: #EDF1F6; color: var(--muted-strong); }
.badge--red     { background: #FEE4E2; color: #912018; }

/* Progress tracker */
.tracker {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.tracker__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
}

.tracker__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.tracker__item.is-done:not(:last-child)::before {
  background: var(--emerald-500);
}

.tracker__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.tracker__item.is-done .tracker__dot {
  border-color: var(--emerald-500);
  background: var(--emerald-500);
  color: #fff;
}

.tracker__item.is-current .tracker__dot {
  border-color: var(--emerald-500);
  background: var(--emerald-50);
  color: var(--emerald-700);
  box-shadow: 0 0 0 4px rgba(14, 159, 110, .14);
}

.tracker__label {
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.4;
}

.tracker__item:not(.is-done):not(.is-current) .tracker__label {
  color: var(--muted);
  font-weight: 550;
}

.tracker__meta {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2px;
}

.tracker__note {
  font-size: .86rem;
  color: var(--muted-strong);
  margin-top: 6px;
  padding: 9px 12px;
  background: var(--surface-alt);
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--emerald-400);
}

/* 16 Forms and notices */
.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  font-size: .87rem;
  font-weight: 650;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.field__optional {
  font-weight: 500;
  color: var(--muted);
  font-size: .8rem;
}

.field__hint {
  font-size: .79rem;
  color: var(--muted);
  line-height: 1.45;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}

.textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23566374' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.input::placeholder,
.textarea::placeholder {
  color: #9AA6B4;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #B6C2D2;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(14, 159, 110, .13);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, .09);
}

.field-error {
  font-size: .8rem;
  color: var(--danger);
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 5px;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  font-size: .88rem;
  color: var(--muted-strong);
  line-height: 1.55;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--emerald-600);
  border-radius: 5px;
  cursor: pointer;
}

.form__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form__fineprint {
  font-size: .79rem;
  color: var(--muted);
  line-height: 1.55;
}

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

/* Notices */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  line-height: 1.55;
  border: 1px solid transparent;
  margin-bottom: 18px;
}

.notice__icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

.notice--success { background: #ECFDF3; border-color: #A6F4C5; color: #027A48; }
.notice--error   { background: #FEF3F2; border-color: #FDA29B; color: #B42318; }
.notice--info    { background: #EFF8FF; border-color: #B2DDFF; color: #175CD3; }
.notice--warning { background: #FFFAEB; border-color: #FEDF89; color: #B54708; }

/* Loading state on submit buttons */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn--ghost.is-loading::after,
.btn--light.is-loading::after {
  border-color: rgba(11, 31, 58, .25);
  border-top-color: var(--navy-900);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 17 Page hero (inner pages) */
.page-hero {
  background: radial-gradient(110% 140% at 78% 0%, #16345C 0%, var(--navy-900) 46%, var(--navy-950) 100%);
  color: #E9EFF7;
  padding-block: clamp(44px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
      linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 80% at 70% 10%, #000 20%, transparent 75%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -.035em;
  margin-bottom: 16px;
}

.page-hero__text {
  color: #BECDE0;
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: #93A8C2;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #BECDE0;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb__sep {
  opacity: .5;
}

/* 18 Legal / prose pages */
.prose {
  max-width: 78ch;
  font-size: 1rem;
  color: var(--muted-strong);
  line-height: 1.75;
}

.prose h2 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin: 2.2em 0 .7em;
  color: var(--navy-900);
  letter-spacing: -.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.06rem;
  margin: 1.8em 0 .5em;
}

.prose p {
  margin-bottom: 1.15em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.3em 1.1em;
  display: grid;
  gap: .5em;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  padding-left: .2em;
}

.prose strong {
  color: var(--navy-900);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: var(--surface-alt);
  border-left: 3px solid var(--emerald-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted-strong);
  font-size: .96rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.legal-nav__title {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.legal-nav a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius-xs);
  font-size: .89rem;
  color: var(--muted-strong);
  font-weight: 550;
}

.legal-nav a:hover {
  background: var(--surface-alt);
  color: var(--navy-900);
}

.legal-nav a.is-active {
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-weight: 650;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

/* 19 Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  align-items: start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid rgba(14, 159, 110, .16);
}

.contact-item__label {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-item__value {
  font-size: .95rem;
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-item__value a {
  color: var(--navy-900);
}

.contact-item__value a:hover {
  color: var(--emerald-700);
}

/* 20 CTA band */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--emerald-700) 160%);
  color: #fff;
  padding-block: clamp(44px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -120px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(14, 159, 110, .34), transparent 65%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.cta-band__copy {
  max-width: 620px;
}

.cta-band__title {
  color: #fff;
  font-size: clamp(1.5rem, 2.9vw, 2.15rem);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.cta-band__text {
  color: #C3D2E4;
  font-size: 1rem;
  line-height: 1.65;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 21 Footer */
.site-footer {
  background: var(--navy-950);
  color: #A9BACF;
  font-size: .92rem;
  padding-top: clamp(44px, 6vw, 72px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.site-footer__col--brand {
  max-width: 340px;
}

.brand--footer {
  color: #fff;
  margin-bottom: 16px;
}

.brand--footer .brand__name {
  color: #fff;
}

.site-footer__blurb {
  color: #93A8C2;
  font-size: .89rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.site-footer__heading {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__links a {
  color: #A9BACF;
  font-size: .89rem;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__contact {
  display: grid;
  gap: 12px;
}

.site-footer__contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  font-size: .89rem;
  align-items: start;
  line-height: 1.5;
  color: #A9BACF;
}

.site-footer__contact .icon {
  color: var(--emerald-400);
  margin-top: 3px;
}

.site-footer__contact a {
  color: #A9BACF;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer__contact a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #C3D2E4;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
      transform var(--dur) var(--ease);
}

.social-links a:hover {
  background: var(--emerald-500);
  color: #04201A;
  transform: translateY(-2px);
}

.site-footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-block: 20px;
  background: rgba(255, 255, 255, .02);
}

.site-footer__disclaimer p {
  font-size: .82rem;
  line-height: 1.65;
  color: #8FA3BC;
  max-width: 95ch;
}

.site-footer__disclaimer strong {
  color: #C3D2E4;
}

.site-footer__disclaimer a {
  color: var(--emerald-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__bottom {
  padding-block: 22px;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #7D90A8;
}

/* 22 Responsive */

/* Large tablets / small laptops */
@media (max-width: 1080px) {
  .site-header__inner {
      min-height: 68px;
  }

  .primary-nav {
      gap: 16px;
  }

  .primary-nav__list {
      gap: 0;
  }

  .primary-nav__link {
      padding: 10px 10px;
      font-size: .89rem;
  }

  .primary-nav__actions {
      padding-left: 14px;
      gap: 8px;
  }

  .hero__inner,
  .split,
  .fee,
  .lookup,
  .contact-grid {
      grid-template-columns: 1fr;
  }

  .hero__visual {
      /* Copy first on narrow screens: the headline is the message, the
         tracker card is supporting detail. */
      order: 0;
      max-width: 440px;
      margin-inline: auto;
  }

  .hero-float--one { left: -10px; }
  .hero-float--two { right: -6px; }

  .fee-card,
  .contact-aside,
  .legal-nav {
      position: static;
  }

  .site-footer__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__col--brand {
      max-width: none;
  }

  .grid--4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
      grid-template-columns: 1fr;
  }

  .legal-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
  }

  .legal-nav__title {
      width: 100%;
      margin-bottom: 2px;
  }
}

/* Tablet — switch to the mobile navigation panel */
@media (max-width: 940px) {
  .nav-toggle {
      display: inline-flex;
  }

  .nav-overlay:not([hidden]) {
      display: block;
      opacity: 1;
  }

  .primary-nav {
      position: fixed;
      left: 0;
      right: 0;
      /* JS keeps --nav-top in sync with the real header height, so the panel
         always starts directly beneath the logo bar (maintenance notice
         included) instead of covering it. */
      top: var(--nav-top, 68px);
      padding: 20px 24px 32px;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      box-shadow: var(--shadow-lg);
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      transform: translateY(-118%);
      transition: transform .34s var(--ease), visibility .34s;
      visibility: hidden;
      max-height: calc(100dvh - var(--nav-top, 68px));
      overflow-y: auto;
      z-index: 99;
  }

  .primary-nav.is-open {
      transform: translateY(0);
      visibility: visible;
  }

  .primary-nav__list {
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
  }

  .primary-nav__link {
      display: flex;
      padding: 15px 12px;
      font-size: 1rem;
      border-radius: var(--radius-sm);
      border-bottom: 1px solid var(--line);
  }

  .primary-nav__link.is-active::after {
      display: none;
  }

  .primary-nav__link.is-active {
      background: var(--emerald-50);
  }

  .primary-nav__actions {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      padding: 20px 0 0;
      border-left: 0;
      border-top: 1px solid var(--line);
      margin-top: 16px;
  }

  .primary-nav__actions .btn {
      width: 100%;
      padding: 14px 20px;
      font-size: .95rem;
  }

  .nav-toggle {
      position: relative;
      z-index: 101;
  }

  .brand__tagline {
      display: none;
  }

  .topbar__meta {
      display: none;
  }

  .steps {
      grid-template-columns: 1fr;
      gap: 26px;
  }

  .step {
      padding-top: 0;
      padding-left: 66px;
      min-height: 50px;
  }

  .step__badge {
      top: 0;
  }

  .step__title {
      margin-top: 0;
  }

  .grid--3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Large phones */
@media (max-width: 720px) {
  :root {
      --gutter: 18px;
      --section-y: clamp(44px, 9vw, 64px);
  }

  body {
      font-size: 16px;
  }

  .hero {
      padding-block: 40px 56px;
  }

  .hero-float {
      display: none;
  }

  .hero-card {
      padding: 20px;
      border-radius: var(--radius-lg);
  }

  .hero__assurance {
      gap: 8px 18px;
  }

  .hero__assurance li {
      font-size: .83rem;
  }

  .hero__actions .btn,
  .cta-band__actions .btn {
      width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
      grid-template-columns: 1fr;
  }

  .form__row {
      grid-template-columns: 1fr;
  }

  .site-footer__grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }

  .site-footer__bottom-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
  }

  .topbar {
      display: none;
  }

  .trust__inner {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px 14px;
  }

  .capabilities {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
  }

  .page-hero {
      padding-block: 36px 44px;
  }

  .about__frame {
      padding: 20px;
  }

  .fee-card__head,
  .fee-card__body {
      padding: 22px;
  }

  .result-card__head,
  .result-card__body {
      padding: 20px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .brand__name {
      font-size: 1.05rem;
  }

  .trust__inner,
  .capabilities {
      grid-template-columns: 1fr;
  }

  .btn {
      padding: 13px 20px;
      font-size: .92rem;
  }

  .btn--lg {
      padding: 15px 22px;
      font-size: .95rem;
  }

  .hero-card__foot {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
  }

  .journey__step {
      grid-template-columns: 30px minmax(0, 1fr);
      gap: 12px;
  }

  .journey__dot {
      width: 30px;
      height: 30px;
      font-size: .72rem;
  }
}

/* 23 Motion, print, accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
  }

  .js .reveal {
      opacity: 1;
      transform: none;
  }
}

@media (prefers-contrast: more) {
  :root {
      --line: #9AA6B4;
      --line-strong: #64748B;
      --muted: #334155;
      --muted-strong: #1E293B;
  }
}

@media print {
  .topbar,
  .site-header,
  .cta-band,
  .site-footer,
  .nav-toggle,
  .hero__actions {
      display: none !important;
  }

  body {
      color: #000;
      font-size: 12pt;
  }

  a {
      color: #000;
      text-decoration: underline;
  }

  .page-hero,
  .hero {
      background: none !important;
      color: #000 !important;
      padding-block: 0 12pt;
  }

  .page-hero__title,
  .hero__title {
      color: #000 !important;
  }
}

/* 24 Small additions used by forms */
.field__counter {
  font-size: .76rem;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.field__counter.is-near-limit {
  color: var(--warning);
  font-weight: 650;
}

.field__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* The `hidden` attribute must win over component display rules (flex/grid).
   Without this, a hidden alert or panel still occupies space. */
[hidden] { display: none !important; }

