:root {
  --ink: #16181d;
  --paper: #ffffff;
  --muted: #5b6270;
  --panel: #f4f5f7;
  --accent: #ff5a3c;
  --accent-ink: #ffffff;
  --border: #e3e5ea;
  --radius: 10px;
}

* { box-sizing: border-box; }

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

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--accent); text-decoration: none; }

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

.narrow { max-width: 680px; margin-left: auto; margin-right: auto; }
.narrow-text { max-width: 560px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { opacity: 0.92; }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-small {
  padding: 9px 18px;
  font-size: 0.9rem;
  background: var(--ink);
  color: var(--paper);
}

/* Hero */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background: linear-gradient(180deg, var(--panel), var(--paper));
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2em;
}

/* Agitate */
.agitate {
  padding: 60px 0;
}

.agitate p { color: var(--ink); font-size: 1.05rem; }

/* Checklist / lead magnet */
.checklist-section {
  background: var(--panel);
  padding: 70px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signup-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 24px auto 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form .ml-field-group { flex: 1 1 240px; }

.signup-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1rem;
}

.signup-form .ml-error input[type="email"] { border-color: var(--accent); }

.signup-success h3 { color: var(--ink); margin-top: 24px; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Coaching tiers */
.coaching { padding: 80px 0; }

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

.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.tier-featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(255, 90, 60, 0.12);
  position: relative;
}

.tier-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 12px;
}

.tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.tier-desc { min-height: 70px; }

/* Contact */
.contact {
  padding: 70px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

/* Footer */
.site-footer {
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Nav */
.site-nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover { color: var(--accent); }

/* Calorie calculator */
.calc-section { padding: 20px 0 80px; }

.unit-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.unit-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.unit-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row { display: flex; flex-direction: column; gap: 6px; }

.field-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.field-row input,
.field-row select {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
}

.height-imperial-inputs {
  display: flex;
  gap: 10px;
}

.calc-form .btn { margin-top: 10px; }

.calc-results {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}

.result-label {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.result-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
}

.result-note {
  font-size: 0.85rem;
  margin: 0;
}

.results-disclaimer {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .signup-form .ml-field-group { flex: 0 0 auto; width: 100%; }
  .results-grid { grid-template-columns: 1fr; }
}
