:root {
  --ink: #103c52;
  --muted: #55727b;
  --teal-950: #003b62;
  --teal-800: #006b78;
  --teal-700: #008a8f;
  --teal-100: #d9f1f2;
  --sand: #fff6e8;
  --cream: #fcfeff;
  --coral: #eaa54c;
  --peach: #ffd691;
  --line: #d9e2de;
  --white: #fff;
  --shadow: 0 24px 64px rgba(15, 59, 61, .12);
  --radius-lg: 28px;
  --radius-md: 17px;
  --font-sans: Aptos, "Segoe UI", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--teal-950); text-decoration: none; font-size: .88rem; line-height: 1.05; letter-spacing: .01em; }
.brand strong { font-size: 1rem; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 14px rgba(0, 61, 98, .12); }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: var(--teal-950); text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav-cta { padding: 10px 18px; border: 1px solid var(--teal-700); border-radius: 999px; }

.brand-banner { width: min(1180px, calc(100% - 32px)); margin: 16px auto 0; overflow: hidden; border-radius: 32px; box-shadow: 0 20px 54px rgba(0, 61, 98, .12); background: #e7f8ff; }
.brand-banner img { width: 100%; height: auto; display: block; }
.hero { position: relative; width: min(1180px, calc(100% - 32px)); margin: 18px auto 0; min-height: 650px; padding: clamp(52px, 9vw, 108px) clamp(24px, 7vw, 84px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .7fr); align-items: center; gap: clamp(40px, 7vw, 88px); overflow: hidden; border-radius: 36px; background: radial-gradient(circle at 78% 8%, rgba(255, 214, 145, .55), transparent 22%), linear-gradient(145deg, #e5f7f7 0%, #fff5e5 72%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(13, 107, 110, .15); }
.hero::before { width: 360px; height: 360px; right: -170px; bottom: -100px; }
.hero::after { width: 210px; height: 210px; left: -125px; top: -110px; }
.hero-copy, .event-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--teal-700); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.025em; line-height: .98; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.25rem, 7vw, 6rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.45rem, 5vw, 4.25rem); }
.hero-lede { max-width: 630px; margin-bottom: 32px; color: #385c5f; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal-700); color: white; box-shadow: 0 10px 24px rgba(13, 107, 110, .2); }
.button-primary:hover { background: var(--teal-800); }
.button-secondary { border-color: #b8cbc7; background: white; color: var(--teal-800); }
.text-link { color: var(--teal-800); font-weight: 700; text-underline-offset: 5px; }
.trust-line { margin: 28px 0 0; color: var(--muted); font-size: .84rem; }
.trust-line span { color: var(--teal-700); font-weight: 700; }

.event-card { padding: 28px; background: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.event-card-label { color: var(--teal-700); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.date-lockup { display: flex; align-items: center; gap: 15px; margin: 8px 0 26px; color: var(--teal-950); font-size: 1.12rem; line-height: 1.15; }
.date-lockup > span { font-family: var(--font-serif); font-size: 5rem; line-height: .8; }
.event-card dl { margin: 0; }
.event-card dl > div { display: grid; grid-template-columns: 110px 1fr; padding: 13px 0; border-top: 1px solid var(--line); }
.event-card dt { color: var(--muted); font-size: .84rem; }
.event-card dd { margin: 0; font-weight: 700; text-align: right; }
.fine-print { margin: 20px 0 0; color: #6b7d7e; font-size: .74rem; line-height: 1.5; }

.confidence-strip { width: min(1060px, calc(100% - 48px)); margin: -32px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--teal-950); color: white; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.confidence-strip div { padding: 26px 32px; border-left: 1px solid rgba(255,255,255,.12); }
.confidence-strip div:first-child { border-left: 0; }
.confidence-strip strong, .confidence-strip span { display: block; }
.confidence-strip strong { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; }
.confidence-strip span { color: #bcd2d0; font-size: .8rem; }

.section { width: min(1060px, calc(100% - 32px)); margin: 0 auto; padding: 112px 0; }
.story { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; align-items: start; }
.section-intro > p:last-child { max-width: 540px; color: var(--muted); font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 25px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--coral); font-family: var(--font-serif); font-size: 1.5rem; }
.steps h3 { margin-bottom: 5px; font-size: 1.06rem; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }

.application-section { width: min(1120px, calc(100% - 24px)); padding: clamp(40px, 7vw, 76px); background: #edf5f1; border-radius: 34px; }
.application-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.application-heading h2 { margin-bottom: 0; }
.progress-wrap { width: min(260px, 100%); color: var(--muted); font-size: .8rem; font-weight: 600; }
.progress-track { height: 5px; margin-top: 9px; overflow: hidden; background: #cbded9; border-radius: 99px; }
#progressBar { width: 50%; height: 100%; background: var(--teal-700); transition: width .3s ease; }
#applicationForm { padding: clamp(22px, 4vw, 44px); background: white; border-radius: 24px; box-shadow: 0 18px 50px rgba(25, 67, 66, .08); }
.form-step-heading { margin-bottom: 30px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.form-step-heading > span { color: var(--coral); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.form-step-heading h3 { margin: 5px 0 3px; font-family: var(--font-serif); font-size: 2rem; font-weight: 600; }
.form-step-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; color: #26494b; font-size: .86rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.optional { color: #819293; font-weight: 500; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #b8cbc7; border-radius: 10px; outline: none; background: white; color: var(--ink); transition: border .15s, box-shadow .15s; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(13, 107, 110, .12); }
[aria-invalid="true"] { border-color: #b34735 !important; box-shadow: 0 0 0 3px rgba(179, 71, 53, .1) !important; }
.choice-group { margin: 26px 0 0; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 12px; color: #26494b; font-size: .86rem; font-weight: 700; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { display: block; padding: 10px 16px; border: 1px solid #b8cbc7; border-radius: 999px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.choice-row input:checked + span, .choice-row input:focus-visible + span { border-color: var(--teal-700); background: var(--teal-100); color: var(--teal-950); box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(13,107,110,.25); }
.field-help { margin: 9px 0 0; color: var(--muted); font-size: .76rem; }
.consent-box { margin-top: 28px; padding: 18px; background: var(--sand); border-radius: 12px; }
.consent-box label, .affirmation { display: flex; align-items: flex-start; gap: 11px; color: #3e595a; font-size: .82rem; font-weight: 500; }
.consent-box label + label { margin-top: 12px; }
input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal-700); flex: 0 0 auto; }
.trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 32px; }
.form-actions-split { justify-content: space-between; gap: 18px; }
.form-alert { margin-bottom: 20px; padding: 13px 16px; border-radius: 10px; background: #fff1ed; border: 1px solid #efb8a7; color: #8a392b; font-size: .86rem; }
.review-note { margin: 28px 0; padding: 18px 20px; border-left: 3px solid var(--coral); background: #fff8f2; }
.review-note strong { color: var(--teal-950); }
.review-note p { margin: 3px 0 0; color: var(--muted); font-size: .82rem; }
.affirmation { margin-top: 22px; }
.success-panel { padding: 68px 24px; background: white; border-radius: 24px; box-shadow: 0 18px 50px rgba(25,67,66,.08); text-align: center; }
.success-panel h3 { margin-bottom: 12px; font-family: var(--font-serif); font-size: 2.8rem; }
.success-panel > p { max-width: 590px; margin-left: auto; margin-right: auto; color: var(--muted); }
.success-icon { width: 52px; height: 52px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); font-size: 1.5rem; font-weight: 700; }

.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 42px 22px 0; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 17px; color: var(--teal-700); font-family: var(--font-serif); font-size: 1.7rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 42px 22px 0; margin: 0; color: var(--muted); font-size: .92rem; }

footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto 16px; padding: 48px clamp(24px, 6vw, 68px) 24px; display: grid; grid-template-columns: 1fr auto; gap: 34px; background: var(--teal-950); color: white; border-radius: 28px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }
.footer-brand span, .footer-disclaimer, .copyright { color: #a8c4c2; font-size: .78rem; }
.footer-links { display: flex; gap: 22px; font-size: .84rem; font-weight: 600; }
.footer-disclaimer { grid-column: 1 / -1; max-width: 760px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.copyright { grid-column: 1 / -1; margin: 0; }

.legal-page { width: min(780px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 120px; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 5rem); }
.legal-lede { margin-bottom: 56px; color: var(--muted); font-size: 1.15rem; }
.legal-page section { margin: 38px 0; }
.legal-page section h2 { margin-bottom: 10px; font-family: var(--font-sans); font-size: 1.18rem; letter-spacing: 0; line-height: 1.35; }
.legal-page section p { color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 40px; color: var(--teal-700); font-weight: 700; text-underline-offset: 4px; }
.privacy-cta { margin-top: 60px; padding: 34px; background: #edf5f1; border-radius: 20px; }
.privacy-cta h2 { margin-bottom: 8px; }
.privacy-cta p { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .event-card { max-width: 520px; }
  .story, .faq-section { grid-template-columns: 1fr; gap: 46px; }
  .section { padding: 82px 0; }
}

@media (max-width: 680px) {
  .site-header { width: min(100% - 24px, 1180px); padding: 14px 0; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 14px; }
  .brand-banner { width: calc(100% - 16px); margin-top: 4px; border-radius: 20px; }
  .brand-banner img { height: 170px; object-fit: cover; object-position: center; }
  .hero { width: calc(100% - 16px); margin-top: 12px; padding: 48px 20px 66px; border-radius: 24px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.25rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .trust-line { line-height: 1.8; }
  .event-card { padding: 22px; }
  .event-card dl > div { grid-template-columns: 92px 1fr; }
  .confidence-strip { grid-template-columns: 1fr; width: calc(100% - 40px); margin-top: -34px; }
  .confidence-strip div { padding: 19px 24px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .confidence-strip div:first-child { border-top: 0; }
  .section { width: calc(100% - 32px); padding: 72px 0; }
  .application-section { width: calc(100% - 12px); padding: 36px 10px; border-radius: 24px; }
  .application-heading { padding: 0 10px; align-items: stretch; flex-direction: column; gap: 24px; }
  .progress-wrap { width: 100%; }
  #applicationForm { padding: 22px 16px; border-radius: 18px; }
  .field-grid { grid-template-columns: 1fr; gap: 18px; }
  .field-wide { grid-column: auto; }
  .choice-row { flex-direction: column; }
  .choice-row span { text-align: center; }
  .form-actions .button { width: 100%; }
  .form-actions-split { flex-direction: column-reverse; }
  .faq-section { gap: 28px; }
  footer { width: calc(100% - 16px); grid-template-columns: 1fr; padding: 36px 24px 24px; border-radius: 22px; }
  .footer-links { flex-wrap: wrap; }
  .footer-disclaimer, .copyright { grid-column: auto; }
  .legal-page { padding-top: 52px; }
}

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