/* =============================================================
   Drop Hotline — FRS funnel
   Palette: navy #1a2744, gold #c9a84c
   Mobile-first, single-column up to 720px.
   ============================================================= */

:root {
  --navy: #1a2744;
  --navy-ink: #0e1730;
  --gold: #c9a84c;
  --gold-dark: #a98732;
  --bg: #f7f7f4;
  --card: #ffffff;
  --ink: #1a2744;
  --muted: #5a6478;
  --border: #e3e5ea;
  --error: #b00020;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 30, 55, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 30, 55, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.muted { color: var(--muted); margin: 0 0 1.25rem; }
.error-msg { color: var(--error); font-weight: 500; margin-top: .75rem; min-height: 1.2em; }

/* -------- Header -------- */
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; letter-spacing: .08em; }
.brand-mark { font-size: 1.05rem; }
.brand-mark.gold { color: var(--gold); margin-left: 4px; }
.brand-tag { color: #c7cedc; font-size: .85rem; }

/* -------- Disclaimer banner (above the fold, compliance) -------- */
.disclaimer-banner {
  background: #efe9d9;
  color: #5a4a20;
  border-bottom: 1px solid #d9cf9f;
  font-size: .85rem;
  padding: 8px 0;
  text-align: center;
  line-height: 1.4;
}
.disclaimer-banner .container { padding: 0 20px; }

/* -------- Hero -------- */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-ink) 100%);
  color: #fff;
  padding: 72px 0 88px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.hero .sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #d7dce8;
  max-width: 680px;
  margin: 0 auto 28px;
}

/* -------- Buttons -------- */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 20px;
  transition: transform .05s ease, filter .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(201,168,76,.6); outline-offset: 2px; }
.btn-lg { font-size: 1rem; padding: 14px 24px; }
.btn-gold { background: var(--gold); color: #1a1a1a; box-shadow: 0 8px 20px rgba(201,168,76,.35); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-ink); }

/* -------- Hero chat (primary CTA lives in the hero) -------- */
.hero-chat { padding: 56px 0 72px; text-align: left; }
.hero-chat .container { max-width: 720px; }
.hero-chat .hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  color: var(--gold);
  margin: 0 0 10px;
  font-weight: 700;
}
.hero-chat h1 {
  text-align: left;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.hero-chat .sub {
  text-align: left;
  color: #d7dce8;
  font-size: 1.02rem;
  margin: 0 auto 26px 0;
  max-width: 620px;
}
.hero-question {
  background: #0f1a36;
  border: 1px solid #253156;
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero-question .q-label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: #c9d1e6;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.hero-question textarea {
  display: block;
  width: 100%;
  min-height: 86px;
  padding: 14px 14px;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #fff;
  background: #0a1228;
  border: 1px solid #304173;
  border-radius: 10px;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.hero-question textarea::placeholder { color: #7e8cb0; }
.hero-question textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.18);
}
.hero-question .q-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hero-question .q-hint { color: #8792b3; font-size: .82rem; }
.hero-question .error-msg { color: #ffb3be; margin-top: 8px; min-height: 0; }

.q-examples {
  list-style: none;
  padding: 14px 0 0;
  margin: 14px 0 0;
  border-top: 1px dashed #2a3661;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.q-examples::before {
  content: 'Try:';
  color: #8792b3;
  font-size: .82rem;
  align-self: center;
  margin-right: 4px;
}
.q-chip {
  background: #15224a;
  color: #d7dce8;
  border: 1px solid #2a3661;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.q-chip:hover {
  background: #1e2d5c;
  border-color: var(--gold);
  color: #fff;
}

/* -------- Section wrapper (situation + results) -------- */
.section-wrap { padding: 36px 0 64px; }
.section-wrap + .section-wrap { padding-top: 0; }

/* -------- Summary card (locked-in prior answers) -------- */
.card-summary {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.card-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.summary-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.summary-text {
  color: var(--ink);
  font-size: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.btn-link {
  background: transparent;
  border: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 4px;
  white-space: nowrap;
}
.btn-link:hover { color: var(--gold-dark, #a98732); }

/* -------- Funnel (legacy container, retained for future use) -------- */
.funnel { padding: 48px 0 72px; }

.progress {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: s;
  justify-content: center;
  flex-wrap: wrap;
}
.progress .step {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.progress .step span {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  font-size: .8rem;
}
.progress .step.active { color: var(--navy); border-color: var(--navy); }
.progress .step.active span { background: var(--navy); color: #fff; }
.progress .step.done { color: var(--gold-dark); border-color: var(--gold); }
.progress .step.done span { background: var(--gold); color: #1a1a1a; }

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card + .card { margin-top: 20px; }
.card h2 { margin: 0 0 6px; font-size: 1.4rem; }

/* -------- Form -------- */
.form label {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,39,68,.12);
}
.form input[aria-invalid="true"],
.form select[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(176,0,32,.08);
}
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; gap: 0; } }

.char-count {
  display: block;
  text-align: right;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

/* -------- Results -------- */
.results { min-height: 200px; }
.loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 0; gap: 16px; color: var(--muted);
}
.spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.answer-text {
  white-space: pre-wrap;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1e2740;
}
.answer-text p { margin: 0 0 1em; }
.answer hr {
  border: 0; border-top: 1px solid var(--border); margin: 24px 0;
}
.cta-block { text-align: center; }
.cta-block p { margin: 0 0 14px; }

/* -------- Footer -------- */
.site-footer {
  background: #101a33;
  color: #b7c0d4;
  padding: 28px 0;
  margin-top: 48px;
  font-size: .88rem;
}
.site-footer .disclaimer { margin: 0 0 10px; color: #a0aac1; }
.site-footer .disclosure {
  margin: 0 0 10px;
  color: #8b95ae;
  font-size: .82rem;
  line-height: 1.55;
  padding-top: 10px;
  border-top: 1px solid #1f2a48;
}
.site-footer .copy { margin: 0; color: #7a849b; }
