:root {
  --bg: #0e0e0f;
  --fg: #e9e7e1;
  --muted: #a19f98;
  --dim: #7a7872;
  --line: rgba(233, 231, 225, 0.14);
  --teal: #5eb8a8;
  --orange: #e07a4a;
  --sans: "Inter Tight", "Neue Haas Grotesk Display", -apple-system, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Berkeley Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 80% 110%, rgba(224, 122, 74, 0.08), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--orange);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus { top: 12px; }

.nav, .footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
}

.footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.brand { display: flex; flex-direction: column; gap: 2px; justify-self: start; }

.brand-mark {
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 18px;
}

.brand-sub, .nav-links a, .nav-status, .eyebrow, .kicker, .stats dt, .step-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.brand-sub { color: var(--dim); text-transform: none; letter-spacing: 0.01em; }

.nav-links {
  display: flex;
  gap: 22px;
  justify-content: center;
}

.nav-links a { color: var(--muted); }

.nav-links a:hover { color: var(--fg); }

.nav-status {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(224, 122, 74, 0.15);
}

.section {
  width: min(1240px, 100%);
  margin-inline: auto;
  text-align: center;
}

.hero {
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 64px 48px 48px;
  text-align: left;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

h1 {
  margin: 0;
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero-tagline {
  font-size: clamp(72px, 11vw, 160px);
  text-align: left;
  cursor: pointer;
  position: relative;
  background-image: linear-gradient(135deg, #e9e7e1 0%, #e9e7e1 40%, #5eb8a8 50%, #e9e7e1 60%, #e9e7e1 100%);
  background-size: 500% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ss-text-shimmer 12s ease-in-out infinite alternate;
}

.hero-tagline .line-dim {
  color: #76746c;
  -webkit-text-fill-color: #76746c;
}

.fx-scramble { display: inline-block; }

.fx-scramble .fx-glitch {
  color: #5eb8a8;
  -webkit-text-fill-color: #5eb8a8;
}

.hero-tagline::after {
  content: "_";
  color: #5eb8a8;
  -webkit-text-fill-color: #5eb8a8;
  animation: ss-blink 1.2s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
  opacity: 0.6;
}

@keyframes ss-text-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ss-glitch-flash {
  0%, 92%, 100% { text-shadow: none; transform: translate(0); }
  93% { text-shadow: 2px 0 #5eb8a8, -2px 0 #e07a4a; transform: translate(-1px, 1px); }
  94% { text-shadow: -2px 0 #5eb8a8, 2px 0 #e07a4a; transform: translate(1px, -1px); }
  95% { text-shadow: none; transform: translate(0); }
  96% { text-shadow: 1px 0 #e07a4a; transform: translate(0, 1px); }
  97% { text-shadow: none; transform: translate(0); }
}

@keyframes ss-blink {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-tagline {
    animation: ss-text-shimmer 12s ease-in-out infinite alternate, ss-glitch-flash 8s ease infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-tagline,
  .hero-tagline::after { animation: none; }
}

.rule {
  width: 72px;
  height: 4px;
  background: var(--teal);
  margin: 36px 0 28px;
}

.lede {
  max-width: 640px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.lede em {
  color: var(--orange);
  font-style: normal;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 48px;
}

.btn {
  font-family: var(--mono);
  font-size: 13px;
  padding: 14px 22px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
}

.btn-solid { background: var(--orange); color: var(--bg); }

.btn-solid:hover { filter: brightness(1.06); }

.btn-ghost { border-color: var(--line); color: var(--fg); }

.btn-ghost:hover { border-color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(980px, 100%);
  margin: 0;
  border: 1px solid var(--line);
}

.stats div { padding: 18px 20px; }

.stats div + div { border-left: 1px solid var(--line); }

.stats dt {
  color: var(--teal);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.stats dd { margin: 0; color: var(--fg); font-size: 15px; }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker span::before {
  content: "·";
  margin-right: 32px;
  color: var(--orange);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 88px 32px; }

.section-head { margin-bottom: 32px; }

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  font-weight: 560;
}

.steps, .principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.principles { grid-template-columns: repeat(2, 1fr); }

.steps li, .principles li { padding: 28px 24px; }

.steps li + li { border-left: 1px solid var(--line); }

.principles li:nth-child(even) { border-left: 1px solid var(--line); }

.principles li:nth-child(n + 3) { border-top: 1px solid var(--line); }

.step-no { color: var(--teal); }

h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 560;
}

.steps p, .principles p, .statement p, .contact-copy, .footer p {
  margin: 0;
  color: var(--muted);
}

.statement {
  border: 1px solid var(--line);
  padding: 36px 32px;
  width: min(860px, 100%);
  margin-inline: auto;
  background: rgba(233, 231, 225, 0.02);
}

.statement-lead {
  color: var(--fg);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-copy {
  max-width: 680px;
  margin-inline: auto;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px;
}

.footer .brand { align-items: center; }

.footer p { font-size: 14px; max-width: 36rem; }

.copy { color: var(--dim); margin-top: 8px; }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nav .brand { justify-self: center; align-items: center; }
  .nav-links { justify-content: center; flex-wrap: wrap; }
  .nav-status { justify-self: center; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(n + 3), .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats div:nth-child(odd), .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(2) { border-left: 1px solid var(--line); }
  .principles { grid-template-columns: 1fr; }
  .principles li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-tagline { font-size: clamp(48px, 12vw, 80px); }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: 40px; }
}

@media (max-width: 640px) {
  .nav, .footer, .hero, .section { padding-left: 20px; padding-right: 20px; }
  .stats, .steps { grid-template-columns: 1fr; }
  .stats div + div, .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}
