:root {
  --primary: #1a4d8c;
  --primary-dark: #0f3461;
  --accent: #d4a017;
  --text: #1a1a1a;
  --text-muted: #555;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --border: #e1e5eb;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.06);
  --radius: 8px;
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--primary); }
.brand-mark { display: inline-block; width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 6px; text-align: center; line-height: 28px; font-weight: 700; margin-right: 8px; vertical-align: middle; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav .cta { background: var(--accent); color: #1a1a1a; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; }
.nav .cta:hover { background: #b8860d; text-decoration: none; }

@media (max-width: 720px) {
  .nav { gap: 14px; }
  .nav a:not(.cta) { display: none; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 18px; }
.hero .sub { font-size: 1.15rem; opacity: 0.92; max-width: 640px; margin: 0 auto 32px; }
.hero .badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.hero .badge { background: rgba(255,255,255,0.12); padding: 8px 16px; border-radius: 24px; font-size: 0.88rem; }

@media (max-width: 720px) {
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 1.9rem; }
}

/* ===== Form Section ===== */
.form-section {
  background: var(--bg-soft);
  padding: 56px 0;
}
.form-card {
  background: var(--bg);
  max-width: 620px;
  margin: -120px auto 0;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary); }
.form-card .helper { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,77,140,0.12);
}
.field textarea { resize: vertical; min-height: 80px; }
.field .required { color: var(--danger); }

/* Consent checkbox — A2P critical */
.consent {
  background: #fffbea;
  border: 1px solid #f0d878;
  border-radius: var(--radius);
  padding: 16px;
  margin: 22px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.consent label {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.consent label a { color: var(--primary); text-decoration: underline; }

.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.15s;
  font-family: inherit;
}
.btn:hover { background: var(--primary-dark); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== How it works ===== */
.how {
  padding: 70px 0;
  text-align: center;
}
.how h2 { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.how .lead { color: var(--text-muted); max-width: 560px; margin: 0 auto 50px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
.how-step {
  padding: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.how-step .num {
  display: inline-block;
  width: 36px; height: 36px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  text-align: center; line-height: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}
.how-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.how-step p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } }

/* ===== Trust / Why us ===== */
.trust {
  background: var(--bg-soft);
  padding: 70px 0;
}
.trust h2 { font-size: 2rem; color: var(--primary); text-align: center; margin-bottom: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.trust-item { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.trust-item .check { width: 32px; height: 32px; background: var(--success); color: #fff; border-radius: 50%; flex-shrink: 0; text-align: center; line-height: 32px; font-weight: 700; }
.trust-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.trust-item p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; } }

/* ===== SMS Disclosure section (A2P transparency) ===== */
.sms-disclosure {
  background: #fff;
  padding: 50px 0;
  border-top: 1px solid var(--border);
}
.sms-disclosure h2 { font-size: 1.6rem; color: var(--primary); margin-bottom: 14px; }
.sms-disclosure p { color: var(--text-muted); margin-bottom: 12px; max-width: 720px; }
.sms-disclosure ul { padding-left: 22px; color: var(--text-muted); }
.sms-disclosure li { margin-bottom: 8px; }

/* ===== Footer ===== */
.site-footer {
  background: #0f2240;
  color: #c5cdd9;
  padding: 50px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p, .footer-col a { color: #c5cdd9; font-size: 0.9rem; line-height: 1.7; }
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #1f3759; padding-top: 22px; font-size: 0.85rem; color: #8c97a8; text-align: center; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Legal pages ===== */
.legal-page { padding: 60px 0; max-width: 820px; }
.legal-page h1 { font-size: 2rem; color: var(--primary); margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal-page h2 { font-size: 1.3rem; color: var(--primary); margin-top: 36px; margin-bottom: 14px; }
.legal-page p, .legal-page li { color: var(--text); margin-bottom: 12px; line-height: 1.65; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
.legal-page .callout {
  background: #fffbea;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
}

/* ===== Thanks page ===== */
.thanks {
  text-align: center;
  padding: 100px 0;
}
.thanks .check-icon { width: 80px; height: 80px; background: var(--success); color: #fff; border-radius: 50%; line-height: 80px; font-size: 2.4rem; margin: 0 auto 24px; }
.thanks h1 { font-size: 2rem; color: var(--primary); margin-bottom: 14px; }
.thanks p { color: var(--text-muted); max-width: 520px; margin: 0 auto 16px; }

/* ===== Status message ===== */
.status { padding: 14px; border-radius: var(--radius); margin-top: 14px; font-size: 0.95rem; }
.status.error { background: #fee; color: var(--danger); border: 1px solid #fcc; }
.status.success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
