:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #5b6472;
  --line: #dbe3ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --brand: #0f3d5e;
  --brand-2: #0e7490;
  --accent: #f59e0b;
  --danger: #991b1b;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(219, 227, 238, 0.75);
  backdrop-filter: blur(18px);
}

.brand, .nav { display: flex; align-items: center; gap: 1rem; }
.brand { font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 0.8rem;
  font-size: 0.82rem;
}
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.nav a:hover { color: var(--brand); }

.section { padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.9) 0%, rgba(8, 13, 22, 0.72) 48%, rgba(8, 13, 22, 0.38) 100%),
    url("./ian.jpeg") center / cover no-repeat;
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-2);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.04em; }
h1 { max-width: 12ch; font-size: clamp(3.2rem, 8.8vw, 7.9rem); }
h2 { max-width: 13ch; font-size: clamp(2.1rem, 5vw, 4.6rem); }
h3 { font-size: 1.45rem; }
.lede { max-width: 46rem; color: #354154; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero .lede { color: rgba(255, 255, 255, 0.9); }
.note, .legal-note { color: var(--muted); font-size: 0.92rem; }
.hero .note { color: rgba(255, 255, 255, 0.74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 16px 36px rgba(14, 116, 144, 0.28); }
.button-secondary { color: var(--brand); background: white; border-color: var(--line); }
.button-light { color: var(--brand); background: white; }
.button-small { min-height: 2.4rem; padding: 0.45rem 0.9rem; background: var(--ink); color: white; }

.hero-card, .info-card, .fund-panel, details {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 2rem; }
.card-kicker { margin-bottom: 1rem; font-weight: 900; }
.check-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: white;
  background: var(--brand-2);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.split { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(2rem, 6vw, 6rem); background: var(--paper); }
.content { color: #354154; font-size: 1.15rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-card { padding: 1.5rem; box-shadow: none; }
.icon { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 1.4rem; color: white; background: var(--brand); border-radius: 50%; font-weight: 900; }
.info-card p { color: var(--muted); }

.fund {
  background: linear-gradient(135deg, rgba(15,61,94,0.96), rgba(14,116,144,0.92)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cpath d='M0 45H90M45 0V90' stroke='rgba(255,255,255,.08)'/%3E%3C/svg%3E");
}
.fund-panel { max-width: 58rem; padding: clamp(1.5rem, 4vw, 3rem); }
.fund-panel h2 { max-width: 14ch; }
.progress { margin: 2rem 0; }
.progress-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; color: var(--muted); }
.progress-bar { height: 0.8rem; overflow: hidden; background: #e5edf5; border-radius: 999px; }
.progress-bar span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, var(--accent), #fbbf24); border-radius: inherit; }

.timeline { background: var(--paper); }
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.timeline-grid div { display: grid; gap: 0.7rem; padding: 1.4rem; background: white; }
.timeline-grid span { color: var(--muted); }

.faq { max-width: 980px; margin: 0 auto; }
.faq h2 { margin-bottom: 2rem; }
details { padding: 1.2rem 1.4rem; margin-bottom: 0.9rem; box-shadow: none; }
summary { cursor: pointer; font-weight: 850; }
details p { color: var(--muted); }

.cta { text-align: center; color: white; background: var(--ink); }
.cta h2 { max-width: none; }
.cta p { max-width: 46rem; margin: 1rem auto 2rem; color: #d1d5db; font-size: 1.15rem; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1rem, 5vw, 4rem); background: #080d16; color: white; }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hero, .split, .cards, .timeline-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 4rem; }
  h1 { max-width: 10ch; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand span:last-child { display: none; }
  .button { width: 100%; }
  .site-header .button { width: auto; }
}
