:root {
  --bg: #F5F2EC;
  --ink: #0A0A0A;
  --accent: #FF3D00;
  --muted: #6B665E;
  --rule: #2A2826;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.25em;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

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

.nav {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(0.8rem, 3vw, 2rem);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero,
.manifesto-section,
.split-section,
.kit-section,
.host-section,
.identity-section,
.footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 12rem);
  min-height: calc(100svh - 12rem);
  padding: clamp(4rem, 16vh, 8rem) 0 clamp(3rem, 8vh, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
}

.kicker,
.section-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  animation: fade-up 600ms ease-out 100ms both;
}

.subtitle {
  max-width: 44rem;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  animation: fade-up 600ms ease-out 250ms both;
}

.primary-cta {
  align-self: flex-start;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
}

section {
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  border-bottom: 1px solid var(--rule);
}

h2 {
  max-width: 12ch;
  margin: 0 0 2rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 7vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

p {
  max-width: 44rem;
}

.manifesto-copy {
  max-width: 54rem;
  animation: fade-up 700ms ease-out 250ms both;
}

.manifesto-copy p:first-child::first-letter {
  float: left;
  padding: 0.08em 0.08em 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 0.75;
}

blockquote {
  margin: 2.5rem 0;
  max-width: 46rem;
  padding: 0.4rem 0 0.4rem 1.2rem;
  border-left: 0.35rem solid var(--accent);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.split-grid,
.kit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.copy-stack p:first-child,
.kit-grid p,
.identity-section > p {
  margin-top: 0;
}

.kit-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  overflow-wrap: anywhere;
}

.steps {
  max-width: 58rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.steps li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 700;
}

.steps span {
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  font-weight: 400;
}

.text-cta {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  max-width: 60rem;
}

.mark {
  display: inline-block;
  margin-right: 0.4rem;
  color: var(--accent);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 900;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 5rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .split-grid,
  .kit-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 3rem minmax(0, 1fr);
  }
}
