/* ===== SusuMate — Chango-style marketing site ===== */
:root {
  --green: #1E9E4B;          /* vivid brand green (CTA) */
  --green-deep: #0E5A3E;     /* headings / deep sections */
  --green-darker: #093a29;   /* deepest green */
  --gold: #F5B60C;           /* brand gold/yellow */
  --gold-deep: #E0A200;
  --red: #E23B2E;            /* coral/red */
  --blue: #1E82C8;           /* brand blue */
  --ink: #12261D;            /* near-black text (green-tinted) */
  --muted: #5c6f63;          /* muted body text */
  --cream: #F4F7F3;          /* pale section bg */
  --white: #ffffff;
  --shell: 1180px;
  --radius: 16px;
  --shadow: 0 24px 60px -28px rgba(9, 58, 41, 0.4);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--green-deep);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--green-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus { left: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 14px 26px -14px rgba(30, 158, 75, 0.8); }
.btn-green:hover { background: #178c41; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 26px -14px rgba(226, 59, 46, 0.7); }
.btn-red:hover { background: #cb3226; }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: #eef5ef; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 10px 30px -20px rgba(9, 58, 41, 0.4);
  border-color: #e6ede8;
}
.nav-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 52px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.primary-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--green-deep);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--red); }
.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px;
  background: var(--red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 2.5px; border-radius: 3px;
  background: var(--green-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== Hero ===== */
.hero { padding: 16px 0 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  align-items: end;
  column-gap: 24px;
}
.hero-copy { align-self: center; padding-bottom: 36px; }
.hero-visual {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}
.halo {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 182, 12, 0.22), rgba(245, 182, 12, 0) 68%);
  z-index: 1;
}
.confetti {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.9;
  animation: float 5s ease-in-out infinite;
}
.confetti.c1 { background: var(--red); top: 8%; left: 12%; }
.confetti.c2 { background: var(--gold); top: 4%; right: 20%; width: 14px; height: 14px; animation-delay: 0.6s; }
.confetti.c3 { background: var(--blue); top: 22%; right: 8%; width: 16px; height: 16px; animation-delay: 1.2s; }
.confetti.c4 { background: var(--green); top: 30%; left: 4%; width: 12px; height: 12px; animation-delay: 1.8s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-copy h1 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--green-deep);
}
.hide-sm { display: inline; }
.hero-lead {
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Generic section ===== */
.section { padding: 84px 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head h2.big { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--green-deep); }
.section-head .lede { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

/* ===== Colour bands ===== */
.band { padding: 72px 0 0; overflow: hidden; }
.band-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  align-items: end;
  gap: 40px;
}
.band-grid--media-right { grid-template-columns: 0.78fr 1.22fr; }
.band-copy { align-self: center; padding: 40px 0 52px; }
.band-media { display: flex; justify-content: center; align-self: end; }
.band-media img { max-height: 740px; width: auto; }
.band-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: #fff; }
.band-copy p { margin: 22px 0 28px; color: rgba(255, 255, 255, 0.92); font-size: 1.12rem; }
.band-copy p strong { color: #fff; }

.band-yellow { background: var(--gold); }
.band-yellow .band-copy h2 { color: #3a2b00; }
.band-yellow .band-copy p { color: #4b3900; }

.band-coral { background: var(--red); }
.band-blue { background: var(--blue); }
.band-deep { background: var(--green-darker); }

/* Coral centered layout */
.band-center { text-align: center; }
.band-center h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.band-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 940px;
  margin: 40px auto 8px;
  text-align: center;
}
.band-cols p { color: rgba(255, 255, 255, 0.92); font-size: 1rem; }
.band-cols strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.band-center { padding-bottom: 0; }
.band-hero-img { margin: 36px auto 0; display: flex; justify-content: center; }
.band-hero-img img { max-height: 680px; width: auto; max-width: 1000px; }

/* facts (deep band) */
.facts { display: flex; flex-wrap: wrap; gap: 34px; }
.facts strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.facts span { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

/* ===== How it works steps ===== */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid #e7eee9;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: var(--green);
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ===== Cards (group types + case studies) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card, .study {
  background: #fff;
  border: 1px solid #e7eee9;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 20px 44px -34px rgba(9, 58, 41, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover, .study:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-badge {
  display: inline-flex;
  width: 46px; height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.badge-green { background: var(--green); }
.badge-gold { background: var(--gold-deep); }
.badge-blue { background: var(--blue); }
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.97rem;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

/* case studies */
.group-label {
  text-align: center;
  color: var(--green-deep);
  font-size: 1.7rem;
  margin: 46px 0 26px;
}
.section .group-label:first-of-type { margin-top: 20px; }
.study h3 { color: var(--red); font-size: 1.35rem; margin-bottom: 12px; }
.study p { color: var(--muted); margin-bottom: 18px; }
.study .tag {
  display: inline-block;
  background: #eaf5ee;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.study .tag-alt { background: #fdeede; color: #9a5b00; }
.study-allawa { border-color: #f3ddb3; background: linear-gradient(180deg, #fffaf0, #ffffff); }

/* ===== Fees ===== */
.fee-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.section-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-copy p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.fee-card {
  background: #fff;
  border: 1px solid #e7eee9;
  border-radius: var(--radius);
  padding: 12px 30px 26px;
  box-shadow: var(--shadow);
}
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eef3ef;
}
.fee-row span { color: var(--ink); font-weight: 500; }
.fee-row strong { color: var(--green-deep); white-space: nowrap; }
.fee-note {
  margin-top: 18px;
  background: #eaf5ee;
  color: var(--green-deep);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* ===== CTA / download ===== */
.cta {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  padding: 84px 0;
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.cta p { color: rgba(255, 255, 255, 0.9); margin: 18px auto 32px; font-size: 1.12rem; max-width: 46ch; }
.stores { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0d1a14;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, background 0.18s ease;
}
.store:hover { transform: translateY(-2px); background: #0a1410; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.store strong { font-size: 1.05rem; font-weight: 600; }

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-details { display: grid; gap: 16px; align-self: center; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e7eee9;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 18px 40px -34px rgba(9, 58, 41, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-ico {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #eaf5ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-ico svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-item small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-item strong { font-size: 1.18rem; color: var(--green-deep); }
.contact-item .contact-phone { font-size: 1.35rem; font-weight: 800; }

/* ===== Footer ===== */
.site-footer { background: #fff; border-top: 1px solid #e7eee9; padding: 56px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--green-deep); font-weight: 500; }
.footer-links a:hover { color: var(--red); }
.footer-stores { display: flex; flex-direction: column; gap: 12px; }
.store-sm { padding: 10px 18px; align-self: start; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #eef3ef;
}
.footer-base p { color: var(--muted); font-size: 0.88rem; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.socials a:hover { background: var(--green); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--green-deep); stroke-width: 1.8; }
.socials a:hover svg { stroke: #fff; }
.socials svg path[fill="#fff"] { stroke: none; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .confetti { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-grid,
  .band-grid,
  .band-grid--media-right,
  .fee-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-bottom: 0; }
  .hero-copy { align-self: start; padding-bottom: 0; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 460px; margin: 0 auto; }
  .hide-sm { display: none; }
  .band { padding: 60px 0 40px; }
  .band-copy { align-self: start; padding: 0; }
  .band-media { align-self: auto; }
  .band-media img { max-height: 440px; }
  .band-hero-img img { max-height: 420px; }
  /* sections whose image is the last element stay flush to the bottom */
  .band.band-deep,
  .band.band-center { padding-bottom: 0; }
  .band.band-deep .band-media { margin-top: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .band-cols { grid-template-columns: 1fr; gap: 18px; }
  .hero-lead { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    padding: 18px 24px 26px;
    box-shadow: 0 30px 40px -24px rgba(9, 58, 41, 0.4);
    border-bottom: 1px solid #e7eee9;
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    align-items: flex-start;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a { padding: 12px 0; font-size: 1.05rem; width: 100%; }
  .hero { padding: 24px 0 50px; }
  .section, .band, .cta { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .facts { gap: 24px; }
  .hero-actions .btn { flex: 1; }
}

/* ===== Legal pages (Terms / Privacy) ===== */
.legal-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  padding: 64px 0 54px;
  color: #fff;
}
.legal-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); }
.legal-hero p { color: rgba(255, 255, 255, 0.88); margin-top: 12px; max-width: 60ch; }
.legal-hero .updated { display: inline-block; margin-top: 14px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }

.legal { padding: 60px 0 84px; }
.legal-body { max-width: 840px; margin: 0 auto; }
.legal-body > p:first-of-type { font-size: 1.08rem; }
.legal-body h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  color: var(--green-deep);
  scroll-margin-top: 90px;
}
.legal-body h3 { font-size: 1.08rem; margin: 22px 0 8px; color: var(--ink); }
.legal-body p { color: var(--muted); margin-bottom: 14px; }
.legal-body ul { color: var(--muted); margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--green); font-weight: 600; }
.legal-body strong { color: var(--ink); }

.legal-toc {
  background: var(--cream);
  border: 1px solid #e7eee9;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 44px;
}
.legal-toc h2 { margin: 0 0 12px; font-size: 1.05rem; color: var(--green-deep); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.legal-toc li { margin-bottom: 8px; break-inside: avoid; }
.legal-toc a { color: var(--green-deep); font-weight: 500; }

.legal-contact {
  margin-top: 40px;
  background: #eaf5ee;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.legal-contact h2 { margin-top: 0; }
.legal-contact p { color: var(--green-deep); }

@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
}
