:root {
  --ink: #14241d;
  --muted: #5b6b63;
  --cream: #f7f5ef;
  --pitch: #0e3b2e;
  --pitch-dark: #0a2a21;
  --gold: #d9a441;
  --gold-dark: #b4842e;
  --line: rgba(20, 36, 29, 0.12);
  --shadow: 0 1px 2px rgba(20, 36, 29, 0.04), 0 10px 24px rgba(20, 36, 29, 0.05);
  --display: "Big Shoulders Display", sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  position: relative;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.site-header,
.site-footer,
.hero,
.services,
.updates,
.thanks {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--pad);
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
}

.wordmark:hover {
  color: var(--pitch);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--pitch-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.2rem;
}

.header-meta,
.kicker {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: clamp(3rem, 10vh, 7rem) var(--pad) 4rem;
  max-width: 54rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 900;
  margin: 0.4rem 0 1.25rem;
}

.lede,
.updates-copy p,
.thanks p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.9rem 1.35rem;
  background: var(--gold);
  color: var(--pitch-dark);
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font: 700 1rem/1 var(--body);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--gold-dark);
  color: var(--pitch-dark);
}

.btn:focus-visible,
input:focus-visible {
  outline: 2px solid var(--pitch);
  outline-offset: 3px;
}

.btn-full {
  width: 100%;
  margin-top: 0.35rem;
}

.services {
  padding: 0 var(--pad) 5rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2,
.updates h2,
.thanks h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-top: 0.35rem;
}

.kicker {
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.5rem;
  min-height: 14rem;
  box-shadow: var(--shadow);
}

.service-index {
  display: block;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 2.1rem;
}

.service h3 {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.updates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin: 0 var(--pad) 4rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--pitch);
  color: var(--cream);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.updates .kicker,
.updates .fine-print,
.updates-copy p {
  color: rgba(247, 245, 239, 0.72);
}

.signup {
  display: grid;
  gap: 0.9rem;
}

.signup label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.72);
}

.signup input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(247, 245, 239, 0.18);
  border-radius: 12px;
  background: rgba(247, 245, 239, 0.08);
  color: var(--cream);
  font: 400 1rem/1.3 var(--body);
}

.signup input:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  box-shadow: 0 0 0 1000px #0a2a21 inset;
}

.updates .btn {
  background: var(--gold);
  color: var(--pitch-dark);
  margin-top: 0.2rem;
}

.updates .btn:hover {
  background: var(--gold-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.fine-print {
  margin: 0.15rem 0 0;
  color: rgba(247, 245, 239, 0.55);
  font-size: 0.82rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.thanks {
  padding: clamp(4rem, 14vh, 8rem) var(--pad) 5rem;
  max-width: 40rem;
}

.thanks .btn {
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .service-grid,
  .updates {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 0;
  }

  .wordmark {
    font-size: 1.3rem;
  }

  .header-meta {
    display: none;
  }
}

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

  .btn {
    transition: none;
  }
}
