/* ==========================================================================
   CA CDL Licensing Landing Page — page-specific styles
   Colors, fonts, and button behavior are pulled from cyanna.com-production's
   styles.css so this page matches the live site. Site chrome (nav, header,
   footer) is styled by the real production styles.css, linked separately in
   the <head> — this file only covers the landing content inside #landing-page.

   Every rule in this file — including section backgrounds, spacing, and
   one-off text treatments that would normally just be inline style
   attributes — lives here instead. The HTML has no style="" attributes at
   all; every element is targeted by its id or a class.
   ========================================================================== */

/*@font-face {
  font-family: BrownStd;
  src: url(fonts/BrownStd-Regular.otf);
}*/
@font-face {
  font-family: Aleo;
  src: url(fonts/Aleo-Regular.otf);
}

#landing-page { box-sizing: border-box; }
#landing-page *, #landing-page *::before, #landing-page *::after { box-sizing: border-box; }

#landing-page {
  width: 100%;
  background: #FFFFFF;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 13px;
  line-height: 22px;
  color: #1A1A1A;
}
#landing-page a { color: #3902A7; text-decoration: none; }
#landing-page a:hover { color: #FB0404; }

/* Type — headings use BrownStd to match production; body stays Verdana */
#landing-page .kicker { font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
#landing-page .h1, #landing-page .h2 { font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; }
#landing-page .body-copy { font-family: Verdana, Geneva, Tahoma, sans-serif; }
#landing-page .btn { font-family: BrownStd, Verdana, Geneva, sans-serif; }

/* Section eyebrow + h2, matching production's own body-section pattern
   (cyanna.com-production/styles.css: #info-graphic/#pd/#about-graphic h2 +
   h2 span) — purple uppercase eyebrow, red h2. Kept separate from the hero's
   .kicker/.h1 treatment, which follows production's #hero h1/h2 pattern
   instead. */
#landing-page .section-eyebrow { font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; text-transform: uppercase; font-size: 16px; letter-spacing: 3px; line-height: 19px; display: inline-block; color: #3902A7; margin-bottom: 18px; }
#landing-page #why-now .section-eyebrow { color: #FFFFFF; }

/* Section h2 — shared red, large-text treatment. Each section sets its own
   bottom margin, since that's the one thing that varies between them. */
#landing-page .section-h2 { font-size: clamp(26px, 2.6vw + 14px, 38px); line-height: 1.25; color: #FB0404; max-width: 760px; }
#landing-page #whats-changing .section-h2 { margin: 0 0 18px 0; }
#landing-page #why-now .section-h2 { margin: 0 0 22px 0; }
#landing-page #how-we-help .section-h2 { margin: 0 0 40px 0; }

#landing-page { --side: clamp(20px, 7vw, 140px); }

/* Fluid type scale — continuous with viewport width instead of jumping at
   fixed breakpoints, same technique used throughout this build. */
#landing-page .hero-h1 { font-size: clamp(30px, 4.6vw + 14px, 58px); line-height: 1.15; color: #4002B3; margin: 0 0 36px 0; }
#landing-page .hero-body { font-size: clamp(16px, 1vw + 12px, 18px); line-height: 1.7; color: #3A3A3A; margin: 0 0 82px 0; max-width: 620px; }
#landing-page .cta-h1 { font-size: clamp(30px, 3.4vw + 12px, 54px); line-height: 1.15; color: #FFFFFF; margin: 0; max-width: 560px; }
#landing-page .stat-num { font-size: clamp(32px, 3.2vw + 14px, 44px); color: #FFFFFF; font-weight: 800; }
#landing-page .card-h2 { font-size: clamp(17px, 0.6vw + 14px, 19px); color: #1A1A1A; font-weight: 700; }
#landing-page #how-we-help .card-h2 { margin-bottom: 10px; }

/* Grids: 4-across, 3-across, and 2-across on desktop, collapsing as space
   runs out. min-width:0 on every grid/flex item is the fix for card-overflow
   — flex/grid children default to min-width:auto, which stops them shrinking
   below their content's natural width even when the track narrows. */
#landing-page .grid-4, #landing-page .grid-3, #landing-page .grid-2 { display: grid; gap: 24px; }
#landing-page .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#landing-page .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#landing-page .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#landing-page .grid-4 > *, #landing-page .grid-3 > *, #landing-page .grid-2 > * { min-width: 0; }
#landing-page .card-row { display: flex; align-items: center; gap: 22px; min-width: 0; }
#landing-page .card-row > * { min-width: 0; }

@media (max-width: 900px) {
  #landing-page .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #landing-page .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #landing-page .grid-4, #landing-page .grid-3, #landing-page .grid-2 { grid-template-columns: 1fr; gap: 20px; }
}

/* Buttons — same pill shape, padding, and gradient hover-fill as the live
   site's .red-btn / .purple-btn (production/styles.css), scoped so they
   only apply inside the landing content. */
