
:root {
  --spruce: #183F35;
  --spruce-2: #244F43;
  --cream: #F5F0E6;
  --paper: #FBF8F1;
  --gold: #B8944E;
  --ink: #22312C;
  --muted: #64736D;
  --line: #D8D0C0;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(24, 63, 53, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid rgba(216, 208, 192, 0.75);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.wordmark {
  letter-spacing: 0.13em;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--spruce);
}

.nav-cta {
  text-decoration: none;
  color: var(--spruce);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
  padding: 96px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--spruce);
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  letter-spacing: -0.055em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.lede,
.section-intro {
  max-width: 760px;
  color: #40534C;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  color: var(--cream);
  background: var(--spruce);
  box-shadow: 0 10px 28px rgba(24, 63, 53, 0.16);
}

.button.primary:hover { background: var(--spruce-2); }

.button.secondary {
  color: var(--spruce);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
}

.field-card {
  position: relative;
  padding: 34px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.field-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(184, 148, 78, 0.35);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.field-logo {
  position: relative;
  display: block;
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 14px;
}

.field-label {
  position: relative;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.field-quote {
  position: relative;
  margin: 34px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  color: var(--spruce);
}

.field-rule {
  position: relative;
  width: 52px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 18px;
}

.field-small {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
  font-style: italic;
}

.section { padding: 104px 0; }

.band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pillar {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.35);
}

.pillar-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .12em;
}

.pillar p {
  margin-bottom: 0;
  color: var(--muted);
}

.branches-section { text-align: center; }

.branches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 42px auto 22px;
}

.branches span {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--spruce);
  font-weight: 750;
}

.branch-note {
  color: var(--muted);
  font-style: italic;
}

.beta-section {
  background: var(--spruce);
  color: var(--cream);
}

.beta-section .eyebrow { color: #D8BB7B; }
.beta-section h2 { color: var(--cream); }
.beta-section .section-intro { color: rgba(245,240,230,.82); }

.beta-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.signup-card {
  padding: 30px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0,0,0,.18);
  color: var(--ink);
}

.signup-card h3 { color: var(--spruce); }

.signup-kicker {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.signup-card p:not(.signup-kicker) {
  color: var(--muted);
}

.kit-form-wrap {
  margin-top: 22px;
  min-height: 70px;
}

.tiny {
  margin-top: 20px;
  font-size: .86rem;
  color: rgba(245,240,230,.62);
}

.closing {
  padding: 54px 0;
  background: #102E27;
  color: var(--cream);
}

.closing-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.closing-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.closing-line {
  margin-bottom: 2px;
  color: rgba(245,240,230,.72);
}

.closing-motto {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  color: var(--cream);
}

.site-footer {
  padding: 26px 0;
  background: #0D2822;
  color: rgba(245,240,230,.65);
  font-size: .9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a {
  color: rgba(245,240,230,.78);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .hero,
  .beta-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    min-height: auto;
    padding: 74px 0;
  }

  .field-card { transform: none; }
  .pillars { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 26px, 1120px); }
  .nav { min-height: 64px; }
  .nav-cta { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .wordmark { font-size: 0.9rem; }
  h1 { font-size: 3.6rem; }
  .field-card,
  .signup-card,
  .pillar { border-radius: 18px; }
  .closing-inner { align-items: flex-start; }
}
