:root {
  --ink: #170d2f;
  --muted: #625c70;
  --paper: #fbf8f2;
  --surface: #ffffff;
  --primary: #29115f;
  --primary-strong: #17053d;
  --accent: #d41f2b;
  --accent-bright: #f13a3f;
  --soft: #f1eaf7;
  --line: rgba(30, 15, 58, 0.13);
  --hero-text: #ffffff;
  --focus: #ffcc41;
  --shadow: 0 24px 70px rgba(24, 6, 58, 0.22);
  --radius: 24px;
}

html[data-variant="community"] {
  --ink: #092448;
  --muted: #52647d;
  --paper: #f3f8ff;
  --primary: #075bd8;
  --primary-strong: #073b92;
  --accent: #09a8c7;
  --accent-bright: #28c2d9;
  --soft: #e0efff;
  --line: rgba(7, 59, 146, 0.14);
  --focus: #ffca3a;
  --shadow: 0 24px 70px rgba(5, 62, 145, 0.19);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: #000;
  background: #fff;
  border-radius: 8px;
}
.skip-link:focus { transform: none; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow-shell { width: min(1040px, calc(100% - 40px)); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 24px;
}

.brand img { width: 265px; height: auto; }
.brand-dark { display: none; }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.09);
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 820px;
  padding: 154px 0 88px;
  color: var(--hero-text);
  background:
    radial-gradient(circle at 9% 26%, rgba(212,31,43,.24), transparent 27%),
    linear-gradient(135deg, #12042f 0%, #29115f 54%, #3b0b55 100%);
}

