/* ==========================================================================
   SWYFT LAUNCH — Homepage-only premium restyle
   Loaded ONLY by index.html, AFTER style.css / components.css / responsive.css.
   Every rule here is scoped under body.page-home so it can never affect any
   other page on the site. No rule in this file edits style.css, components.css
   or responsive.css, and none of them are touched.

   Requires in <head>, after the existing stylesheet links:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,420;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
   <link rel="stylesheet" href="assets/css/home-premium.css?v=20261026">
   ========================================================================== */

/* ---- 1. Warm palette + display-font tokens (homepage only) ---- */
body.page-home {
  --color-bg: #ffffff;
  --color-surface-alt: #f5f6f8;
  --color-text: #16202e;
  --color-text-muted: #5b6678;
  --color-border: #e5e7eb;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15, 30, 61, 0.07);
  --shadow-md: 0 2px 4px rgba(15,30,61,.05), 0 14px 28px -10px rgba(15, 30, 61, 0.16);
  --shadow-lg: 0 4px 10px rgba(15,30,61,.06), 0 40px 72px -20px rgba(15, 30, 61, 0.30);

  background: var(--color-bg);
}

/* ---- 2. Typography: Fraunces for headings/display, Inter stays for UI ---- */
body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.page-home h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.05; font-weight: 500; letter-spacing: -0.02em; }
body.page-home h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; }
body.page-home h3 { font-size: 1.4rem; line-height: 1.25; }
body.page-home .section-head { max-width: 660px; }
body.page-home .section-head p { font-size: 1.1rem; }
body.page-home .eyebrow { color: var(--color-secondary-dark); }

/* ---- 3. Grain texture utility — applied directly to existing dark sections,
   no new HTML class needed. Safe no-op if a section has no ::before room. ---- */
body.page-home .section-dark,
body.page-home #how-it-works {
  position: relative;
  overflow: hidden;
}
body.page-home .section-dark::before,
body.page-home #how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.page-home .section-dark > .container,
body.page-home #how-it-works > .container {
  position: relative;
  z-index: 1;
}

/* ---- 4. Buttons: rounded-rect instead of pill, slightly more weight ---- */
body.page-home .btn {
  border-radius: var(--radius-md);
  font-weight: 700;
  padding: 16px 30px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .2s ease;
}
body.page-home .btn-primary {
  box-shadow: 0 1px 2px rgba(37,87,214,.3), 0 16px 28px -12px rgba(37,87,214,.65);
}
body.page-home .btn-primary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(37,87,214,.3), 0 20px 34px -12px rgba(37,87,214,.7);
}
body.page-home .btn-secondary { box-shadow: var(--shadow-sm); }
body.page-home .btn-secondary:hover { border-color: var(--color-primary); transform: translateY(-2px); }
body.page-home .header-actions .btn {
  padding: 11px 22px;
  font-size: .85rem;
  border-radius: var(--radius-md);
  box-shadow: none;
}
/* The real responsive.css shrinks header buttons further at ≤1200px
   (down to 9px 12px / .74rem) to keep the header from overflowing once
   the global .btn padding bump above applies everywhere. Mirror that
   breakpoint here so the mobile header still fits — without this, the
   larger premium button padding wins at every width and the header
   overflows on phones. */
@media (max-width: 1200px) {
  body.page-home .header-actions .btn { padding: 9px 12px; font-size: .74rem; }
}
body.page-home .header-actions .btn-primary { box-shadow: 0 1px 2px rgba(37,87,214,.3), 0 10px 20px -10px rgba(37,87,214,.5); }

/* ---- 5. Header: warm-tinted glass instead of cool white ---- */
body.page-home .site-header { background: rgba(255, 255, 255, 0.86); }
body.page-home .site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); }

/* ---- 6. Hero: flip from the dark navy panel to a light paper hero with a
   full-bleed asymmetric photo on the right ---- */