#landing-page .red-btn {
  background-color: #FB0404;
  border-radius: 50px;
  text-decoration: none;
  padding: 16px 34px;
  color: #fff !important;
  transition: 0.5s;
  background: linear-gradient(120deg, var(--c1, #fb0404), var(--c1, #3902a7)) var(--x, 0)/ 200%;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
}
#landing-page .red-btn:hover { --x: 100%; }
#landing-page .hero-cta-btn { box-shadow: 0 14px 28px rgba(251,4,4,0.22); }

#landing-page .white-btn {
  background-color: #FFFFFF;
  border-radius: 50px;
  text-decoration: none;
  padding: 16px 40px;
  color: #3902A7 !important;
  transition: 0.5s;
  background: linear-gradient(120deg, var(--c1, #ffffff), var(--c1, #3902A7)) var(--x, 0)/ 200%;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
}
#landing-page .white-btn:hover { --x: 100%; color: #FFFFFF !important; }

/* WHY NOW stat cards: red fill slides in left-to-right on hover, replacing
   the static left border. Text sits above the fill via z-index. */
#landing-page .stat-card { position: relative; padding: 22px 24px; border-left: 2px solid #FB0404; border-radius: 4px; overflow: hidden; min-width: 0; transition: border-color 0.35s ease; }
#landing-page .stat-card::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 0%; background: #FB0404; transition: width 0.35s ease; }
#landing-page .stat-card:hover { border-left-color: transparent; }
#landing-page .stat-card:hover::before { width: 100%; }
#landing-page .stat-label { color: #B7ADCB; font-size: 14px; margin-top: 8px; }
#landing-page .stat-card .stat-num, #landing-page .stat-card .stat-label { position: relative; z-index: 1; transition: color 0.35s ease; }
#landing-page .stat-card:hover .stat-num, #landing-page .stat-card:hover .stat-label { color: #FFFFFF; }

/* Gradient defs — a zero-size svg holding the <linearGradient> the card
   icons/graphics reference by id. Not rendered itself. */
#landing-page .gradient-defs { position: absolute; }

/* HERO */
#landing-page #landing-hero { position: relative; overflow: hidden; }
#landing-page #landing-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; display: block; }
#landing-page #landing-hero img.hero-photo-hidden { display: none; }
#landing-page .hero-copy { max-width: 760px; }
#landing-page .hero-kicker { color: #3a3a3a; margin-bottom: 20px; }
#landing-page .hero-note { font-size: 14px; line-height: 1.6; color: #6B6478; margin: 20px 0 0 0; }

/* Phone line under the hero CTA. This audience calls more than it emails,
   so the number sits in the hero rather than only in the footer. */
#landing-page .hero-phone { font-size: 15px; line-height: 1.6; color: #6B6478; margin: 18px 0 0 0; }
#landing-page .hero-phone a { color: #4B21B8; text-decoration: none; border-bottom: 1px solid rgba(75,33,184,0.35); }
#landing-page .hero-phone a:hover,
#landing-page .hero-phone a:focus { color: #E01F2E; border-bottom-color: rgba(224,31,46,0.5); }

/* wave: lavender to white, sits at the bottom edge of the hero.
   Taller/deeper than a standard section divider on this page so it reads
   closer to production's un-scaled hero wave, sized with clamp() instead of
   production's fixed height since this hero is a photo, not a flat color,
   and can't grow arbitrarily tall without crowding the headline.
   In-flow + negative margin-top (production's own #hero-wrapper svg
   technique) instead of position:absolute + bottom:0 - pinning an
   absolutely positioned child to the bottom of a fractionally-sized
   position:relative container is what was leaving a subpixel seam at the
   hero's edge. In flow, the wave's own rendered bottom edge IS the hero's
   bottom edge, so there's nothing left to fall out of sync. */
#landing-page .hero-wave { display: block; position: relative; width: 100%; height: clamp(90px, 14vw, 200px); margin-top: calc(-1 * clamp(90px, 14vw, 200px)); }

/* Hero: keep the wordmark, kicker, headline, and CTA legible over the photo
   at every width by leaning the gradient's opaque stop further right as the
   viewport narrows (the stops are tuned for desktop widths where the text
   column is much narrower than the image). */
#landing-page .hero-overlay { position: relative; padding: 64px var(--side) calc(20px + clamp(90px, 14vw, 250px)) var(--side); background: linear-gradient(90deg, rgb(245,240,253) 0%, rgb(245,240,253) 30%, rgba(245,240,253,0.82) 45%, rgba(245,240,253,0.35) 52%, rgba(245,240,253,0) 92%); }
@media (max-width: 900px) {
  #landing-page .hero-overlay { background: linear-gradient(100deg, rgb(245,240,253) 0%, rgb(245,240,253) 55%, rgba(245,240,253,0.85) 68%, rgba(245,240,253,0.4) 80%, rgba(245,240,253,0) 100%); }
}
@media (max-width: 640px) {
  /* Text stacks full-width on mobile and fills nearly the whole hero, so the
     old fade (78% -> 55% opacity, never fully clear) left no room for the
     photo to actually show. Extra bottom padding opens a dedicated band
     below the copy, and the gradient now fades all the way to transparent
     within it so the truck photo is genuinely visible above the wave. */
  #landing-page .hero-overlay { background: linear-gradient(180deg, rgb(245,240,253) 0%, rgb(245,240,253) 60%, rgba(245,240,253,0) 85%); padding-bottom: calc(300px + clamp(85px, 14vw, 200px)) !important; }
  /* Instead of covering the full hero (text area included) and hiding most
     of it behind the overlay, the image is sized to match just the reveal
     band at the bottom (same height as the extra padding above). That
     band's aspect ratio is much closer to the photo's own, so cover-fit
     crops the sides lightly instead of cropping almost all of the height -
     showing the mirror, windshield, hood, and full grille, matching the
     reference layout. */
  #landing-page #landing-hero img { top: auto !important; bottom: 0 !important; height: calc(300px + clamp(85px, 14vw, 200px)) !important; object-position: right center !important; }
}

/* WHAT'S CHANGING */
/* margin-top pulls this section's white background up to physically
   overlap the bottom ~35% of the wave svg above it. That bottom band is
   always solid white fill in the wave's own path (the curve itself never
   dips past the vertical midpoint), so the overlap covers no visible curve
   detail - it only eats into space that was already flat white. This is
   what actually kills the subpixel seam: instead of hoping the hero's
   fractional (clamp/vw-based) computed height and this section's top edge
   land on the exact same device pixel, the two boxes now genuinely overlap,
   so there's no boundary pixel row left for rounding to disagree about.
   padding-top is increased by the same amount so the visible position of
   the eyebrow/heading below doesn't shift. */
#landing-page #whats-changing { background: #FFFFFF; margin-top: calc(-0.35 * clamp(90px, 14vw, 200px)); padding: calc(20px + 0.35 * clamp(90px, 14vw, 200px)) var(--side) 96px var(--side); }
#landing-page .whatschanging-intro { font-size: 16px; line-height: 1.7; color: #3A3A3A; margin: 0 0 40px 0; max-width: 760px; }

/* Card layout shared by the What's Changing and How We Help cards: a
   full-width banner image at top, rounded corners on the card clip the
   image's top corners automatically since overflow is hidden. */
#landing-page .change-card { display: flex; flex-direction: column; border-radius: 20px; background: #FBFAFE; border: 1px solid #EDE7FA; min-width: 0; overflow: hidden; }
#landing-page .change-card-img { display: block; width: 100%; aspect-ratio: 542 / 150; object-fit: cover; }
#landing-page .change-card-body { display: flex; flex-direction: column; gap: 18px; padding: 24px 28px 28px 28px; }
#landing-page .card-text { font-size: 15px; line-height: 1.65; color: #4A4A4A; margin: 0; }

/* WHY NOW: closed-shop stamp graphic sits top right, behind the copy and
   stat cards. Scales down below 1440px so it doesn't crowd the text on
   smaller screens; renders at its full native size (800x633) at 1440px and
   up. */
#landing-page #why-now { background-color: #160A29; padding: 96px var(--side) 96px var(--side); margin-top: -1px; background-image: url(images/why-now_bg-img.png); background-repeat: no-repeat; background-position: top right; background-size: clamp(260px, 34vw, 560px) auto; }
@media (min-width: 1440px) {
  #landing-page #why-now { background-size: 800px auto; }
}
#landing-page .whynow-intro { font-size: 16px; line-height: 1.75; color: #D9D2E8; margin: 0 0 48px 0; max-width: 760px; }
#landing-page .whynow-intro a { color: #F3CD90; text-decoration: underline; text-decoration-color: rgba(243,205,144,0.5); text-underline-offset: 3px; }
#landing-page .whynow-intro a:hover { color: #FB0404; text-decoration-color: #FB0404; }

/* HOW WE HELP */
#landing-page #how-we-help { background: #FFFFFF; padding: 96px var(--side) 96px var(--side); margin-top: -1px; }

/* Card hover, two stages:
   1) ::before - a red-to-purple "comet" makes exactly one lap around the
      card's edge. Sized to the card with a 2px padding and a conic-gradient
      background that's transparent for most of the circle, with one bright
      arc (the comet), masked down to just a 2px band (mask-composite: exclude
      subtracts the inner content-box rect from the outer box rect) so the
      card's own white background still shows everywhere else. --angle spins
      0 to 360deg once (animation-iteration-count 1, forwards fill) and the
      keyframe fades the comet in at the start and out right at the end of
      that single lap, so it disappears cleanly.
   2) ::after - once the comet's lap finishes (timed via animation-delay
      matching the lap duration), the border settles into the original full
      ring effect: the whole edge shows the red-to-purple gradient, spinning
      continuously for as long as the hover lasts. In a browser without
      @property support both pseudo-elements still show their gradient on
      hover, they just sit static instead of animating. */
#landing-page .help-card { position: relative; padding: 28px; border-radius: 20px; background: #FAF8FF; min-width: 0; }
#landing-page .help-card > * { position: relative; z-index: 1; }
#landing-page .help-card::before,
#landing-page .help-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
}
#landing-page .help-card::before {
  background: conic-gradient(from var(--angle, 0deg),
    transparent 0deg,
    transparent 270deg,
    #FB0404 300deg,
    #3902A7 345deg,
    transparent 360deg);
}
#landing-page .help-card::after {
  background: conic-gradient(from var(--ring-angle, 0deg), #FB0404, #3902A7, #FB0404);
}
#landing-page .help-card:hover::before {
  animation: help-card-comet-lap 1s linear 1 forwards;
}
#landing-page .help-card:hover::after {
  animation:
    help-card-ring-fade-in 0.3s ease 1s forwards,
    help-card-border-spin 2.5s linear 1s infinite;
}
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@property --ring-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes help-card-comet-lap {
  0% { opacity: 0; --angle: 0deg; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; --angle: 360deg; }
}
@keyframes help-card-ring-fade-in {
  to { opacity: 1; }
}
@keyframes help-card-border-spin {
  to { --ring-angle: 360deg; }
}