html[data-variant="community"] .hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(40,194,217,.32), transparent 29%),
    linear-gradient(135deg, #052e76 0%, #075bd8 56%, #087fbd 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .21;
  background-image: radial-gradient(rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { width: 430px; height: 430px; right: -130px; top: 90px; border: 85px solid rgba(255,255,255,.06); }
.hero-orb-two { width: 240px; height: 240px; left: -120px; bottom: -100px; background: rgba(212,31,43,.22); }
html[data-variant="community"] .hero-orb-two { background: rgba(40,194,217,.29); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .82fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.eyebrow, .section-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #fff; line-height: 1.35; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 7px rgba(241,58,63,.16); }
html[data-variant="community"] .pulse-dot { box-shadow: 0 0 0 7px rgba(40,194,217,.18); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

h1 {
  max-width: 750px;
  margin-bottom: 24px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(62px, 7vw, 94px);
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
h1 span { color: #ffddc5; }
html[data-variant="community"] h1 span { color: #bff6ff; }

.hero-deck {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}

.eligibility-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 620px;
  margin-bottom: 30px;
  padding: 17px 19px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.eligibility-card strong { display: block; margin-bottom: 3px; }
.eligibility-card p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.5; }
.eligibility-icon { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; color: var(--primary-strong); background: #fff; border-radius: 50%; font-weight: 900; }

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0,0,0,.23); }
.button:focus-visible, .header-cta:focus-visible, footer a:focus-visible { outline: 4px solid var(--focus); outline-offset: 4px; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-bright); }
html[data-variant="community"] .button-primary { color: #062653; background: #fff; }
html[data-variant="community"] .button-primary:hover { background: #dffaff; }

.secure-note { display: flex; align-items: center; gap: 8px; margin: 0; max-width: 230px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.76); }
.secure-note svg { width: 20px; flex: 0 0 auto; }

.hero-visual { position: relative; width: 100%; max-width: 470px; justify-self: end; }
.portrait-frame { position: relative; overflow: hidden; border: 10px solid rgba(255,255,255,.96); border-radius: 30px; box-shadow: 0 34px 90px rgba(0,0,0,.34); transform: rotate(1.5deg); background: #fff; }
.portrait-frame > img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: center 28%; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -130px 100px -55px rgba(14,4,41,.92); }
.portrait-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; color: #fff; }
.portrait-caption span { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 30px; line-height: 1; font-weight: 800; text-transform: uppercase; }
.portrait-caption strong { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.five-badge { position: absolute; z-index: 3; top: 20px; left: 20px; display: grid; width: 105px; height: 105px; place-content: center; text-align: center; color: #fff; background: var(--accent); border: 5px solid #fff; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,.28); transform: rotate(-8deg); }
.five-badge small { font-weight: 900; letter-spacing: .14em; }
.five-badge strong { font-family: "Barlow Condensed", sans-serif; font-size: 49px; line-height: .85; }

.deadline-card { position: absolute; z-index: 5; right: -28px; bottom: -35px; min-width: 205px; padding: 16px 20px; color: var(--ink); background: #fff; border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.deadline-card span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.deadline-card strong { font-family: "Barlow Condensed", sans-serif; font-size: 32px; line-height: 1; }

.trust-strip { position: relative; z-index: 2; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 15px; min-height: 108px; padding: 20px 30px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { padding-right: 0; border: 0; }
.trust-grid strong { flex: 0 0 auto; color: var(--primary); font-family: "Barlow Condensed", sans-serif; font-size: 31px; line-height: 1; text-transform: uppercase; }
.trust-grid span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.steps { padding: 100px 0 110px; background: #fff; }
.section-heading { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-kicker { color: var(--accent); }
.section-heading h2, .why-five h2, .issues h2, .final-cta h2 { margin-bottom: 16px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(42px, 5vw, 62px); line-height: .98; letter-spacing: -.015em; text-transform: uppercase; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.6; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-grid li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step-number { display: grid; width: 44px; height: 44px; margin-bottom: 24px; place-items: center; color: #fff; background: var(--primary); border-radius: 12px; font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 900; box-shadow: 6px 6px 0 var(--soft); }
.step-grid h3 { margin-bottom: 8px; font-size: 19px; }
.step-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.center-cta { margin-top: 38px; text-align: center; }
html[data-variant="community"] .steps .button-primary { color: #fff; background: var(--primary); }

.why-five { padding: 100px 0; background: var(--soft); }
.why-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 80px; align-items: start; }
.why-copy > p:first-child { color: var(--muted); font-size: 18px; line-height: 1.7; }
.note-box { margin: 28px 0 0; padding: 20px 22px; border-left: 5px solid var(--accent); border-radius: 0 14px 14px 0; background: rgba(255,255,255,.78); line-height: 1.55; }

.issues {
  position: relative;
  overflow: hidden;
  padding: 108px 0 102px;
  background: #fff;
}
.issues::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -130px;
  width: 390px;
  height: 390px;
  border: 70px solid var(--soft);
  border-radius: 50%;
  pointer-events: none;
}
.issues-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .72fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 46px;
}
.issues-heading h2 { max-width: 720px; margin-bottom: 0; }
.issues-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.issue-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.issue-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  min-height: 222px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(24, 6, 58, .055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.issue-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 28%, transparent);
  box-shadow: 0 16px 36px rgba(24, 6, 58, .09);
}
.issue-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--soft);
}
.issue-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.issue-label {
  margin: 1px 0 7px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.issue-card h3 { margin-bottom: 9px; font-size: 20px; line-height: 1.25; }
.issue-card > div:last-child > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.issues-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 0 3px;
  color: var(--muted);
  font-size: 13px;
}
.issues-footer p { margin: 0; }
.issues-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-weight: 800; text-decoration: none; }
.issues-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
html[data-variant="community"] .issue-card { box-shadow: 0 8px 28px rgba(5, 62, 145, .055); }
html[data-variant="community"] .issue-card:hover { box-shadow: 0 16px 36px rgba(5, 62, 145, .1); }

.final-cta { padding: 88px 0; background: var(--paper); }
.final-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 52px 58px; color: #fff; border-radius: 30px; background: linear-gradient(135deg, var(--primary-strong), var(--primary)); box-shadow: var(--shadow); }
.final-card h2 { max-width: 760px; margin: 0; }
.final-card .section-kicker { color: #ffb3aa; }
html[data-variant="community"] .final-card .section-kicker { color: #bff6ff; }
.button-light { min-width: 206px; color: var(--primary-strong); background: #fff; }

footer { padding: 45px 0; color: rgba(255,255,255,.75); background: #100827; }
html[data-variant="community"] footer { background: #062d68; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-inner img { width: 235px; }
.footer-inner div { text-align: right; font-size: 12px; line-height: 1.6; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; }

@media (max-width: 900px) {
  .hero { padding-top: 138px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(520px, 92%); justify-self: center; }
  .trust-grid { grid-template-columns: 1fr; padding: 15px 0; }
  .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child { min-height: auto; padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border: 0; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid li { display: flex; gap: 20px; }
  .step-number { flex: 0 0 auto; margin: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .issues-heading { grid-template-columns: 1fr; gap: 18px; }
  .issue-grid { grid-template-columns: 1fr; }
  .issue-card { min-height: 0; }
  .final-card { grid-template-columns: 1fr; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero { min-height: 760px; padding-top: 132px; padding-bottom: 70px; }
  .hero-grid { gap: 46px; }
  h1 { font-size: clamp(56px, 6.2vw, 70px); }
  .hero-deck { font-size: 18px; line-height: 1.48; }
  .portrait-frame { border-width: 8px; }
}

@media (max-width: 620px) {
  .shell, .narrow-shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 86px; gap: 10px; }
  .brand img { width: 154px; }
  .header-cta { padding: 10px 14px; font-size: 13px; }
  .hero { min-height: 0; padding: 122px 0 74px; }
  .hero-grid { gap: 54px; }
  h1 { font-size: clamp(40px, 12.5vw, 56px); text-wrap: wrap; }
  .hero-deck { font-size: 17px; }
  .eligibility-card { padding: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .secure-note { max-width: 100%; justify-content: center; }
  .portrait-frame { border-width: 7px; border-radius: 23px; }
  .five-badge { width: 88px; height: 88px; top: 12px; left: 12px; }
  .five-badge strong { font-size: 40px; }
  .portrait-caption { left: 18px; right: 18px; bottom: 17px; }
  .portrait-caption span { font-size: 25px; }
  .deadline-card { right: -8px; bottom: -30px; min-width: 182px; }
  .steps, .why-five, .issues { padding: 74px 0; }
  .section-heading { margin-bottom: 38px; }
  .step-grid li { padding: 22px 20px; }
  .issues-heading { margin-bottom: 34px; }
  .issues h2 { font-size: 38px; }
  .issue-card { grid-template-columns: 1fr; gap: 17px; padding: 24px 21px; }
  .issue-icon { width: 48px; height: 48px; border-radius: 14px; }
  .issues-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .final-cta { padding: 58px 0; }
  .final-card { gap: 28px; padding: 36px 26px; border-radius: 22px; }
  .final-card .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner div { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
