:root {
  --bg:          #f4f4f4;
  --surface:     #ffffff;
  --text:        #161616;
  --text-muted:  #575757;
  --border:      #dcdde1;
  --rule:        #d4d4d4;
  --accent:      #131723;
  --accent-text: #f4f4f4;
  --radius:      6px;
  --radius-sm:   4px;
  --max:         1160px;
  --font:        'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--text-muted); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.display {
  font-weight: 800;
  font-stretch: 75%;
  line-height: 0.95;
  text-transform: uppercase;
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark:hover { color: var(--text); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9375rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-outline,
.btn-outline:hover {
  border: 1.5px solid var(--text);
  color: var(--text);
}

.btn:hover { text-decoration: underline; }

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

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding-top: 24px;
  padding-bottom: 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.signup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.signup label {
  font-weight: 600;
  color: var(--text);
}

.signup-fields {
  display: flex;
  gap: 8px;
}

.signup input[type="email"] {
  flex: 1 1 auto;
  width: 220px;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--text-muted);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
}

.honeypot {
  position: absolute;
  left: -5000px;
}

@media (max-width: 640px) {
  .footer-links,
  .signup,
  .signup-fields { width: 100%; }
}
