/* ═══════════════════════════════════════════════════════ */
/* STEADY HOME KITS — STYLESHEET                          */
/* Warm Editorial · Cream/Forest/Gold · Mobile-First      */
/* ═══════════════════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --forest: #2D5A3D;
  --forest-dark: #1E3F2B;
  --forest-light: #D6E8DD;
  --gold: #B8862D;
  --gold-light: #FDF6E9;
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --ink: #2C2926;
  --text: #4A4540;
  --text-light: #6B6560;
  --border: #D6CFC6;
  --coral: #C4573E;
  --coral-light: #FDF0EC;
  --sage: #4A7A8C;
  --sage-light: #EDF2F7;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 41, 38, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 41, 38, 0.08);
  --shadow-lg: 0 8px 32px rgba(44, 41, 38, 0.1);
  --shadow-kit: 0 2px 8px rgba(44, 41, 38, 0.06), 0 8px 24px rgba(44, 41, 38, 0.08);
}

/* ─── RESET & BASE ───────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 20px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(45, 90, 61, 0.15);
  color: var(--ink);
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 600;
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 24px);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--forest-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--white);
}

.btn-lg {
  font-size: 20px;
  padding: 16px 36px;
}

.btn-full {
  width: 100%;
}

/* ─── NAVIGATION ─────────────────────────────────────── */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

#main-nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.nav-logo:hover {
  color: var(--ink);
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 15px !important;
}

.nav-cta:hover {
  background: var(--forest-dark);
  color: var(--white) !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ─── HERO ───────────────────────────────────────────── */

.hero {
  padding: calc(68px + var(--space-2xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 720px;
}

.hero-tagline {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero-sub {
  font-size: 20px;
  color: var(--text);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hero-note {
  margin-top: var(--space-md);
  font-size: 15px;
  color: var(--text-light);
}

.hero-gradient {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(214, 232, 221, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── PROBLEM SECTION ────────────────────────────────── */

.problem {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.problem-text h2 {
  margin-bottom: var(--space-md);
  font-size: clamp(24px, 3vw, 32px);
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stat {
  padding: var(--space-md);
  background: var(--cream);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--forest);
}

.stat-number {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
}

/* ─── KITS SECTION ───────────────────────────────────── */

.kits {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.kit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.kit-card:hover {
  box-shadow: var(--shadow-kit);
  transform: translateY(-2px);
}

.kit-featured {
  border-color: var(--forest);
  border-width: 2px;
}

.kit-badge {
  position: absolute;
  top: -12px;
  left: var(--space-md);
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kit-icon {
  margin-bottom: var(--space-sm);
}

.kit-card h3 {
  margin-bottom: 6px;
}

.kit-trigger {
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.kit-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.kit-contents {
  list-style: none;
  margin-bottom: var(--space-md);
  flex: 1;
}

.kit-contents li {
  font-size: 15px;
  color: var(--text);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(214, 207, 198, 0.5);
}

.kit-contents li:last-child {
  border-bottom: none;
}

.kit-contents li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
  font-size: 14px;
}

.kit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.kit-price {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--ink);
}

.kit-footer .btn {
  font-size: 16px;
  padding: 12px 24px;
}

/* ─── BINDER CALLOUT ─────────────────────────────────── */

.binder-callout {
  margin-top: var(--space-xl);
  background: var(--forest-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--white);
}

.binder-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}

.binder-text h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.binder-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.binder-includes {
  margin-top: var(--space-md);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.binder-includes span {
  font-weight: 600;
  color: var(--gold);
}

.binder-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 240px;
}

.binder-price {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
}

.binder-save {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.binder-action .btn-primary {
  background: var(--gold);
  color: var(--forest-dark);
  white-space: nowrap;
}

.binder-action .btn-primary:hover {
  background: #CFA044;
}

/* ─── WHAT'S INSIDE ──────────────────────────────────── */

.inside {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.inside-card {
  padding: var(--space-md);
}

.inside-num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.inside-card h3 {
  font-size: 20px;
  margin-bottom: var(--space-xs);
}

.inside-card p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* ─── FREE SECTION ───────────────────────────────────── */

.free {
  padding: var(--space-2xl) 0;
}

.free-card {
  background: var(--gold-light);
  border: 2px solid rgba(184, 134, 45, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}

.free-text h2 {
  color: var(--forest-dark);
  margin-bottom: 4px;
}

.free-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.free-text p {
  font-size: 18px;
}

.free-note {
  font-size: 15px !important;
  color: var(--text-light);
  font-weight: 600;
}

.free-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.free-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: var(--space-sm);
}

.free-form label:first-child {
  margin-top: 0;
}

.free-form input {
  width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  font-family: 'Source Sans 3', sans-serif;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.free-form input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.free-form input::placeholder {
  color: var(--text-light);
}

.free-form .btn {
  margin-top: var(--space-md);
}

.form-disclaimer {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-top: var(--space-sm);
}

/* ─── ABOUT SECTION ──────────────────────────────────── */

.about {
  padding: var(--space-2xl) 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-content > p {
  font-size: 20px;
}

.about-values {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.value {
  padding: var(--space-md);
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.value strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.value span {
  font-size: 16px;
  color: var(--text);
}

/* ─── RESOURCES SECTION ──────────────────────────────── */

.resources {
  padding: var(--space-xl) 0;
}

.resources h2 {
  margin-bottom: var(--space-xs);
}

.resources > .container > p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: var(--space-lg);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.resource-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  color: var(--forest);
  transition: all 0.2s ease;
}

.resource-link:hover {
  border-color: var(--forest);
  box-shadow: var(--shadow-sm);
  color: var(--forest);
}

.resource-link span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 2px;
}

/* ─── FOOTER ─────────────────────────────────────────── */

.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.footer-logo span {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
}

.footer-brand p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-disclaimer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 0 auto var(--space-xs);
}

.footer-veteran {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 900px) {
  body {
    font-size: 18px;
  }

  .container {
    padding: 0 20px;
  }

  /* Nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: var(--space-sm);
    padding: 14px 20px !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    padding: calc(68px + var(--space-xl)) 0 var(--space-xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  /* Problem */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Kits */
  .kit-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .kit-card {
    padding: var(--space-md);
  }

  /* Binder */
  .binder-callout {
    padding: var(--space-lg) var(--space-md);
  }

  .binder-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .binder-action {
    min-width: auto;
    width: 100%;
  }

  .binder-action .btn {
    width: 100%;
  }

  /* Inside */
  .inside-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .inside-card {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
  }

  .inside-card:last-child {
    border-bottom: none;
  }

  /* Free */
  .free-card {
    grid-template-columns: 1fr;
    padding: var(--space-lg) var(--space-md);
  }

  /* Resources */
  .resource-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .kit-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .binder-price {
    font-size: 40px;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* ─── ANIMATIONS ─────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .kit-card,
  .inside-card,
  .stat,
  .value,
  .resource-link {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .kit-card.visible,
  .inside-card.visible,
  .stat.visible,
  .value.visible,
  .resource-link.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── ACCESSIBILITY ──────────────────────────────────── */

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

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

/* ─── PRINT ──────────────────────────────────────────── */

@media print {
  #main-nav,
  .hero-gradient,
  .btn,
  .free-form,
  .mobile-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .kit-card,
  .binder-callout {
    break-inside: avoid;
  }
}
