/* =========================================================
   Income Growth Accelerator
   ========================================================= */

:root {
  --green-900: #072A20;
  --green-800: #0B3B2E;
  --green-700: #12513E;
  --green-100: #E4F0EA;
  --green-050: #F2F8F5;

  --gold-500: #D9A441;
  --gold-400: #E9BC63;
  --gold-100: #FBF0DA;

  --ink:       #12211C;
  --ink-soft:  #4A5D56;
  --ink-faint: #7A8C85;

  --paper:     #FFFFFF;
  --paper-alt: #F7F6F2;
  --line:      #E3E7E4;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(7, 42, 32, .06), 0 2px 8px rgba(7, 42, 32, .05);
  --shadow:    0 10px 30px rgba(7, 42, 32, .09);
  --shadow-lg: 0 24px 60px rgba(7, 42, 32, .16);

  --wrap: 1140px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }

p { margin: 0 0 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-800); color: #fff;
  padding: .75rem 1.25rem; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 .98rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--gold-500); --btn-fg: #22180A; }
.btn-primary:hover { --btn-bg: var(--gold-400); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--green-900); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  border-color: rgba(11, 59, 46, .25);
}
.btn-ghost:hover { --btn-bg: var(--green-050); }

.section-enrol .btn-ghost,
.hero .btn-ghost { --btn-fg: #E9F3EE; border-color: rgba(255, 255, 255, .35); }
.section-enrol .btn-ghost:hover,
.hero .btn-ghost:hover { --btn-bg: rgba(255, 255, 255, .12); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .62rem 1.15rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 42, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold-500);
  color: #22180A;
  font: 700 .82rem/1 var(--sans);
  letter-spacing: .04em;
}