/* FINAL CTA */
/* Headline on the left, lead form card on the right. Stacks below 1000px. */
#landing-page #contact { background: linear-gradient(120deg, #FB0404 0%, #3902A7 100%); padding: 88px var(--side); }
#landing-page .cta-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
#landing-page .cta-layout > * { min-width: 0; }

/* Lead form card */
#landing-page .cta-form-card { background: #FFFFFF; border-radius: 24px; padding: 36px 36px 30px 36px; box-shadow: 0 30px 60px rgba(22,10,41,0.28); }
#landing-page .cta-form { margin: 0; }
#landing-page .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 24px; }
#landing-page .form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#landing-page .form-field-full { grid-column: 1 / -1; }
#landing-page .form-field label { font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; font-size: 14px; line-height: 1.3; color: #1A1A1A; }
#landing-page .req { color: #FB0404; margin-left: 2px; }
#landing-page .form-field input, #landing-page .form-field textarea { width: 100%; font-family: Verdana, Geneva, Tahoma, sans-serif; font-size: 15px; line-height: 1.4; color: #1A1A1A; background: #FBFAFE; border: 1px solid #D9CFF3; border-radius: 10px; padding: 12px 14px; margin: 0; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; -webkit-appearance: none; appearance: none; }
#landing-page .form-field textarea { min-height: 110px; resize: vertical; }
#landing-page .form-field input:hover, #landing-page .form-field textarea:hover { border-color: #B9A8E8; }
#landing-page .form-field input:focus, #landing-page .form-field textarea:focus { outline: none; background: #FFFFFF; border-color: #3902A7; box-shadow: 0 0 0 3px rgba(57,2,167,0.18); }
#landing-page .form-field input[readonly] { background: #F1ECFD; border-color: #F1ECFD; color: #3902A7; font-weight: bold; cursor: default; }
#landing-page .form-field input[readonly]:focus { box-shadow: none; border-color: #D9CFF3; }
#landing-page .form-field input:user-invalid, #landing-page .form-field textarea:user-invalid { border-color: #FB0404; box-shadow: 0 0 0 3px rgba(251,4,4,0.12); }
#landing-page .cta-submit { display: flex; border: 0; cursor: pointer; width: 33.333%; min-width: max-content; margin: 0 auto; justify-content: center; font-family: BrownStd, Verdana, Geneva, sans-serif; box-shadow: 0 14px 28px rgba(251,4,4,0.22); }
#landing-page .cta-submit:focus-visible { outline: 3px solid #3902A7; outline-offset: 3px; }
#landing-page .cta-submit:disabled { cursor: wait; opacity: 0.75; }
#landing-page .form-required-note { margin: 12px 0 0 0; font-size: 12px; color: #6B6478; }
#landing-page .form-message { display: none; margin: 0 0 20px 0; padding: 14px 16px; border-radius: 10px; background: #FFF0F0; border: 1px solid #F7B4B4; color: #8A0202; font-size: 14px; line-height: 1.55; }
#landing-page .form-message.is-visible { display: block; }
#landing-page .form-message a { color: #8A0202; text-decoration: underline; }
#landing-page .form-thanks { text-align: center; padding: 40px 10px; outline: none; }
#landing-page .form-thanks h3 { margin: 0 0 12px 0; font-size: clamp(24px, 1.2vw + 16px, 30px); color: #3902A7; }
#landing-page .form-thanks p { margin: 0; font-size: 16px; line-height: 1.7; color: #3A3A3A; }
@media (max-width: 1000px) {
  #landing-page .cta-layout { grid-template-columns: 1fr; gap: 36px; }
  #landing-page .cta-form-card { max-width: 680px; }
}
@media (max-width: 560px) {
  #landing-page .form-grid { grid-template-columns: 1fr; }
  #landing-page .cta-form-card { padding: 26px 20px 22px 20px; border-radius: 20px; }
}

