:root {
  color-scheme: light;
  --bg: #f7f8f2;
  --ink: #0b0c0f;
  --muted: #5b625b;
  --panel: #ffffff;
  --line: #daddcf;
  --acid: #dfff45;
  --mint: #6fffd2;
  --cyan: #50d9ff;
  --black: #050607;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(11, 12, 15, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(11, 12, 15, 0.055) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.mark,
nav {
  display: flex;
  align-items: center;
}

.mark {
  gap: 10px;
  font-weight: 950;
}

.mark-box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border: 2px solid var(--black);
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--black);
  font-size: 13px;
}

nav {
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 5px;
}

nav a {
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 820;
}

nav a:hover {
  background: var(--black);
  color: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 82px);
  padding: 50px 0 38px;
}

.hero-copy,
.ship-board,
.app-card,
.principles {
  border: 2px solid var(--black);
  background: var(--panel);
  box-shadow: 8px 8px 0 var(--black);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--black);
}

.eyebrow {
  margin: 0 0 16px;
  color: #22251f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8.3vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
  font-weight: 680;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 2px solid var(--black);
  background: var(--black);
  color: #fff;
  padding: 0 16px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--acid);
}

.button.ghost {
  background: #fff;
  color: var(--black);
  box-shadow: 4px 4px 0 var(--mint);
}

.ship-board {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #101214;
  background-size: 24px 24px;
  color: #f9fafb;
}

.board-top,
.release-list a,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-top p,
.board-top span {
  margin: 0;
  font-weight: 920;
}

.board-top span,
.status {
  border: 1px solid currentColor;
  padding: 6px 8px;
  color: var(--acid);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

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

.metric-grid div {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.95;
}

.metric-grid span {
  color: #b5bec2;
  font-size: 13px;
  font-weight: 760;
}

.release-list {
  display: grid;
  gap: 10px;
}

.release-list a {
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.release-list a:hover {
  border-color: var(--acid);
}

.release-list img {
  border-radius: 9px;
}

.release-list span {
  flex: 1;
  font-weight: 900;
}

.release-list em {
  color: #bac4c8;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 2px solid var(--black);
  background: var(--acid);
  box-shadow: 8px 8px 0 var(--black);
}

.ticker span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-right: 2px solid var(--black);
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.ticker span:last-child {
  border-right: 0;
}

.apps-section,
.principles {
  margin-top: 70px;
}

.section-heading {
  align-items: end;
  margin-bottom: 20px;
}

.section-heading h2,
.principles h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

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

.app-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 18px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.app-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 var(--black);
}

.app-card.feature {
  grid-column: span 2;
  background:
    radial-gradient(circle at 88% 16%, var(--cyan), transparent 24%),
    radial-gradient(circle at 30% 96%, var(--acid), transparent 28%),
    var(--panel);
}

.app-card img {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.app-card h3 {
  margin: 13px 0 8px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
}

.app-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.status {
  display: inline-flex;
  color: var(--black);
  background: var(--mint);
}

.principles {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
}

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

.principle-grid article {
  border: 1px solid var(--line);
  background: #f8f9f4;
  padding: 18px;
}

.principle-grid span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.principle-grid h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 640;
}

.site-footer {
  padding: 34px 0 46px;
  color: var(--muted);
  font-weight: 720;
}

.site-footer a {
  color: var(--black);
  font-weight: 920;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero,
  .principles {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .site-header,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  nav a {
    text-align: center;
  }

  h1 {
    font-size: clamp(48px, 16vw, 74px);
  }

  .hero-copy {
    padding: 24px;
  }

  .metric-grid,
  .ticker,
  .app-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .ticker span {
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .ticker span:last-child {
    border-bottom: 0;
  }

  .app-card.feature {
    grid-column: span 1;
  }
}
