/* Frontline Social — public intake styles */
/* Brighter palette + larger type for readability */
:root {
  --bg:        #0d1729;
  --bg-card:   #1a2542;
  --bg-input:  #213057;
  --border:    #38476b;
  --text:      #f5f7fb;            /* near-white */
  --text-soft: #dee4f0;            /* slightly dimmer body text */
  --muted:     #b8c2d6;            /* hints / metadata: now bright */
  --label:     #f5f7fb;            /* form labels: full white */
  --accent:    #f08a4f;            /* warm terracotta, brighter */
  --accent-hi: #ffa370;
  --error:     #fca5a5;
  --ok:        #6ee7b7;
  --shadow:    0 18px 50px rgba(0,0,0,.4);
  --radius:    10px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-soft);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- header ---------- */
.site-header {
  padding: 32px 24px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0e1a2f 0%, var(--bg) 100%);
}
.site-header .inner {
  max-width: 800px;
  margin: 0 auto;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--text);
  margin: 0;
}
.brand .accent { color: var(--accent); }
.tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ---------- language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .8px;
}
.lang-toggle a {
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .12s, background .12s;
}
.lang-toggle a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration:none; }
.lang-toggle a.on {
  color: var(--bg);
  background: var(--accent);
}
.lang-toggle span { color: var(--border); }

/* ---------- hero ---------- */
.hero {
  max-width: 800px;
  margin: 40px auto 8px;
  padding: 0 24px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
  max-width: 640px;
  line-height: 1.55;
}

/* ---------- form ---------- */
form.intake {
  max-width: 800px;
  margin: 28px auto 64px;
  padding: 0 24px;
}
.section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 30px 14px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--text);
}
.section .section-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--label);
  line-height: 1.45;
}
.field .hint {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.field input[type=text],
.field input[type=email],
.field input[type=url],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,.40);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,138,79,.22);
}
.required-star { color: var(--accent); margin-left: 3px; }

/* ---------- checkbox/radio groups ---------- */
.choices { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.choices label {
  display: inline-flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: background .12s, border-color .12s;
}
.choices label:hover { border-color: var(--accent); }
.choices input { accent-color: var(--accent); margin-right: 9px; }
.choices label:has(input:checked) {
  background: rgba(240,138,79,.18);
  border-color: var(--accent);
  color: var(--text);
}

/* ---------- submit ---------- */
.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}
button.primary {
  background: var(--accent);
  color: #1a0d05;
  border: 0;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background .12s, transform .05s;
}
button.primary:hover { background: var(--accent-hi); }
button.primary:active { transform: translateY(1px); }
.submit-note { color: var(--muted); font-size: 14px; }

/* ---------- progress ---------- */
.progress {
  position: sticky; top: 0; z-index: 5;
  background: rgba(13,23,41,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 11px 24px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}
.progress .bar {
  height: 3px; background: var(--border); border-radius: 2px;
  margin-top: 7px; overflow: hidden;
}
.progress .bar > span {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  transition: width .25s;
}

/* ---------- error banner ---------- */
.error-banner {
  max-width: 800px;
  margin: 18px auto 0;
  padding: 16px 20px;
  background: rgba(239,68,68,.14);
  border: 1px solid rgba(239,68,68,.5);
  border-radius: 8px;
  color: #fecaca;
  font-size: 15px;
}
.error-banner ul { margin: 8px 0 0 20px; padding: 0; }
.error-banner strong { color: #fff; }

/* honeypot */
.hp { position:absolute; left:-9999px; opacity:0; pointer-events:none; height:0; }

/* ---------- thanks ---------- */
.thanks {
  max-width: 660px;
  margin: 100px auto;
  padding: 44px 36px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.thanks h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px; margin: 0 0 14px;
  color: var(--text);
}
.thanks p {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.5;
}

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 22px 24px 44px;
  letter-spacing: .4px;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
  .section { padding: 22px 18px 6px; }
  .section h2 { font-size: 22px; }
  .brand { font-size: 26px; }
  .header-top { flex-wrap: wrap; }
}
