/* Frontier Outage Tracker — shared styles v3 (color pass)
   Mobile-first. Same class names as v2 -- this is a visual-only update, so
   it applies instantly to all 154 existing pages with zero HTML/DB changes.
   Ad slots keep their generous spacing away from buttons, per the earlier
   button-proximity issue on a sibling site. */

:root {
  --fot-blue: #0b5fbf;
  --fot-blue-dark: #063f80;
  --fot-blue-light: #eaf3ff;
  --fot-teal: #0e7c8c;
  --fot-teal-light: #e3f6f6;
  --fot-amber: #f79009;
  --fot-amber-dark: #b54708;
  --fot-amber-light: #fef0c7;
  --fot-red: #d92d20;
  --fot-red-light: #fef3f2;
  --fot-green: #12b76a;
  --fot-ink: #101828;
  --fot-ink-soft: #475467;
  --fot-border: #e4e7ec;
  --fot-bg: #f9fafb;
  --fot-radius: 14px;
  --fot-radius-sm: 10px;
  --fot-shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --fot-shadow-lg: 0 4px 12px rgba(16,24,40,.08);
  /* Frontier's actual verified brand color (crimson/red, #d9272d) -- used for data emphasis
     only (stat numbers, chart lines, city names in the report feed). Distinct variable from
     --fot-red above, which is a status/semantic color (error states, "recent" map pins) --
     they happen to land in the same family since that's genuinely Frontier's brand color,
     not a design choice to match it deliberately. */
  --fot-brand: #d9272d;
  --fot-brand-dark: #a01f22;
  --fot-hero-bg: #101828;
}

.fot-wrap * { box-sizing: border-box; }

/* ---------- Section rhythm ---------- */
.fot-section {
  margin: 32px 0;
}
.fot-section h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--fot-ink);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fot-section h2::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--fot-blue), var(--fot-teal));
  flex-shrink: 0;
}

/* Alternating tinted backgrounds for visual rhythm -- CSS-only, no markup
   changes, so this applies retroactively to every page already built. */
.fot-section:nth-of-type(3n+2) {
  background: var(--fot-blue-light);
  border-radius: var(--fot-radius);
  padding: 24px;
  margin: 32px 0;
}
.fot-section:nth-of-type(3n+3) {
  background: var(--fot-teal-light);
  border-radius: var(--fot-radius);
  padding: 24px;
  margin: 32px 0;
}

/* ---------- Intro / hero strip ---------- */
.fot-intro {
  background: linear-gradient(120deg, var(--fot-blue-light) 0%, var(--fot-teal-light) 100%);
  border: 1px solid #d3e6fc;
  border-left: 5px solid var(--fot-blue);
  border-radius: var(--fot-radius);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fot-ink);
  margin: 0 0 24px;
}

/* ---------- Map ---------- */
.fot-map-shell {
  border-radius: var(--fot-radius);
  overflow: hidden;
  border: 2px solid var(--fot-blue-light);
  box-shadow: var(--fot-shadow-lg);
}
.fot-map {
  width: 100%;
  height: 280px;
  display: block;
}
@media (min-width: 640px) {
  .fot-map { height: 380px; }
}
@media (min-width: 960px) {
  .fot-map { height: 460px; }
}

.fot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--fot-ink-soft);
  margin: 14px 2px 0;
}
.fot-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: 999px;
  padding: 5px 12px;
}
.fot-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.fot-legend .dot.red   { background: var(--fot-red); }
.fot-legend .dot.blue  { background: var(--fot-blue); }
.fot-legend .dot.green { background: var(--fot-green); }

/* Leaflet pins */
.fot-pin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(16,24,40,.2); }
.fot-pin-red   { background: var(--fot-red); }
.fot-pin-blue  { background: var(--fot-blue); }
.fot-pin-green { background: var(--fot-green); }

/* ---------- Stat strip ---------- */
.fot-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  padding: 10px 16px;
  box-shadow: var(--fot-shadow);
}
.fot-stat .num { font-size: 28px; font-weight: 800; color: var(--fot-blue); }
.fot-stat .label { font-size: 13px; color: var(--fot-ink-soft); font-weight: 500; }