/* FOOTER STRIP */
#landing-page #landing-footer { background: #FFFFFF; padding: 32px var(--side); border-top: 1px solid #EDE7FA; }
#landing-page .landing-footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 480px) {
  #landing-page .landing-footer-wrap { flex-direction: column; align-items: flex-start; }
}
#landing-page .footer-logo { width: 130px; height: auto; display: block; }
#landing-page .footer-text { font-size: 13px; color: #8A8296; }

/* ==========================================================================
   NEW SECTIONS (Sept 24, 2026) - optimization plan section 8
   Key Dates, Does This Apply, Student Disclosure, BPPE Application, FAQ,
   About Cyanna. Same tokens as above: purple #3902A7, red #FB0404,
   lavender #FAF8FF, card border #EDE7FA, --side gutters. Backgrounds
   alternate white / lavender so the page keeps its rhythm between the
   existing sections.
   ========================================================================== */

/* Shared helpers */
#landing-page .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#landing-page .section-intro { font-size: 16px; line-height: 1.7; color: #3A3A3A; margin: 0 0 40px 0; max-width: 760px; }
#landing-page #key-dates .section-h2,
#landing-page #does-this-apply .section-h2,
#landing-page #student-disclosure .section-h2,
#landing-page #bppe-application .section-h2,
#landing-page #faq .section-h2,
#landing-page #about-cyanna .section-h2 { margin: 0 0 18px 0; }

