/* Homepage educational pillars (Reach/Target/Likely, Essay Coach workflow)
   and the testimonials strip between them and the pricing block. Classes
   only, deliberately — this page's Content Security Policy has no
   'unsafe-inline' in style-src (app/security_headers.py only adds it
   on_checkout), so an inline style="" attribute here is silently dropped
   by the browser, not merely discouraged; confirmed the hard way earlier
   in this project (app/static/css/report.css's own header comment cites
   the same lesson). CR-100 defect note: these two educational sections
   shipped with inline style= and were rendering unstyled; fixed here as
   part of adding the testimonials section beside them. */
.home-edu-section { margin-top: 56px; border-top: 1px solid var(--border); padding-top: 48px; }
.home-edu-section + .home-edu-section { margin-bottom: 40px; }
.home-edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; align-items: center; margin-bottom: 32px; }
.home-edu-grid--no-cards { margin-bottom: 0; }
.home-edu-heading { font-size: 1.85rem; line-height: 1.25; margin-bottom: 16px; }
.home-edu-lead { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 12px; }
.home-edu-lead:last-child { margin-bottom: 0; }
.home-edu-diagram { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 16px rgb(0 0 0 / 0.06); }
.home-edu-diagram--panel { background: #ffffff; padding: 12px; border: 1px solid var(--border); }
.home-edu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.home-edu-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.home-edu-card h3 { font-size: 1.15rem; margin-top: 0; margin-bottom: 8px; color: var(--ink); }
.home-edu-card p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }

/* CR-100: approved, consented early-access testimonials. */
.home-testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.home-testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.home-testimonial-card__stars { font-size: 0.95rem; color: var(--warn); letter-spacing: 1px; }
.home-testimonial-card__quote { font-size: 0.95rem; color: var(--ink-2); line-height: 1.55; margin: 0; }
.home-testimonial-card__attribution { font-size: var(--text-small); font-weight: 600; color: var(--ink); }
.home-testimonial-card__disclosure { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--ink-soft); }

/* Page header band (crumb + h1 + lead), used on every interior marketing page */
.page-head { background: var(--bg-band); border-bottom: 1px solid var(--border-soft); }
.page-head__inner { max-width: var(--container-max); margin: 0 auto; padding: 56px 40px 52px; }
.page-head__inner h1 { font-size: 3.4375rem; margin-top: 18px; }
.page-head__inner .lead { margin-top: 14px; max-width: 44em; }
.page-head--narrow .page-head__inner { max-width: var(--container-narrow); }

/* Legal documents (Privacy Policy, Terms of Service, Refund Policy) -
   long-form reading column, reusing .container--narrow rather than a
   new width token. */
.legal-doc { max-width: 46em; }
.legal-doc a { text-decoration: underline; text-underline-offset: 2px; }
.legal-doc__meta { font-size: var(--text-small); color: var(--ink-faint); border-bottom: 1px solid var(--border-soft); padding-bottom: var(--space-4); margin-bottom: var(--space-4); }
.legal-doc h2 { margin-top: var(--space-6); }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { margin-top: var(--space-4); }
.legal-doc p, .legal-doc ul, .legal-doc ol { margin-top: 14px; line-height: 1.65; }
.legal-doc ul, .legal-doc ol { padding-left: 1.3em; }
.legal-doc li { margin-top: 8px; }
.legal-doc li p { margin-top: 0; }
.legal-doc table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border-soft); font-size: var(--text-small); }
.legal-doc__callout { background: var(--bg-band); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: var(--space-4); margin-top: var(--space-5); }
.legal-doc__callout p:first-child { margin-top: 0; }

/* Home hero - full-bleed dark navy band with an accent bottom border
   (the comp's own treatment - #1B2A6B background, white text, 4px
   --accent border-bottom). .hero-band carries the background/border;
   .container.hero constrains and grids the content inside it, same
   split as every other full-bleed section in this app
   (.section--dark). */