/* ---------- Stat counter grid (homepage / city summary) ---------- */
.fot-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .fot-stat-grid { grid-template-columns: repeat(3, 1fr); }
}
.fot-stat-card {
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--fot-shadow-lg);
}
.fot-stat-card .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--fot-brand);
  line-height: 1.1;
}
.fot-stat-card .label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fot-ink-soft);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-top: 6px;
}

/* ---------- Charts ---------- */
.fot-chart-shell {
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius);
  padding: 20px;
  box-shadow: var(--fot-shadow-lg);
  height: 280px;
  position: relative;
}
.fot-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .fot-chart-grid { grid-template-columns: 1.6fr 1fr; }
}

/* ---------- Most-affected cities list ---------- */
.fot-affected-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: affected;
  background: #fff;
  border-radius: var(--fot-radius);
  border: 1px solid var(--fot-border);
  overflow: hidden;
  box-shadow: var(--fot-shadow-lg);
}
.fot-affected-list li { counter-increment: affected; }
.fot-affected-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--fot-ink);
  border-bottom: 1px solid var(--fot-border);
  transition: background .15s ease;
}
.fot-affected-list li:last-child a { border-bottom: none; }
.fot-affected-list a:hover { background: var(--fot-blue-light); }
.fot-affected-list a::before {
  content: counter(affected);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fot-amber);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-right: 12px;
  flex-shrink: 0;
}
.fot-affected-name { font-weight: 700; font-size: 14px; flex: 1; }
.fot-affected-count { font-size: 14px; color: var(--fot-brand); font-weight: 800; }

/* ---------- Report cards ---------- */
.fot-report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .fot-report-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .fot-report-grid { grid-template-columns: repeat(3, 1fr); }
}

.fot-report-card {
  border: 1px solid var(--fot-border);
  border-left: 4px solid var(--fot-blue);
  border-radius: var(--fot-radius-sm);
  padding: 14px 16px;
  background: #fff;
  box-shadow: var(--fot-shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}
.fot-report-card:hover {
  box-shadow: var(--fot-shadow-lg);
  transform: translateY(-1px);
}
.fot-report-card .fot-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}
.fot-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.fot-badge.red   { background: var(--fot-red); }
.fot-badge.blue  { background: var(--fot-blue); }
.fot-badge.green { background: var(--fot-green); }
.fot-report-card .fot-service { font-weight: 700; font-size: 14px; color: var(--fot-ink); }
.fot-city-label { font-weight: 800; font-size: 13px; color: var(--fot-brand); margin-top: 2px; }

/* ---------- City search finder ---------- */
.fot-finder-wrap { max-width: 480px; margin: 0 auto; }
.fot-finder-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  box-sizing: border-box;
}
.fot-finder-input:focus { outline: none; border-color: var(--fot-blue); box-shadow: 0 0 0 3px rgba(11,95,191,.15); }
.fot-finder-results { margin-top: 10px; display: none; }
.fot-finder-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  margin-bottom: 6px;
  text-decoration: none;
  color: var(--fot-ink);
  font-weight: 600;
  font-size: 14px;
}
.fot-finder-item:hover { border-color: var(--fot-blue); }
.fot-finder-cta { color: var(--fot-blue); font-size: 12px; font-weight: 700; }
.fot-report-card .fot-meta { font-size: 12px; color: var(--fot-ink-soft); margin-top: 2px; }
.fot-report-card .fot-comment { font-size: 13px; color: var(--fot-ink); margin-top: 8px; line-height: 1.5; }

.fot-empty-state {
  font-size: 14px;
  color: var(--fot-ink-soft);
  padding: 28px 16px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--fot-blue);
  border-radius: var(--fot-radius-sm);
}

.fot-see-all {
  text-align: center;
  margin-top: 18px;
}
.fot-see-all-btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--fot-amber), var(--fot-amber-dark));
  border: none;
  border-radius: var(--fot-radius-sm);
  text-decoration: none;
  box-shadow: var(--fot-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.fot-see-all-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--fot-shadow-lg);
}

