:root {
  color-scheme: dark;
  --bg: #050806;
  --surface: #0b120e;
  --surface-2: #101a15;
  --ink: #f2f7f3;
  --muted: #b8c7bf;
  --dim: #74867c;
  --line: #24362d;
  --line-strong: #385949;
  --accent: #77f0bf;
  --accent-2: #8cd7ff;
  --warn: #e5bd6b;
  --content: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(119, 240, 191, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 240, 191, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 6, 0.2), #050806 70%);
  content: "";
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(119, 240, 191, 0.46);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(36, 54, 45, 0.88);
  background: rgba(5, 8, 6, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--content));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

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

.hero,
.section,
.footer-inner,
.legal-page {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-bottom: 1px solid var(--line);
  padding: 92px 0 54px;
}

.context-field {
  position: absolute;
  inset: 42px 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
  opacity: 0.34;
}

.context-field span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--dim);
  font-size: 0.74rem;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  padding-top: 118px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.45;
}

.hero-actions,
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 12px 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #03100b;
}

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(16, 26, 21, 0.78);
  color: var(--ink);
}

.signal-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.signal-strip div {
  min-height: 160px;
  padding: 22px;
  background: rgba(11, 18, 14, 0.92);
}

.signal-strip span,
.flow-step span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.signal-strip strong,
.flow-step h3,
.boundary-grid h3 {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.signal-strip p,
.flow-step p,
.boundary-grid p,
.section-heading p,
.data-copy p,
.status-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.thesis {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.15rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.section-lede {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
}

.section-heading,
.data-section,
.privacy-section,
.status-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: start;
}

.section-heading p,
.data-copy p,
.status-copy p {
  font-size: 1.04rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.flow-step,
.boundary-grid article {
  min-height: 244px;
  padding: 24px;
  background: rgba(11, 18, 14, 0.95);
}

.data-ledger,
.privacy-rules {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-ledger div,
.privacy-rules div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  background: rgba(11, 18, 14, 0.88);
}

.data-ledger div:last-child,
.privacy-rules div:last-child {
  border-bottom: 0;
}

.data-ledger span,
.privacy-rules strong {
  color: var(--accent);
  font-weight: 800;
}

.data-ledger strong,
.privacy-rules span {
  color: var(--muted);
  font-weight: 500;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.status-section {
  align-items: center;
}

.site-footer {
  background: #050806;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 18px;
  color: var(--dim);
  font-size: 0.9rem;
}

.legal-page {
  max-width: 900px;
  padding: 70px 0 98px;
}

.legal-page h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 500;
  line-height: 0.98;
}

.legal-page .updated,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page h2 {
  margin-top: 48px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.legal-page ul {
  padding-left: 22px;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 32px 0 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.policy-summary div {
  min-height: 106px;
  padding: 18px;
  background: rgba(11, 18, 14, 0.95);
}

.policy-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.policy-summary span {
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav-links {
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .context-field {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .hero-inner {
    padding-top: 142px;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3.1rem;
  }

  .signal-strip,
  .section-heading,
  .data-section,
  .privacy-section,
  .status-section,
  .flow-grid,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div,
  .flow-step,
  .boundary-grid article {
    min-height: auto;
  }
}

@media (max-width: 580px) {
  .nav,
  .hero,
  .section,
  .footer-inner,
  .legal-page {
    width: min(100% - 28px, var(--content));
  }

  .nav {
    min-height: 66px;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) {
    display: none;
  }

  .context-field {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    inset: 30px 0 auto;
  }

  .context-field span {
    padding: 8px;
    font-size: 0.68rem;
  }

  .hero-inner {
    padding-top: 166px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions,
  .status-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .signal-strip {
    margin-top: 46px;
  }

  .section {
    padding: 68px 0;
  }

  .data-ledger div,
  .privacy-rules div,
  .policy-summary {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .legal-page h1 {
    font-size: 3rem;
  }
}

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