/* ============ Base ============ */
:root {
  --navy: #0e2a47;
  --navy-dark: #081c33;
  --green: #17a05c;
  --green-dark: #12854c;
  --amber: #ffb62e;
  --bg: #ffffff;
  --bg-alt: #f2f7fb;
  --text: #22303e;
  --text-muted: #5a6b7b;
  --border: #dde6ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 42, 71, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden { display: none !important; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 30px;
  font-size: 1.05rem;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 28px;
  font-size: 1.05rem;
}
.btn-ghost:hover { background: rgba(14, 42, 71, 0.06); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.15rem; width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; }
@media (max-width: 400px) {
  .logo img { height: 36px; }
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(160deg, #eaf4fd 0%, #f6fbf7 100%);
  padding: 48px 0 56px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.highlight { color: var(--green); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 54ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-points {
  list-style: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  display: grid;
  gap: 6px;
}
.hero-art img { width: 100%; max-width: 560px; margin: 0 auto; }

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 14px;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 68ch;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card img { margin-bottom: 16px; }
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* ============ Rebate tiers ============ */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.tier-featured { border: 2px solid var(--green); }
.tier-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tier-badge-alt { background: var(--navy); }
.tier-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.tier h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.2rem; }
.tier p { color: var(--text-muted); margin-bottom: 10px; }

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text);
}
.check-list li {
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "✔";
  color: var(--green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ============ Requirements ============ */
.requirements {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.requirements h3 { color: var(--navy); margin-bottom: 18px; text-align: center; }
.req-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  font-size: 0.97rem;
}
.req-note {
  margin-top: 18px;
  text-align: center;
  background: #fff8e8;
  border: 1px solid #f4dfa8;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.97rem;
}

/* ============ Benefits ============ */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.benefit {
  text-align: center;
  padding: 24px 12px;
}
.benefit-icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.benefit h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.benefit p { color: var(--text-muted); font-size: 0.92rem; }

.bonus-banner {
  margin-top: 32px;
  background: var(--navy);
  color: #dfe9f3;
  border-radius: var(--radius);
  padding: 22px 28px;
  text-align: center;
}
.bonus-banner strong { color: #fff; }

/* ============ Steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.step h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Form ============ */
.section-cta {
  background: linear-gradient(160deg, #0e2a47 0%, #123a5e 100%);
}
.section-cta .section-title,
.section-cta .section-lead { color: #fff; }
.section-cta .section-lead { color: #c3d3e2; }

.form-wrap { max-width: 640px; }
.optin-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field input,
.field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 160, 92, 0.15);
}
.field input.invalid,
.field select.invalid { border-color: #d64545; }

.consent { font-size: 0.9rem; }
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  cursor: pointer;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--green);
}
.checkbox-label a { color: var(--green-dark); font-weight: 600; }

.form-status { font-size: 0.95rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.error { color: #d64545; }
.form-status.ok { color: var(--green-dark); }
.form-fineprint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.cta-actions { text-align: center; margin: 8px 0 16px; }
.section-cta .cta-actions + .form-fineprint { color: #c3d3e2; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-dark);
  color: #9fb2c4;
  padding: 40px 0;
  font-size: 0.85rem;
  text-align: center;
}
.footer-links { margin-bottom: 16px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; margin: 0 8px; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { max-width: 72ch; margin: 0 auto 16px; line-height: 1.7; }
.copyright { color: #6d8199; }

/* ============ Privacy / content pages ============ */
.content-page { padding: 56px 0; }
.content-page .container { max-width: 760px; }
.content-page h1 { color: var(--navy); font-size: 2rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.content-page .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.content-page h2 { color: var(--navy); font-size: 1.25rem; margin: 32px 0 10px; }
.content-page p, .content-page li { color: var(--text); margin-bottom: 12px; }
.content-page ul { padding-left: 22px; margin-bottom: 12px; }
.content-page a { color: var(--green-dark); }

/* ============ Thank you ============ */
.thanks-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 64px 0;
}
.thanks-hero .container { max-width: 640px; }
.thanks-icon { font-size: 3.4rem; margin-bottom: 16px; display: block; }
.thanks-hero h1 { color: var(--navy); font-size: 2rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.thanks-hero p { color: var(--text-muted); margin-bottom: 24px; }

/* ============ Tablet & up ============ */
@media (min-width: 720px) {
  .hero { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .optin-form { padding: 40px 36px; }
  .btn-lg { width: auto; justify-self: center; padding: 16px 56px; }
}