body.page-home .hero {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 24px 0 28px;
  overflow: hidden;
}
body.page-home .hero-grid {
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 0 56px;
}
body.page-home .hero-content { padding: 12px 0 24px; }
body.page-home .hero .eyebrow { color: var(--color-secondary-dark); margin-bottom: 10px; }
body.page-home .hero h1 { color: var(--color-primary); margin: 0 0 14px; }
body.page-home .hero h1 em { font-style: italic; color: var(--color-secondary); font-weight: 500; }
body.page-home .hero .lead { color: var(--color-text-muted); font-size: 1.02rem; max-width: 480px; margin-bottom: 20px; }
body.page-home .hero .lead strong { color: var(--color-primary); }
body.page-home .hero-cta { margin-bottom: 20px; }
body.page-home .hero-trust-badges { margin-top: 14px; padding-top: 14px; }
/* .btn-ghost-light is designed for a dark background (white text, white
   border) — the real site uses it as the hero's secondary CTA because the
   hero used to be dark navy. Now that this hero is a light paper color,
   restyle it here (scoped to the hero only) so it doesn't render as
   invisible white-on-white. The CTA band below is still dark and keeps
   the original ghost-light look untouched. */
body.page-home .hero .btn-ghost-light {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
body.page-home .hero .btn-ghost-light:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-primary);
}
body.page-home .hero-trust-badges { border-top-color: var(--color-border); }
body.page-home .hero-trust-icon { background: var(--color-surface-alt); border-color: var(--color-border); color: var(--color-secondary); }
body.page-home .hero-trust-item span:last-child { color: var(--color-text-muted); }
body.page-home .hero-trust-divider { background: var(--color-border); }

/* Hero visual becomes a bleed-to-edge photo frame (new inner markup: see
   the index.html edit) instead of the centered inline illustration */