/* SPLIT LAYOUT - shared by Key Dates and Who It Covers: title and intro on
   the left, the content block on the right, so neither section leaves a
   band of empty space on wide screens. Stacks below 1100px. */
#landing-page .split-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
#landing-page .split-layout > * { min-width: 0; }
#landing-page .split-copy .section-intro { margin-bottom: 0; }
@media (max-width: 1100px) {
  #landing-page .split-layout { grid-template-columns: 1fr; gap: 44px; }
  #landing-page .split-layout > :last-child { max-width: 760px; }
}

/* KEY DATES - lavender. The dates sit on a calendar page drawn in CSS:
   a white sheet with a second sheet peeking out behind it, binder rings
   along the top edge, a red-to-purple header bar, and a faint day grid.
   The dates themselves are still a real <table> (the most liftable format
   for search and answer engines); CSS lays the four rows out as a 2x2. */
#landing-page #key-dates { background: #FAF8FF; padding: 96px var(--side); margin-top: -1px; isolation: isolate; }
#landing-page .calendar-page { position: relative; padding: 76px 24px 24px 24px; border-radius: 24px; border: 1px solid #EDE7FA; box-shadow: 0 30px 60px rgba(57,2,167,0.14);
  background-color: #FFFFFF;
  background-image: linear-gradient(#F1ECFD 1px, transparent 1px), linear-gradient(90deg, #F1ECFD 1px, transparent 1px);
  background-size: calc(100% / 7) 64px, calc(100% / 7) 64px;
  background-position: 0 56px, 0 56px;
  margin-top: 18px; }
#landing-page .calendar-page::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 24px; background: #EDE7FA; transform: rotate(-2.5deg) translate(-6px, 8px); }
#landing-page .calendar-head { position: absolute; top: 0; left: 0; right: 0; height: 56px; border-radius: 24px 24px 0 0; background: linear-gradient(120deg, #FB0404 0%, #3902A7 100%); color: #FFFFFF; font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; padding-top: 6px; }
#landing-page .calendar-rings { position: absolute; top: -18px; left: 12%; right: 12%; z-index: 2; display: flex; justify-content: space-between; }
#landing-page .calendar-rings span { width: 14px; height: 38px; border-radius: 8px; background: linear-gradient(180deg, #FFFFFF 0%, #E4DCF7 100%); border: 3px solid #1A0B38; box-shadow: 0 3px 6px rgba(22,10,41,0.25); }

#landing-page .dates-table { display: block; width: 100%; border-collapse: separate; margin: 0; }
#landing-page .dates-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#landing-page .dates-table tr { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px 20px 22px 20px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E4DCF7; box-shadow: 0 8px 20px rgba(57,2,167,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; }
#landing-page .dates-table tr:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(57,2,167,0.12); }
#landing-page .dates-table th, #landing-page .dates-table td { display: block; padding: 0; border: 0; background: none; text-align: left; }
#landing-page .dates-table .date-cell { font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; font-size: clamp(20px, 0.8vw + 14px, 24px); line-height: 1.2; color: #3902A7; padding-bottom: 10px; border-bottom: 2px dashed #E4DCF7; }
#landing-page .dates-table .date-desc { font-size: 14px; line-height: 1.6; color: #4A4A4A; }
#landing-page .date-desc strong { display: block; margin-bottom: 4px; color: #1A1A1A; }
#landing-page .date-tag { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 50px; background: #FFFFFF; color: #3902A7; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; vertical-align: middle; }
#landing-page .dates-table tr.date-row-deadline { background: linear-gradient(135deg, #FB0404 0%, #3902A7 100%); border-color: transparent; box-shadow: 0 16px 34px rgba(251,4,4,0.22); }
#landing-page .dates-table .date-row-deadline .date-cell { color: #FFFFFF; border-bottom-color: rgba(255,255,255,0.35); }
#landing-page .dates-table .date-row-deadline .date-desc, #landing-page .dates-table .date-row-deadline .date-desc strong { color: #FFFFFF; }
@media (max-width: 560px) {
  #landing-page .dates-table tbody { grid-template-columns: 1fr; }
  #landing-page .calendar-page { padding: 72px 16px 16px 16px; }
  #landing-page .calendar-rings { left: 10%; right: 10%; }
}

