/* CoverageAdvisorGroup — small custom layer on top of Tailwind (Play CDN).
   Kept intentionally short: buttons, form controls, focus states, legal prose. */

:root {
  --brand: #0e5a6b;
  --brand-dark: #123141;
  --accent: #b3541f;
  --accent-dark: #8f4318;
  --line: #e4dccd;
  --ink: #22303a;
  --muted: #5a6b75;
}

body { 
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif; 
  font-size: 1.125rem; /* Increased base font size to 18px */
}
h1, h2, h3, .font-head { font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Skip link (visible only on keyboard focus) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--brand-dark);
  padding: 0.6rem 1rem;
  border: 2px solid var(--brand);
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 10px;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1;
  padding: 0.8rem 1.4rem;
  text-align: center;
  transition: background-color 0.15s ease, transform 0.05s ease;
  cursor: pointer;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-accent:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.15rem; } /* Increased from 1.0625rem */
.btn-block { display: flex; width: 100%; }

/* Form controls */
.field-label {
  display: block;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem; /* Increased from 0.9rem */
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field-note { font-weight: 400; color: var(--muted); }
.field {
  width: 100%;
  border: 1px solid #cdd6da;
  background: #fff;
  border-radius: 9px;
  padding: 0.7rem 0.85rem;
  font-size: 1.125rem; /* Increased from 1rem */
  color: var(--ink);
}
.field::placeholder { color: #9aa7ad; }
.field:focus,
select.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 90, 107, 0.18); }
.field-error { border-color: #b42318; }
.error-text { color: #b42318; font-size: 0.95rem; margin-top: 0.3rem; } /* Increased from 0.85rem */

/* Keyboard focus visibility for links / buttons / inputs */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(14, 90, 107, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Honeypot — hidden from humans, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hero image framing */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQ (native <details>) */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.faq details + details { margin-top: 0.75rem; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: "Libre Franklin", system-ui, sans-serif;
  font-weight: 600;
  color: var(--brand-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding: 0 1.15rem 1.15rem; color: var(--muted); }

/* Legal / long-form prose (privacy, terms, do-not-sell, contact) */
.legal-prose { color: #465158; line-height: 1.7; }
.legal-prose h2 {
  color: var(--brand-dark);
  font-size: 1.4rem; /* Increased from 1.2rem */
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}
.legal-prose p { margin-bottom: 1rem; }
.legal-prose ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.legal-prose li { margin-bottom: 0.35rem; }
.legal-prose a { color: var(--brand); text-decoration: underline; }