:root {
  color-scheme: dark;
  --page: #0b0c10;
  --surface: #15171d;
  --surface-strong: #1f222a;
  --text: #f7f8fc;
  --muted: #b9bdc9;
  --line: #30343f;
  --purple: #8d5af0;
  --purple-dark: #6840bd;
  --gold: #f0bd45;
  --teal: #3ab4a5;
  --max-width: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 64px;
}

h1 span {
  color: var(--purple);
}

h2 {
  margin-bottom: 0;
  font-size: 40px;
}

h3 {
  margin-bottom: 16px;
  font-size: 32px;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: #0b0c10;
}

.nav-shell,
.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-name {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links,
.footer-links,
.text-links,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 80px;
}

.profile-image {
  width: 112px;
  height: 112px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.eyebrow,
.project-type {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 22px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--purple);
  color: #fff;
}

.button-primary:hover {
  background: var(--purple-dark);
  color: #fff;
}

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

.section-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  margin-bottom: 40px;
}

.project-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.project-row:last-child {
  border-bottom: 1px solid var(--line);
}

.project-visual,
.project-index {
  width: 220px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-strong);
}

.project-visual img {
  width: 180px;
  height: 180px;
}

.project-index {
  color: var(--gold);
  font-size: 96px;
  font-weight: 900;
}

.project-content {
  align-self: center;
}

.project-content > p:not(.project-type) {
  max-width: 780px;
  color: var(--muted);
}

.project-meta {
  font-weight: 700;
}

.text-links a {
  color: #c8b5ff;
  font-weight: 800;
}

.info-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.info-band-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  padding: 72px 0;
}

.info-band-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.contact-section > p {
  max-width: 760px;
  color: var(--muted);
}

.contact-links {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #08090c;
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-hero {
  border-bottom: 1px solid var(--line);
}

.product-hero-inner,
.policy-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.product-hero-inner {
  padding: 64px 0 72px;
}

.product-banner {
  width: 100%;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.product-body {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.content-section + .content-section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

.content-section p,
.content-section li,
.policy-shell p,
.policy-shell li {
  color: var(--muted);
}

.content-section li + li,
.policy-shell li + li {
  margin-top: 8px;
}

.policy-shell {
  padding: 64px 0 88px;
}

.policy-shell h1 {
  margin-bottom: 12px;
  font-size: 48px;
}

.policy-shell h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: 26px;
}

.policy-shell .updated {
  margin-bottom: 40px;
  color: var(--muted);
}

.policy-nav {
  margin-bottom: 48px;
}

.policy-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.policy-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy-item h2 {
  margin: 0 0 8px;
}

.policy-item p {
  margin: 0;
}

.policy-item a {
  color: #c8b5ff;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  h1,
  .product-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .nav-shell {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    gap: 10px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 56px 0 64px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .section-shell {
    padding: 64px 0;
  }

  .project-row,
  .info-band-inner {
    grid-template-columns: 1fr;
  }

  .project-row {
    gap: 28px;
    padding: 36px 0;
  }

  .project-visual,
  .project-index {
    width: 100%;
    min-height: 180px;
  }

  .project-visual img {
    width: 144px;
    height: 144px;
  }

  .info-band-inner {
    gap: 28px;
    padding: 56px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .product-hero-inner,
  .policy-shell {
    padding-top: 40px;
  }

  .product-banner {
    margin-bottom: 32px;
  }

  .policy-shell h1 {
    font-size: 40px;
  }

  .policy-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .policy-item a {
    white-space: normal;
  }
}

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