/* codeBLOCK — navy/slate theme with an amber accent */
:root {
  --bg: #0f172a;          /* slate-900 */
  --surface: #1e293b;     /* slate-800 */
  --surface-2: #162032;
  --border: #334155;      /* slate-700 */
  --fg: #f1f5f9;          /* slate-100 */
  --fg-strong: #f8fafc;
  --muted: #cbd5e1;       /* slate-300 */
  --subtle: #94a3b8;      /* slate-400 */
  --accent: #f59e0b;      /* amber-500 */
  --accent-hover: #fbbf24;
  --accent-ink: #1a1203;
  --error: #fca5a5;
  --ok: #22c55e;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(245, 158, 11, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(59, 130, 246, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 680px; }

/* ---------- Floating pill nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
  font-weight: 600;
}

.pill-nav a { color: var(--fg); text-decoration: none; }
.pill-nav a:hover { color: var(--accent); }

.nav-sep { width: 1px; height: 18px; background: var(--border); }

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink) !important;
}
.nav-cta:hover { background: var(--accent-hover); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand strong { font-weight: 800; color: var(--accent); }

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 2px;
}
.brand-mark i { width: 7px; height: 7px; border-radius: 2px; background: #475569; }
.brand-mark i:nth-child(1),
.brand-mark i:nth-child(4) { background: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 3rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 16ch;
  font-size: clamp(2.3rem, 6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
}
.hero h1 .accent { color: var(--accent); }

.lede { max-width: 60ch; margin: 0 0 2rem; color: var(--muted); font-size: 1.1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 2.5rem;
}
.hero-art img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 520px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { color: var(--fg); border-color: var(--subtle); }
.btn-outline { color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: rgba(245, 158, 11, 0.1); color: var(--accent-hover); }
.btn-block { display: block; width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }

.section-title {
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
  color: var(--accent);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-intro { margin: 0 0 2rem; color: var(--muted); }
.section-title-spaced { margin-top: 3rem; }

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.plan h3 { margin: 0 0 0.35rem; font-size: 1.35rem; color: var(--fg-strong); }
.plan-tagline { margin: 0 0 1.25rem; color: var(--subtle); font-size: 0.95rem; }
.plan .btn { margin-top: auto; }

.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 40px -20px rgba(245, 158, 11, 0.35);
}

.badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price {
  margin: 0 0 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--fg-strong); line-height: 1.1; }
.price-quote { font-size: 1.6rem; color: var(--muted); }
.price-unit { margin-left: 0.4rem; color: var(--subtle); font-size: 0.9rem; }
.price-plus { display: block; margin-top: 0.25rem; color: var(--muted); }
.price-plus strong { color: var(--accent); font-size: 1.15rem; }

.breakdown-link { display: inline-block; margin: -0.5rem 0 1.25rem; font-size: 0.9rem; font-weight: 600; }

/* ---------- $20/month breakdown ---------- */
.receipt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.receipt-lines { list-style: none; margin: 0; padding: 0 1.5rem; }
.receipt-lines li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border);
}
.receipt-lines li:last-child { border-bottom: 0; }
.receipt-lines strong { display: block; color: var(--fg-strong); }
.receipt-lines span { color: var(--subtle); font-size: 0.92rem; }
.receipt-lines .receipt-typical { flex-shrink: 0; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }

