:root {
  color-scheme: dark;
  --ink: #050706;
  --panel: #0a0d0c;
  --panel-soft: #101513;
  --line: rgba(255, 255, 255, 0.12);
  --muted: #9aa6a1;
  --paper: #f4f7f5;
  --signal: #62f6b5;
  --signal-deep: #18c77c;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 4%, rgba(98, 246, 181, 0.095), transparent 24rem),
    var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  padding: .7rem 1rem;
  font-weight: 700;
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-shell { width: min(100% - 2rem, 86rem); margin-inline: auto; }

.hairline { border-color: var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--signal);
}

.eyebrow::before {
  width: 1.35rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.display {
  font-size: clamp(3rem, 8.6vw, 8.75rem);
  font-weight: 520;
  letter-spacing: -.072em;
  line-height: .88;
  text-wrap: balance;
}

.page-display {
  font-size: clamp(3rem, 7vw, 7.2rem);
  font-weight: 520;
  letter-spacing: -.068em;
  line-height: .91;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2.15rem, 4.7vw, 4.85rem);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .97;
  text-wrap: balance;
}

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

.signal { color: var(--signal); }

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .78rem 1.15rem .78rem 1.35rem;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.button-primary { background: var(--signal); color: var(--ink); }
.button-primary:hover { transform: translateY(-2px); background: #8affca; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.025); color: var(--paper); }
.button-secondary:hover { transform: translateY(-2px); border-color: rgba(98,246,181,.55); }

.button-arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(5,7,6,.12);
  font-size: 1rem;
}

.brand-mark {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  overflow: hidden;
  background: url("../assets/logo-mark.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  filter: drop-shadow(0 0 .7rem rgba(98, 246, 181, .08));
}

.nav-link {
  position: relative;
  color: #b8c1bd;
  font-size: .84rem;
  transition: color .2s ease;
}

.nav-link::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 1px;
  content: "";
  background: var(--signal);
  transition: right .2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] { color: white; }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { right: 0; }

.mobile-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(5,7,6,.97);
}

.mobile-panel[data-open="true"] { display: block; }

.glass-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

.metric-number {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: 1;
}

.service-card {
  position: relative;
  min-height: 29rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--panel);
  transition: border-color .25s ease, transform .25s ease;
}

.service-card::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(98,246,181,.2);
  border-radius: 999px;
  content: "";
  box-shadow: 0 0 0 2rem rgba(98,246,181,.018), 0 0 0 4rem rgba(98,246,181,.012);
}

.service-card:hover { transform: translateY(-4px); border-color: rgba(98,246,181,.45); }

.number-badge {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--signal);
  font: 700 .7rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.stack-cell {
  min-height: 9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}

.stack-cell:hover { background: rgba(98,246,181,.045); }

.stack-cell:nth-child(4n) { border-right: 0; }

.process-line { position: relative; }
.process-line::before {
  position: absolute;
  left: 1.18rem;
  top: 2.4rem;
  bottom: -2.25rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--signal), rgba(98,246,181,.08));
}
.process-line:last-child::before { display: none; }

.status-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 .4rem rgba(98,246,181,.09), 0 0 1.3rem rgba(98,246,181,.42);
}

.legal-copy h2 {
  margin-top: 3.3rem;
  color: white;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 580;
  letter-spacing: -.03em;
  line-height: 1.12;
}

.legal-copy h3 {
  margin-top: 2rem;
  color: white;
  font-size: 1.05rem;
  font-weight: 650;
}

.legal-copy p,
.legal-copy li {
  color: #b3bdb8;
  font-size: 1rem;
  line-height: 1.85;
}

.legal-copy p { margin-top: 1rem; }
.legal-copy ul { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; }
.legal-copy li + li { margin-top: .55rem; }

.legal-copy a {
  color: var(--signal);
  text-decoration: underline;
  text-decoration-color: rgba(98,246,181,.38);
  text-underline-offset: .25rem;
}

.legal-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 1rem; text-align: left; vertical-align: top; }
.legal-table th { color: white; background: rgba(255,255,255,.035); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-table td { color: #b3bdb8; font-size: .93rem; line-height: 1.65; }

.toc-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-block: .9rem;
  color: #b5bfba;
  font-size: .87rem;
  transition: color .2s ease;
}
.toc-link:hover { color: var(--signal); }

.field-label {
  display: block;
  margin-bottom: .6rem;
  color: #c9d0cd;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: #0b0f0d;
  color: white;
  padding: .95rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field::placeholder { color: #68716d; }
.field:focus { border-color: rgba(98,246,181,.7); outline: 0; box-shadow: 0 0 0 3px rgba(98,246,181,.08); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1023px) {
  .stack-cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .stack-cell:nth-child(2n) { border-right: 0; }
}

@media (max-width: 639px) {
  .site-shell { width: min(100% - 1.25rem, 86rem); }
  .display, .page-display { letter-spacing: -.06em; }
  .stack-cell { min-height: 7.5rem; border-right: 0 !important; }
  .legal-table, .legal-table thead, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table tr { border: 1px solid var(--line); margin-top: 1rem; }
  .legal-table td { border: 0; border-bottom: 1px solid var(--line); }
  .legal-table td::before { display: block; margin-bottom: .35rem; color: white; content: attr(data-label); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
}
