:root {
  --navy: #171b4f;
  --navy-2: #242965;
  --ink: #11152f;
  --muted: #606782;
  --line: #dde2f2;
  --paper: #ffffff;
  --soft: #f5f7fc;
  --yellow: #ffd100;
  --yellow-dark: #e6b800;
  --shadow: 0 22px 70px rgba(23, 27, 79, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 226, 242, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 34px);
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--navy);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  color: var(--navy);
  background: var(--yellow);
}

.button.primary {
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 14px 30px rgba(255, 209, 0, 0.24);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button.secondary.dark {
  color: var(--navy);
  background: var(--paper);
  border-color: var(--line);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 83px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 209, 0, 0.2), transparent 34%),
    linear-gradient(135deg, #151946 0%, #222766 58%, #141738 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

h5,
h6 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-lede {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.approval-card {
  position: absolute;
  right: clamp(16px, 4vw, 36px);
  bottom: -24px;
  width: min(250px, 70%);
  padding: 20px;
  color: var(--navy);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.approval-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.approval-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
  line-height: 1;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: var(--paper);
}

.split .eyebrow,
.checklist .eyebrow {
  color: var(--yellow-dark);
}

.credibility-panel {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.credibility-panel article {
  padding: 18px;
  background: linear-gradient(135deg, #f8faff, #eef2fb);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
}

.credibility-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credibility-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.feature-grid article,
.process-grid article,
.application-form {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.feature-grid article {
  background: var(--soft);
  box-shadow: none;
}

.feature-grid h3,
.process-grid h3 {
  font-size: 1.04rem;
}

.icon,
.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 900;
}

.feature-grid p,
.process-grid p,
.checklist p,
.apply-panel p {
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

input:not([type="range"]),
select,
textarea {
  min-height: 48px;
  padding: 12px 14px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--yellow-dark);
}

.loan-range-field {
  gap: 10px;
}

.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.range-row strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.section-heading .eyebrow {
  color: var(--yellow-dark);
}

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

.checklist {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--paper);
}

.checklist ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 18px 18px 18px 52px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
}

.checklist li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  content: "\2713";
  color: var(--yellow-dark);
}

.faq {
  background: var(--soft);
}

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

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.06);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 18px 54px 18px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.25;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 20px;
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.page-hero {
  display: grid;
  align-items: center;
  min-height: calc(58vh - 83px);
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 209, 0, 0.16), transparent 32%),
    linear-gradient(135deg, #151946 0%, #242965 60%, #101333 100%);
}

.page-hero h1 {
  max-width: 980px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--soft);
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.contact-card span,
.contact-form .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  display: inline-block;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-form h2 {
  font-size: 2rem;
  line-height: 1.1;
}

.map-section {
  background: var(--paper);
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-actions {
  margin-top: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--paper);
}

.service-content {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.content-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.content-copy h2,
.content-copy h3 {
  color: var(--navy);
}

.content-copy a {
  color: var(--navy);
  font-weight: 800;
}

.content-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.content-list li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  content: "\2713";
  color: var(--yellow-dark);
}

.info-card,
.note-panel {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card {
  position: sticky;
  top: 104px;
}

.info-card p,
.note-panel p {
  color: var(--muted);
}

.info-card a:not(.button) {
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.info-card .button {
  width: 100%;
  margin-top: 10px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-grid a {
  display: block;
  min-height: 170px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.06);
}

.link-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
}

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

.status-card {
  max-width: 760px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-card p {
  color: var(--muted);
}

.thank-you-hero {
  min-height: calc(64vh - 83px);
}

.thank-you-panel {
  max-width: 820px;
}

.thank-you-panel .hero-lede {
  max-width: 720px;
}

.success-mark {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(255, 209, 0, 0.24);
}

.success-mark::after {
  position: absolute;
  top: 20px;
  left: 25px;
  content: "";
  width: 18px;
  height: 30px;
  border-right: 6px solid var(--navy);
  border-bottom: 6px solid var(--navy);
  transform: rotate(45deg);
}

.thank-you-content {
  background: var(--paper);
}

.thank-you-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.thank-you-grid article,
.support-card {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.thank-you-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 900;
}

.thank-you-grid p,
.thank-you-support p,
.support-card p {
  color: var(--muted);
}

.thank-you-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--soft);
}

.support-card {
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.support-card a:not(.button) {
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.support-card .hero-actions {
  margin-bottom: 0;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  min-height: calc(72vh - 83px);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 209, 0, 0.18), transparent 30%),
    linear-gradient(135deg, #151946 0%, #242965 62%, #101333 100%);
}

.about-hero h1 {
  max-width: 900px;
}

.about-hero-card {
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.about-hero-card img {
  width: 120px;
  margin-bottom: 24px;
}

.about-hero-card p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-hero-card strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 78px);
  background: var(--paper);
}