body.page-home .hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 400px;
  display: block;
}
body.page-home .hero-visual-svg { display: none; }
body.page-home .hero-visual-frame {
  position: absolute;
  inset: 0 calc(-1 * max(28px, env(safe-area-inset-right, 0px))) 0 0;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
body.page-home .hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
body.page-home .hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(15,30,61,0) 40%, rgba(9,21,41,.65) 100%),
              linear-gradient(0deg, rgba(37,87,214,.18), rgba(37,87,214,0) 55%);
}
body.page-home .hero-float-card {
  position: absolute; left: 36px; bottom: 36px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(6px);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 16px 20px;
}
body.page-home .hero-float-card-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--color-secondary), var(--color-primary));
  display: flex; align-items: center; justify-content: center;
}
body.page-home .hero-float-card-icon svg { width: 19px; height: 19px; color: #fff; }
body.page-home .hero-float-card-label { margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
body.page-home .hero-float-card-value { margin: 0; font-size: .95rem; font-weight: 800; color: var(--color-primary); }
body.page-home .hero-chip {
  position: absolute; top: 36px; right: 36px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(9,21,41,.5); backdrop-filter: blur(8px); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
}
body.page-home .hero-chip svg { width: 13px; height: 13px; }

/* ---- 7. Formation selector: same markup/behavior, warmer & more premium.
   The real site overlaps this card up into the hero via a negative
   top margin, which worked against a plain-color hero background. Now that
   the hero has a full-bleed photo, that overlap would cut across the
   photo, so it's neutralized here and the card sits cleanly below instead. ---- */
body.page-home .formation-selector {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 44px 48px;
}
body.page-home .formation-selector .selector-title { font-family: var(--font-display); font-weight: 600; }
body.page-home .entity-option { border-radius: var(--radius-md); background: var(--color-bg); }
body.page-home .entity-option:hover { border-color: var(--color-secondary); background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }
body.page-home .entity-option .entity-option-desc { font-family: var(--font-sans); }

/* ---- 8. Why founders choose us: joined light/navy "trap vs promise" card ---- */
body.page-home .compare-trap-grid {
  gap: 2px;
  background: var(--color-border);
  padding: 2px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
body.page-home .compare-trap-card {
  border: none;
  border-top: none;
  border-radius: 0;
  padding: 48px 44px;
}
body.page-home .compare-trap-card:hover { transform: none; box-shadow: none; }
body.page-home .compare-trap-card.is-trap { background: var(--color-surface); border-radius: var(--radius-xl) 4px 4px var(--radius-xl); }
body.page-home .compare-trap-card.is-promise {
  background: var(--color-primary);
  border-radius: 4px var(--radius-xl) var(--radius-xl) 4px;
  position: relative;
  overflow: hidden;
}
body.page-home .compare-trap-card.is-promise::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.page-home .compare-trap-card.is-promise > * { position: relative; z-index: 1; }
body.page-home .compare-trap-card.is-promise h3,
body.page-home .compare-trap-card.is-promise .compare-trap-list li span { color: #fff; }
body.page-home .compare-trap-card.is-promise .compare-trap-icon { background: rgba(31,174,107,.18); color: #58e3a4; box-shadow: none; }
body.page-home .compare-trap-card.is-promise .compare-trap-tag { background: rgba(255,255,255,.1); color: #9fe6c3; }
body.page-home .compare-trap-card.is-promise .compare-trap-list li svg { color: #58e3a4; }
body.page-home .compare-trap-card h3 { margin-bottom: 24px; font-size: 1.55rem; }
body.page-home .compare-trap-vs {
  width: 58px; height: 58px;
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: .95rem;
}

/* ---- 9. "Built for real founders" — new section, additive classnames only ---- */
body.page-home .founders-panel { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 72px; align-items: center; }
body.page-home .founders-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; }
body.page-home .founders-visual img { width: 100%; height: 100%; object-fit: cover; }
body.page-home .founders-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(190deg, rgba(15,30,61,0) 55%, rgba(9,21,41,.5) 100%); }
body.page-home .founders-quote {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; color: #fff;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.15rem; line-height: 1.4;
}
body.page-home .founders-list { display: flex; flex-direction: column; margin-top: 36px; }
body.page-home .founders-item { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--color-border); }
body.page-home .founders-item:first-child { border-top: none; padding-top: 0; }
body.page-home .founders-item-num { flex-shrink: 0; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--color-secondary); width: 28px; }
body.page-home .founders-item h4 { font-size: 1.08rem; margin-bottom: 5px; color: var(--color-primary); font-weight: 600; }
body.page-home .founders-item p { margin: 0; font-size: .95rem; }

/* ---- 10. Pricing: Elite card becomes a navy "premium pick" ---- */
body.page-home .pricing-card { border-radius: var(--radius-lg); padding: 40px 36px; }
body.page-home .pricing-card.is-popular {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
body.page-home .pricing-card.is-popular * { color: #fff; }
body.page-home .pricing-card.is-popular .pricing-desc,
body.page-home .pricing-card.is-popular .pricing-statefee,
body.page-home .pricing-card.is-popular .period { color: #aab6d1; }
body.page-home .pricing-card.is-popular .pricing-features li svg { color: #58e3a4; }
body.page-home .pricing-card.is-popular .btn-primary { background: #fff; color: var(--color-primary); box-shadow: none; }
body.page-home .pricing-card.is-popular .btn-primary:hover { background: var(--color-surface-alt); }
body.page-home .pricing-badge { background: var(--color-accent); color: #07351f; }
body.page-home .pricing-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
body.page-home .pricing-price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 600; }

/* ---- 11. How It Works: the ONE existing .section-alt flipped to dark via
   #how-it-works ID only — the sibling .section-alt FAQ section is untouched ---- */
body.page-home #how-it-works {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
}
body.page-home #how-it-works h2,
body.page-home #how-it-works h3 { color: #fff; }
body.page-home #how-it-works p { color: #aab6d1; }
body.page-home #how-it-works .eyebrow { color: #9fc0ff; }
body.page-home #how-it-works .steps-grid { gap: 4px; }
body.page-home #how-it-works .step-item { text-align: left; position: relative; padding: 8px 36px 8px 0; }
body.page-home #how-it-works .step-item:not(:last-child)::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.14);
}
body.page-home #how-it-works .step-number {
  width: auto; height: auto; margin: 0 0 20px; border-radius: 0; background: none;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 3.4rem; color: #58e3a4; line-height: 1; display: block;
}
body.page-home #how-it-works .step-item h3 { margin-bottom: 12px; }
body.page-home #how-it-works .step-item p { font-size: .96rem; max-width: 280px; margin: 0; }
@media (max-width: 860px) {
  body.page-home #how-it-works .step-item::after { display: none; }
}

/* ---- 12. FAQ: serif question, slightly roomier ---- */
body.page-home .faq-question { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; padding: 26px 4px; }
body.page-home .faq-answer { padding: 0 4px; }
body.page-home .faq-item.is-open .faq-answer { padding: 0 4px 26px; }

/* ---- 12b. Support: full-bleed photo with floating white card ---- */
body.page-home .support-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 500px;
  display: flex;
  align-items: center;
}
body.page-home .support-showcase-media { position: absolute; inset: 0; background: var(--color-surface-alt); }
body.page-home .support-showcase-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
body.page-home .support-showcase-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  margin: 40px;
  padding: 44px 40px;
}
body.page-home .support-showcase-card .eyebrow { color: var(--color-secondary-dark); }
body.page-home .support-showcase-card h2 { color: var(--color-primary); margin: 10px 0 14px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
body.page-home .support-showcase-card > p { color: var(--color-text-muted); margin: 0 0 24px; }
body.page-home .support-showcase-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
body.page-home .support-showcase-item { display: flex; align-items: flex-start; gap: 12px; }
body.page-home .support-showcase-item svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--color-accent); }
body.page-home .support-showcase-item span { font-size: .95rem; color: var(--color-text); line-height: 1.4; }
body.page-home .support-showcase-item strong { color: var(--color-primary); }
body.page-home .support-showcase-cta { display: inline-flex; }
@media (max-width: 860px) {
  body.page-home .support-showcase { display: block; min-height: 0; border-radius: var(--radius-lg); }
  body.page-home .support-showcase-media { position: relative; height: 220px; }
  body.page-home .support-showcase-card { margin: 0; max-width: none; border-radius: 0; box-shadow: none; padding: 32px 24px; }
}

/* ---- 12c. Footer: white background instead of the dark-navy default ---- */
body.page-home .site-footer { background: #ffffff; color: var(--color-text-muted); border-top: 1px solid var(--color-border); }
body.page-home .footer-top { border-bottom: 1px solid var(--color-border); }
body.page-home .footer-brand .brand { color: var(--color-primary); }
body.page-home .footer-brand p { color: var(--color-text-muted); }
body.page-home .footer-col h4 { color: var(--color-primary); }
body.page-home .footer-col a { color: var(--color-text-muted); }
body.page-home .footer-col a:hover { color: var(--color-secondary); }
body.page-home .footer-legal a { color: var(--color-text-muted); }
body.page-home .footer-legal a:hover { color: var(--color-secondary); }
body.page-home .footer-copyright-line { color: var(--color-text-muted); }
body.page-home .footer-social-block { background: var(--color-surface-alt); border: 1px solid var(--color-border); }
body.page-home .footer-social-label { color: var(--color-primary); }
body.page-home .footer-social-icon { background: #fff; color: var(--color-primary); border: 1px solid var(--color-border); }
body.page-home .footer-social-icon:hover { background: var(--color-secondary); color: #fff; border-color: var(--color-secondary); }
body.page-home .footer-disclaimer { color: var(--color-text-muted); }
body.page-home .footer-disclaimer a { color: var(--color-secondary-dark); }
body.page-home .footer-disclaimer a:hover { color: var(--color-primary); }

/* ---- 13. CTA band typography polish (background already dark via .section-dark) ---- */
body.page-home .cta-band h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
body.page-home .cta-band p { font-size: 1.12rem; }

/* ---- 14. Responsive ---- */
@media (max-width: 1100px) {
  body.page-home .hero-grid { grid-template-columns: 1fr; gap: 0; }
  body.page-home .hero-content { text-align: center; padding-bottom: 40px; }
  body.page-home .hero .lead { margin-left: auto; margin-right: auto; }
  body.page-home .hero-cta { justify-content: center; }
  body.page-home .hero-trust-badges { justify-content: center; }
  body.page-home .hero-visual { min-height: 420px; }
  body.page-home .hero-visual-frame { position: relative; inset: auto; border-radius: var(--radius-xl); }
  body.page-home .founders-panel { grid-template-columns: 1fr; gap: 40px; }
  body.page-home .founders-visual { max-width: 460px; margin: 0 auto; aspect-ratio: 16/10; }
}
@media (max-width: 860px) {
  body.page-home .compare-trap-card.is-trap,
  body.page-home .compare-trap-card.is-promise { border-radius: var(--radius-lg); }
  body.page-home .compare-trap-vs { display: none; }
}
@media (max-width: 768px) {
  body.page-home .compare-trap-grid { padding: 24px; gap: 20px; }
  body.page-home .compare-trap-card { padding: 28px 24px; }
  body.page-home .formation-selector { padding: 28px 22px; }
}