/* DOES THIS APPLY - white. Two cards: covered (gradient top edge) vs the
   single exemption (quiet lavender). */
/* Background: images/who-it-covers_bg.jpg, a pre-faded photo of parked
   trucks. Anchored bottom left so the truck grilles stay in view when
   "cover" crops it on narrower screens. */
#landing-page #does-this-apply { padding: 96px var(--side); background-color: #FFFFFF;
  /* 50% white layer over the photo = the photo at 50% opacity on white */
  background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url(images/who-it-covers_bg.jpg?v=2);
  background-repeat: no-repeat; background-position: left bottom; background-size: cover; }
#landing-page .apply-stack { display: flex; flex-direction: column; gap: 18px; }
#landing-page .apply-card { position: relative; padding: 34px 32px 32px 32px; border-radius: 20px; min-width: 0; }
#landing-page .apply-card-yes { background: #FFFFFF; border: 1px solid #EDE7FA; box-shadow: 0 18px 40px rgba(57,2,167,0.08); overflow: hidden; }
#landing-page .apply-card-yes::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #FB0404, #3902A7); }
#landing-page .apply-card-no { background: #FAF8FF; border: 1px dashed #CFC3EE; }
#landing-page .apply-badge { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
#landing-page .apply-badge-yes { background: linear-gradient(135deg, #FB0404, #3902A7); }
#landing-page .apply-badge-no { background: #FFFFFF; border: 2px solid #D9CFF3; }
#landing-page .apply-card .card-h2 { margin: 0 0 14px 0; }
#landing-page .apply-list { list-style: none; margin: 0; padding: 0; }
#landing-page .apply-list li { position: relative; padding: 0 0 0 26px; margin: 0 0 12px 0; font-size: 15px; line-height: 1.6; color: #4A4A4A; }
#landing-page .apply-list li:last-child { margin-bottom: 0; }
#landing-page .apply-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #FB0404, #3902A7); }
#landing-page .apply-card-no strong { color: #3902A7; }

/* STUDENT DISCLOSURE - lavender. Copy on the left, a "notice" card on the
   right that shows what the statement has to say. */
#landing-page #student-disclosure { background: #FAF8FF; padding: 96px var(--side); }
#landing-page .disclosure-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
#landing-page .disclosure-layout > * { min-width: 0; }
#landing-page .disclosure-facts { margin: 0 0 28px 0; padding: 0; display: grid; gap: 14px; }
#landing-page .disclosure-fact { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid #E4DCF7; }
#landing-page .disclosure-fact dt { margin: 0; font-size: 16px; line-height: 1.5; color: #3902A7; }
#landing-page .disclosure-fact dd { margin: 0; font-size: 15px; line-height: 1.65; color: #4A4A4A; }
#landing-page .disclosure-note { font-size: 15px; line-height: 1.7; color: #3A3A3A; margin: 0; padding-left: 16px; border-left: 3px solid #FB0404; max-width: 640px; }
#landing-page .notice-card { position: relative; background: #FFFFFF; border-radius: 20px; padding: 44px 36px 32px 36px; box-shadow: 0 24px 60px rgba(57,2,167,0.14); transform: rotate(1.2deg); transition: transform 0.4s ease; overflow: hidden; }
#landing-page .notice-card:hover { transform: rotate(0deg); }
#landing-page .notice-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(90deg, #FB0404, #3902A7); }
#landing-page .notice-label { display: inline-block; font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #3902A7; background: #F1ECFD; padding: 6px 12px; border-radius: 50px; margin-bottom: 22px; }
#landing-page .notice-text { font-family: BrownStd, Verdana, Geneva, sans-serif; font-size: clamp(18px, 0.8vw + 14px, 22px); line-height: 1.45; color: #1A1A1A; margin: 0 0 16px 0; }
#landing-page .notice-meta { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; padding-top: 18px; border-top: 1px dashed #D9CFF3; font-size: 13px; color: #6B6478; }
@media (max-width: 900px) {
  #landing-page .disclosure-layout { grid-template-columns: 1fr; gap: 40px; }
  #landing-page .notice-card { transform: none; }
}
@media (max-width: 640px) {
  #landing-page .disclosure-fact { grid-template-columns: 1fr; gap: 4px; }
}