.about-story .eyebrow,
.about-approach .eyebrow {
  color: var(--yellow-dark);
}

.story-copy {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.16rem);
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.about-proof {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
  background: var(--soft);
}

.proof-card {
  min-height: 260px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.proof-card.highlight {
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-color: rgba(255, 255, 255, 0.08);
}

.proof-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.proof-card h3 {
  color: inherit;
  font-size: 1.12rem;
}

.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-card.highlight p {
  color: rgba(255, 255, 255, 0.74);
}

.about-approach {
  background: var(--paper);
}

.testimonial-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
  background: var(--soft);
}

.testimonial-card,
.about-cta {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 8px;
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.testimonial-card .eyebrow {
  color: var(--yellow-dark);
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.testimonial-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.about-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.about-cta h2 {
  color: var(--paper);
}

.about-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.74);
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 500px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.apply h2 {
  color: var(--paper);
}

.apply-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.application-form {
  display: grid;
  gap: 14px;
  color: var(--ink);
}

.apply-test-hero {
  min-height: calc(62vh - 83px);
}

.test-banner {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.apply-test-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--soft);
}

.apply-test-sidebar {
  position: sticky;
  top: 104px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(23, 27, 79, 0.07);
}

.apply-test-sidebar .eyebrow {
  color: var(--yellow-dark);
}

.apply-test-sidebar h2 {
  font-size: 2rem;
}

.apply-test-sidebar ol {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-weight: 800;
}

.apply-test-sidebar li {
  position: relative;
  padding: 12px 14px 12px 44px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.apply-test-sidebar li::before {
  position: absolute;
  left: 14px;
  top: 50%;
  content: counter(list-item);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--navy);
  background: var(--paper);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.apply-test-sidebar li.is-active {
  color: var(--navy);
  background: #fff9d9;
  border-color: rgba(230, 184, 0, 0.45);
  box-shadow: 0 10px 26px rgba(255, 209, 0, 0.18);
}

.apply-test-sidebar li.is-complete {
  color: var(--navy);
  background: #f8faff;
}

.apply-test-sidebar li.is-complete::before {
  content: "\2713";
  background: var(--yellow);
}

.full-application-form {
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.form-progress {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-progress span {
  color: var(--yellow-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-progress strong {
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.2;
}

.progress-track {
  overflow: hidden;
  height: 10px;
  background: #e8ecf7;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--yellow);
  border-radius: inherit;
  transition: width 180ms ease;
}

.full-application-form fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.full-application-form fieldset[hidden] {
  display: none;
}

.full-application-form legend {
  padding: 0 10px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

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

.form-grid-full {
  grid-column: 1 / -1;
}

.beneficiary-list {
  display: grid;
  gap: 14px;
}

.beneficiary-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.consent-box {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 18px;
  color: var(--ink);
  background: #fff9d9;
  border: 1px solid rgba(230, 184, 0, 0.34);
  border-radius: 8px;
}

.consent-box input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  color: var(--navy);
  background: #fff9d9;
  border: 1px solid rgba(230, 184, 0, 0.34);
  border-radius: 8px;
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr 1.2fr;
  gap: 28px;
  padding: 44px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0f1238;
}

.site-footer img {
  width: 76px;
  margin-bottom: 14px;
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--paper);
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: var(--paper);
}

.whatsapp-float {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle-label {
    display: inline-flex;
    position: relative;
    order: 3;
    width: 44px;
    height: 44px;
    margin-left: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle-label span:nth-child(1) {
    top: 14px;
  }

  .nav-toggle-label span:nth-child(2) {
    top: 21px;
  }

  .nav-toggle-label span:nth-child(3) {
    top: 28px;
  }

  .main-nav {
    display: none;
    order: 5;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(23, 27, 79, 0.12);
  }

  .main-nav a {
    padding: 13px 14px;
    border-radius: 8px;
    color: var(--navy);
  }

  .main-nav a:hover {
    background: var(--soft);
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .hero,
  .page-hero,
  .about-hero,
  .about-story,
  .about-proof,
  .testimonial-section,
  .contact-page-grid,
  .thank-you-support,
  .content-grid,
  .apply-test-layout,
  .split,
  .checklist,
  .apply,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .info-card {
    position: static;
  }

  .apply-test-sidebar {
    position: static;
  }

  .beneficiary-row,
  .form-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .nav-toggle-label {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-stats,
  .feature-grid,
  .thank-you-grid,
  .link-grid,
  .form-grid.two,
  .form-grid.three,
  .beneficiary-row,
  .process-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .approval-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .section {
    padding-block: 58px;
  }

  .about-hero-card img {
    width: 88px;
  }

  .thank-you-hero {
    min-height: calc(100vh - 55px);
    min-height: calc(100svh - 55px);
  }

  .whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    color: #ffffff;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(15, 18, 56, 0.28);
    font-weight: 900;
  }

  .whatsapp-float svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
  }
}
