:root {
  --bg: #0b100e;
  --surface: #111815;
  --surface-soft: #151f1a;
  --text: #edf5ef;
  --muted: #aeb9b1;
  --faint: #758178;
  --line: rgba(237, 245, 239, 0.13);
  --accent: #78c996;
  --accent-soft: rgba(120, 201, 150, 0.12);
  --max: 1040px;
  --mono: "Courier Prime", "Courier New", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background: var(--bg);
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.actions,
.text-links,
.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  gap: 0.65rem;
  font-family: var(--mono);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.site-nav {
  gap: 1rem;
}

.site-nav a,
.site-footer a,
.text-links a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.84rem;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.label,
h1,
h2,
h3,
.button,
.release-card,
.site-footer {
  font-family: var(--mono);
}

.label {
  margin: 0 0 0.7rem;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 0.75rem;
  max-width: 22ch;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.18;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  line-height: 1.35;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.summary {
  max-width: 48ch;
  font-size: 1.08rem;
}

.actions {
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 0.95rem;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
}

.button.primary {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  background: var(--accent-soft);
}

.release-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.release-card div {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.release-card div:last-child {
  border-right: 0;
}

.release-card dt,
.release-card dd {
  margin: 0;
}

.release-card dt {
  color: var(--faint);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.release-card dd {
  margin-top: 0.3rem;
  color: var(--text);
  font-size: 0.94rem;
}

.screenshot {
  margin: 2.5rem 0 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.statement,
.content-list,
.split-section,
.trust-note {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.statement p {
  max-width: 64ch;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.58;
}

.content-list {
  display: block;
}

.content-list article {
  max-width: 760px;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.content-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.content-list article:last-child {
  padding-bottom: 0;
}

.content-list .label {
  margin-top: 0;
}

.content-list p {
  margin-bottom: 0;
}

.split-section {
  display: block;
  max-width: 760px;
}

.split-section ul {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.split-section li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.1rem;
}

.split-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.34rem;
  height: 0.34rem;
  background: color-mix(in srgb, var(--accent) 70%, var(--muted));
}

.trust-note {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.trust-note p {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--muted);
}

.open-source p {
  max-width: 64ch;
}

.text-links {
  gap: 0.9rem;
  margin-top: 1rem;
}

.text-links a {
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
}

.site-footer {
  color: var(--faint);
  font-size: 0.84rem;
}

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

  .hero,
  .release-card,
  .content-list article {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.5rem;
    padding-top: 3rem;
  }

  .release-card div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .release-card div:last-child {
    border-bottom: 0;
  }

  .content-list article {
    gap: 0.35rem;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 1rem), var(--max));
  }

  .site-nav {
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .button {
    width: 100%;
  }
}
