/* Business Fiber Locator */

:root {
  --ink: #0b1b2b;
  --ink-2: #22384d;
  --muted: #5a6f83;
  --line: #dfe6ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --brand: #0a4f7a;
  --brand-dark: #073c5c;
  --brand-deep: #06304a;
  --accent: #00b3a4;
  --accent-soft: #e6f7f5;
  --warn: #b45309;
  --radius: 12px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .06), 0 8px 24px rgba(11, 27, 43, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { margin: 44px auto; }
.section > h2 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 14px; letter-spacing: -.01em; }
.section > h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.section p { margin: 0 0 14px; }
.lead { font-size: 1.18rem; color: var(--ink-2); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55);
}
.brand-name { font-size: 1.02rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-accent { color: var(--accent); }

.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a.active { color: var(--brand); border-bottom-color: var(--accent); }
.head-cta { flex: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ----------------------------------------------------------------- hero */
.hero {
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 55%, #0a6b8f 100%);
  color: #fff; padding: 62px 0 56px;
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.13; margin: 0 0 14px; letter-spacing: -.025em; max-width: 20ch; }
.hero-sub { font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 62ch; margin: 0 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 700;
  color: var(--accent); margin: 0 0 10px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.7rem; line-height: 1.1; }
.hero-stats span { font-size: .84rem; color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px; text-decoration: none;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #04322e; }
.btn-primary:hover { background: #00c9b8; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.34); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.inline-link { font-weight: 600; }

/* ----------------------------------------------------------- breadcrumbs */
.crumbs { font-size: .84rem; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumb-sep { margin: 0 8px; opacity: .5; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  background: #fff; color: var(--ink); transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-title { font-weight: 650; font-size: 1rem; line-height: 1.3; }
.card-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.card-tag {
  align-self: flex-start; margin-top: 4px; font-size: .7rem; text-transform: uppercase;
  letter-spacing: .07em; font-weight: 700; color: var(--brand);
  background: var(--accent-soft); padding: 3px 8px; border-radius: 999px;
}

/* ---------------------------------------------------------------- lists */
.ticks, .warns { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li, .warns li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.ticks li::before {
  content: ""; position: absolute; left: 6px; top: .62em; width: 6px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(42deg);
}
.warns li::before {
  content: "!"; position: absolute; left: 4px; top: 0; font-weight: 800;
  color: var(--warn); font-size: .95rem;
}
.two-col { columns: 2; column-gap: 34px; }
.two-col li { break-inside: avoid; }

.steps { padding-left: 20px; margin: 0; }
.steps li { margin-bottom: 12px; }

/* --------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 460px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tbody th { font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------------- callout */
.callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0;
}
.callout strong { display: block; margin-bottom: 4px; }
.callout p { margin: 0; font-size: .94rem; color: var(--ink-2); }

.note { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; background: var(--bg-soft); }
.note h3 { margin: 0 0 6px; font-size: 1.02rem; }
.note p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 8px 0 12px; }
.split h3 { font-size: .96rem; margin: 0 0 8px; }
.provider-block { border-top: 1px solid var(--line); padding-top: 30px; }
.provider-type { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: -8px 0 12px; font-weight: 600; }

/* ----------------------------------------------------------------- FAQ */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 15px 34px 15px 0; font-weight: 600; list-style: none;
  position: relative; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 13px; font-size: 1.3rem;
  font-weight: 400; color: var(--accent);
}
.faq[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 0 16px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------------------------------------------------------------- forms */
.form-section { background: var(--bg-soft); padding: 44px 20px; margin: 56px 0 0; border-top: 1px solid var(--line); }
.form-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.form-card h2 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -.015em; }
.form-sub { color: var(--muted); margin: 0 0 22px; font-size: .96rem; }
.field { display: block; margin-bottom: 15px; }
.field > span { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 5px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-fine { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

.checker { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); }
.step h2 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -.015em; }
.step-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.step-help { color: var(--muted); font-size: .93rem; margin: 0 0 18px; }
.step-nav { display: flex; gap: 10px; margin-top: 8px; }
.choices { display: grid; gap: 10px; margin-bottom: 18px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.choice:hover { border-color: var(--accent); }
.choice input { margin-top: 4px; flex: none; }
.choice span { display: block; font-size: .92rem; color: var(--muted); }
.choice strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.likely { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
.likely h3 { margin: 0 0 8px; font-size: .98rem; }
.likely p { margin: 0 0 8px; font-size: .92rem; color: var(--ink-2); }
.likely p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- cta bar */
.cta-bar {
  max-width: var(--wrap); margin: 50px auto; padding: 26px 30px;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  border-radius: 16px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-bar p { margin: 0; font-size: 1.06rem; font-weight: 500; }

/* --------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: #b8c8d6; margin-top: 60px; padding: 46px 0 26px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.foot-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.foot-col a { display: block; color: #b8c8d6; text-decoration: none; margin-bottom: 8px; }
.foot-col a:hover { color: var(--accent); }
.foot-brand .brand-name { color: #fff; font-size: 1.05rem; font-weight: 700; display: block; margin-bottom: 10px; }
.foot-brand p { margin: 0 0 10px; line-height: 1.6; }
.foot-parent { color: #8ea3b5; font-size: .86rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; color: #8ea3b5; font-size: .82rem; }
.foot-legal p { margin: 0 0 6px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 6px; }
  .two-col { columns: 1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    gap: 0; padding: 8px 20px 16px;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
  .head-cta { display: none; }
  .field-row.two { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
  .hero-stats { gap: 24px; }
  .form-card, .checker { padding: 22px; }
  .cta-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------- thanks */
.thanks-card { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: var(--bg-soft); }
.thanks-card h2 { margin: 0 0 18px; font-size: 1.4rem; letter-spacing: -.015em; }
.thanks-tick {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #04322e;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700;
  margin: 0 0 16px;
}
.thanks-card .steps li { margin-bottom: 14px; }
