@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6a6a6a;
  --muted-soft: #7a7a7a;
  --line: rgba(10, 10, 10, 0.1);
  --line-strong: rgba(10, 10, 10, 0.16);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.08);
  --panel: #f8fbff;
  --panel-dark: #081018;
  --panel-dark-line: rgba(255, 255, 255, 0.08);
  --panel-dark-text: rgba(255, 255, 255, 0.86);
  --panel-dark-muted: rgba(255, 255, 255, 0.56);
  --max-width: 1120px;
  --display-size: 4.15rem;
  --display-size-wide: 4.15rem;
  --display-line-height: 1.02;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #ffffff;
    --muted: #d7d7d7;
    --muted-soft: #c2c2c2;
    --line: rgba(255, 255, 255, 0.18);
    --line-strong: rgba(255, 255, 255, 0.32);
    --accent: #0b84fe;
    --accent-soft: rgba(11, 132, 254, 0.12);
    --panel: #000000;
    --panel-dark: #000000;
    --panel-dark-line: rgba(255, 255, 255, 0.12);
    --panel-dark-text: rgba(255, 255, 255, 0.92);
    --panel-dark-muted: rgba(255, 255, 255, 0.62);
  }

  .brand-image:not(.site-brand-mark) {
    filter: invert(1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.home-page {
  overflow-y: hidden;
}

body.not-found-page {
  overflow-y: hidden;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 2rem), 1440px);
  margin: 0 auto;
}

.site-shell {
  position: relative;
  padding: 0.9rem 0 2rem;
  z-index: 1;
}

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