.hero-band { background: var(--brand); color: var(--on-ink); border-bottom: 4px solid var(--accent); }
.hero { padding: 56px 0 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: start; }
.hero > div:first-child { padding-bottom: 56px; }
.hero h1 { color: var(--on-ink); }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: var(--text-label);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-border);
  background: rgb(6 182 212 / 0.18); border: 1px solid rgb(6 182 212 / 0.5); border-radius: 6px; padding: 6px 12px;
}
.hero h1 { font-size: var(--text-display); margin-top: 20px; text-wrap: balance; }
.hero__lead { font-family: var(--font-body); font-size: 1.15625rem; line-height: 1.55; color: var(--on-ink-muted); margin: 18px 0 0; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; font-family: var(--font-body); font-weight: 600; font-size: var(--text-micro); color: var(--on-ink-faint); }
.hero__meta span.sep { opacity: 0.4; }

/* Home hero preview panel ("sample college list") - white card sitting
   on the dark hero band, matching the comp exactly. */
.list-panel { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-panel); overflow: hidden; margin-top: 8px; }
.list-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.list-panel__head span { font-family: var(--font-sans); font-weight: 700; font-size: var(--text-label); }
.list-panel__head span:first-child { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 0.84375rem; }
.list-panel__head span:last-child { color: var(--ink-soft); }
.list-panel__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.list-panel__row:last-of-type { border-bottom: 0; }
.list-panel__row-title { font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 700; }
.list-panel__row-meta { font-family: var(--font-body); font-size: 0.78125rem; color: var(--ink-soft); margin-top: 3px; }
.list-panel__row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.list-panel__row-price { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
/* DEF-032 (TSOL-ADMITSENSE-AUD-001): these two used to be inline
   style="color: var(--good/--warn)" on individual rows, blocked by the
   site's own Content Security Policy (style-src carries no
   'unsafe-inline' and no nonce) - the price simply rendered without its
   colour cue on the live site. Every colour decision on this page now
   lives here instead. */
.list-panel__row-price--good { color: var(--good); }
.list-panel__row-price--warn { color: var(--warn); }
.list-panel__foot {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 13px 18px; background: var(--bg);
  font-family: var(--font-body); font-size: var(--text-small); color: var(--ink-muted);
}
.list-panel__foot span.sep { opacity: 0.4; }

/* CTA band (closing section on most pages) */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 72px 0; }
.cta-band h2 { font-size: 2.3125rem; }
.cta-band p { font-size: var(--text-body-lg); color: var(--ink-muted); margin: 12px 0 0; max-width: 44em; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero quick-match card (mini, decorative form - the real computation
   only happens after a student registers and completes intake; this
   card's submit button is just another path into auth.register, never
   a second, fake band calculator). */
.hero__quickmatch { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-top: 26px; box-shadow: var(--shadow-panel); }
.hero__quickmatch-label { font-family: var(--font-sans); font-weight: 700; font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.hero__quickmatch-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.hero__quickmatch-field { display: flex; flex-direction: column; gap: 5px; }
.hero__quickmatch-field label { font-size: var(--text-micro); font-weight: 600; color: var(--ink-2); }
.hero__quickmatch-field select { font-family: var(--font-sans); font-size: var(--text-small); padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.hero__quickmatch .btn { display: block; width: 100%; margin-top: 12px; }

/* Media card (photo + body) - the grade-band and outcomes sections */
.card--media { padding: 0; overflow: hidden; }
.card--media img { display: block; width: 100%; height: 200px; object-fit: cover; background: var(--bg-band); }
.card--media .card__inner { padding: 20px; }
.card--media .card__eyebrow { font-family: var(--font-sans); font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }

/* Dark info card - reused by the outcomes and trust sections */
.info-card--dark { background: var(--brand-soft); border: 1px solid var(--brand-soft); border-radius: var(--radius-md); padding: 18px; }
.info-card--dark h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.09375rem; color: var(--on-ink); margin: 0; }
.info-card--dark p { font-family: var(--font-body); font-size: var(--text-small); line-height: 1.55; color: var(--on-ink-muted); margin: 8px 0 0; }
.info-card--dark .info-card__kicker { font-family: var(--font-sans); font-size: 0.65625rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-border); }

/* Outcomes image gallery (one large + two stacked) - the comp's own
   pixel heights (300px big image, 142px each stacked image). Needs an
   explicit height on the grid itself: with only grid-template-COLUMNS
   set, row height falls back to "auto", so a percentage height on the
   <img> resolves to auto too and the browser renders each photo at its
   full natural aspect ratio instead of the intended compact crop -
   confirmed against the running page, not a hypothetical. Grid items
   also default to min-height:auto, which lets a content-sized child
   (an <img> with its own intrinsic aspect ratio) overflow its track
   instead of shrinking to it - every grid item in this gallery
   (the big <img>, the .stack, and the two <img> inside it) needs an
   explicit min-height:0 to actually respect the 300px/142px heights
   above rather than the image's natural size. Confirmed via a real
   getBoundingClientRect() check against the running page - the
   height:300px alone did not fix it. */
.outcomes-gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; height: 300px; }
.outcomes-gallery > * { min-height: 0; }
.outcomes-gallery__stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; height: 100%; min-height: 0; }
.outcomes-gallery__stack > * { min-height: 0; }
.outcomes-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--brand-soft); background: var(--brand-soft); }
/* DEF-032: the gap after the section's own lead paragraph, and after
   the gallery before the three-up card row - both used to be inline
   style="margin-top: ...". Keyed off the adjacent-sibling relationship
   rather than a new class on either element, since both are already
   named and the gap belongs to the relationship between them, not to
   either element alone. */
