/* Mirae Advisory — landing page styles */

:root {
  --brand-primary: #E7672E;
  --brand-secondary: #273043;
  --brand-accent: #BADA55;
  --brand-text: #2F2B26;
  --brand-bg: #FFFEF9;
  --brand-cream: #FBF5E7;
  --brand-text-soft: #63605B;
  --brand-primary-hover: #F16323;
  --brand-primary-10: color-mix(in srgb, #E7672E 10%, transparent);
  --brand-primary-15: color-mix(in srgb, #E7672E 15%, transparent);
  --brand-primary-20: color-mix(in srgb, #E7672E 20%, white);
  --brand-amber: color-mix(in srgb, #E7672E 62%, white);
  --brand-navy-deep: #1c2436;
  --line: color-mix(in srgb, #2F2B26 12%, transparent);
  --line-soft: color-mix(in srgb, #2F2B26 8%, transparent);
  --line-dark: color-mix(in srgb, #fff 14%, transparent);
  /* Single corner switch. 0 = square (DLP rule). Set to e.g. 12px for soft rounded cards everywhere. */
  --radius: 0px;
  --shadow-md: 0 8px 32px rgba(39,48,67,0.10);
  --shadow-lg: 0 20px 60px rgba(39,48,67,0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Futura LT W01 Light', 'Futura', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Futura LT W01 Light', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--brand-text);
  background: var(--brand-bg);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font-family: var(--sans); }
svg text { font-family: var(--sans); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  height: 72px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s;
}
.site-header.nav-scrolled { box-shadow: 0 6px 24px rgba(39,48,67,0.08); }
.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header-logo img { height: 48px; width: 48px; object-fit: contain; }
.header-nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.header-nav a { text-decoration: none; color: var(--brand-text); transition: color 0.2s; }
.header-nav a:hover { color: var(--brand-primary); }
.header-right { display: flex; align-items: center; gap: 22px; }
.header-offer { font-size: 13px; font-weight: 700; color: var(--brand-primary); letter-spacing: 0.01em; white-space: nowrap; }
.header-contact {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--brand-secondary); text-decoration: none; white-space: nowrap;
}
.header-contact svg { width: 17px; height: 17px; color: var(--brand-primary); flex-shrink: 0; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-ghost, .btn-light, .btn-navy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; min-height: 44px;
  border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn-primary { background: var(--brand-primary); color: #fff; border: 2px solid var(--brand-primary); }
.btn-primary:hover { background: var(--brand-primary-hover); border-color: var(--brand-primary-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-primary); border: 2px solid var(--brand-primary); }
.btn-ghost:hover { background: var(--brand-primary); color: #fff; }
.btn-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85); }
.btn-light:hover { background: #fff; color: var(--brand-secondary); border-color: #fff; }
.btn-navy { background: var(--brand-secondary); color: #fff; border: 2px solid var(--brand-secondary); }
.btn-navy:hover { background: var(--brand-navy-deep); border-color: var(--brand-navy-deep); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 1120px) { .header-nav, .header-offer { display: none; } }
@media (max-width: 720px) {
  .site-header { height: 56px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .header-logo img { height: 40px; width: 40px; }
  .header-contact span { display: none; }
  .header-right { gap: 14px; }
  .header-right .btn-primary { padding: 10px 16px; font-size: 13px; }
}

/* ===== LAYOUT ===== */
section { padding: 80px 64px; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }
@media (min-width: 1441px) { section { padding: 80px 100px; } .header-inner { padding: 0 100px; } }
@media (max-width: 1024px) { section { padding: 50px 32px; } }
@media (min-width: 721px) and (max-width: 1024px) { .header-inner { padding: 0 32px; } }
@media (max-width: 720px) { section { padding: 30px 16px; } }

.sec-head { max-width: 1040px; margin-bottom: 48px; }
.sec-head h2 { margin-bottom: 0; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 17px; color: var(--brand-text); max-width: 54ch; line-height: 1.65; }
.lede + .lede { margin-top: 16px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .split, .split.even { grid-template-columns: 1fr !important; gap: 40px; } .sec-head { margin-bottom: 36px; } }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-primary); margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--brand-amber); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--brand-text); line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.3vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 10px; }
h4 { font-size: 18px; margin-bottom: 6px; font-weight: 500; }
p { color: var(--brand-text-soft); max-width: 65ch; }
.hl { color: var(--brand-primary); }
.on-navy h2, .on-navy h3, .on-navy h4 { color: #fff; }
.on-navy p { color: color-mix(in srgb, #fff 78%, transparent); }
.on-navy .lede { color: color-mix(in srgb, #fff 88%, transparent); }
.note-line { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--brand-text); max-width: none; margin-top: 36px; }
.sec-hint { font-size: 13px; color: var(--brand-text-soft); margin-top: 14px; letter-spacing: 0.02em; }
.final .eyebrow { font-size: 14px; }
.final .sec-head h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; }
.final .sec-head .lede { font-size: clamp(18px, 1.6vw, 22px); max-width: 30em; }
.hl-line { font-family: var(--display); font-size: 20px; line-height: 1.5; color: var(--brand-text); max-width: 60ch; margin-top: 20px; }
.hl-line mark { background: linear-gradient(180deg, transparent 55%, var(--brand-accent) 55%); color: inherit; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ===== SPOT ILLUSTRATIONS ===== */
.il { display: block; width: 64px; height: 64px; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ===== IMAGE PLACEHOLDER (pipeline convention: label + prompt; hidden on -bg wrappers) ===== */
.img-placeholder {
  position: relative;
  background: linear-gradient(135deg, #3a3f52 0%, var(--brand-secondary) 45%, color-mix(in srgb, var(--brand-primary) 55%, var(--brand-secondary)) 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); overflow: hidden;
}
.placeholder-inner { max-width: 420px; text-align: center; padding: 32px; position: relative; z-index: 1; }
.placeholder-label {
  display: inline-block; background: var(--brand-primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 12px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.placeholder-prompt { color: rgba(255,255,255,0.78); font-size: 13px; line-height: 1.6; font-style: italic; margin: 0; max-width: none; }
.img-band { position: relative; height: 380px; }
.img-band .img-placeholder { width: 100%; height: 100%; border-radius: 0; }
@media (max-width: 720px) { .img-band { height: 220px; } .img-band .placeholder-prompt { display: none; } }

/* ===== FORM (shared by hero and final) ===== */
.lead-form { background: var(--brand-bg); padding: 32px; color: var(--brand-text); border-radius: var(--radius); border-top: 4px solid var(--brand-primary); box-shadow: var(--shadow-lg); }
.lead-form h3 { color: var(--brand-text); font-size: 24px; margin-bottom: 6px; }
.lead-form .form-lede { color: var(--brand-text-soft); font-size: 14px; margin-bottom: 20px; max-width: none; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; color: var(--brand-text); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-family: var(--sans); background: #fff; color: var(--brand-text); min-height: 48px; transition: border-color 0.2s, box-shadow 0.2s; }
.form-row textarea { min-height: 92px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-primary-15); }
.form-submit { width: 100%; margin-top: 8px; padding: 13px 24px; font-size: 15px; }
.lead-form .form-note { text-align: center; font-size: 12px; color: var(--brand-text-soft); margin-top: 12px; max-width: none; }
.form-success { display: none; padding: 18px 20px; background: color-mix(in srgb, var(--brand-accent) 30%, transparent); color: var(--brand-secondary); font-weight: 500; margin-top: 14px; }
.form-success.show { display: block; }
@media (max-width: 720px) { .lead-form { padding: 24px 18px; } }

/* ===== HERO (full-bleed photo, copy left, form right) ===== */
.hero { padding: 0; min-height: 720px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-image-bg { position: absolute; inset: 0; z-index: 0; }
.hero-image-bg .img-placeholder { width: 100%; height: 100%; border-radius: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(39,48,67,0.92) 0%, rgba(39,48,67,0.80) 45%, rgba(39,48,67,0.45) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; padding: 80px 64px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.hero-copy h1 { color: #fff; margin-bottom: 22px; }
.hero-sub { font-size: 17px; line-height: 1.65; max-width: 50ch; margin-bottom: 30px; color: rgba(255,255,255,0.90); }
.hero-form-wrap { max-width: 480px; margin-left: auto; width: 100%; }
@media (min-width: 1441px) { .hero .container { padding: 80px 100px; } }
@media (max-width: 1024px) { .hero .container { padding: 50px 32px; } .hero-grid { gap: 40px; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-form-wrap { margin-left: 0; max-width: none; } }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero .container { padding: 30px 16px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(39,48,67,0.90) 0%, rgba(39,48,67,0.84) 100%); }
  .hero-copy h1 { font-size: 31px; }
  .hero-sub { font-size: 16px; }
  .btn-row .btn-primary, .btn-row .btn-light { flex: 1 1 100%; }
}

/* ===== TRUST STRIP ===== */
.trust { padding: 22px 64px; border-bottom: 1px solid var(--line-soft); background: var(--brand-bg); }
.trust-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--brand-text); }
.trust-item::before { content: ''; width: 10px; height: 10px; background: var(--brand-primary); flex-shrink: 0; }
@media (min-width: 1441px) { .trust { padding: 22px 100px; } }
@media (max-width: 1024px) { .trust { padding: 20px 32px; } }
@media (max-width: 720px) { .trust { padding: 18px 16px; } .trust-inner { flex-direction: column; gap: 12px; } }

/* ===== CTA BANDS (end to end, after each section) ===== */
.cta-band { padding: 30px 64px; }
.cta-band-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.cta-band p { font-family: var(--display); font-size: 21px; margin: 0; max-width: none; color: inherit; }
.cta-band.orange { background: var(--brand-primary); color: #fff; }
.cta-band.lime { background: var(--brand-accent); color: var(--brand-secondary); }
.cta-band.navy { background: var(--brand-secondary); color: #fff; padding: 44px 64px; }
.cta-band.navy p { font-size: clamp(22px, 2.2vw, 28px); }
.cta-band.navy .btn-primary { padding: 12px 30px; font-size: 15px; }
@media (min-width: 1441px) { .cta-band { padding: 30px 100px; } .cta-band.navy { padding: 44px 100px; } }
@media (max-width: 1024px) { .cta-band { padding: 26px 32px; } .cta-band.navy { padding: 40px 32px; } }
@media (max-width: 720px) {
  .cta-band, .cta-band.navy { padding: 24px 16px; }
  .cta-band-inner { flex-direction: column; align-items: stretch; }
  .cta-band p { font-size: 18px; }
  .cta-band .btn-primary, .cta-band .btn-light, .cta-band .btn-navy { width: 100%; }
}

/* ===== PROBLEM: 60-day strip ===== */
.problem { background: var(--brand-bg); }
.problem .split { grid-template-columns: 0.8fr 1.2fr; }
.gapstrip { position: relative; padding-top: 44px; }
.gapstrip-rail { position: relative; height: 10px; background: var(--line); margin: 0 12.5% 22px; }
.gapstrip-rail::after { content: ''; position: absolute; left: 33.33%; right: 0; top: 0; bottom: 0; background: var(--brand-primary); }
.gapstrip-rail span { position: absolute; top: -6px; width: 22px; height: 22px; background: var(--brand-secondary); transform: translateX(-50%); z-index: 1; }
.gapstrip-rail span:nth-of-type(1) { left: 0; }
.gapstrip-rail span:nth-of-type(2) { left: 33.33%; }
.gapstrip-rail span:nth-of-type(3) { left: 66.67%; }
.gapstrip-rail span:nth-of-type(4) { left: 100%; }
.gapstrip-tag { position: absolute; left: 66.67%; top: -36px; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-primary); white-space: nowrap; }
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.moment { text-align: center; }
.moment .il { margin: 0 auto 10px; width: 56px; height: 56px; }
.moment-day { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-text-soft); }
.moment-label { display: block; font-family: var(--display); font-size: 17px; color: var(--brand-text); line-height: 1.25; margin-top: 4px; }
.moment.out .moment-label { color: var(--brand-primary); }
@media (max-width: 720px) {
  .gapstrip { padding-top: 8px; }
  .gapstrip-rail { display: none; }
  .moments { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .moment .il { width: 48px; height: 48px; }
  .moment-label { font-size: 15px; }
}

/* ===== SOLUTION: tabs + scene ===== */
.solution { background: var(--brand-cream); }
.solution-photo .img-placeholder { aspect-ratio: 4 / 3; }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 26px; }
.tabs [role="tab"] { background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--brand-text-soft); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.tabs [role="tab"]:hover { color: var(--brand-text); }
.tabs [role="tab"][aria-selected="true"] { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
.scene { background: #fff; padding: 22px 26px 8px; margin-bottom: 22px; border-radius: var(--radius); }
.scene svg { width: 100%; height: auto; display: block; max-width: 520px; margin: 0 auto; }
.scene-caption { text-align: center; font-family: var(--display); font-size: 17px; color: var(--brand-text); padding: 10px 0 14px; max-width: none; }
.points { display: grid; gap: 14px; }
.point { display: flex; align-items: flex-start; gap: 14px; }
.point::before { content: ''; width: 10px; height: 10px; margin-top: 9px; background: var(--brand-primary); flex-shrink: 0; }
.point.muted::before { background: color-mix(in srgb, #2F2B26 35%, transparent); }
.point p { font-size: 16px; line-height: 1.55; color: var(--brand-text); max-width: none; }
/* side-by-side comparison: Self-Submission (left) vs Through Mirae (right) */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; }
.compare-col { min-width: 0; }
.compare-title { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); margin-bottom: 16px; }
.compare-vs { align-self: center; }
.compare-vs span { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.compare-sub { font-size: 15px; color: var(--brand-text); opacity: 0.75; margin: 0 0 12px; max-width: none; }
@media (max-width: 960px) { .compare { grid-template-columns: 1fr; gap: 28px; } .compare-vs { justify-self: center; } }
@media (max-width: 720px) { .tabs [role="tab"] { padding: 10px 12px; font-size: 14px; min-height: 44px; } .scene { padding: 14px 12px 4px; } }

/* ===== NUMBERS (navy): statements + term explorer ===== */
.numbers { background: var(--brand-secondary); }
.statements { display: grid; gap: 28px; }
.statement { display: flex; align-items: center; gap: 22px; }
.statement .il { width: 72px; height: 72px; }
.statement strong { display: block; font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; color: #fff; line-height: 1.2; }
.statement span { display: block; font-size: 15px; color: rgba(255,255,255,0.75); margin-top: 4px; }
.explorer { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); padding: 30px; border-radius: var(--radius); }
.explorer-title { font-family: var(--display); font-size: 20px; color: #fff; margin-bottom: 22px; }
.control { margin-bottom: 22px; }
.control-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.control-head output { font-family: var(--display); font-size: 26px; color: var(--brand-primary); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: rgba(255,255,255,0.25); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--brand-primary); cursor: pointer; border: 2px solid #fff; border-radius: var(--radius); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: var(--brand-primary); cursor: pointer; border: 2px solid #fff; border-radius: var(--radius); }
.month-grid { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 14px; }
.month-grid span { width: 22px; height: 22px; background: var(--brand-primary); }
.month-grid span:first-child, .month-grid span:last-child { background: var(--brand-accent); }
.explorer-out { font-family: var(--display); font-size: 19px; color: #fff; line-height: 1.4; max-width: none; }
.explorer-out em { color: var(--brand-accent); font-style: normal; }
.explorer-note { font-style: italic; font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 10px; max-width: none; }
@media (max-width: 720px) { .explorer { padding: 22px 16px; } .month-grid span { width: 16px; height: 16px; } .statement .il { width: 56px; height: 56px; } }

/* ===== PROCESS: stepper ===== */
.process { background: var(--brand-bg); }
.stepper { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: stretch; }
.step-list { display: grid; gap: 8px; align-content: start; }
.step-list [role="tab"] { text-align: left; background: #fff; border: 1px solid var(--line); padding: 18px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s; border-radius: var(--radius); }
.step-list [role="tab"] .step-k { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-cream); color: var(--brand-text); font-family: var(--display); font-size: 16px; flex-shrink: 0; }
.step-list [role="tab"] .step-t { font-family: var(--display); font-size: 19px; color: var(--brand-text); }
.step-list [role="tab"]:hover { border-color: var(--brand-primary); }
.step-list [role="tab"][aria-selected="true"] { border-color: var(--brand-primary); background: var(--brand-cream); }
.step-list [role="tab"][aria-selected="true"] .step-k { background: var(--brand-primary); color: #fff; }
.step-panel { background: var(--brand-cream); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 20px; border-radius: var(--radius); min-height: 340px; }
.step-panel .il { width: 110px; height: 110px; }
.step-panel h3 { font-size: 26px; margin-bottom: 8px; }
.step-panel p { font-size: 17px; line-height: 1.6; color: var(--brand-text); max-width: none; }
.step-panel .step-hint { font-size: 13px; color: var(--brand-text-soft); }
@media (max-width: 960px) { .stepper { grid-template-columns: 1fr; gap: 20px; } .step-panel { min-height: 0; padding: 28px 22px; } .step-panel .il { width: 80px; height: 80px; } }

/* ===== USE OF FUNDS: illustrated tiles ===== */
.uses { background: var(--brand-cream); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; border-radius: var(--radius); transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile .il { width: 72px; height: 72px; }
.tile strong { font-family: var(--display); font-size: 21px; font-weight: 400; color: var(--brand-text); }
.tile span { font-size: 15px; color: var(--brand-text-soft); line-height: 1.5; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 720px) { .tile { padding: 20px 16px; } .tile .il { width: 52px; height: 52px; } .tile strong { font-size: 18px; } .tile span { font-size: 14px; } }

/* ===== TESTIMONIALS: photo + carousel ===== */
.testimonials { padding: 80px 64px; background: var(--brand-secondary); overflow: hidden; }
.tm-bg { position: absolute; inset: 0; z-index: 0; }
.tm-bg .img-placeholder { width: 100%; height: 100%; border-radius: 0; }
.tm-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(39,48,67,0.55), rgba(39,48,67,0.15)); }
.testimonials .container { position: relative; z-index: 2; }
.tm-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: stretch; }
.tm { background: rgba(39,48,67,0.88); backdrop-filter: blur(6px); padding: 36px 40px 30px; color: #fff; border-radius: var(--radius); display: flex; flex-direction: column; }
.tm .tm-viewport { flex: 1; }
.tm .tm-quote { font-size: 18px; line-height: 1.55; }
.tm-featured { background: rgba(39,48,67,0.92); backdrop-filter: blur(6px); padding: 52px 56px; color: #fff; border-radius: var(--radius); margin: 0; display: flex; flex-direction: column; justify-content: center; border-top: 4px solid var(--brand-primary); }
.tm-featured .tm-quote { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; }
.tm-sample-note { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 16px; max-width: none; }
@media (max-width: 960px) { .tm-grid { grid-template-columns: minmax(0, 1fr); } .tm-featured { order: -1; padding: 36px 28px; } }
.tm-viewport { overflow: hidden; }
.tm-track { display: flex; transition: transform 0.5s var(--ease-out); }
.tm-slide { flex: 0 0 100%; margin: 0; }
.tm-quote { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: #fff; max-width: none; letter-spacing: -0.01em; }
.tm-quote .q { color: var(--brand-primary); font-size: 1.5em; line-height: 0; vertical-align: -0.15em; }
.tm-attr { padding-top: 18px; margin-top: 24px; border-top: 1px solid var(--line-dark); }
.tm-name { font-family: var(--display); font-size: 17px; color: var(--brand-amber); font-weight: 500; }
.tm-title { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 2px; }
.tm-attr.has-avatar { display: flex; align-items: center; gap: 14px; }
.tm .tm-slide { text-align: left; }
.tm .tm-viewport { display: flex; padding-top: 56px; min-width: 0; }
.tm .tm-track { flex: 0 0 100%; min-width: 0; align-items: center; }
@media (max-width: 960px) { .tm .tm-viewport { padding-top: 8px; } }

/* Rounded cards (requested for tiles, process cards and testimonial cards only) */
.tile, .step-list [role="tab"], .step-panel, .tm, .tm-featured, .lead-form, .scene, .explorer, .elig-illus, .sc-row, .sc-result, .solution-photo .img-placeholder, .faq-photo .img-placeholder { border-radius: 16px; }
.lead-form { overflow: hidden; }
.tm-featured { overflow: hidden; }
.step-list [role="tab"] .step-k, .tm-avatar { border-radius: 10px; }
.tm .tm-nav .tm-prev, .tm .tm-nav .tm-next { border-radius: 10px; }
.tm-avatar { width: 52px; height: 52px; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.35); }
.tm-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; gap: 16px; }
.tm-nav button { background: transparent; border: 2px solid rgba(255,255,255,0.7); color: #fff; width: 44px; height: 44px; font-size: 18px; cursor: pointer; border-radius: var(--radius); transition: background 0.2s, color 0.2s; }
.tm-nav button:hover { background: #fff; color: var(--brand-secondary); }
.tm-dots { display: flex; gap: 8px; }
.tm-dots button { width: 12px; height: 12px; border: none; background: rgba(255,255,255,0.35); padding: 0; }
.tm-dots button[aria-current="true"] { background: var(--brand-primary); }
@media (min-width: 1441px) { .testimonials { padding: 80px 100px; } }
@media (max-width: 1024px) { .testimonials { padding: 50px 32px; } }
@media (max-width: 720px) { .testimonials { padding: 30px 16px; } .tm { padding: 28px 20px 24px; } }

/* ===== ELIGIBILITY: self-check ===== */
.eligibility { background: var(--brand-bg); }
.eligibility .split { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.elig-illus { background: var(--brand-cream); padding: 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; border-radius: var(--radius); }
.elig-illus .il { width: 120px; height: 120px; }
.elig-illus p { font-family: var(--display); font-size: 20px; color: var(--brand-text); line-height: 1.4; max-width: none; }
.selfcheck { display: grid; gap: 10px; }
.sc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 18px 22px; border-radius: var(--radius); }
.sc-q { font-family: var(--display); font-size: 19px; color: var(--brand-text); }
.sc-btns { display: flex; gap: 6px; flex-shrink: 0; }
.sc-btns button { min-width: 64px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--brand-text); cursor: pointer; border-radius: var(--radius); transition: all 0.2s; }
.sc-btns button:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.sc-btns button[aria-pressed="true"] { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.sc-result { margin-top: 8px; padding: 26px 28px; background: var(--brand-secondary); color: #fff; border-radius: var(--radius); transition: background 0.3s; }
.sc-result.fit { background: var(--brand-primary); }
.sc-result strong { display: block; font-family: var(--display); font-size: 23px; font-weight: 400; margin-bottom: 6px; }
.sc-result p { color: rgba(255,255,255,0.85); font-size: 15px; max-width: none; }
@media (max-width: 720px) { .sc-row { flex-direction: column; align-items: stretch; padding: 16px; } .sc-btns button { flex: 1; } .sc-q { font-size: 17px; } .elig-illus { padding: 26px 20px; } .elig-illus .il { width: 84px; height: 84px; } }

/* ===== FAQ: photo + full-width accordion ===== */
.faq { background: var(--brand-cream); }
.faq .split { grid-template-columns: 0.7fr 1.3fr; align-items: start; }
.faq-photo { position: sticky; top: 100px; }
.faq-photo .img-placeholder { aspect-ratio: 4 / 5; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; text-align: left; font-family: var(--display); font-size: 20px; font-weight: 400; color: var(--brand-text); line-height: 1.3; transition: color 0.2s; }
.faq-q:hover { color: var(--brand-primary); }
.faq-q span { flex: 1; }
.faq-chev { flex-shrink: 0; transition: transform 0.3s var(--ease-out); color: var(--brand-primary); }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease-out); }
.faq-q[aria-expanded="true"] + .faq-a { max-height: 800px; }
.faq-a-inner { padding: 0 4px 26px; font-size: 16px; line-height: 1.7; color: var(--brand-text-soft); }
.faq-a-inner p { max-width: none; }
@media (max-width: 960px) { .faq-photo { position: static; } .faq-photo .img-placeholder { aspect-ratio: 16 / 10; } }
@media (max-width: 720px) { .faq-q { font-size: 17px; padding: 18px 2px; } .faq-photo .img-placeholder { aspect-ratio: 4 / 3; } }

/* ===== FINAL (navy, centred) ===== */
.final { background: var(--brand-secondary); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.final .sec-head { margin-bottom: 0; }
.final .lede { margin-top: 20px; }
.final .lead-form { max-width: 560px; margin-left: auto; width: 100%; }
@media (max-width: 960px) { .final-grid { grid-template-columns: 1fr; gap: 40px; } .final .lead-form { margin-left: 0; max-width: none; } }

/* ===== FOOTER ===== */
.site-footer { background: var(--brand-navy-deep); color: rgba(255,255,255,0.75); padding: 56px 64px 28px; font-size: 14px; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 56px; width: 56px; margin-bottom: 18px; }
.footer-tagline { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footer-col h5 { font-family: var(--display); color: #fff; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer-col p { color: rgba(255,255,255,0.72); line-height: 1.7; font-size: 14px; margin-bottom: 8px; max-width: none; }
.footer-col a { display: flex; width: fit-content; align-items: center; gap: 6px; color: rgba(255,255,255,0.72); text-decoration: none; line-height: 1.7; font-size: 14px; margin-bottom: 6px; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.footer-col a:hover { color: var(--brand-amber); border-bottom-color: currentColor; }
.footer-col a svg { width: 14px; height: 14px; color: var(--brand-primary); flex-shrink: 0; }
.footer-bottom { max-width: 1400px; margin: 22px auto 0; font-size: 12px; color: rgba(255,255,255,0.5); }
@media (min-width: 1441px) { .site-footer { padding: 56px 100px 28px; } }
@media (max-width: 1024px) { .site-footer { padding: 48px 32px 24px; } }
@media (max-width: 720px) { .site-footer { padding: 40px 16px 88px; } .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* Rounded cards declared after their base rules so they win */
.elig-illus, .sc-row, .sc-result { border-radius: 16px; }

/* ===== COPY BOX: 70% white rounded panel behind hero and final copy ===== */
.copy-box { background: rgba(255, 255, 255, 0.7); border-radius: 16px; padding: 40px 44px; }
.copy-box .eyebrow, .copy-box .eyebrow.on-dark { color: var(--brand-text); }
.hero-copy.copy-box h1, .final .sec-head.copy-box h2 { color: var(--brand-text); }
.hero-copy.copy-box .hero-sub, .final .sec-head.copy-box .lede { color: var(--brand-text); }
@media (max-width: 720px) { .copy-box { padding: 24px 20px; } }

/* ===== MOBILE-ONLY OVERRIDES (desktop untouched) ===== */
.tiles-nav { display: none; }
@media (max-width: 720px) {
  /* Trust strip: 3 circles on 1 line */
  .trust-inner { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .trust-item { flex: 1 1 0; aspect-ratio: 1 / 1; border: 2px solid var(--brand-primary); border-radius: 50%; justify-content: center; text-align: center; padding: 10px; font-size: 10.5px; line-height: 1.3; gap: 0; }
  .trust-item::before { display: none; }
  /* Use of Funds: swipeable carousel with arrows */
  .tiles { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles .tile { flex: 0 0 82%; scroll-snap-align: start; }
  .tiles .tile:hover { transform: none; box-shadow: none; }
  .tiles-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
  .tiles-nav button { width: 44px; height: 44px; background: #fff; border: 2px solid var(--brand-secondary); color: var(--brand-secondary); font-size: 18px; border-radius: 10px; cursor: pointer; }
  .tiles-nav button:disabled { opacity: 0.35; }
  /* Eligibility intro box: smaller tick beside smaller text */
  .elig-illus { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
  .elig-illus .il { width: 42px; height: 42px; }
  .elig-illus p { font-size: 14px; line-height: 1.4; }
}

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
[data-animate].is-visible { opacity: 1; transform: none; }
[data-animate][data-delay="1"] { transition-delay: 0.08s; }
[data-animate][data-delay="2"] { transition-delay: 0.16s; }
[data-animate][data-delay="3"] { transition-delay: 0.24s; }

/* ===== MOBILE STICKY CTA (long, narrow bar) ===== */
.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--brand-primary); padding: 8px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }
.mobile-sticky-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; min-height: 44px; }
@media (max-width: 720px) { .mobile-sticky-cta { display: block; } }

/* ── Sticky-header enforcement (auto-applied) ── */
.site-header, header.site-header, .sticky-header, header.sticky-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 1000 !important;
}
body { padding-top: 72px; }
@media (max-width: 720px) { body { padding-top: 56px; } }

/* ──────────────── */

.hero-image-bg .placeholder-prompt,
.hero-image-bg .placeholder-label,
.package-card-bg .placeholder-prompt,
.package-card-bg .placeholder-label,
[class$="-bg"] .img-placeholder .placeholder-prompt,
[class$="-bg"] .img-placeholder .placeholder-label {
  display: none !important;
}

/* ──────────────── */

.problem { position: relative; isolation: isolate; }
.problem::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/problem-1789717756274.webp') center/cover no-repeat; opacity: 0.75; }
.solution { position: relative; isolation: isolate; }
.solution::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/solution-1789717787221.webp') center/cover no-repeat; opacity: 0.75; }
.process { position: relative; isolation: isolate; }
.process::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/process-1789718108639.webp') center/cover no-repeat; opacity: 0.9; }
.uses { position: relative; isolation: isolate; }
.uses::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/uses-1789717867540.webp') center/cover no-repeat; opacity: 0.75; }
.eligibility { position: relative; isolation: isolate; }
.eligibility::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/eligibility-1789717913792.webp') center/cover no-repeat; opacity: 0.75; }
.faq { position: relative; isolation: isolate; }
.faq::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/faq-1789717933272.webp') center/cover no-repeat; opacity: 0.75; }
.final { position: relative; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: url('/wp-content/uploads/2026/10/final-1789717944936.webp') center/cover no-repeat; opacity: 0.75; }

/* Testimonials: 3 equal cards */
.tm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.tm-card { margin: 0; padding: 32px 28px 28px; background: rgba(39,48,67,0.9); backdrop-filter: blur(6px); color: #fff; border-radius: 16px; border-top: 4px solid var(--brand-primary); display: flex; flex-direction: column; }
.tm-card .tm-quote { font-size: 16px; line-height: 1.6; flex: 1; }
@media (max-width: 960px) { .tm-cards { grid-template-columns: minmax(0, 1fr); } }

/* FAQ: photo fills the height of the question list instead of leaving a gap */
.faq .split { align-items: stretch; }
.faq-photo { position: relative; top: auto; min-height: 320px; align-self: stretch; }
.faq-photo .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
@media (max-width: 960px) { .faq-photo { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 720px) { .faq-photo { aspect-ratio: 4 / 3; } }
.faq-photo .img-placeholder img { object-position: center 20% !important; }