/* BPPE APPLICATION - lavender. Numbered ordered list, gradient numerals. */
#landing-page #bppe-application { background: #FAF8FF; padding: 96px var(--side); }
#landing-page .app-steps { list-style: none; margin: 0 0 32px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(max(200px, calc((100% - 40px) / 3)), 1fr)); gap: 20px; }
#landing-page .app-step { position: relative; padding: 26px 24px 28px 24px; border-radius: 20px; background: #FFFFFF; border: 1px solid #EDE7FA; min-width: 0; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
#landing-page .app-step:hover { transform: translateY(-4px); background: #FFFFFF; box-shadow: 3px 12px 8px rgba(57,2,167,0.14); }
/* Numerals copy the homepage "Our Statistics" treatment (production
   styles.css .stats p): BrownStd bold, 60px, 2px tracking, white fill with a
   1px purple outline built from text-shadow. Numerals sit on the right side
   of the card. A negative bottom margin tucks
   the numeral up under the H3, which sits above it via z-index. */
#landing-page .app-num { position: relative; z-index: 0; display: block; font-family: BrownStd, Verdana, Geneva, sans-serif; font-weight: bold; font-size: 60px; line-height: 1; letter-spacing: 2px; color: #FFFFFF; text-shadow: -1px 0 #3902A7, 0 1px #3902A7, 1px 0 #3902A7, 0 -1px #3902A7; margin: 0 -2px -22px 0; text-align: right; user-select: none; transition: color 0.3s ease; }
#landing-page .app-step:hover .app-num { color: #F1ECFD; }
#landing-page .app-step .card-h2 { position: relative; z-index: 1; margin: 0 0 10px 0; text-shadow: 0 0 3px #FFFFFF, 0 0 6px #FFFFFF, 0 0 10px #FFFFFF; }
#landing-page .app-step:hover .card-h2 { text-shadow: 0 0 3px #FFFFFF, 0 0 6px #FFFFFF, 0 0 10px #FFFFFF; }
#landing-page .app-step .card-text { position: relative; z-index: 1; }
@media (max-width: 640px) {
  #landing-page .app-num { font-size: 50px; margin-bottom: -12px; }
}
#landing-page .app-footnote { font-size: 15px; line-height: 1.7; color: #4A4A4A; margin: 0; max-width: 760px; }

/* FAQ - white. Sticky intro on the left, accordion on the right.
   Native <details>/<summary>, no JS. Closed: soft lavender card with a
   plus button. Hover: a gradient bar grows up the
   left edge. Open: the card lifts to white with a shadow, the plus spins
   into an X inside a red-to-purple disc, and the answer eases open (smooth
   height animation in browsers that support ::details-content and
   interpolate-size; everywhere else it simply opens). */
/* FAQ background: images/faq_bg.webp as a parallax background. The image
   is pinned to the viewport (background-attachment: fixed) so the section
   scrolls over it. A lavender wash fades from left to right so the intro
   copy stays readable over the photo while the trucks show through on the
   right. Phones and tablets get a normal scrolling background instead:
   iOS ignores fixed backgrounds and Android repaints them badly. */
#landing-page #faq { padding: 96px var(--side); interpolate-size: allow-keywords;
  background-color: #FAF8FF;
  background-image: linear-gradient(90deg, rgba(250,248,255,0.94) 0%, rgba(250,248,255,0.82) 34%, rgba(250,248,255,0.35) 62%, rgba(250,248,255,0.12) 100%), url(images/faq_bg.webp);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  background-attachment: fixed, fixed; }
@media (max-width: 900px), (hover: none) {
  #landing-page #faq { background-attachment: scroll, scroll;
    background-image: linear-gradient(180deg, rgba(250,248,255,0.92) 0%, rgba(250,248,255,0.8) 100%), url(images/faq_bg.webp);
    background-position: center, 20% center; }
}
#landing-page .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 56px; align-items: start; }
#landing-page .faq-layout > * { min-width: 0; }
#landing-page .faq-intro { position: sticky; top: 32px; }
#landing-page .faq-list { display: flex; flex-direction: column; gap: 14px; }
#landing-page .faq-item { position: relative; border-radius: 18px; background: #FBFAFE; border: 1px solid #EDE7FA; overflow: hidden; transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease; }
#landing-page .faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #FB0404, #3902A7); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s ease; }
#landing-page .faq-item:hover::before, #landing-page .faq-item[open]::before { transform: scaleY(1); }
#landing-page .faq-item:hover { border-color: #DCD1F5; }
#landing-page .faq-item[open] { background: #FFFFFF; border-color: transparent; box-shadow: 0 20px 44px rgba(57,2,167,0.12); }
#landing-page .faq-summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 22px 22px 22px 26px; cursor: pointer; }
#landing-page .faq-summary::-webkit-details-marker { display: none; }
#landing-page .faq-summary:focus { outline: none; }
#landing-page .faq-summary:focus-visible { outline: 3px solid #3902A7; outline-offset: -3px; border-radius: 18px; }
#landing-page .faq-q { flex: 1 1 auto; margin: 0; font-size: clamp(16px, 0.5vw + 13px, 18px); line-height: 1.4; color: #1A1A1A; }
#landing-page .faq-icon { position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #DCD1F5; background: #FFFFFF; transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), background 0.35s ease, border-color 0.35s ease; }
#landing-page .faq-icon::before, #landing-page .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #3902A7; transition: background 0.35s ease; }
#landing-page .faq-icon::after { transform: rotate(90deg); }
#landing-page .faq-item:hover .faq-icon { border-color: #3902A7; }
#landing-page .faq-item[open] .faq-icon { transform: rotate(135deg); border-color: transparent; background: linear-gradient(135deg, #FB0404, #3902A7); }
#landing-page .faq-item[open] .faq-icon::before, #landing-page .faq-item[open] .faq-icon::after { background: #FFFFFF; }
#landing-page .faq-a { padding: 0 72px 24px 26px; }
#landing-page .faq-a p { margin: 0; font-size: 15px; line-height: 1.7; color: #4A4A4A; }
#landing-page .faq-item[open] .faq-a { animation: faq-answer-in 0.45s ease both; }
#landing-page .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 0.4s ease, content-visibility 0.4s allow-discrete; }
#landing-page .faq-item[open]::details-content { block-size: auto; }
@keyframes faq-answer-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  #landing-page .faq-layout { grid-template-columns: 1fr; gap: 8px; }
  #landing-page .faq-intro { position: static; }
}
@media (max-width: 640px) {
  #landing-page .faq-summary { gap: 12px; padding: 18px 16px 18px 20px; }
  #landing-page .faq-a { padding: 0 20px 20px 20px; }
  #landing-page .faq-icon { width: 34px; height: 34px; }
}

