:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --muted: #6a6a6a;
  --rule: #1f1f1f;
  --accent: #c9a961;
  --max: 640px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
}

.hero {
  position: relative;
  margin-bottom: 7rem;
  isolation: isolate;
}

.hero-pattern {
  position: absolute;
  top: -3rem;
  right: -1.5rem;
  width: min(380px, 75%);
  height: auto;
  color: var(--fg);
  pointer-events: none;
  z-index: -1;
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 4.75rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.tagline {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--fg);
  max-width: 32ch;
  letter-spacing: -0.005em;
}

section {
  margin-bottom: 3.5rem;
}

section:last-of-type {
  margin-bottom: 0;
}

.label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.label-num {
  display: inline-block;
  color: var(--muted);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.label-num::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--rule);
  margin-left: 0.9rem;
  vertical-align: middle;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 60ch;
}

.principles li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 300;
}

.principles li:first-child {
  padding-top: 0;
}

.principles li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

p {
  max-width: 60ch;
  color: var(--fg);
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  transition: border-color 180ms ease, color 180ms ease;
}

a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

footer {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  main {
    padding: 6rem 1.5rem 4rem;
  }
  .hero {
    margin-bottom: 4.5rem;
  }
  .hero-pattern {
    width: 65%;
    top: -2rem;
    right: -1rem;
    opacity: 0.7;
  }
  section {
    margin-bottom: 2.75rem;
  }
  footer {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
