:root {
  --bg: #f5f9ff;
  --bg-2: #eef5ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: rgba(247, 250, 255, 0.9);
  --line: rgba(77, 110, 180, 0.12);
  --line-strong: rgba(77, 110, 180, 0.18);
  --text: #0f172a;
  --muted: #53627c;
  --accent: #3478f6;
  --accent-2: #7b61ff;
  --accent-3: #22c3dd;
  --success: #0b8f73;
  --shadow: 0 24px 60px rgba(24, 50, 94, 0.1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(52, 120, 246, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(123, 97, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 36%, var(--bg-2) 100%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem;
}

.panel,
.site-header,
.hero-copy,
.hero-panel,
.intro-strip {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(52, 120, 246, 0.22);
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: #4d6eb4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-header h1,
.section-heading h3,
.hero h2,
.info-card h4,
.timeline-card h4 {
  margin: 0;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--text); }

main {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.15rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.intro-strip,
.info-card,
.timeline-card,
.contact-form {
  border-radius: 1.4rem;
}

.hero-copy {
  padding: 3rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.95)),
    linear-gradient(135deg, rgba(52, 120, 246, 0.06), rgba(123, 97, 255, 0.06));
}

.hero h2 {
  font-size: clamp(2.8rem, 5vw, 4.45rem);
  line-height: 1.02;
  max-width: 11ch;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.info-card p,
.timeline-card p,
.form-note,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  margin: 1rem 0 0;
  max-width: 63ch;
  font-size: 1.08rem;
  line-height: 1.82;
}

.hero-actions,
.hero-points,
.form-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions { margin-top: 1.6rem; }
.hero-points { margin-top: 1rem; }
.hero-points span {
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  background: rgba(52, 120, 246, 0.08);
  border: 1px solid rgba(52, 120, 246, 0.08);
  color: #284a8d;
  font-size: 0.84rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(52, 120, 246, 0.22);
}

.button.ghost {
  background: rgba(255,255,255,0.78);
  border-color: var(--line-strong);
  color: var(--text);
}

.hero-panel {
  position: relative;
  padding: 1.2rem;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(160deg, #0e1f4f 0%, #2758bb 55%, #4baed8 100%);
  border-color: rgba(52, 120, 246, 0.2);
}

.panel-glow {
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.stat-card {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
}

.stat-label,
.stat-note {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.stat-value {
  margin: 0.45rem 0;
  font-size: 1.95rem;
  font-weight: 700;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.stat-grid article {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}

.stat-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.stat-grid span {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.intro-strip {
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(247,250,255,0.92));
}

.intro-strip p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-section {
  display: grid;
  gap: 1rem;
  padding: 0.25rem 0;
}

.section-heading {
  display: grid;
  gap: 0.45rem;
}

.section-heading h3 {
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  max-width: 17ch;
  letter-spacing: -0.03em;
}

.section-heading.narrow p { max-width: 64ch; }
.section-heading p {
  margin: 0;
  line-height: 1.8;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card,
.timeline-card,
.contact-form {
  padding: 1.25rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-card {
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}

.info-card h4,
.timeline-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.info-card p,
.timeline-card p {
  margin: 0;
  line-height: 1.75;
}

.compact-card { min-height: 100%; }

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-card span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-weight: 700;
  background: rgba(52, 120, 246, 0.1);
  color: #315fc6;
}

.contact-section { margin-bottom: 0.5rem; }

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.45rem;
}

label span {
  color: #294781;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(77, 110, 180, 0.14);
  border-radius: 1rem;
  padding: 0.95rem 1rem;
  background: #f9fbff;
  color: var(--text);
}

textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(52, 120, 246, 0.18);
  border-color: rgba(52, 120, 246, 0.28);
}

.full-width { grid-column: 1 / -1; }
.form-note,
.success-message {
  margin: 0;
  font-size: 0.92rem;
}

.success-message {
  color: var(--success);
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(11, 143, 115, 0.12);
  background: rgba(11, 143, 115, 0.08);
}

.hidden { display: none; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
  flex-wrap: wrap;
}

.site-footer p { margin: 0; }

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .three-up,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .page-shell { padding: 0.9rem; }
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav,
  .hero-actions,
  .hero-points,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero,
  .split-section,
  .three-up,
  .two-up,
  .timeline-grid,
  .form-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .info-card,
  .timeline-card,
  .contact-form,
  .hero-panel {
    padding: 1rem;
  }
}