.brand-text {
  font: 600 .85rem/1.25 var(--sans);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand-text em { font-style: normal; color: var(--gold-400); }

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  padding: 0 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  gap: .35rem;
  padding: .5rem 1.25rem 1.5rem;
  background: var(--green-900);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.mobile-nav a {
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  padding: .7rem .25rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.mobile-nav .btn { margin-top: .9rem; color: #22180A; }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% -10%, var(--green-700) 0%, var(--green-900) 62%);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 2rem + 8vw, 7rem) 0 clamp(3.5rem, 2rem + 7vw, 6rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto 50% -45% auto;
  transform: translateX(50%);
  width: min(900px, 120vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(217, 164, 65, .22) 0%, transparent 62%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.eyebrow, .kicker {
  display: inline-block;
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.eyebrow {
  color: var(--gold-400);
  padding: .55rem 1rem;
  border: 1px solid rgba(217, 164, 65, .35);
  border-radius: 999px;
  background: rgba(217, 164, 65, .08);
}

.hero-title {
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.2rem);
  margin: 0 0 1.25rem;
  letter-spacing: -.035em;
}
.hero-title em { font-style: normal; color: var(--gold-400); }

.hero-sub {
  max-width: 44ch;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem);
  color: rgba(233, 243, 238, .82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: .88rem;
  color: rgba(233, 243, 238, .58);
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-stats li { display: grid; gap: .25rem; }

.stat-value {
  font: 700 clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem)/1 var(--display);
  color: var(--gold-400);
}

.stat-label {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(233, 243, 238, .6);
}

/* ---------------------------------------------------------
   Generic section
   --------------------------------------------------------- */
.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head.narrow { max-width: 54ch; margin-inline: auto; text-align: center; }

.kicker { color: var(--green-700); }

.section-intro {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ---------------------------------------------------------
   Problem
   --------------------------------------------------------- */
.section-problem { background: var(--paper-alt); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.problem-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--green-050);
  color: var(--green-700);
  margin-bottom: 1rem;
}

.problem-card p { margin: 0; font-weight: 500; }

.problem-closing {
  text-align: center;
  margin: 2.75rem auto 0;
  max-width: 40ch;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem);
  font-weight: 700;
  color: var(--green-800);
  letter-spacing: -.015em;
}

/* ---------------------------------------------------------
   Programme
   --------------------------------------------------------- */
.parts {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: part;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.part {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.part:hover { background: var(--green-050); }

.part-number {
  font: 700 clamp(2rem, 1.5rem + 2vw, 3.2rem)/1 var(--display);
  color: var(--gold-500);
  letter-spacing: -.04em;
}

.part-body h3 { margin-bottom: .4rem; color: var(--green-800); }
.part-body p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* ---------------------------------------------------------
   Benefits
   --------------------------------------------------------- */
.section-benefits { background: var(--green-050); }

.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.benefits-copy h2 { color: var(--green-900); }
.benefits-copy .btn { margin-top: .75rem; }

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.35rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.tick {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--gold-400);
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: .75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0 1.35rem;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--green-800);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transition: transform .2s ease;
}
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }

.faq-item p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------------------------------------------------------
   Enrol / final CTA
   --------------------------------------------------------- */
.section-enrol {
  background: radial-gradient(100% 120% at 15% 0%, var(--green-700) 0%, var(--green-900) 60%);
  color: #fff;
}

.enrol-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.enrol-copy { padding-top: .5rem; }
.enrol-copy h2 { color: #fff; max-width: 16ch; }
.enrol-copy > p { color: rgba(233, 243, 238, .8); max-width: 44ch; margin-bottom: 1.75rem; }

.enrol-alt { margin-top: 1.5rem; font-size: .92rem; color: rgba(233, 243, 238, .65); }
.enrol-alt a { color: var(--gold-400); }

.enrol-form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}

.enrol-form-card h3 { color: var(--green-900); margin-bottom: .35rem; }
.form-lead { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.5rem; }

.lead-form { display: grid; gap: 1rem; }

.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem var(--sans);
  color: var(--ink);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem .95rem;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(18, 81, 62, .12);
}

.field textarea { resize: vertical; min-height: 84px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-fineprint {
  margin: .35rem 0 0;
  font-size: .8rem;
  color: var(--ink-faint);
  text-align: center;
}

.alert {
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.alert-error {
  background: #FCEDEC;
  border: 1px solid #F2C6C2;
  color: #8A2C23;
}
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* ---------------------------------------------------------
   Thank you page
   --------------------------------------------------------- */
.section-thanks { text-align: center; padding: clamp(4rem, 3rem + 6vw, 7rem) 0; }
.thanks-inner { max-width: 620px; margin-inline: auto; }

.thanks-tick {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--gold-400);
}
.thanks-tick .icon { width: 32px; height: 32px; }

.section-thanks h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  color: var(--green-900);
}

.thanks-lead { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 2rem; }

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.section-thanks .btn-ghost { --btn-fg: var(--green-800); border-color: rgba(11, 59, 46, .25); }

.thanks-back a { color: var(--ink-faint); font-size: .92rem; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--green-900);
  color: rgba(233, 243, 238, .72);
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0 1.5rem;
  font-size: .94rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-bottom: 2.5rem;
}

.footer-brand p { max-width: 42ch; margin: 1rem 0 0; color: rgba(233, 243, 238, .6); }

.footer-links h3 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: .9rem;
}

.footer-links a {
  display: block;
  color: rgba(233, 243, 238, .72);
  text-decoration: none;
  padding: .3rem 0;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-cta {
  display: inline-flex !important;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  color: var(--gold-400) !important;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: rgba(233, 243, 238, .5);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(233, 243, 238, .7); }

/* ---------------------------------------------------------
   Floating WhatsApp
   --------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #06331A;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------------------------------------------------------
   Reveal on scroll
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 960px) {
  .benefits-inner,
  .enrol-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav:not([hidden]) { display: grid; }
  .part { grid-template-columns: 1fr; gap: .5rem; padding: 1.6rem 0; }
  .part-number { font-size: 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem 2.5rem; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-actions .btn,
  .thanks-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}
