:root {
  --bg: #eef4fb;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #f7fbff;
  --text: #102235;
  --muted: #465d74;
  --brand: #0f6fb3;
  --brand-soft: #83c6ef;
  --border: rgba(16, 34, 53, 0.14);
  --shadow: 0 20px 45px rgba(12, 38, 63, 0.12);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 16% 12%, #def1ff, transparent 46%),
    radial-gradient(circle at 90% 0%, #d7e8ff, transparent 42%), var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.38;
  z-index: -1;
}

.orb-a {
  background: #91d3ff;
  top: -120px;
  right: -80px;
}

.orb-b {
  background: #b4e3ff;
  bottom: -150px;
  left: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 2vw, 2rem);
  backdrop-filter: blur(6px);
  background: rgba(238, 244, 251, 0.9);
  border-bottom: 1px solid rgba(16, 34, 53, 0.09);
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.is-active {
  color: var(--brand);
}

main {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 5rem;
}

section {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.hero h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 8vw, 4.5rem);
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.subtitle {
  margin: 0 0 1.4rem;
  font-size: clamp(1.04rem, 2.3vw, 1.35rem);
  color: var(--muted);
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.66rem 1rem;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 9px 24px rgba(15, 111, 179, 0.34);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--border);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3.3vw, 1.8rem);
}

.highlight {
  border-color: rgba(15, 111, 179, 0.42);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(220, 241, 255, 0.88));
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

p {
  margin: 0 0 0.75rem;
}

a {
  color: var(--brand);
}

.inline-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

footer {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-sep {
  color: var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  nav {
    gap: 0.55rem;
  }

  nav a {
    font-size: 0.85rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1a26;
    --surface: rgba(20, 36, 52, 0.82);
    --surface-strong: #111f2e;
    --text: #e0eaf4;
    --muted: #8fa8bf;
    --brand: #4db0e8;
    --brand-soft: #265e80;
    --border: rgba(200, 220, 240, 0.12);
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  }

  body {
    background: radial-gradient(circle at 16% 12%, #0f2a3d, transparent 46%),
      radial-gradient(circle at 90% 0%, #112636, transparent 42%), var(--bg);
  }

  .bg-orb.orb-a {
    background: #144a6a;
  }

  .bg-orb.orb-b {
    background: #0e3652;
  }

  .site-header {
    background: rgba(14, 26, 38, 0.9);
    border-bottom-color: rgba(200, 220, 240, 0.08);
  }

  .eyebrow {
    background: rgba(20, 36, 52, 0.72);
  }

  .btn-primary {
    background: var(--brand);
    color: #0e1a26;
  }

  .btn-primary:hover {
    box-shadow: 0 9px 24px rgba(77, 176, 232, 0.25);
  }

  .btn-ghost {
    color: var(--text);
    background: rgba(20, 36, 52, 0.75);
  }

  .highlight {
    border-color: rgba(77, 176, 232, 0.3);
    background: linear-gradient(145deg, rgba(20, 36, 52, 0.9), rgba(15, 42, 61, 0.88));
  }
}
