/* ── Brand Variables ──────────────────────────────────────────────────────── */
:root {
  --ink: #1A2B1B;
  --ink-mid: #2D4430;
  --copper: #8C4A1E;
  --copper-lt: #C4783A;
  --copper-bg: #FDF0E8;
  --bg: #F9F8F5;
  --bg-alt: #F0EEE9;
  --white: #FFFFFF;
  --dark: #1B2E1C;
  --dark-card: #223323;
  --rule: #D4CFC6;
  --muted: #5C6B5E;
  --on-dark: #EEF2EE;
  --font-heading: 'Times New Roman', serif;
  --font-body: Georgia, serif;
  --font-data: 'Courier New', monospace;
  --max-w: 1080px;
  --gutter: 24px;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { line-height: 1.7; }
.label {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
}
.label-dark { color: var(--copper-lt); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-alt { background: var(--bg-alt); }

/* ── Announcement Bar ────────────────────────────────────────────────────── */
.announce {
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 10px var(--gutter);
  position: relative;
}
.announce a { color: var(--white); text-decoration: underline; font-weight: 700; margin-left: 8px; }
.announce-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); font-size: 18px; cursor: pointer; opacity: 0.7;
}
.announce-close:hover { opacity: 1; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  background: var(--dark);
  padding: 16px var(--gutter);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--on-dark); }
.nav-brand span { color: var(--copper-lt); }
.nav-brand small { display: block; font-family: var(--font-body); font-size: 10px; color: #9AB89C; font-style: italic; font-weight: 400; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-family: var(--font-data); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: #9AB89C; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--copper-lt); transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--on-dark); }
.nav-links a:hover::after { width: 100%; }

/* ── Hamburger ───────────────────────────────────────────────────────────── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--on-dark);
  margin: 5px 0; transition: all 0.3s;
}
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--dark); z-index: 200; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-data); font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--on-dark);
}
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--on-dark); font-size: 28px; cursor: pointer;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 12px 28px;
  font-family: var(--font-data); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 4px; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent; text-align: center;
}
.btn-copper { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-copper:hover { background: var(--copper-lt); border-color: var(--copper-lt); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--copper); border-color: var(--copper); }
.btn-outline-dark:hover { background: var(--copper); color: var(--white); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--white);
  border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 4px; padding: 28px;
}
.card-copper-top { border-top: 3px solid var(--copper); }
.card-dark { background: var(--dark-card); border-color: rgba(255,255,255,0.08); color: var(--on-dark); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--dark); color: var(--on-dark);
  min-height: 90vh; display: flex; align-items: center;
  padding: 80px 0;
}
.hero h1 { color: var(--white); margin: 16px 0 20px; }
.hero-sub { font-size: 18px; color: var(--on-dark); max-width: 640px; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-micro { font-family: var(--font-data); font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }

/* ── Social Proof Bar ────────────────────────────────────────────────────── */
.proof {
  background: var(--bg); padding: 48px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-align: center;
}
.proof-text { font-family: var(--font-body); font-size: 14px; color: var(--muted); font-style: italic; margin-bottom: 32px; }
.proof-stats { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.proof-stat { text-align: center; }
.proof-num { font-family: var(--font-data); font-size: 32px; color: var(--copper); font-weight: 700; }
.proof-label { font-family: var(--font-data); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── Grid Layouts ────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── Who For Tiles ───────────────────────────────────────────────────────── */
.tile {
  padding: 24px; border: 1px solid var(--rule); border-radius: 4px;
  text-align: center; font-family: var(--font-data); font-size: 12px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-mid);
}

/* ── Steps ───────────────────────────────────────────────────────────────── */
.step-num {
  font-family: var(--font-data); font-size: 14px; font-weight: 700;
  color: var(--copper-lt); margin-bottom: 8px;
}
.step h3 { color: var(--white); margin-bottom: 8px; }
.step p { color: #9AB89C; font-size: 15px; }

/* ── Pricing Cards ───────────────────────────────────────────────────────── */
.price-card { padding: 32px; position: relative; }
.price-card.popular { border-color: var(--copper); border-width: 2px; }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--copper); color: var(--white); font-family: var(--font-data);
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px;
}
.price-amount { font-family: var(--font-heading); font-size: 36px; color: var(--ink); margin: 12px 0 4px; }
.price-period { font-family: var(--font-data); font-size: 11px; color: var(--muted); }
.price-features { margin: 20px 0; }
.price-features li {
  font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 8px;
}
.price-features li::before { content: '✓'; color: var(--copper); font-weight: 700; }
.price-features li.no::before { content: '—'; color: var(--rule); }

/* ── News Cards ──────────────────────────────────────────────────────────── */
.news-card h3 { font-size: 16px; margin-bottom: 8px; }
.news-card .meta { font-family: var(--font-data); font-size: 10px; color: var(--muted); letter-spacing: 0.5px; margin-bottom: 8px; }
.news-card p { font-size: 14px; color: var(--muted); }
.news-skeleton { background: var(--rule); height: 160px; border-radius: 4px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-family: var(--font-data); font-size: 9px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: 4px;
  font-family: var(--font-data); font-size: 13px; color: var(--ink);
  background: var(--white); outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--copper); }