.lead + .outcomes-gallery { margin-top: 28px; }
.outcomes-gallery + .card-grid--3 { margin-top: 16px; }
/* DEF-032: the "See the full process" link sits in its own div right
   after components.css's .steps-grid, on the "How it works" section -
   same inline-margin-top pattern as above. */
.steps-grid + div { margin-top: 28px; }

/* Explore tile grid (real, working filters only - state and test
   policy, matching what app/explore actually supports today) */
.explore-tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: var(--space-5); }
.explore-tile { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; color: inherit; }
.explore-tile:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgb(16 24 40 / 0.08); }
.explore-tile__icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: var(--text-small); font-weight: 800; background: var(--brand-tint-bg); color: var(--brand); }
.explore-tile h3 { font-size: 1.03125rem; margin: 14px 0 0; }
.explore-tile p { font-size: var(--text-small); color: var(--ink-soft); margin: 6px 0 0; }

/* Browse preview (real colleges, no fabricated per-major curation) -
   dense card matching the comp's own metrics-footer treatment (test
   policy / deadline / application / verified), every value real. */
.browse-preview-list { display: flex; flex-direction: column; gap: 10px; margin-top: var(--space-4); }
.browse-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.browse-card:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgb(16 24 40 / 0.08); }
.browse-card__main, .browse-card__end { display: inline-block; }
.browse-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 18px; align-items: start; }
.browse-card__title-row h3 { font-size: 1rem; margin: 0; }
.browse-card__location { font-family: var(--font-body); font-size: 0.8125rem; color: var(--ink-soft); margin-top: 4px; }
.browse-card__end { text-align: right; }
.browse-card__price { font-family: var(--font-sans); font-weight: 800; font-size: 1.1875rem; color: var(--ink); }
.browse-card__price-unit { font-family: var(--font-body); font-size: var(--text-micro); color: var(--ink-soft); margin-top: 1px; }
.browse-card__end .link-btn { display: inline-block; margin-top: 4px; font-size: var(--text-micro); }
.browse-card__metrics {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 12px -18px -16px; padding: 11px 18px; background: var(--bg-band); border-top: 1px solid var(--border-soft);
}
.browse-card__metric-label { font-family: var(--font-sans); font-size: 0.65625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.browse-card__metric-value { font-family: var(--font-body); font-size: 0.8125rem; color: var(--ink-2); margin-top: 2px; }

.browse-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 18px 20px; background: var(--brand); border-radius: var(--radius-md); }
.browse-banner h3 { font-size: 1.0625rem; color: var(--on-ink); margin: 0; }
.browse-banner p { font-size: var(--text-small); color: var(--on-ink-muted); margin: 4px 0 0; }

/* Test-score policy matrix (general reasoning, not a per-college fact) */
.policy-matrix { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.policy-matrix__head, .policy-matrix__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.policy-matrix__head { background: var(--bg-band); border-bottom: 1px solid var(--border); font-family: var(--font-sans); font-size: var(--text-label); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }
.policy-matrix__head div, .policy-matrix__row div { padding: 13px 18px; }
.policy-matrix__row { border-bottom: 1px solid var(--border-soft); font-family: var(--font-body); }
.policy-matrix__row:last-child { border-bottom: 0; }
.policy-matrix__row div:first-child { font-size: var(--text-body); color: var(--ink-2); }
.policy-matrix__row div:last-child { font-family: var(--font-sans); font-weight: 700; font-size: var(--text-small); }
/* DEF-032: each verdict cell's colour used to be an inline
   style="color: ..." - the whole point of this table (Submit reads
   green, Withhold reads red) was blocked by the Content Security
   Policy and every verdict rendered in the same default ink colour. */
.policy-matrix__verdict--muted { color: var(--ink-muted); }
.policy-matrix__verdict--good { color: var(--good); }
.policy-matrix__verdict--bad { color: var(--bad); }
.policy-matrix__verdict--warn { color: var(--warn); }

/* DEF-032: the #explore section's title/lead-versus-link header row. */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* DEF-032: the #trust section's two-column layout - deliberately not
   .split (components.css): that class centers items vertically with a
   56px gap, this section needs top-aligned columns with a 44px gap, so
   a same-named override would have silently changed .split's other
   callers too. */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }

