:root {
  color-scheme: light dark;
  --ink: #171719;
  --muted: #626269;
  --line: rgba(23, 23, 25, 0.12);
  --paper: #f7f7f5;
  --surface: rgba(255, 255, 255, 0.72);
  --blue: #3478f6;
  --shadow: 0 24px 70px rgba(23, 23, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 3%, rgba(52, 120, 246, 0.12), transparent 34rem), var(--paper);
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid rgba(52, 120, 246, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.mark {
  width: 28px;
  height: 28px;
  border: 3px solid var(--ink);
  border-left-color: transparent;
  border-bottom-color: var(--blue);
  border-radius: 50%;
  transform: rotate(-38deg);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

main {
  padding: 80px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lede {
  max-width: 630px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 3vw, 1.28rem);
  line-height: 1.55;
}

.card {
  margin-top: 48px;
  padding: clamp(24px, 6vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card h2,
.section h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.card p,
.section p,
.section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.card p:last-child,
.section p:last-child {
  margin-bottom: 0;
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 680;
  text-decoration: none;
}

.section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f4;
    --muted: #aaaab2;
    --line: rgba(242, 242, 244, 0.14);
    --paper: #101012;
    --surface: rgba(33, 33, 37, 0.72);
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 760px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-links {
    gap: 14px;
  }

  main {
    padding-top: 58px;
  }

  footer {
    flex-direction: column;
  }
}