/* ---------- city index (/cities/) ---------- */
.fot-state-group {
  margin-bottom: 26px;
  background: #fff;
  border-radius: var(--fot-radius-sm);
  padding: 16px 18px;
  border: 1px solid var(--fot-border);
}
.fot-state-group h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--fot-blue);
  border-bottom: 2px solid var(--fot-blue-light);
  padding-bottom: 8px;
  margin: 0 0 10px;
}
.fot-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.fot-city-link {
  font-size: 14px;
  color: var(--fot-ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.fot-city-link:hover { color: var(--fot-blue); text-decoration: underline; }

.fot-state-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .fot-state-list { grid-template-columns: repeat(3, 1fr); }
}
.fot-state-list li a {
  display: block;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  color: var(--fot-ink);
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
.fot-state-list li a:hover {
  box-shadow: var(--fot-shadow);
  transform: translateY(-1px);
}
.fot-state-list li a strong { color: var(--fot-blue); }

/* ---------- Report form ---------- */
.fot-form {
  max-width: 480px;
  border: 1px solid var(--fot-border);
  border-top: 4px solid var(--fot-amber);
  border-radius: var(--fot-radius);
  padding: 20px;
  background: #fff;
  box-shadow: var(--fot-shadow-lg);
}
.fot-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fot-ink);
  margin: 14px 0 6px;
}
.fot-form label:first-child { margin-top: 0; }
.fot-form select,
.fot-form textarea,
.fot-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  box-sizing: border-box;
  color: var(--fot-ink);
  background: #fff;
}
.fot-form select:focus,
.fot-form textarea:focus,
.fot-form input[type="text"]:focus {
  outline: none;
  border-color: var(--fot-blue);
  box-shadow: 0 0 0 3px rgba(11,95,191,.15);
}
.fot-form textarea { resize: vertical; min-height: 72px; }

.fot-zip-confirm {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  min-height: 16px;
}
.fot-zip-confirm.checking   { color: var(--fot-ink-soft); font-weight: 500; }
.fot-zip-confirm.found      { color: var(--fot-green); }
.fot-zip-confirm.not-found  { color: var(--fot-ink-soft); font-weight: 500; }

.fot-recaptcha-wrap {
  margin: 16px 0;
  transform-origin: 0 0;
  max-width: 100%;
  overflow-x: auto;
}

.fot-form button {
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--fot-blue), var(--fot-blue-dark));
  border: none;
  border-radius: var(--fot-radius-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fot-form button:hover { transform: translateY(-1px); box-shadow: var(--fot-shadow-lg); }
.fot-form button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
@media (min-width: 480px) {
  .fot-form button { width: auto; }
}

.fot-form-msg { font-size: 13px; margin-top: 12px; font-weight: 600; }
.fot-form-msg.error   { color: var(--fot-red); }
.fot-form-msg.success { color: var(--fot-green); }

/* ---------- Tools grid (Spectrum-style "Outage Tools & Resources") ---------- */
.fot-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .fot-tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .fot-tools-grid { grid-template-columns: repeat(3, 1fr); }
}
.fot-tool-card {
  display: block;
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--fot-shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}
.fot-tool-card:hover { box-shadow: var(--fot-shadow-lg); transform: translateY(-2px); }
.fot-tool-card .fot-tool-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--fot-ink);
  margin-bottom: 6px;
}
.fot-tool-card .fot-tool-desc {
  font-size: 13px;
  color: var(--fot-ink-soft);
  line-height: 1.5;
  margin-bottom: 10px;
}
.fot-tool-card .fot-tool-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--fot-blue);
}

/* ---------- Trust badge bar ---------- */
.fot-trust-bar {
  font-size: 13px;
  color: var(--fot-ink-soft);
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
  text-align: center;
}
.fot-trust-bar strong { color: var(--fot-ink); }

/* ---------- ZIP checker tool ---------- */
.fot-zip-checker {
  display: flex;
  gap: 10px;
  max-width: 420px;
  flex-wrap: wrap;
}
.fot-zip-checker input {
  flex: 1;
  min-width: 160px;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
}
.fot-zip-checker button {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--fot-teal), #0a5c68);
  border: none;
  border-radius: var(--fot-radius-sm);
  cursor: pointer;
}

