:root {
  --background: #f6f1e8;
  --foreground: #15110d;
  --muted: #6b6258;
  --border: #d8d0c5;
  --panel: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--foreground);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.68), transparent 40%),
    var(--background);
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--foreground);
}

.page {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  flex: 1;
  padding: 4.5rem 0 5rem;
}

.home-page {
  min-height: calc(100vh - 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-weight: 600;
}

.home-page h1 {
  margin-top: 2rem;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.home-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.newsletter-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
}

.button-outline {
  background: transparent;
}

.button-outline:hover {
  border-color: var(--foreground);
}

.button-solid,
.newsletter-card button {
  border-color: var(--foreground);
  background: var(--foreground);
  color: var(--background);
}

.button-solid:hover,
.newsletter-card button:hover {
  opacity: 0.9;
}

.alpha-copy {
  max-width: 64rem;
}

.alpha-copy h1 {
  max-width: 24ch;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.newsletter-card {
  position: relative;
  width: min(100%, 40rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.newsletter-card input[type="email"] {
  min-width: 0;
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.9rem 1rem;
  font: inherit;
  outline: none;
}

.newsletter-card input[type="email"]::placeholder {
  color: var(--muted);
}

.newsletter-card input[type="email"]:focus {
  border-color: var(--foreground);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-card .cf-turnstile {
  min-height: 78px;
}

.fineprint {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-page {
  max-width: 56rem;
}

.about-page h1 {
  margin-top: 2rem;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.about-copy {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.about-copy p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--foreground) 88%, white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .site-header,
  .page {
    width: min(100% - 2rem, 1120px);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
