/* ==========================================================================
   VURA — Health & Sexual Wellness
   Site stylesheet
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-500.woff2") format("woff2");
}

:root {
  --ink: #0b1747;          /* headings */
  --text: #2a3352;         /* body */
  --muted: #5d6786;        /* secondary text */
  --blue: #1f5fe8;         /* primary */
  --blue-2: #2f86ff;       /* accent text */
  --blue-deep: #1238b8;
  --sky: #e9f2ff;
  --sky-2: #f4f8ff;
  --line: #dfe7f5;
  --card: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --urgent: #c2264f;
  --urgent-bg: #fff1f4;
  --urgent-line: #f6c3d0;
  --ok: #138a63;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 48px rgba(22, 52, 140, 0.09);
  --shadow-sm: 0 6px 18px rgba(22, 52, 140, 0.07);
  --grad: linear-gradient(100deg, #1238b8 0%, #1f5fe8 55%, #2f86ff 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 110px; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.accent { color: var(--blue-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 3px solid rgba(47, 134, 255, .55); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; position: relative; }
.section.tight { padding: 40px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}

/* ---------- Emergency strip ---------- */
.alert-strip {
  background: var(--ink); color: #dfe8ff; font-size: .86rem; text-align: center;
  padding: 8px 16px; line-height: 1.45;
}
.alert-strip a { color: #fff; font-weight: 700; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(223, 231, 245, .7);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.brand img { width: 54px; height: 54px; }
.brand-tag { font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a, .nav-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font: inherit; font-size: .93rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-decoration: none !important;
}
.main-nav a:hover, .nav-dd-btn:hover { background: var(--sky); }
.main-nav a[aria-current="page"], .nav-dd-btn.is-current { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-dd { position: relative; }
.nav-dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  padding: 8px; list-style: none; display: none;
}
.nav-dd.open .nav-dd-menu { display: block; }
.nav-dd-menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 0; border-radius: 12px; padding: 10px 14px; width: 100%; }
.nav-dd-menu a span { font-size: .8rem; font-weight: 500; color: var(--muted); }
.nav-dd-menu a[aria-current="page"] { box-shadow: none; background: var(--sky); border-radius: 12px; }

.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px;
  font: inherit; font-size: .98rem; font-weight: 700; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(31, 95, 232, .28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(31, 95, 232, .34); }
.btn-outline { background: #fff; color: var(--ink); border-color: #cddbf3; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-urgent { background: var(--urgent); color: #fff; box-shadow: 0 10px 22px rgba(194, 38, 79, .25); }
.btn-sm { min-height: 42px; padding: 9px 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Decorative orbs ---------- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; }
.orb-1 {
  width: 620px; height: 620px; right: -140px; top: -170px;
  background: radial-gradient(circle at 38% 40%, rgba(17, 82, 255, .78), rgba(54, 140, 255, .45) 38%, rgba(140, 200, 255, .18) 62%, transparent 72%);
  filter: blur(6px);
}
.orb-2 {
  width: 420px; height: 420px; right: 210px; top: 120px;
  background: radial-gradient(circle at 50% 50%, rgba(214, 236, 255, .7), rgba(140, 196, 255, .35) 55%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, .7);
}
.orb-3 {
  width: 300px; height: 300px; right: -60px; top: 300px;
  background: radial-gradient(circle at 40% 40%, rgba(90, 220, 255, .55), rgba(110, 170, 255, .25) 55%, transparent 72%);
}
.orb-soft {
  width: 520px; height: 520px; left: -240px; bottom: -260px;
  background: radial-gradient(circle, rgba(47, 134, 255, .16), transparent 68%);
}
.hand-note {
  position: absolute; z-index: 1; right: 4%; top: 64px; max-width: 230px;
  font-family: var(--hand); font-size: 1.9rem; line-height: 1.15; color: #1d4fd6;
  transform: rotate(-9deg); text-align: left;
}
.hand-note::after { content: ""; display: block; width: 120px; height: 2px; margin-top: 12px; margin-left: 30px; background: #1d4fd6; border-radius: 2px; transform: rotate(-6deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.15rem; color: var(--text); max-width: 560px; margin-bottom: 30px; }
.hero.compact { padding: 60px 0 48px; }
.hero.compact .hero-copy { max-width: 620px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 32px; }
.pill { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.icon-bubble {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--blue);
}
.icon-bubble svg { width: 22px; height: 22px; }
.icon-bubble.lg { width: 64px; height: 64px; }
.icon-bubble.lg svg { width: 28px; height: 28px; }
.icon-bubble.white { background: #fff; box-shadow: var(--shadow-sm); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.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)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
}
.card h3 { margin-top: 14px; }
.card p:last-child { margin-bottom: 0; }
.card.soft { background: var(--sky-2); box-shadow: none; }
.card.link-card { transition: transform .15s, box-shadow .15s; }
.card.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.panel { background: linear-gradient(180deg, #f5f9ff, #f9fbff); border: 1px solid var(--line); border-radius: 28px; padding: 40px; position: relative; overflow: hidden; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.dot-list { padding-left: 20px; display: grid; gap: 6px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tag-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.tag-list li span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-top: 0; }
.step p { color: var(--muted); }
.steps:not(.four) .step:not(:last-child)::after {
  content: "→"; position: absolute; right: -22px; top: 10px; color: var(--blue-2); font-size: 1.4rem;
}

/* ---------- Urgent box ---------- */
.urgent {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  background: var(--urgent-bg); border: 1px solid var(--urgent-line); border-radius: var(--radius);
  padding: 24px 28px;
}
.urgent .icon-bubble { background: #ffe0e8; color: var(--urgent); }
.urgent-copy { flex: 1 1 360px; }
.urgent h2, .urgent h3 { color: #7a1030; margin-bottom: 6px; font-size: 1.3rem; }
.urgent p { margin: 0; color: #5b2236; }

/* ---------- Open enrollment banner ---------- */
.oe-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(105deg, #eef5ff 0%, #e2eeff 55%, #d4e6ff 100%);
  border: 1px solid #cfe0fb; border-radius: 26px; padding: 32px 36px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
}
.oe-banner::after {
  content: ""; position: absolute; right: -80px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 134, 255, .35), transparent 65%); pointer-events: none;
}
.oe-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.oe-banner p { margin-bottom: 16px; }
.oe-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.oe-top .eyebrow { margin: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #ffe3ea; color: var(--urgent); font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.oe-dates {
  position: relative; z-index: 1; background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: var(--shadow); transform: rotate(-4deg); text-align: center; color: var(--ink); min-width: 220px;
}
.oe-dates strong { display: block; font-size: 1.05rem; }
.oe-dates span { font-size: .85rem; color: var(--muted); }
.oe-dates .date { font-size: 1.15rem; font-weight: 800; color: var(--blue); margin: 4px 0; }
[data-oe-show][hidden] { display: none !important; }

/* ---------- Quiz ---------- */
.quiz-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.quiz-preview h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.q-progress { display: flex; align-items: center; gap: 14px; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.q-progress .bar { flex: 1; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.q-progress .bar span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.q-title { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.options { display: grid; gap: 10px; border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.options legend { padding: 0; }
.option {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #fff;
  font-weight: 600; color: var(--text); transition: border-color .15s, background .15s; line-height: 1.35;
}
.option:hover { border-color: #b9cdf2; }
.option input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; flex-shrink: 0; }
.option:has(input:checked) { border-color: var(--blue); background: var(--sky-2); color: var(--ink); }

.stepper { display: flex; align-items: flex-start; margin: 0 0 28px; padding: 0; list-style: none; }
.stepper li { flex: 1; text-align: center; position: relative; font-size: .82rem; font-weight: 600; color: var(--muted); }
.stepper li::before {
  content: attr(data-n); display: grid; place-items: center; margin: 0 auto 8px;
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: #fff;
  font-weight: 800; color: var(--muted); position: relative; z-index: 1;
}
.stepper li:not(:last-child)::after {
  content: ""; position: absolute; top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--line);
}
.stepper li.done::before, .stepper li.current::before { border-color: var(--blue); background: var(--blue); color: #fff; }
.stepper li.done::after { background: var(--blue); }
.stepper li.current { color: var(--blue); }

.quiz-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
.quiz-step[hidden] { display: none; }
.quiz-actions { display: flex; justify-content: space-between; gap: 12px; }
.quiz-actions .btn { min-width: 140px; }
.why-list { display: grid; gap: 22px; list-style: none; margin-top: 18px; }
.why-list li { display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--ink); line-height: 1.35; }

.inline-alert {
  border-radius: 14px; padding: 14px 16px; margin: -6px 0 18px; font-size: .93rem; line-height: 1.5;
  background: var(--urgent-bg); border: 1px solid var(--urgent-line); color: #5b2236;
}
.inline-alert a { color: var(--urgent); font-weight: 800; }
.inline-alert.info { background: var(--sky-2); border-color: #cfe0fb; color: var(--text); }
.inline-alert.info a { color: var(--blue); }

.results { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.rec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rec-head small { display: block; font-size: .75rem; letter-spacing: .18em; font-weight: 700; color: var(--blue); text-transform: uppercase; }
.rec-head h2 { margin: 0; font-size: 1.8rem; }
.rec-list { list-style: none; display: grid; gap: 12px; }
.rec-list li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.rec-list li.urgent-rec { border-color: var(--urgent-line); background: var(--urgent-bg); }
.rec-check {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff;
}
.urgent-rec .rec-check { background: var(--urgent); }
.rec-check svg { width: 16px; height: 16px; }
.rec-list strong { display: block; color: var(--ink); }
.rec-list p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.rec-list a { font-size: .9rem; font-weight: 700; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--urgent); }
.field .help { font-size: .8rem; color: var(--muted); margin: -2px 0 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid #cfdaee; background: #fbfdff; color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 232, .12); }
.field .invalid { border-color: var(--urgent) !important; box-shadow: 0 0 0 4px rgba(194, 38, 79, .09) !important; }
.field-error { min-height: 0; font-size: .8rem; color: var(--urgent); margin-top: 5px; }
.field-error:empty { display: none; }
.counter { text-align: right; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.pair { display: grid; grid-template-columns: 1fr 110px; gap: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 12px; }
.form-msg { display: none; margin-top: 16px; border-radius: 12px; padding: 12px 16px; font-size: .93rem; }
.form-msg.error { display: block; background: var(--urgent-bg); border: 1px solid var(--urgent-line); color: #7a1030; }
.success-box { text-align: center; padding: 48px 24px; }
.success-box .success-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(31, 95, 232, .28);
}
.success-box .success-icon svg { width: 36px; height: 36px; }
.success-box p { max-width: 460px; margin-left: auto; margin-right: auto; color: var(--muted); }

/* Pre-registration */
.prereg { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.prereg-side {
  position: sticky; top: 100px; border-radius: 26px; padding: 32px 28px; color: #fff; overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(80, 190, 255, .35), transparent 16rem),
    radial-gradient(circle at 90% 90%, rgba(47, 134, 255, .45), transparent 18rem),
    linear-gradient(160deg, #0b1747 0%, #1238b8 100%);
  box-shadow: var(--shadow);
}
.prereg-side h2 { color: #fff; font-size: 1.85rem; }
.prereg-side p { color: rgba(255, 255, 255, .82); font-size: .95rem; }
.prereg-side .badge-soft { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.prereg-side ul { list-style: none; display: grid; gap: 12px; margin: 20px 0; }
.prereg-side li { display: flex; gap: 10px; font-size: .92rem; color: rgba(255, 255, 255, .92); line-height: 1.45; }
.prereg-side li::before { content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #8fd2ff; font-weight: 800; font-size: .85rem; }
.prereg-side .side-urgent { margin-top: 8px; padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); font-size: .88rem; color: rgba(255, 255, 255, .9); }
.prereg-side .side-urgent a { color: #fff; font-weight: 800; }
.prereg-side .side-foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px 36px; box-shadow: var(--shadow); min-width: 0; }
.form-step-head { display: flex; gap: 14px; align-items: center; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-step-head .step-num { background: var(--grad); color: #fff; width: 46px; height: 46px; border-radius: 15px; }
.form-step-head h2 { font-size: 1.35rem; margin: 0 0 6px; }
.mini-progress { display: flex; gap: 6px; }
.mini-progress span { width: 56px; height: 5px; border-radius: 999px; background: var(--line); }
.mini-progress span.on { background: var(--grad); }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.btn-text { background: none; border: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px; }
.form-section[hidden] { display: none; }
.returning {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--sky-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 24px; margin-bottom: 28px;
}
.returning p { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 1rem; color: var(--ink); background: var(--sky-2); }
.compare thead th.prep { color: var(--blue); background: #eaf2ff; }
.compare thead th.pep { color: #0c7a7a; background: #e8f8f8; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Resource cards ---------- */
.res-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.res-art { height: 140px; position: relative; overflow: hidden; }
.res-art::before, .res-art::after { content: ""; position: absolute; border-radius: 50%; }
.res-art.a1 { background: linear-gradient(120deg, #bfe3ff, #6fb4ff); }
.res-art.a1::before { width: 340px; height: 340px; left: -60px; top: 50px; background: radial-gradient(circle at 40% 30%, #2bd4ff, #3a8cff 50%, transparent 70%); }
.res-art.a1::after { width: 260px; height: 260px; right: -40px; top: -60px; background: radial-gradient(circle, #1238b8, #2f6ff0 50%, transparent 70%); }
.res-art.a2 { background: linear-gradient(140deg, #2a6af5, #6fb7ff); }
.res-art.a2::before { width: 320px; height: 320px; right: -80px; top: 10px; border: 1px solid rgba(255,255,255,.5); background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%); }
.res-art.a2::after { width: 220px; height: 220px; left: 30px; top: 60px; background: radial-gradient(circle, rgba(140, 220, 255, .7), transparent 68%); }
.res-art.a3 { background: linear-gradient(120deg, #eaf4ff, #bcdcff); }
.res-art.a3::before { width: 300px; height: 300px; left: 25%; top: 10px; background: radial-gradient(circle at 45% 40%, #3ec2ff, #2563eb 55%, transparent 72%); }
.res-art.a4 { background: linear-gradient(130deg, #d8ecff, #8dc6ff); }
.res-art.a4::before { width: 420px; height: 420px; left: -120px; top: 40px; background: radial-gradient(circle, #1f5fe8, #59a6ff 50%, transparent 70%); }
.res-art.a4::after { width: 260px; height: 260px; right: -30px; top: -90px; background: radial-gradient(circle, rgba(255,255,255,.75), transparent 65%); }
.res-art.a5 { background: linear-gradient(120deg, #7fe0ff, #2f86ff); }
.res-art.a5::before { width: 380px; height: 380px; left: 10%; top: 50px; background: radial-gradient(circle, rgba(220, 250, 255, .8), transparent 66%); }
.res-art.a6 { background: linear-gradient(120deg, #f0f7ff, #a9d0ff); }
.res-art.a6::before { width: 280px; height: 280px; right: 6%; top: -40px; background: radial-gradient(circle at 40% 40%, #5cc8ff, #2563eb 60%, transparent 72%); }
.res-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.res-body h3 { margin: 0 0 8px; }
.res-body p { color: var(--muted); flex: 1; }

.tool-card { display: flex; gap: 20px; align-items: flex-start; }
.tool-card h3 { margin: 0 0 6px; }
.tool-card p { color: var(--muted); margin-bottom: 8px; }

.trusted { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trusted a { display: block; padding: 6px 20px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none !important; }
.trusted a:first-child { border-left: 0; padding-left: 0; }
.trusted strong { display: block; font-size: .95rem; }
.trusted span { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: .9rem; }
.trusted span svg { width: 14px; height: 14px; }

/* ---------- Help band / CTA ---------- */
.help-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 40px;
  background: linear-gradient(110deg, #f5f9ff 0%, #eaf3ff 100%); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center;
}
.help-band::after { content: ""; position: absolute; left: 30%; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(47,134,255,.18), transparent 65%); pointer-events: none; }
.help-band > * { position: relative; z-index: 1; }
.contact-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 16px; }
.contact-mini a {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; color: var(--ink); text-decoration: none !important; box-shadow: var(--shadow-sm); min-width: 0;
}
.contact-mini small { display: block; color: var(--muted); font-size: .8rem; }
.contact-mini strong { font-size: 1.05rem; word-break: break-word; }
.contact-mini .icon-bubble { width: 42px; height: 42px; }

.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 44px;
  background: linear-gradient(110deg, #f3f8ff 0%, #e6f0ff 60%, #d6e8ff 100%); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(47, 200, 255, .55), rgba(31, 95, 232, .35) 45%, transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- Prose / articles ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 22px; margin-bottom: 1em; display: grid; gap: 6px; }
.prose .check-list { padding-left: 0; }
.note {
  background: var(--sky-2); border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0;
  padding: 16px 20px; color: var(--text); margin: 1.2em 0;
}

/* FAQ */
.faq-group { margin-bottom: 36px; }
.faq-group h2 { font-size: 1.4rem; margin-bottom: 14px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
details.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 22px 18px; color: var(--text); }
details.faq .faq-body p:last-child { margin-bottom: 0; }

.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.qa { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 1rem; margin: 0 0 4px; }
.qa p { margin: 0; font-size: .93rem; color: var(--muted); }

/* Contact page */
.contact-cards .card { padding: 28px; }
.contact-cards .big-link { font-size: 1.35rem; font-weight: 800; word-break: break-word; }
.info-stack { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; }
.info-card h3 { margin: 0 0 6px; }
.info-card p { color: var(--muted); margin-bottom: 8px; }

/* Story (About) */
.story p { font-size: 1.05rem; }
.story .big-q { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--ink); line-height: 1.3; margin: .3em 0 1em; letter-spacing: -0.01em; }
.story-orb {
  aspect-ratio: 1; width: 100%; max-width: 460px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #0b2b8f 0%, #1f5fe8 38%, #4ba3ff 62%, rgba(150, 205, 255, .45) 74%, transparent 76%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset;
}
.story-orb span { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .28em; font-weight: 500; padding-left: .28em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c8d3f5; padding: 56px 0 28px; margin-top: 40px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #e3eaff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-tag { color: #9fb0e0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: #9fb0e0; display: grid; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .main-nav {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 20px 22px; max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .site-header.menu-open .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.menu-open .main-nav a, .site-header.menu-open .nav-dd-btn { width: 100%; justify-content: space-between; border-radius: 12px; padding: 12px 14px; }
  .main-nav a[aria-current="page"], .nav-dd-btn.is-current { box-shadow: none; background: var(--sky); border-radius: 12px; }
  .nav-dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .mobile-cta { display: block !important; margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hand-note { display: none; }
}
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .section { padding: 48px 0; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .steps:not(.four) .step::after { display: none; }
  .split, .quiz-preview, .quiz-layout, .results, .help-band, .prereg { grid-template-columns: 1fr; }
  .prereg-side { position: static; }
  #contactGrid { grid-template-columns: 1fr !important; }
  aside[style*="sticky"], div[style*="sticky"] { position: static !important; }
  .oe-banner { grid-template-columns: 1fr; }
  .oe-banner > .icon-bubble { display: none; }
  .oe-dates { justify-self: start; transform: rotate(-2deg); }
  .trusted { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trusted a { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qa-grid { grid-template-columns: 1fr; }
  .orb-1 { width: 440px; height: 440px; right: -220px; top: -120px; opacity: .65; }
  .orb-2, .orb-3 { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 68px; }
  .brand img { width: 46px; height: 46px; }
  .brand-tag { display: none; }
  .hero { padding: 48px 0 40px; }
  .grid-2, .grid-3, .grid-4, .steps, .steps.four, .form-grid, .contact-mini, .check-list.two-col { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .card, .quiz-card { padding: 22px; }
  .panel, .help-band, .cta-band { padding: 26px 20px; border-radius: 22px; }
  .oe-banner { padding: 24px 20px; }
  .form-card { padding: 24px 18px; border-radius: 20px; }
  .pair { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .quiz-actions .btn { min-width: 0; flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .trusted { grid-template-columns: 1fr; }
  .stepper li { font-size: .74rem; }
  .pill-row { gap: 14px; }
  .pill { width: 100%; }
  .urgent { padding: 20px; }
}

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