:root {
  color-scheme: dark;
  --ink: #080b10;
  --surface: #111720;
  --surface-soft: #17202a;
  --line: #33414d;
  --text: #f4f6f7;
  --muted: #aeb8c2;
  --accent: #62d5e8;
  --accent-strong: #8ae6f3;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(98, 213, 232, 0.12), transparent 35rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
}

a:hover {
  color: #c3f5fb;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.preview-bar {
  padding: 9px 20px;
  color: #eaf9fc;
  background: #0e4b5a;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 11, 16, 0.9);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.27em;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  content: "Y";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

main {
  min-height: 62vh;
}

.hero {
  padding: clamp(64px, 10vw, 116px) 0 56px;
}

.hero.narrow {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 7vw, 5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  max-width: 780px;
  margin: 0;
  color: #d1d8de;
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

.section {
  padding: 34px 0 70px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card,
.callout,
.prose {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(23, 32, 42, 0.96), rgba(13, 18, 25, 0.96));
}

.card {
  padding: 25px;
}

.card p,
.card li,
.prose p,
.prose li {
  color: var(--muted);
}

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

.number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
}

.callout {
  padding: clamp(25px, 5vw, 42px);
  border-color: rgba(98, 213, 232, 0.55);
}

.prose {
  max-width: 850px;
  padding: clamp(24px, 5vw, 48px);
}

.prose h2 {
  margin-top: 42px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose li + li {
  margin-top: 8px;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  color: #061014;
  background: var(--accent);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: #061014;
  background: #9cedf6;
}

.meta {
  color: #82909c;
  font-size: 0.9rem;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: #8996a1;
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .site-header .wrap,
  .site-footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header .wrap {
    padding-block: 20px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }
}