.receipt-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.receipt-label { display: block; color: var(--subtle); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.receipt-strike { font-size: 1.4rem; font-weight: 700; color: var(--subtle); text-decoration: line-through; text-decoration-color: var(--accent); }
.receipt-ours { text-align: right; }
.receipt-price { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.receipt-price small { font-size: 1rem; font-weight: 600; color: var(--muted); }

.fineprint { margin: 0.9rem 0 0; color: #64748b; font-size: 0.8rem; }

.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checks li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; color: var(--muted); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------- Compare table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 0.8rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--fg-strong); font-size: 0.9rem; background: var(--surface-2); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--muted); }
.compare .col-featured { background: rgba(245, 158, 11, 0.07); }
.compare thead .col-featured { color: var(--accent); }
.yes { color: var(--accent); font-weight: 800; }
.no { color: #475569; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.steps li { padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps h3 { margin: 0.35rem 0 0.4rem; font-size: 1.05rem; color: var(--fg-strong); }
.steps p { margin: 0; color: var(--subtle); font-size: 0.95rem; }
.step-num { font-weight: 800; color: var(--accent); letter-spacing: 0.05em; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags span {
  padding: 0.3rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Card / form ---------- */
.card {
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.form-title { margin: 0 0 0.25rem; color: var(--accent); font-size: 1.5rem; }
.form-intro { margin: 0 0 1.5rem; color: var(--muted); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }

label { display: block; margin-bottom: 0.35rem; font-size: 0.85rem; font-weight: 600; }

input, select, textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #64748b; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.field-error { margin: 0.35rem 0 0; color: var(--error); font-size: 0.85rem; }

.recaptcha-note { margin: 0.75rem 0 0; color: #64748b; font-size: 0.75rem; text-align: center; }
.recaptcha-note a { color: var(--subtle); }
.grecaptcha-badge { visibility: hidden; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Thank-you ---------- */
.hero-center { min-height: 60vh; display: flex; align-items: center; }
.thanks { text-align: center; }
.thanks h1 { margin: 0.75rem 0; max-width: none; font-size: 2rem; }
.thanks .lede { margin: 0 auto 1rem; }
.thanks-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.6rem;
  font-weight: 800;
}
.redirect-note { margin: 0; color: var(--subtle); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.about-story p { margin: 0 0 1rem; color: var(--muted); font-size: 1.05rem; }

.founder { padding: 1.75rem 1.5rem; }
.founder p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.founder-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.founder-head h3 { margin: 0; font-size: 1.25rem; color: var(--fg-strong); }
.founder-head .founder-role { margin: 0; color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.founder-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
  border: 2px solid var(--accent);
  box-shadow: 6px 6px 0 #475569;
}

/* Keep the brand name's casing inside uppercase headings */
.brand-case { text-transform: none; }
.founder blockquote {
  margin: 0 0 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--accent);
  color: var(--subtle);
  font-style: italic;
  font-size: 0.92rem;
}
.founder-link { font-weight: 700; font-size: 0.9rem; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.values article { padding: 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.values h3 { margin: 0.9rem 0 0.4rem; font-size: 1.05rem; color: var(--fg-strong); }
.values p { margin: 0; color: var(--subtle); font-size: 0.95rem; }
.value-icon { display: grid; grid-template-columns: repeat(2, 12px); gap: 3px; }
.value-icon i { width: 12px; height: 12px; border-radius: 3px; background: #475569; }
.values article:nth-child(1) .value-icon i:nth-child(1),
.values article:nth-child(2) .value-icon i:nth-child(2),
.values article:nth-child(3) .value-icon i:nth-child(4),
.values article:nth-child(4) .value-icon i:nth-child(3) { background: var(--accent); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), var(--surface) 60%);
}
.cta-band h2 { margin: 0 0 0.3rem; color: var(--fg-strong); font-size: 1.5rem; }
.cta-band p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- Service area ---------- */
.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cities article, .city-card { display: block; padding: 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); border-top: 3px solid var(--accent); color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.city-card:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.city-more { display: inline-block; margin-top: 0.9rem; color: var(--accent); font-size: 0.9rem; font-weight: 700; }
.cities h3 { margin: 0.25rem 0 0.5rem; font-size: 1.15rem; color: var(--fg-strong); }
.cities p { margin: 0; color: var(--subtle); font-size: 0.95rem; }
.city-prov { color: var(--accent); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.area-more { margin: 1.5rem 0 0; color: var(--subtle); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 0.75rem; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.75rem 1rem 1.25rem;
  position: relative;
  font-weight: 700;
  color: var(--fg-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 0.85rem; color: var(--accent); font-size: 1.3rem; font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--muted); }

#custom-apps .eyebrow { margin-bottom: 0.4rem; color: var(--accent); }
#custom-apps .cta-band p { max-width: 62ch; }

/* ---------- Complete Care restrictions ---------- */
.restrictions-link {
  display: block;
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--subtle);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.restrictions-link:hover { color: var(--accent); }

.hero-tight { padding-bottom: 1rem; }
.hero-tight h1 { max-width: none; font-size: clamp(2rem, 5vw, 2.8rem); }
.section-tight { padding-top: 1rem; }

.terms { padding: 2rem 1.75rem; }
.terms-heading {
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.terms-list { margin: 0 0 2rem; }
.terms-list div { padding: 0.85rem 0; border-bottom: 1px dashed var(--border); }
.terms-list div:last-child { border-bottom: 0; }
.terms-list dt { position: relative; padding-left: 1.5rem; font-weight: 700; color: var(--fg-strong); }
.terms-list dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}
.terms-list dd { margin: 0.2rem 0 0 1.5rem; color: var(--subtle); font-size: 0.95rem; }

.terms-steps { list-style: none; margin: 0 0 2rem; padding: 0; }
.terms-steps li { display: flex; gap: 1rem; padding: 0.75rem 0; }
.terms-steps .step-num { flex-shrink: 0; width: 2rem; }
.terms-steps strong { color: var(--fg-strong); }
.terms-steps p { margin: 0.15rem 0 0; color: var(--subtle); font-size: 0.95rem; }

.terms-note { padding: 1.25rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.terms-note .terms-heading { border-bottom: 0; padding-bottom: 0; margin-bottom: 0.5rem; }
.terms-note p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.terms-back { margin: 1.5rem 0 0; color: var(--subtle); text-align: center; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer-area { margin-bottom: 0.4rem !important; color: #64748b; }
.footer-links { margin-bottom: 0.4rem !important; }
.footer-links a { color: var(--subtle); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.site-footer { padding: 2rem 0; text-align: center; color: #64748b; font-size: 0.85rem; }
.site-footer p { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .pill-nav { gap: 0.75rem; padding-left: 0.8rem; }
  .pill-nav a:not(.brand):not(.nav-cta):not(.nav-keep), .nav-sep { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 3rem; }
}

/* ---------- City landing pages ---------- */
.breadcrumb { margin-bottom: 1.25rem; color: var(--subtle); font-size: 0.85rem; }
.breadcrumb a { color: var(--subtle); }
.breadcrumb a:hover { color: var(--accent); }
.brand-mark-lg { grid-template-columns: repeat(2, 22px); gap: 6px; flex-shrink: 0; }
.brand-mark-lg i { width: 22px; height: 22px; border-radius: 6px; }
.local-copy { max-width: 75ch; }
.cta-band p a { color: var(--accent); }
.other-cities { margin: 1.5rem 0 0; color: var(--subtle); font-size: 0.92rem; text-align: center; }
.footer-cities { margin-bottom: 0.4rem !important; }
.footer-cities a { color: var(--subtle); text-decoration: none; }
.footer-cities a:hover { color: var(--accent); }

.section-flush { padding-top: 0; }
