:root {
  --ink: #10232f;
  --muted: #556878;
  --line: #d8e6ef;
  --paper: #f8fbff;
  --white: #ffffff;
  --blue: #176df3;
  --blue-dark: #0d469a;
  --teal: #00a99d;
  --lime: #d9f467;
  --yellow: #ffc857;
  --coral: #ff765f;
  --shadow: 0 24px 70px rgba(20, 54, 84, 0.13);
  --radius: 8px;
  --shell: min(1140px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(217, 244, 103, 0.28), transparent 28rem),
    linear-gradient(250deg, rgba(0, 169, 157, 0.18), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: var(--progress, 0%);
  height: 3px;
  z-index: 80;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--coral));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(216, 230, 239, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(15, 45, 68, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(154px, 17vw, 198px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(23, 109, 243, 0.08));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #365466;
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-menu a {
  padding-block: 10px;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  transition: transform 160ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-menu .nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 35, 47, 0.18);
}

.nav-menu .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(590px, calc(100svh - 76px), 740px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.84) 39%, rgba(248, 251, 255, 0.34) 70%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.3), rgba(248, 251, 255, 0.86));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(290px, 0.48fr);
  align-items: end;
  gap: clamp(24px, 6vw, 82px);
  padding: clamp(58px, 7vw, 88px) 0 68px;
}

.hero-copy {
  min-width: 0;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.85rem, 5.4vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: #314b5d;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(23, 109, 243, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(16, 35, 47, 0.14);
}

.hero-note {
  max-width: 590px;
  margin: 20px 0 0;
  color: #5d7080;
  font-size: 0.95rem;
}

.hero-panel {
  min-width: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 230, 239, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-metric {
  display: grid;
  gap: 4px;
}

.panel-metric span {
  color: var(--muted);
  font-weight: 800;
}

.panel-metric strong {
  color: var(--blue);
  font-size: 4rem;
  line-height: 1;
}

.panel-line {
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, var(--blue), var(--teal), transparent);
}

.panel-list {
  display: grid;
  gap: 10px;
}

.panel-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #284354;
  font-weight: 750;
}

.panel-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  flex: 0 0 auto;
}

.trust-band {
  position: relative;
  z-index: 2;
  margin-top: clamp(-72px, -6vw, -48px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20, 54, 84, 0.1);
}

.trust-grid > div {
  padding: 24px;
  min-height: 184px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.trust-grid > div + div {
  border-left: 1px solid var(--line);
}

.trust-kicker {
  width: fit-content;
  padding: 5px 8px;
  background: #e9f8f7;
  color: #00786f;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
}

.trust-grid strong {
  font-size: 1.16rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 500px;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.roles-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.85)),
    var(--paper);
}

.role-toolbar {
  position: sticky;
  top: 84px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20, 54, 84, 0.07);
  backdrop-filter: blur(14px);
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 9px 13px;
  color: #355063;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: #b9d0df;
}

.filter-button.active {
  color: var(--white);
  background: var(--ink);
}

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

.role-card {
  min-height: 354px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(20, 54, 84, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 109, 243, 0.32);
  box-shadow: 0 20px 54px rgba(20, 54, 84, 0.13);
}

.role-card.is-hidden {
  display: none;
}

.role-topline {
  min-height: 31px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #637887;
  font-size: 0.82rem;
  font-weight: 800;
}

.role-tag {
  color: #035c56;
  background: #d9f8f4;
  padding: 5px 8px;
  border-radius: 999px;
}

.role-card p {
  margin: 13px 0 18px;
  color: var(--muted);
}

.role-card dl {
  display: grid;
  gap: 10px;
  margin: auto 0 18px;
}

.role-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #edf4f8;
}

.role-card dt {
  color: #6d7f8c;
  font-weight: 800;
}

.role-card dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.text-link {
  width: fit-content;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(23, 109, 243, 0.28);
  text-underline-offset: 4px;
}

