:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #fafafa;
  --surface-muted: #f5f5f5;
  --text: #111111;
  --text-muted: #666666;
  --border: #e5e5e5;
  --accent: #f36b21;
  --button-bg: #111111;
  --button-text: #ffffff;
  --button-border: #111111;
  --button-bg-hover: #2b2b2b;
  --shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
  --maxw: 1120px;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #0b0b0c;
    --surface: #111113;
    --surface-muted: #17181b;
    --text: #f5f5f5;
    --text-muted: #a1a1aa;
    --border: #24262b;
    --accent: #f36b21;
    --button-bg: #1e1f22;
    --button-text: #f5f5f5;
    --button-border: #2c2d31;
    --button-bg-hover: #2a2c30;
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  }
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-color: var(--text-muted);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

main {
  padding-bottom: 4rem;
}

.container {
  width: min(var(--maxw), calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 650;
}

.brand-copy span {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.hero,
.section {
  padding-top: 3.5rem;
}

.intro {
  padding-top: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7.1vw, 5.2rem);
  font-weight: 620;
}

h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 620;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.06rem;
  font-weight: 600;
}

.lede,
.section-head p,
.feature-copy p,
.roadmap-copy,
.shot-caption p,
.site-footer p {
  color: var(--text-muted);
}

.lede {
  max-width: 66ch;
  margin-bottom: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button-primary {
  background: var(--button-bg);
  border-color: var(--button-border);
  color: var(--button-text);
}

.button-primary:hover {
  background: var(--button-bg-hover);
  text-decoration: none;
}

.button-secondary {
  border-color: var(--border);
  background: var(--background);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface);
  text-decoration: none;
}

.hero-shot,
.feature-shot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-shot img {
  width: 100%;
  height: auto;
}

.hero-shot figcaption,
.feature-shot figcaption {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-head p {
  max-width: 62ch;
  margin-bottom: 0;
}

.core-grid,
.shot-grid,
.roadmap-grid {
  display: grid;
  gap: 1rem;
}

.core-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.core-item {
  padding: 1.05rem 0 1.15rem;
  border-bottom: 1px solid var(--border);
}

.core-item:nth-child(odd) {
  padding-right: 1rem;
}

.core-item:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.meta {
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.feature-layout.reverse .feature-copy {
  order: 2;
}

.feature-layout.reverse .feature-shot {
  order: 1;
}

.feature-copy h2 {
  margin-bottom: 0.8rem;
}

.feature-copy p {
  max-width: 64ch;
  margin-bottom: 0.75rem;
}

.shot-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--surface-muted);
}

.shot-caption {
  padding: 0.85rem 0.95rem 0.95rem;
  border-top: 1px solid var(--border);
}

.shot-caption strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.shot-caption p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.roadmap-column {
  padding: 1rem 0 0;
}

.roadmap-column + .roadmap-column {
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
}

.roadmap-list li:first-child {
  border-top: 0;
}

.roadmap-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.roadmap-list span {
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  align-items: start;
}

.footer-inner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.small-note {
  color: var(--text-muted);
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .hero-layout,
  .section-head,
  .feature-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .core-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .core-item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .roadmap-column + .roadmap-column {
    border-left: 0;
    padding-left: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .feature-layout.reverse .feature-copy,
  .feature-layout.reverse .feature-shot {
    order: initial;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 4.2rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.6rem 0.7rem;
  }

  .brand-copy span {
    display: none;
  }

  .hero,
  .section {
    padding-top: 2.75rem;
  }

  .intro {
    padding-top: 2rem;
  }

  h1 {
    max-width: 100%;
  }

  .core-item,
  .core-item:nth-child(odd) {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .site-nav a,
  .footer-links a {
    transition: none;
  }
}