/* ---------- Report Outage nav CTA button (scoped to the nav item's own class, not
   every link that happens to point at /report-outage/ -- see fix history: the previous
   a[href*="/report-outage/"] selector matched the tools-grid card, hero CTA, and service
   page links too) ---------- */
.fot-nav-cta > a {
  background: linear-gradient(135deg, var(--fot-amber), var(--fot-amber-dark));
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 999px;
  font-weight: 700;
}

/* ---------- Zip code coverage chips ---------- */
.fot-zip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fot-zip-chip {
  display: inline-block;
  background: var(--fot-blue-light);
  color: var(--fot-blue-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.fot-zip-chip-more {
  background: var(--fot-border);
  color: var(--fot-ink-soft);
}

/* ---------- Report form mode toggle (By City / By Zip) ---------- */
.fot-mode-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.fot-mode-toggle button {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  background: #fff;
  color: var(--fot-ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.fot-mode-toggle button.active {
  background: var(--fot-blue);
  border-color: var(--fot-blue);
  color: #fff;
}

/* ---------- Success banner (replaces plain success text) ---------- */
.fot-success-banner {
  margin-top: 16px;
  padding: 18px 20px;
  background: #ecfdf3;
  border: 1px solid var(--fot-green);
  border-radius: var(--fot-radius);
  scroll-margin-top: 24px;
}
.fot-success-title {
  font-size: 16px;
  font-weight: 800;
  color: #067647;
  margin-bottom: 10px;
}
.fot-success-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.fot-success-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--fot-blue);
  text-decoration: none;
}
.fot-success-links a:hover { text-decoration: underline; }

/* ---------- Nearby-city cards ---------- */
.fot-nearby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .fot-nearby-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .fot-nearby-grid { grid-template-columns: repeat(4, 1fr); }
}
.fot-nearby-card {
  border: 1px solid var(--fot-border);
  border-top: 3px solid var(--fot-teal);
  border-radius: var(--fot-radius-sm);
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  display: block;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fot-nearby-card:hover {
  border-color: var(--fot-teal);
  box-shadow: var(--fot-shadow-lg);
  transform: translateY(-1px);
}
.fot-nearby-card .fot-city-name { font-weight: 700; font-size: 14px; color: var(--fot-ink); }
.fot-nearby-card .fot-city-count { font-size: 12px; color: var(--fot-ink-soft); margin-top: 4px; }

/* ---------- FAQ ---------- */
.fot-faq-item {
  border-bottom: 1px solid var(--fot-border);
  padding: 18px 0 18px 16px;
  border-left: 3px solid transparent;
  transition: border-color .15s ease;
}
.fot-faq-item:hover { border-left-color: var(--fot-amber); }
.fot-faq-item:first-child { padding-top: 0; }
.fot-faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fot-ink);
  margin: 0 0 8px;
}
.fot-faq-item p {
  font-size: 14px;
  color: var(--fot-ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Ad slots ---------- */
.fot-ad-slot {
  margin: 40px 0;
  padding: 4px 0;
  text-align: center;
}
.fot-ad-slot .fot-ad-label {
  display: block;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #98a2b3;
  margin-bottom: 8px;
}
.fot-ad-slot .fot-ad-unit {
  max-width: 728px;
  margin: 0 auto;
  min-height: 90px;
}

/* ---------- Mobile-only tightening ---------- */
@media (max-width: 480px) {
  .fot-section h2 { font-size: 18px; }
  .fot-section:nth-of-type(3n+2), .fot-section:nth-of-type(3n+3) { padding: 16px; }
  .fot-intro { padding: 16px 18px; font-size: 14px; }
  .fot-form { padding: 16px; }
}

/* ---------- Live status banner (pulsing, auto-refreshing) ---------- */
.fot-live-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--fot-bg);
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--fot-ink-soft);
}
.fot-live-banner.fot-live-active {
  background: var(--fot-red-light);
  border-color: #fecdca;
  color: var(--fot-ink);
}
.fot-live-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fot-green);
  box-shadow: 0 0 0 0 rgba(18,183,106,.5);
  animation: fot-pulse 2s infinite;
}
.fot-live-active .fot-live-dot {
  background: var(--fot-red);
  box-shadow: 0 0 0 0 rgba(217,45,32,.5);
  animation: fot-pulse-red 2s infinite;
}
@keyframes fot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(18,183,106,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(18,183,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); }
}
@keyframes fot-pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(217,45,32,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(217,45,32,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,45,32,0); }
}
.fot-live-text strong { color: inherit; }