.disclosure {
  margin: 24px 0 0;
  padding: 16px 18px;
  color: #425d70;
  background: #fff7e1;
  border: 1px solid #f2d78a;
  border-radius: var(--radius);
}

.process-section {
  background:
    linear-gradient(100deg, rgba(255, 200, 87, 0.16), transparent 44%),
    #ffffff;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline article span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 950;
}

.timeline article p {
  grid-column: 2;
  margin: -6px 0 0;
  color: var(--muted);
}

.about-section {
  background:
    linear-gradient(120deg, rgba(0, 169, 157, 0.1), transparent 35%),
    linear-gradient(240deg, rgba(255, 118, 95, 0.12), transparent 40%),
    #f9fcff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(280px, 0.35fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.about-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.radial-stat {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin-bottom: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 42%, transparent 43%),
    conic-gradient(from 20deg, var(--teal), var(--lime), var(--yellow), var(--coral), var(--blue), var(--teal));
}

.radial-stat span {
  color: var(--muted);
  font-weight: 850;
}

.radial-stat strong {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.9;
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.about-card li + li {
  margin-top: 10px;
}

.policies-section {
  background: var(--white);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.policy-grid article {
  padding: 22px;
  min-height: 250px;
  background: #fbfdff;
}

.policy-grid article:nth-child(2) {
  background: #f3fbfa;
}

.policy-grid article:nth-child(3) {
  background: #fffaf0;
}

.policy-grid article:nth-child(4) {
  background: #f5f8ff;
}

.policy-grid article + article {
  border-left: 1px solid var(--line);
}

.policy-grid p {
  color: var(--muted);
}

.faq-section {
  background: #f8fbff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eaf3fa;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 10px 5px auto;
  height: 2px;
  background: var(--ink);
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item.open button span::after {
  transform: rotate(0deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-panel p {
  overflow: hidden;
  margin: 0;
  padding: 0 18px;
  color: var(--muted);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-panel p {
  padding-bottom: 18px;
}

.apply-section {
  background:
    linear-gradient(115deg, rgba(23, 109, 243, 0.12), transparent 38%),
    linear-gradient(245deg, rgba(217, 244, 103, 0.32), transparent 42%),
    #ffffff;
}

.apply-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.apply-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.apply-notice {
  margin-top: 24px;
  padding: 18px;
  background: #10232f;
  color: var(--white);
  border-radius: var(--radius);
}

.apply-notice strong {
  display: block;
  margin-bottom: 8px;
}

.apply-notice p {
  margin: 0;
  color: #d4e1e8;
}

.form-shell {
  min-height: 560px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.embedded-form {
  min-height: 520px;
  display: grid;
  align-content: start;
}

.site-footer {
  padding: 54px 0 22px;
  background: #0f2330;
  color: #e9f2f7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer .brand-logo {
  width: 180px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #b8cad5;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 1060px) {
  .role-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .policy-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100vw - 28px, 720px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    inset: calc(100% + 1px) 14px auto;
    display: grid;
    gap: 2px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 12px;
  }

  .nav-menu .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: clamp(620px, calc(100svh - 68px), 720px);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.97) 0%, rgba(248, 251, 255, 0.86) 58%, rgba(248, 251, 255, 0.58) 100%),
      linear-gradient(90deg, rgba(248, 251, 255, 0.92), rgba(248, 251, 255, 0.32));
  }

  .hero-grid,
  .process-layout,
  .about-layout,
  .faq-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 70px 0 64px;
  }

  h1 {
    font-size: clamp(2.65rem, 10.5vw, 4rem);
  }

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

  .trust-grid > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-heading.compact {
    max-width: none;
    margin-bottom: 26px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2rem, 8.8vw, 2.45rem);
    line-height: 1.08;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .role-grid,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .role-toolbar {
    top: 74px;
  }

  .role-card {
    min-height: auto;
  }

  .policy-grid article + article,
  .policy-grid article:nth-child(3),
  .policy-grid article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .form-shell {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
