/* ============================================================
   EVOLVE WITH AI — "New Dawn" design system
   Midnight indigo · Electric ultramarine · Sunrise coral
   ============================================================ */

:root {
  --ink: #101633;
  --ink-2: #1A2147;
  --ink-3: #232C5E;
  --ultra: #4353FF;
  --ultra-soft: #EDEFFF;
  --coral: #FF6B4A;
  --coral-deep: #E04E2E;
  --gold: #FFC24B;
  --paper: #F7F7F4;
  --white: #FFFFFF;
  --text: #1B2032;
  --muted: #5A6178;
  --muted-light: #9AA0B8;
  --line: rgba(16, 22, 51, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --shadow: 0 18px 50px -20px rgba(16, 22, 51, 0.22);
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; line-height: 1.35; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ultra);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 107, 74, 0.6); }
.btn-coral:hover { background: var(--coral-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost,
.hero .btn-ghost,
.page-hero .btn-ghost,
.section-dark .btn-ghost,
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.section-dark .btn-ghost:hover,
.cta-banner .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 244, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--ultra) 0%, var(--coral) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.88rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -340px;
  transform: translateX(-50%);
  width: 1400px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 107, 74, 0.32), rgba(67, 83, 255, 0.18) 55%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 110px 0 90px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead { color: rgba(255, 255, 255, 0.72); margin: 0 auto 40px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  border: 1px solid rgba(255, 194, 75, 0.35);
  background: rgba(255, 194, 75, 0.08);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Transition marquee (signature) ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 26px 0 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 38s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.t-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 20px;
  border-radius: 100px;
}
.t-chip .arr { color: var(--coral); font-weight: 700; }
.t-chip .to { color: var(--gold); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}
.stat { padding: 38px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stat-num span { color: var(--coral); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: 10px;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, 0.65); }
.section-tint { background: var(--ultra-soft); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 16px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ultra-soft);
  color: var(--ultra);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.card.coral .card-icon { background: #FFEDE8; color: var(--coral); }
.card.gold .card-icon { background: #FFF4DC; color: #B07A14; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--muted); }
.card .card-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ultra);
}

.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section-dark .card p { color: rgba(255, 255, 255, 0.6); }

/* ---------- Audience pills ---------- */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin: 0 auto; }
.pill {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.18s ease;
}
.pill:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-2px); }

/* ---------- Story cards ---------- */
.story {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.story-quote { font-size: 1.02rem; line-height: 1.75; color: var(--text); }
.story-quote::before { content: "“"; font-family: var(--font-display); font-size: 2.6rem; color: var(--coral); display: block; line-height: 0.6; margin-bottom: 14px; }
.story-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ultra), var(--coral));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.story-name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.story-transition {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}
.story-transition .arr { color: var(--coral); font-weight: 700; }

/* ---------- Steps / numbered ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--coral);
  display: block;
  margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ultra);
  box-shadow: 0 0 0 4px rgba(67, 83, 255, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.checks { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--coral); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(115deg, var(--ink) 30%, var(--ink-3) 70%, #41327A 100%);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 107, 74, 0.4), transparent);
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255, 255, 255, 0.7); margin-bottom: 32px; position: relative; z-index: 1; }
.cta-banner .hero-actions { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 80px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p { font-size: 0.9rem; max-width: 280px; margin-top: 16px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a { display: block; font-size: 0.92rem; margin-bottom: 12px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  transition: all 0.18s;
}
.socials a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden; }
.page-hero::after {
  content: "";
  position: absolute;
  right: -200px; bottom: -300px;
  width: 700px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(67, 83, 255, 0.35), transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); position: relative; z-index: 1; }
.page-hero .lead { color: rgba(255, 255, 255, 0.7); margin-top: 18px; position: relative; z-index: 1; }

/* ---------- Misc ---------- */
.values-row { display: flex; flex-wrap: wrap; gap: 12px; }
.value-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted-light);
  font-size: 1.05rem;
}
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 1.02rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: "+"; color: var(--coral); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .cta-banner { padding: 50px 28px; }
}
