/* JC2026 Brand — Payton Junkin Lead Magnet
   Colors per JC2026-Style-Guide.pdf
   Fonts: Barlow Condensed (display, free BN Nautic Grotesk alt) + Raleway (body) */

:root {
  --light-blue: #64add6;
  --blue: #1e3a5f;
  --night-blue: #36454f;
  --ivory: #f7f7f5;
  --green: #546d57;
  --mountain-green: #1d6a3a;
  --mountain-orange: #ad4f1f;
  --mountain-yellow: #cd9c45;

  --bg: var(--ivory);
  --text: var(--night-blue);
  --text-muted: #5b6b78;
  --accent: var(--mountain-orange);
  --accent-2: var(--mountain-green);

  --font-display: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-body: 'Raleway', system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 8px 28px rgba(30, 58, 95, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--blue);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--mountain-orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* HEADER ============================================================== */
.site-header {
  padding: 28px 0 12px;
  border-bottom: 1px solid rgba(54, 69, 79, 0.08);
  background: var(--ivory);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
}
.logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo .accent { color: var(--mountain-orange); }
.header-contact {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: right;
}
.header-contact strong { color: var(--blue); display: block; font-size: 1.05rem; }

/* HERO ================================================================ */
.hero {
  padding: 56px 0 32px;
  text-align: left;
}
.hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero h1 .underline {
  border-bottom: 4px solid var(--mountain-orange);
  padding-bottom: 2px;
}
.hero .subhead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 12px;
}
.hero .neighbor-badge {
  display: inline-block;
  background: var(--mountain-green);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* FORM ================================================================ */
.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin: 24px 0 48px;
  border-top: 6px solid var(--mountain-orange);
}
.form-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
}
.form-card .helper {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--blue);
}
.field .hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d4d8db;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--ivory);
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mountain-orange);
  background: white;
}
.field textarea {
  resize: vertical;
  min-height: 88px;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #d4d8db;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--ivory);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.15s;
}
.radio-group label:hover { border-color: var(--mountain-orange); }
.radio-group input[type="radio"] {
  margin: 0;
  accent-color: var(--mountain-orange);
}
.radio-group input[type="radio"]:checked + span { color: var(--mountain-orange); font-weight: 700; }
.radio-group label:has(input:checked) {
  border-color: var(--mountain-orange);
  background: white;
  box-shadow: var(--shadow);
}

button[type="submit"] {
  background: var(--mountain-orange);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 0 #8a3f17;
}
button[type="submit"]:hover { background: #c25a25; }
button[type="submit"]:active { transform: translateY(1px); box-shadow: 0 1px 0 #8a3f17; }
button[type="submit"]:disabled {
  background: #b8b0a8;
  box-shadow: 0 2px 0 #948c84;
  cursor: not-allowed;
}

.privacy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* WHAT HAPPENS NEXT =================================================== */
.next-steps {
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(54, 69, 79, 0.08);
  border-bottom: 1px solid rgba(54, 69, 79, 0.08);
}
.next-steps h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 24px;
}
.next-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}
.next-steps li {
  counter-increment: steps;
  padding-left: 56px;
  position: relative;
  margin-bottom: 22px;
  font-size: 1.02rem;
}
.next-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: -4px;
  width: 40px;
  height: 40px;
  background: var(--mountain-green);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* TESTIMONIALS ======================================================== */
.testimonials {
  margin: 48px 0;
}
.testimonials h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  margin-bottom: 32px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--mountain-yellow);
}
.testimonial blockquote {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
}
.testimonial cite span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* WHO ================================================================ */
.who {
  background: var(--blue);
  color: var(--ivory);
  padding: 48px 0;
  margin: 48px -24px;
}
.who .container { color: var(--ivory); }
.who h2 {
  color: var(--ivory);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.who p { color: rgba(247, 247, 245, 0.85); }
.who .signature {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light-blue);
}

/* FOOTER ============================================================== */
.site-footer {
  background: var(--night-blue);
  color: var(--ivory);
  padding: 36px 0 28px;
  margin-top: 64px;
  text-align: center;
  font-size: 0.92rem;
}
.site-footer .container { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site-footer a { color: var(--light-blue); }
.site-footer .legal { color: rgba(247, 247, 245, 0.55); font-size: 0.8rem; margin-top: 8px; }

/* SUCCESS PAGE ======================================================== */
.success-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.success-hero .check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--mountain-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.success-hero .check svg { width: 44px; height: 44px; }
.success-hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.success-hero p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* FORM STATES ========================================================= */
.form-error {
  background: #fdecec;
  color: #8b2020;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: none;
}
.form-error.show { display: block; }
.field.error input, .field.error textarea { border-color: #c64545; background: #fdecec; }
.field-error-msg { color: #8b2020; font-size: 0.85rem; margin-top: 4px; display: none; }
.field.error .field-error-msg { display: block; }