/* ================================================================
   Design system: disclaimer bar, dark hero, floating status card,
   footer, tools grid. Data-color emphasis lives in the rules above.
   ================================================================ */

/* ---------- Slim disclaimer bar (above header) ---------- */
.fot-disclaimer-bar {
  background: var(--fot-bg);
  border-bottom: 1px solid var(--fot-border);
  padding: 8px 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--fot-ink-soft);
}
.fot-disclaimer-bar a { color: var(--fot-ink-soft); text-decoration: underline; }

/* ---------- Dark hero ---------- */
.fot-hero {
  position: relative;
  background: var(--fot-hero-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(217,39,45,0.28) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 40px);
  padding: 56px 20px 96px;
  text-align: center;
  overflow: hidden;
}
.fot-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.fot-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
}
.fot-hero-badge .fot-live-dot { background: var(--fot-green); }
.fot-hero h1 {
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 14px;
}
@media (min-width: 640px) { .fot-hero h1 { font-size: 44px; } }
.fot-hero h1 .fot-brand-em { color: #ff6961; }
.fot-hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
}
.fot-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--fot-radius-sm);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.fot-btn-primary { background: var(--fot-brand); color: #fff; }
.fot-btn-primary:hover { background: var(--fot-brand-dark); }
.fot-btn-glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
}
.fot-btn-glass:hover { background: rgba(255,255,255,0.16); }

/* ---------- Floating status card ---------- */
.fot-status-wrapper { margin-top: -56px; padding: 0 20px; position: relative; z-index: 2; }
.fot-status-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--fot-radius);
  box-shadow: 0 12px 32px rgba(16,24,40,0.18);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 6px solid var(--fot-green);
}
.fot-status-card.fot-status-isolated { border-left-color: var(--fot-amber); }
.fot-status-card.fot-status-active { border-left-color: var(--fot-red); }
.fot-status-title { font-size: 17px; font-weight: 800; color: var(--fot-ink); margin: 0 0 2px; }
.fot-status-sub { font-size: 13px; color: var(--fot-ink-soft); }
.fot-status-refresh {
  background: var(--fot-bg);
  border: 1px solid var(--fot-border);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
}
.fot-status-refresh:hover { background: var(--fot-blue-light); }

/* ---------- Tools grid ---------- */
.fot-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .fot-tools-grid { grid-template-columns: repeat(3, 1fr); } }
.fot-tool-card {
  display: block;
  background: #fff;
  border: 1px solid var(--fot-border);
  border-radius: var(--fot-radius);
  padding: 18px;
  text-decoration: none;
  box-shadow: var(--fot-shadow);
  transition: box-shadow .15s ease, transform .15s ease;
}
.fot-tool-card:hover { box-shadow: var(--fot-shadow-lg); transform: translateY(-1px); }
.fot-tool-card .fot-tool-title { font-weight: 800; color: var(--fot-ink); font-size: 15px; margin-bottom: 4px; }
.fot-tool-card .fot-tool-desc { font-size: 13px; color: var(--fot-ink-soft); }

/* ---------- Footer ---------- */
.fot-footer {
  background: var(--fot-hero-bg);
  color: rgba(255,255,255,0.72);
  padding: 40px 20px 24px;
  margin-top: 48px;
  border-radius: var(--fot-radius) var(--fot-radius) 0 0;
}
.fot-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 24px;
}
@media (min-width: 640px) { .fot-footer-grid { grid-template-columns: repeat(3, 1fr); } }
.fot-footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 12px; }
.fot-footer-col a { display: block; color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.fot-footer-col a:hover { color: #fff; }
.fot-footer-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  margin-bottom: 14px;
}
.fot-footer-copy { text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
