/* T65Scout consumer site — shared styles for /65/ pages.
   Tokens and component shapes mirror the existing landing page
   (web/index.html) so the brand reads the same; no build step. */
:root {
  --accent: #1f5fde;
  --accent-dark: #174ab0;
  --ink: #17233b;
  --muted: #5b6b85;
  --bg: #ffffff;
  --soft: #f4f7fc;
  --border: #e3e9f2;
  --green: #2e9e44;
  --amber: #b7791f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 18px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Header --- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; gap: 10px; min-height: 56px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand a { color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.spacer { flex: 1; }
nav.top { display: flex; gap: 4px; flex-wrap: wrap; }
nav.top a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted); border-radius: 8px;
}
nav.top a:hover { color: var(--accent); text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 20px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent;
  cursor: pointer; text-align: center; touch-action: manipulation;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn-row { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.btn-row .btn { width: 100%; }

/* --- Hero --- */
.hero { padding: 40px 0 32px; background: linear-gradient(180deg, #f2f6fd 0%, #ffffff 100%); }
.hero .eyebrow {
  display: inline-block; background: #e8effb; color: var(--accent);
  font-size: 0.82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.hero h1 { font-size: 1.85rem; line-height: 1.18; letter-spacing: -0.02em; margin: 14px 0 12px; }
.hero p.sub { color: var(--muted); font-size: 1.05rem; }
.trust { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }

/* --- Sections --- */
section { padding: 32px 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: 0; }
section h2 { font-size: 1.4rem; letter-spacing: -0.015em; margin-bottom: 10px; }
section h3 { font-size: 1.08rem; margin: 16px 0 4px; }
section p { color: var(--muted); margin-bottom: 12px; }
section p b { color: var(--ink); }
section ul { margin: 0 0 12px 20px; color: var(--muted); }
section li { margin-bottom: 6px; }

/* --- Two-column cards --- */
.cards { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.card {
  background: var(--soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* --- Coverage chips --- */
.coverage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  background: var(--soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 14px; font-size: 0.9rem; font-weight: 600;
}

/* --- FAQ --- */
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-top: 10px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; min-height: 28px; }
.faq details p { margin: 10px 0 0; }

/* --- Lead-capture form --- */
.cta { background: var(--soft); border-top: 1px solid var(--border); }
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 18px; box-shadow: 0 10px 30px rgba(16,24,40,0.06);
}
.field { margin-top: 14px; }
.field.two { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.field .req { color: #c62828; }
.field .opt { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 12px;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; color: var(--ink); font-family: inherit; background: #fff;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent;
}
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 12px; text-align: center; }
.form-status { font-size: 0.92rem; margin-top: 12px; min-height: 1px; }
.form-status.err { color: #c62828; font-weight: 600; }
.success-card {
  background: #eefbf1; border: 1px solid #bfe6c8; border-radius: 16px;
  padding: 26px 20px; text-align: center;
}
.success-card .tick { font-size: 2.2rem; line-height: 1; color: var(--green); }
.success-card h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.success-card p { color: var(--muted); margin: 0 0 8px; }
.success-card a { font-weight: 700; }
.fallback { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* --- Footer + legal --- */
footer { padding: 26px 0 40px; color: var(--muted); font-size: 0.85rem; }
footer .nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
footer .nav a { display: inline-flex; align-items: center; min-height: 44px; }
.disclaimer {
  border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px;
  font-size: 0.78rem; line-height: 1.5; color: var(--muted);
}
.disclaimer p { margin-bottom: 8px; }

/* --- Areas list (city pages) --- */
.area-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.area-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  font-weight: 600; font-size: 0.92rem;
}

@media (min-width: 560px) {
  .field.two { flex-direction: row; }
  .field.two > div { flex: 1; }
  .btn-row { flex-direction: row; }
  .btn-row .btn { width: auto; flex: 1; }
}
@media (min-width: 760px) {
  .hero h1 { font-size: 2.2rem; }
  .cards { flex-direction: row; }
  .cards .card { flex: 1; }
}