.form-input.error, .form-textarea.error { border-color: #c0392b; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-error { font-size: 11px; color: #c0392b; margin-top: 4px; }
.form-check {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12px;
  color: var(--muted); cursor: pointer;
}
.form-check input { accent-color: var(--copper); margin-top: 3px; }
.form-success {
  padding: 24px; text-align: center;
  font-family: var(--font-body); font-size: 16px; color: var(--ink-mid);
}
.form-alert {
  font-family: var(--font-data); font-size: 12px; padding: 10px 12px;
  border-radius: 4px; margin-top: 12px;
}
.form-alert-error { background: #fdf0f0; color: #c0392b; border: 1px solid #e8c0c0; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: #9AB89C; padding: 48px 0 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.footer-brand { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--on-dark); margin-bottom: 4px; }
.footer-brand span { color: var(--copper-lt); }
.footer-tagline { font-family: var(--font-body); font-size: 11px; color: #9AB89C; font-style: italic; margin-bottom: 24px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { font-family: var(--font-data); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #9AB89C; }
.footer-links a:hover { color: var(--on-dark); }
.footer-copy { font-family: var(--font-data); font-size: 10px; color: var(--muted); padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-rule { height: 3px; background: linear-gradient(90deg, var(--copper), var(--copper-lt)); margin-top: 24px; }

/* ── Accordion ───────────────────────────────────────────────────────────── */
details { border-bottom: 1px solid var(--rule); }
details summary {
  padding: 16px 0; cursor: pointer; font-family: var(--font-heading);
  font-size: 16px; font-weight: 700; color: var(--ink);
  list-style: none;
}
details summary::marker, details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; font-size: 20px; color: var(--copper); }
details[open] summary::after { content: '−'; }
details .faq-body { padding: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Mock Calculator ─────────────────────────────────────────────────────── */
.mock-calc {
  background: var(--dark-card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 28px; font-family: var(--font-data);
  font-size: 13px; color: var(--on-dark);
}
.mock-calc .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mock-calc .row-label { color: #9AB89C; }
.mock-calc .row-val { color: var(--on-dark); font-weight: 700; }
.mock-calc .row-total { border-top: 2px solid var(--copper-lt); border-bottom: none; padding-top: 12px; margin-top: 8px; }
.mock-calc .row-total .row-val { color: var(--copper-lt); font-size: 18px; }

/* ── Urgency Box ─────────────────────────────────────────────────────────── */
.urgency {
  border: 2px solid var(--copper); border-radius: 4px; padding: 24px;
  background: var(--copper-bg);
}
.urgency h3 { color: var(--copper); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr; }
  .proof-stats { gap: 32px; }
  .hero { min-height: auto; padding: 60px 0; }
  .section { padding: 48px 0; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }
}