/* DEF-032: the parents-section point-card row sits closer to its lead
   paragraph than components.css's own .card-grid default margin. */
.lead + .card-grid--2 { margin-top: 20px; }

/* Simple text point card - the parents section's 2x2 grid */
.point-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-family: var(--font-body); font-size: var(--text-body); line-height: 1.5; color: var(--ink-2); }

/* Home page stats bar - a plain white section with a thin colored
   accent bar per stat (the comp's own treatment, not the dark
   full-bleed .stat-band used elsewhere in this app for admin/report
   contexts - kept separate rather than changing that shared
   component's look for surfaces the comp has no opinion on). */
.stat-bar-section { background: var(--surface); border-bottom: 1px solid var(--border); }
.stat-bar-grid { max-width: var(--container-max); margin: 0 auto; padding: 28px 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat-bar-item { display: flex; align-items: center; gap: 14px; }
.stat-bar-item__bar { width: 4px; align-self: stretch; border-radius: 4px; }
/* DEF-032: each bar's colour used to be an inline style="background:
   ..." - blocked by the Content Security Policy, so all four bars
   rendered invisible (no background at all) on the live site. */
.stat-bar-item__bar--brand { background: var(--brand); }
.stat-bar-item__bar--accent { background: var(--accent); }
.stat-bar-item__bar--good { background: var(--good); }
.stat-bar-item__bar--link { background: var(--link); }
.stat-bar-item__value { font-family: var(--font-sans); font-weight: 800; font-size: 1.875rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat-bar-item__label { font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; color: var(--ink-soft); margin-top: 5px; }

/* Coming-soon placeholder */
.coming-soon { max-width: 40em; margin: 0 auto; padding: var(--space-8) 40px; text-align: center; }
.coming-soon p { font-size: var(--text-lead); color: var(--ink-muted); margin: 16px 0 28px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 48px; }
  .page-head__inner h1 { font-size: 2.5rem; }
  .hero__quickmatch-fields { grid-template-columns: 1fr; }
  .outcomes-gallery { grid-template-columns: 1fr; height: auto; }
  .outcomes-gallery__stack { height: 300px; }
  .explore-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-matrix__head, .policy-matrix__row { grid-template-columns: 1fr; }
  .policy-matrix__head div:last-child { display: none; }
}
@media (max-width: 560px) {
  .explore-tile-grid { grid-template-columns: 1fr; }
}

/* ===============================================================
   Stream B: Three parallel hero sections and mobile entry buttons
   =============================================================== */
.home-page { padding: 24px 0 64px; }
.home-mobile-nav { display: none; }

.home-hero-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
}
.home-hero-head h1 {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
  color: var(--ink);
}
.home-hero-head .lead {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

.home-hero-parallel-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
}
.home-hero-col {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgb(16 24 40 / 0.04);
}
.home-hero-col--featured {
  border-color: var(--accent-strong);
  box-shadow: 0 8px 24px -4px rgb(14 116 144 / 0.12);
  background: var(--surface);
}
.home-hero-col__head {
  margin-bottom: 16px;
}
.home-section__num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.home-hero-col h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 2px 0 6px;
  color: var(--ink);
}
.home-hero-col .home-col-lead {
  font-size: var(--text-small);
  line-height: 1.45;
  color: var(--ink-muted);
  margin: 0;
}
.home-hero-col__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Steps inside column 1 */
.home-steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.home-step-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.home-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-tint-bg);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid var(--accent);
}
.home-step-content {
  flex: 1;
}
.home-step-content strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 2px;
}
.home-step-content p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0;
}

