@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Fraunces', ui-serif, Georgia, 'Times New Roman', Times, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;

  --sky: #a7c7e7;
  --navy: #0b132b;
  --charcoal: #1f2430;
  --paper: #f6f7fb;
  --wine: #912f40;
  --warm: #e7e7a7;

  --bg: var(--paper);
  --surface-1: #ffffff;
  --surface-2: #eef2f7;
  --border: #d8dee9;
  --shadow: rgba(11, 19, 43, 0.1);

  --text-1: var(--charcoal);
  --text-2: rgba(31, 36, 48, 0.72);
  --text-3: rgba(31, 36, 48, 0.55);
  --link: var(--navy);
  --link-hover: var(--wine);

  --btn-primary-bg: var(--navy);
  --btn-primary-hover: #0f1a3d;
  --btn-primary-text: var(--paper);

  --btn-secondary-bg: var(--sky);
  --btn-secondary-hover: #93b9e0;
  --btn-secondary-text: var(--navy);

  --btn-ghost-text: var(--navy);
  --btn-ghost-hover: rgba(167, 199, 231, 0.24);

  --focus-ring: rgba(11, 19, 43, 0.2);
  --info-soft: rgba(167, 199, 231, 0.35);

  --surface: var(--surface-1);
  --surface-alt: var(--surface-2);
  --accent: var(--sky);
  --accent-strong: var(--navy);
  --border-subtle: var(--border);
  --border-soft: rgba(11, 19, 43, 0.2);
  --fg: var(--text-1);
  --muted: var(--text-2);
  --ink: var(--text-1);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1135px;
  --shadow-soft: 0 14px 40px var(--shadow);
  --shadow-medium: 0 22px 62px var(--shadow);

  --z-scrim: 9000;
  --z-header: 10000;
  --z-drawer: 11000;
  --header-height: 84px;
  --header-expanded-height: 108px;
  --header-offset: var(--header-expanded-height);
  --brand-max-height: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

:root[data-theme="dark"] {
  --bg: var(--navy);
  --surface-1: #121b33;
  --surface-2: #1a2440;
  --border: rgba(246, 247, 251, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);

  --text-1: var(--paper);
  --text-2: rgba(246, 247, 251, 0.78);
  --text-3: rgba(246, 247, 251, 0.58);
  --link: var(--sky);
  --link-hover: var(--warm);

  --btn-primary-bg: var(--sky);
  --btn-primary-hover: #93b9e0;
  --btn-primary-text: var(--navy);

  --btn-secondary-bg: #1a2440;
  --btn-secondary-hover: #243055;
  --btn-secondary-text: var(--paper);

  --btn-ghost-text: var(--sky);
  --btn-ghost-hover: rgba(167, 199, 231, 0.14);

  --focus-ring: rgba(167, 199, 231, 0.45);
  --info-soft: rgba(167, 199, 231, 0.16);

  --surface: var(--surface-1);
  --surface-alt: var(--surface-2);
  --accent: var(--sky);
  --accent-strong: var(--sky);
  --border-subtle: var(--border);
  --border-soft: rgba(246, 247, 251, 0.2);
  --fg: var(--text-1);
  --muted: var(--text-2);
  --ink: var(--text-1);
}

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

html,
body {
  height: 100%;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(167, 199, 231, 0.22), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(231, 231, 167, 0.17), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-offset, var(--header-expanded-height));
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  border-bottom-color: currentcolor;
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 .6em;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  color: var(--text-1);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
}

p {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  font-size: clamp(1rem, 2.1vw, 1.05rem);
  margin: .32rem 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: .9rem;
}

.mono {
  font-family: var(--font-mono);
}

.upper {
  text-transform: uppercase;
  letter-spacing: .18em;
}

.center {
  text-align: center;
}

.container {
  width: min(var(--maxw), 92%);
  margin-inline: auto;
}

.pad {
  padding: clamp(2.7rem, 6vw, 4.2rem) 0;
}

@media (min-width: 1024px) {
  .container {
    width: min(var(--maxw), 94%);
  }

  .pad {
    padding: clamp(2.15rem, 4.8vw, 3.45rem) 0;
  }
}

.page-heading {
  margin-bottom: clamp(1.65rem, 4vw, 2.6rem);
}

.page-heading.center {
  text-align: center;
}

.section-title {
  margin-bottom: .35rem;
}

.section-sub {
  margin: 0;
  color: var(--text-2);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
  color: var(--text-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .36rem .78rem;
  border-radius: 999px;
  background: var(--info-soft);
  border: 1px solid var(--border-subtle);
  color: var(--text-1);
  font-size: .92rem;
}

.list {
  margin: 0;
  padding-left: 1.2rem;
}

.kicker {
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  font-size: .8rem;
}

.quote-line {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  color: var(--text-1);
}
