:root {
  --paper: #f3ead7;
  --paper-2: #e9dcc2;
  --ink: #2e2a22;
  --muted: #6f6759;
  --green: #44503a;
  --rust: #a85f3b;
  --line: rgba(46, 42, 34, 0.16);
  --card: rgba(255, 255, 255, 0.42);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 234, 215, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 0.6rem 0;
}

.brand-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.tagline {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.tagline a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav > a:not(.btn) {
  font-size: 0.94rem;
  font-weight: 560;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}

.nav > a:not(.btn):hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: 0.2s;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--green);
  color: #fffaf0 !important;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.btn-full { width: 100%; }

.nav-cta {
  margin-left: 0.2rem;
}

/* ========== HERO ========== */
.hero {
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--rust);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

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

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.lede {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  max-width: 38ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: min(100%, 380px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(46, 42, 34, 0.08);
}

.hero-image {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(46,42,34,0.08), rgba(46,42,34,0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f2c98a'/%3E%3Cstop offset='55%25' stop-color='%23d9a05a'/%3E%3Cstop offset='100%25' stop-color='%23b87a3e'/%3E%3C/linearGradient%3E%3ClinearGradient id='field' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23c9a04a'/%3E%3Cstop offset='100%25' stop-color='%237a5a2a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='800' height='600' fill='url(%23sky)'/%3E%3Cpath d='M0 320 Q200 280 400 310 T800 290 L800 600 L0 600 Z' fill='url(%23field)'/%3E%3Cpath d='M380 600 L400 180 L420 600 Z' fill='%233d3428' opacity='0.55'/%3E%3Cpath d='M0 420 Q150 400 300 430 T600 410 T800 440' stroke='%236b4f28' stroke-width='18' fill='none' opacity='0.35'/%3E%3Cpath d='M0 470 Q200 450 400 480 T800 460' stroke='%235a4122' stroke-width='12' fill='none' opacity='0.3'/%3E%3Ccircle cx='620' cy='140' r='42' fill='%23f6e2b0' opacity='0.85'/%3E%3C/svg%3E") center/cover;
}

.hero-caption {
  margin: 0;
  padding: 0.9rem 1.1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--paper-2);
}

.section-dark {
  background: var(--green);
  color: #fffaf0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-head.light .eyebrow {
  color: #e6bd71;
}

.section-head.light h2,
.section-head.light .section-lede {
  color: #fffaf0;
}

.section-lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-lede {
  color: rgba(255, 250, 240, 0.78);
}

/* ========== STORY ========== */
.story-body p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 1.1rem;
}

.story-body p:first-of-type {
  color: var(--ink);
  font-size: 1.22rem;
}

.quote {
  margin: 2rem 0 0;
  padding: 1.6rem 1.7rem;
  background: var(--green);
  color: #fffaf0;
  border-radius: 14px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  font-weight: 700;
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.3rem 1.45rem;
}

.card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.55rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

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

/* ========== STEPS ========== */
.steps {
  display: grid;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.step-num {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #e6bd71;
  font-weight: 700;
}

.step strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fffaf0;
}

.step p {
  margin: 0;
  color: rgba(255, 250, 240, 0.75);
  font-size: 0.98rem;
}

.rules {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 1.6rem 1.7rem;
}

.rules h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.rules-intro {
  margin: 0 0 1.2rem;
  color: rgba(255, 250, 240, 0.78);
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.rules h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e6bd71;
}

.rules ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 250, 240, 0.85);
}

.rules li { margin-bottom: 0.25rem; }

.disclaimer {
  margin: 0;
  padding: 0.9rem 1rem;
  background: rgba(168, 95, 59, 0.18);
  border-left: 4px solid var(--rust);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: rgba(255, 250, 240, 0.8);
}

/* ========== FIELDS LIST ========== */
.fields-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.fields-list li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.fields-list strong {
  font-weight: 720;
}

.fields-list span {
  color: var(--muted);
}

/* ========== CONTACT CTA ========== */
.contact-cta {
  margin-top: 0.5rem;
  padding: 1.75rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.contact-cta p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-cta .btn {
  min-width: 220px;
}

.contact-note {
  margin: 1.15rem 0 0 !important;
  font-size: 0.92rem !important;
  color: var(--muted);
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #ebe1cb;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid .brand {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links p {
  margin: 0 0 0.35rem;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal {
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 70ch;
  margin: 0 0 0.8rem;
}

.copyright {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fields-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.15rem;
  }

  .nav.open {
    display: flex;
  }

  .nav > a {
    padding: 0.7rem 0.4rem;
  }

  .menu-toggle {
    display: block;
  }

  .card-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .wrap { width: calc(100% - 1.6rem); }
}