/* Compact form inside column 2 */
.hero-search-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.hero-search-grid .search-form-field--full {
  grid-column: 1 / -1;
}
.hero-search-grid input, .hero-search-grid select {
  padding: 8px 10px;
  font-size: 13.5px;
}

/* Guidance on Essay inside column 3 */
.essay-col-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.essay-col-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.essay-col-point {
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--ink-2);
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

/* Section 2 search form */
.search-form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgb(16 24 40 / 0.04);
}
.search-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.search-form-field { display: flex; flex-direction: column; gap: 6px; }
.search-form-field label { font-size: var(--text-small); font-weight: 700; color: var(--ink); }
.search-form-field input, .search-form-field select {
  padding: 10px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  background: var(--surface);
  color: var(--ink);
}
.search-form-field input:focus, .search-form-field select:focus {
  border-color: var(--accent-strong);
  outline: 2px solid var(--accent-strong);
}

/* Five college matches cards */
.five-colleges-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.college-match-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 2px 6px rgb(16 24 40 / 0.03);
}
.college-match-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.college-match-card__title { font-size: 1.25rem; font-weight: 800; margin: 0; }
.college-match-card__meta { font-size: var(--text-small); color: var(--ink-muted); margin-top: 4px; }
.college-match-card__why {
  margin-top: 12px;
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--ink-2);
  padding: 10px 14px;
  background: var(--bg-band);
  border-radius: var(--radius-sm);
}
.college-match-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: var(--text-micro);
  color: var(--ink-soft);
  flex-wrap: wrap;
}

/* Pricing block & cards */
.pricing-block { margin: 36px 0; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--accent-strong);
  box-shadow: 0 8px 24px -4px rgb(14 116 144 / 0.15);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-strong);
  color: var(--accent-on);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 12px;
}
.pricing-card__title { font-size: 1.2rem; font-weight: 800; margin: 0 0 10px; }
.pricing-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.pricing-card__amount { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1; }
.pricing-card__period { font-size: var(--text-small); color: var(--ink-soft); }
.pricing-card__desc { font-size: var(--text-small); line-height: 1.5; color: var(--ink-muted); margin-bottom: 16px; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pricing-card__features li {
  font-size: var(--text-small);
  color: var(--ink-2);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.45;
}
.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--likely);
  font-weight: bold;
}
/* Section 2 Results & Components */
.sample-report-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.sample-report-block__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sample-report-block__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.sample-report-block__sub {
  font-size: var(--text-small);
  color: var(--ink-muted);
}
.home-reg-card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 32px 0;
  box-shadow: 0 4px 12px rgb(16 24 40 / 0.04);
}
.home-reg-card__head {
  margin-bottom: 20px;
}
.home-reg-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.home-reg-card__sub {
  font-size: var(--text-small);
  color: var(--ink-muted);
  margin: 0;
}
.home-pay-block {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-band);
  border-radius: var(--radius-md);
  margin: 28px 0;
}
.home-pay-block .btn {
  font-size: 1.1rem;
  padding: 14px 28px;
}
.essay-guide-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 20px 0;
}
.essay-guide-card p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.essay-guide-card .btn {
  margin-top: 12px;
}

@media (max-width: 1040px) {
  .home-hero-parallel-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Mobile view: 3 parallel hero sections become 3 tappable entry buttons */
@media (max-width: 760px) {
  .home-hero-head {
    text-align: left;
    margin-bottom: 24px;
  }
  .home-hero-head h1 {
    font-size: 1.8rem;
  }
  .home-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }
  .home-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    background: var(--surface);
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 2px 4px rgb(16 24 40 / 0.04);
  }
  .home-mobile-btn:hover, .home-mobile-btn:focus-visible {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
  }
  .home-mobile-btn.is-active {
    background: var(--brand-tint-bg);
    border-color: var(--accent-strong);
    color: var(--accent-strong);
  }
  .home-mobile-btn::after {
    content: "→";
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-strong);
  }

  .home-hero-parallel-grid {
    display: block;
  }
  .home-hero-col {
    display: none;
    padding: 20px 18px;
    margin-bottom: 24px;
  }
  .home-hero-col.is-active {
    display: flex;
  }

  .hero-search-grid {
    grid-template-columns: 1fr;
  }
  .pricing-cards { grid-template-columns: 1fr; }
  .search-form-grid { grid-template-columns: 1fr; }
}