.site-header {
  padding: 0.4rem 0 1.6rem;
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand {
  transform: translateY(1px);
}

.brand-image {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.brand-mark {
  overflow: visible;
}

.site-brand-mark .brand-mark-body {
  fill: var(--text);
}

.brand-mark-body {
  fill: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.site-footer a {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-main {
  max-width: none;
  min-height: calc(100dvh - 108px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-main {
  max-width: none;
  min-height: calc(100dvh - 108px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-main:not(.home-main) {
  padding-top: 1.25rem;
}

.hero {
  padding: 3.4rem 0 0;
  text-align: center;
}

.home-hero {
  width: min(100%, 1320px);
  padding: 1.2rem 0 0;
}

.not-found-hero {
  width: min(100%, 1320px);
  padding: 0;
  text-align: center;
}

.not-found-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36em;
  flex-wrap: nowrap;
  font-size: clamp(2rem, 4vw, 2.95rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-top: 0;
  white-space: nowrap;
}

.not-found-title .wordmark-mark-wrap {
  transform: translateY(-0.015em);
}

.not-found-code {
  letter-spacing: -0.06em;
}

.not-found-intro {
  margin: 1.15rem auto 0;
  max-width: 38ch;
}

.compact-hero {
  padding-top: 0.2rem;
}

.wordmark,
.career-title,
.page-title {
  margin: 0;
  font-size: var(--display-size);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: var(--display-line-height);
}

.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  font-size: var(--display-size-wide);
}

.wordmark-mark-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78em;
  height: 0.78em;
  flex: 0 0 auto;
}

.animated-reference-geometry {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 1;
  z-index: 1;
}

.geometry-dot {
  fill: var(--accent);
}

.source-geometry {
  opacity: 0;
  pointer-events: none;
}

.live-geometry-dot {
  transform-box: fill-box;
  transform-origin: center;
}

.live-trail {
  fill: none;
  stroke: var(--accent);
  stroke-opacity: 0.12;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-title {
  font-size: var(--display-size);
  letter-spacing: -0.05em;
  line-height: var(--display-line-height);
  max-width: none;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.company-manifesto-inline {
  color: var(--accent);
}

.intro,
.content-block p,
.contact-block p,
.section-text,
.subintro,
.artifact-card p {
  margin: 1.9rem auto 0;
  max-width: 66ch;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--muted-soft);
}

.subintro {
  margin-top: 1rem;
  font-size: 0.98rem;
  max-width: 52ch;
}

.home-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 2rem;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
}

.home-link:hover {
  border-color: var(--line-strong);
  color: var(--accent);
}

.home-hero .home-link {
  align-self: center;
}

.home-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
}

.home-links a:hover {
  border-color: var(--line-strong);
  color: var(--accent);
}

.divider {
  width: 100%;
  height: 1px;
  margin: 2.4rem 0 2.4rem;
  background: var(--line);
}

.content-blocks {
  display: grid;
  gap: 2.8rem;
}

.content-block h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.content-block p {
  margin-top: 0.8rem;
  max-width: none;
}

.signal-strip {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.6rem 0 0;
}

.signal-strip p {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-section {
  display: grid;
  gap: 2rem;
  margin-top: 3.25rem;
}

.page-hero {
  text-align: left;
  max-width: none;
  display: block;
}

.page-hero .intro {
  margin: 1.6rem 0 0;
  max-width: 78ch;
}

.company-hero-intro,
.company-thesis-title {
  max-width: none;
}

.page-contact-address {
  margin-top: 2.4rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-text {
  margin: 1rem 0 0;
  max-width: 66ch;
}

.section-text.company-thesis-text {
  max-width: none;
}

.page-hero .intro.company-hero-intro {
  max-width: none;
}

.run-surface {
  display: grid;
  gap: 1rem;
}

.run-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-dark);
}

.run-window-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.95rem 1rem 0;
}

.run-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.run-log {
  margin: 0;
  padding: 1rem 1rem 1.2rem;
  overflow-x: auto;
  color: var(--panel-dark-text);
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.75;
}

.run-artifacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.artifact-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.artifact-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.artifact-card p {
  margin-top: 0.7rem;
  max-width: none;
  font-size: 0.98rem;
}

.quote-block {
  margin-top: 2.6rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.quote-block p {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--text);
}

.contact-block {
  padding-top: 2.8rem;
}

.page-contact {
  padding-top: 0;
}

.contact-block p {
  margin: 0;
}

.contact-block a {
  display: inline-block;
  margin-top: 0.95rem;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
}

.site-footer {
  margin-top: 3.2rem;
  padding: 1rem 0 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 1rem), 1120px);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    justify-content: flex-end;
    padding-bottom: 1.1rem;
  }

  .site-nav {
    justify-content: flex-end;
    gap: 0.85rem;
  }

  .site-main {
    max-width: 100%;
  }

  .site-main:not(.home-main) {
    padding-top: 0.9rem;
  }

  .page-hero {
    display: block;
  }

  .page-hero .intro {
    margin-top: 1.9rem;
    max-width: 78ch;
  }

  .hero {
    padding-top: 1.7rem;
  }

  .compact-hero {
    padding-top: 0.25rem;
  }

  .wordmark {
    gap: 0.5rem;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .intro,
  .content-block p,
  .contact-block p,
  .section-text,
  .subintro,
  .artifact-card p {
    font-size: 1rem;
  }

  .run-artifacts {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    justify-content: flex-start;
  }

  .home-main {
    min-height: calc(100dvh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .not-found-main {
    min-height: calc(100dvh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-hero {
    width: 100%;
    padding-top: 0;
  }

  .not-found-hero {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  :root {
    --display-size: 3.85rem;
    --display-size-wide: 3.85rem;
  }

  .page-title {
    letter-spacing: -0.05em;
  }
}

@media (max-width: 1024px) {
  :root {
    --display-size: 3.35rem;
    --display-size-wide: 3.35rem;
    --display-line-height: 1.03;
  }

  .page-title {
    letter-spacing: -0.05em;
  }

  .page-hero .intro {
    max-width: 70ch;
  }
}

@media (max-width: 720px) {
  :root {
    --display-size: 2.75rem;
    --display-size-wide: 2.75rem;
    --display-line-height: 1.04;
  }

  .not-found-title {
    flex-wrap: wrap;
    white-space: normal;
  }
}