/* ABOUT CYANNA - dark. Plain statement on the left, fact tiles right. */
/* Styled to match WHY NOW: dark #160A29 background, white eyebrow, red
   H2, light lavender body copy, and the stat-card treatment on the fact
   tiles (thin red left border, red fill slides in on hover). */
#landing-page #about-cyanna { background: #160A29; padding: 96px var(--side); margin-top: -1px; }
#landing-page #about-cyanna .section-eyebrow { color: #FFFFFF; }
#landing-page .about-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: end; }
#landing-page .about-layout > * { min-width: 0; }
#landing-page .about-lead { font-size: 16px; line-height: 1.75; color: #D9D2E8; margin: 0; max-width: 640px; }
#landing-page .about-lead + .about-lead { margin-top: 16px; }
#landing-page .about-facts { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#landing-page .about-fact { position: relative; padding: 22px 24px; border-left: 2px solid #FB0404; border-radius: 4px; overflow: hidden; min-width: 0; transition: border-color 0.35s ease; }
#landing-page .about-fact::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 0%; background: #FB0404; transition: width 0.35s ease; }
#landing-page .about-fact:hover { border-left-color: transparent; }
#landing-page .about-fact:hover::before { width: 100%; }
#landing-page .about-fact dt, #landing-page .about-fact dd { position: relative; z-index: 1; transition: color 0.35s ease; }
#landing-page .about-fact dt { margin: 0 0 8px 0; font-size: 14px; color: #B7ADCB; }
#landing-page .about-fact dd { margin: 0; font-size: clamp(20px, 1vw + 14px, 26px); line-height: 1.25; color: #FFFFFF; font-weight: 800; overflow-wrap: normal; }
#landing-page .about-fact:hover dt, #landing-page .about-fact:hover dd { color: #FFFFFF; }
#landing-page .about-fact dd a { color: #FFFFFF; border-bottom: 2px solid rgba(251,4,4,0.7); transition: border-color 0.3s ease; }
#landing-page .about-fact dd a:hover { color: #FFFFFF; border-color: #FFFFFF; }
@media (max-width: 900px) {
  #landing-page .about-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 420px) {
  #landing-page .about-facts { grid-template-columns: 1fr; }
}

/* Respect reduced-motion for everything added above */
@media (prefers-reduced-motion: reduce) {
  #landing-page .faq-item, #landing-page .faq-item::before, #landing-page .faq-icon, #landing-page .app-step, #landing-page .notice-card { transition: none; }
  #landing-page .faq-item[open] .faq-a { animation: none; }
  #landing-page .faq-item::details-content { transition: none; }
  #landing-page .notice-card, #landing-page .app-step:hover { transform: none; }
}

/* Resources section (matches How We Help) and FAQ process steps (added 2026-10-08) */
#landing-page #resources { background: #FFFFFF; padding: 96px var(--side) 96px var(--side); margin-top: -1px; }
#landing-page #resources .section-h2 { margin: 0 0 40px 0; }
#landing-page #resources .card-h2 { margin-bottom: 10px; }
/* Whole card clickable: the title link stretches over the card */
#landing-page #resources .card-h2 { position: static; }
#landing-page #resources .card-h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 20px; }
#landing-page #resources .card-h2 a:focus-visible { outline: none; }
#landing-page #resources .card-h2 a:focus-visible::after { outline: 3px solid #3902A7; outline-offset: 3px; }
#landing-page #resources .help-card:hover .card-h2 a { color: #FB0404; }
#landing-page .faq-steps { margin: 12px 0; padding-left: 22px; font-size: 15px; line-height: 1.7; color: #4A4A4A; }
#landing-page .faq-steps li { margin-bottom: 6px; }

/* Hero: two body paragraphs (added 2026-10-08) */
#landing-page .hero-body-lead { margin-bottom: 18px; }
