:root {
  --paper: #ededeb;
  --paper-soft: #f7f7f5;
  --ink: #111111;
  --muted: #70706c;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.28);
  --accent-blue: #2b79a2;
  --accent-warm: #d86a2f;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

body::selection {
  background: var(--ink);
  color: var(--paper-soft);
}

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

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

.site-header {
  width: min(var(--max), calc(100% - 64px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.home-header {
  position: fixed;
  top: 0;
  left: 50%;
  min-height: 96px;
  transform: translate(-50%, calc(-118% * (1 - var(--header-reveal, 1))));
  opacity: var(--header-opacity, 1);
  background: rgba(237, 237, 235, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  transition:
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 360ms ease;
}

.home-header.is-hidden {
  pointer-events: none;
}

.home-header .brand,
.home-header .nav {
  transform: translateY(calc(-8px * (1 - var(--header-reveal, 1))));
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1), opacity 360ms ease;
}

.site-header.compact {
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: var(--ink);
  transform: rotate(45deg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  outline: none;
}

.hero {
  width: min(var(--max), calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  padding: 0 0 18px;
  position: relative;
  isolation: isolate;
}

.binary-field {
  position: absolute;
  inset: 12px 0 10vh;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(28, minmax(10px, 1fr));
  align-content: start;
  gap: 9px 14px;
  overflow: hidden;
  color: rgba(17, 17, 17, 0.08);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 76%, transparent);
  pointer-events: none;
}

.binary-field span {
  opacity: 0;
  animation: bit-rise 8s ease-in-out infinite;
  animation-delay: calc(var(--delay) * -1s);
  transform: translate3d(0, 18px, 0);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: var(--ink);
  font-size: 18px;
  min-width: 0;
}

.hero-meta p {
  margin: 0;
}

.hero-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  align-self: center;
  align-items: end;
  min-width: 0;
}

.hero-stage > * {
  min-width: 0;
}

.hero-visual {
  width: min(700px, 70vw);
  margin: -18px 0 -46px;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  animation: quiet-float 8s ease-in-out infinite;
  will-change: transform;
}

.hero-visual img {
  width: 100%;
  height: auto;
  filter: contrast(1.04);
  transform: translate3d(0, var(--parallax, 0px), 0);
  transition: transform 160ms linear;
}

.hero-copy {
  max-width: 760px;
  text-align: center;
  grid-row: 2;
  justify-self: center;
  min-width: 0;
  margin-top: -26px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 300;
  overflow-wrap: anywhere;
}

.hero h1 .char {
  display: inline-block;
  opacity: 0;
  animation: char-in 900ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: calc(180ms + var(--index) * 70ms);
  transform: translateY(0.34em) rotateX(22deg);
  transform-origin: 50% 70%;
}

.legal-name {
  width: auto;
  margin: 8px auto 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-description {
  max-width: 620px;
  margin: 8px auto 0;
  color: #333330;
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-links {
  width: min(520px, 100%);
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.hero-links a {
  border-bottom: 1px solid transparent;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.hero-links a:hover,
.hero-links a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  outline: none;
}

.statement {
  width: min(920px, calc(100% - 64px));
  margin: 0 auto;
  padding: 118px 0 126px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.statement p {
  margin: 0;
  font-size: 34px;
  line-height: 1.22;
  font-weight: 300;
}

.split-section,
.link-band {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 94px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 84px;
}

.split-section > *,
.link-band > * {
  min-width: 0;
}

.split-section h2,
.link-band h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 300;
}

.fact-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.fact-list.narrow {
  grid-template-columns: 1fr;
}

.fact-list div {
  min-height: 112px;
  padding: 24px 28px 24px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

.fact-list a,
.document a {
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 220ms ease, color 220ms ease;
  overflow-wrap: anywhere;
}

.fact-list a:hover,
.document a:hover,
.fact-list a:focus-visible,
.document a:focus-visible {
  border-color: var(--ink);
  color: #000;
  outline: none;
}

.text-column {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.55;
}

.minimal-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.minimal-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 260ms ease, color 260ms ease;
}

.minimal-list li:hover {
  padding-left: 14px;
  color: #000;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.link-grid a {
  min-height: 170px;
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
  transition: background 260ms ease, padding-left 260ms ease;
}

.link-grid a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 320ms ease;
}

.link-grid a + a {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.link-grid span {
  font-size: 22px;
  line-height: 1.2;
}

.link-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  padding-left: 18px;
  outline: none;
}

.link-grid a:hover::before,
.link-grid a:focus-visible::before {
  transform: scaleY(1);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes quiet-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(-0.35deg);
  }
}

@keyframes bit-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }

  26%,
  64% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -34px, 0);
  }
}

.site-footer {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 44px 0 64px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.document {
  width: min(840px, calc(100% - 64px));
  margin: 0 auto;
  padding: 106px 0 118px;
}

.document h1 {
  margin: 0 0 28px;
  font-size: 76px;
  line-height: 1;
  font-weight: 300;
}

.document-lede {
  margin: 0 0 88px;
  font-size: 25px;
  line-height: 1.42;
  color: var(--ink);
}

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

.document h2 {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
}

.document p {
  margin-bottom: 0;
  color: #333330;
}

.support-panel {
  background: var(--paper-soft);
  padding-left: 34px;
  padding-right: 34px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 86px;
    align-items: flex-start;
    padding-top: 24px;
    flex-direction: column;
  }

  .home-header {
    min-height: 86px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .hero {
    min-height: auto;
    grid-template-rows: auto auto;
    padding-top: 18px;
  }

  .hero-meta {
    font-size: 16px;
  }

  .hero-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 20px 0 18px;
  }

  .hero-copy {
    max-width: 620px;
    text-align: center;
    justify-self: center;
  }

  .hero-visual {
    width: min(560px, 90vw);
    margin: -12px auto -36px;
  }

  .binary-field {
    grid-template-columns: repeat(18, minmax(8px, 1fr));
    gap: 8px 10px;
    inset: 120px 0 16vh;
  }

  .hero h1 {
    font-size: 56px;
  }

  .legal-name {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-description {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .statement p {
    font-size: 28px;
  }

  .split-section,
  .link-band {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .link-grid a + a {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .statement,
  .split-section,
  .link-band,
  .site-footer,
  .document {
    width: min(100% - 36px, var(--max));
  }

  .hero-meta {
    display: grid;
    gap: 8px;
  }

  .hero-stage {
    padding: 18px 0 18px;
    gap: 0;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 410px;
    margin-top: -6px;
    margin-bottom: -28px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .legal-name {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-links {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 12px;
  }

  .statement {
    padding: 78px 0 86px;
  }

  .statement p {
    font-size: 23px;
  }

  .split-section,
  .link-band {
    padding: 70px 0;
  }

  .split-section h2,
  .link-band h2 {
    font-size: 31px;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .text-column {
    font-size: 18px;
  }

  .site-footer {
    display: grid;
  }

  .document {
    padding: 74px 0 92px;
  }

  .document h1 {
    font-size: 48px;
  }

  .document-lede {
    margin-bottom: 56px;
    font-size: 20px;
  }
}

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

  .binary-field {
    display: none;
  }

  .reveal,
  .hero h1 .char {
    opacity: 1;
    transform: none;
  }
}
