:root {
  color-scheme: dark;
  --background: #070a0c;
  --surface: #0e1418;
  --surface-raised: #131b20;
  --line: rgba(224, 246, 244, 0.14);
  --text: #eff8f7;
  --muted: #9cacaf;
  --aqua: #68edd8;
  --blue: #76a8ff;
  --sun: #ffca75;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% -10%, rgba(118, 168, 255, 0.14), transparent 31rem),
    radial-gradient(circle at 13% 18%, rgba(104, 237, 216, 0.08), transparent 26rem),
    var(--background);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 4px;
}

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

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

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

.brand img {
  width: 28px;
  height: 28px;
}

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

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--aqua);
}

.hero {
  display: grid;
  min-height: 400px;
  align-content: center;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--aqua);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 0;
  color: transparent;
  background: linear-gradient(105deg, #ffffff 8%, #a8f7ec 47%, #8eb5ff 98%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(56px, 10vw, 132px);
  font-weight: 740;
  line-height: 0.93;
}

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

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.article h1 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 700;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1.65fr) 36px;
  gap: 28px;
  align-items: center;
  min-height: 126px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 160ms ease;
}

.project:hover {
  border-color: rgba(104, 237, 216, 0.42);
}

.project-name {
  color: var(--text);
  font-size: 24px;
  font-weight: 680;
  transition: color 160ms ease;
}

.project-copy {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

.project-arrow {
  color: var(--aqua);
  font-size: 26px;
  text-align: right;
  transition: color 160ms ease, transform 160ms ease;
}

.project:hover .project-name,
.project:hover .project-arrow {
  color: #9bf6e8;
}

.project:hover .project-arrow {
  transform: translateX(5px);
}

.article {
  width: min(760px, 100%);
  padding: 86px 0 100px;
}

.article .eyebrow {
  margin-bottom: 16px;
}

.article h1 {
  margin-bottom: 30px;
}

.article h2 {
  margin: 46px 0 14px;
  font-size: 24px;
}

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

.article ul {
  padding-left: 20px;
}

.article a {
  color: var(--aqua);
  text-underline-offset: 3px;
}

.article .updated {
  color: #738185;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  border-top: 1px solid var(--line);
}

.copyright {
  margin: 0;
  color: #758286;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 36px, 1120px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 350px;
    padding: 56px 0 44px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 84px);
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project {
    grid-template-columns: 1fr 28px;
    gap: 10px 18px;
    min-height: 0;
    padding: 24px 0;
  }

  .project-copy {
    grid-column: 1 / 2;
    font-size: 15px;
  }

  .project-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .article {
    padding: 60px 0 72px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
