/* ═══════════════════════════════════════════════════════════════
   fx — shared page design system (hero band, overlap stats, feature
   rows, splits, steps, CTA banner). Wrap a page in <div class="fx">.
   Theme-aware via custom properties; mobile-first collapses at 960/640.
   ═══════════════════════════════════════════════════════════════ */
.fx {
  --fx-fg: #14213d; --fx-muted: rgba(20,33,61,0.74); --fx-line: rgba(20,33,61,0.12);
  --fx-card: #ffffff; --fx-soft: #eef3fb; --fx-accent: #0066cc; --fx-accent-2: #0891b2;
  --fx-shadow: 0 18px 50px rgba(10,40,90,0.14);
  color: var(--fx-fg);
  overflow-x: clip;
}
body:not(.light) .fx {
  --fx-fg: #eef2f8; --fx-muted: rgba(238,242,248,0.74); --fx-line: rgba(255,255,255,0.12);
  --fx-card: #121a2b; --fx-soft: #0e1626; --fx-accent: #00d9ff; --fx-accent-2: #38bdf8;
  --fx-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* buttons */
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 800; font-size: 0.98rem; text-decoration: none; transition: transform .15s, box-shadow .15s; cursor: pointer; border: 0; font-family: inherit; }
.fx-btn:hover { transform: translateY(-2px); }
.fx-btn-solid { background: linear-gradient(135deg, #0a7cff, #0057b8); color: #fff; box-shadow: 0 8px 22px rgba(0,87,184,0.35); }
body:not(.light) .fx-btn-solid { background: linear-gradient(135deg, #00d9ff, #00a8d6); color: #06121f; box-shadow: 0 8px 22px rgba(0,217,255,0.28); }
.fx-btn-ghost { border: 1.5px solid var(--fx-accent); color: var(--fx-accent); background: transparent; }
.fx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fx-center { text-align: center; }
.fx-center .fx-actions { justify-content: center; }

/* hero: deep navy band in both themes */
.fx-hero { background: radial-gradient(900px 420px at 85% 10%, rgba(0,160,255,0.35), transparent 60%), radial-gradient(700px 380px at 5% 100%, rgba(0,217,255,0.18), transparent 60%), linear-gradient(160deg, #07142e 0%, #0b2a5c 100%); color: #fff; padding: 4.5rem 0 7.5rem; position: relative; overflow: hidden; border-radius: 0 0 28px 28px; }
.fx-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%); mask-image: linear-gradient(115deg, transparent 30%, #000 100%); opacity: 0.6; pointer-events: none; }
.fx-hero-in { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.fx-hero--split .fx-hero-in { grid-template-columns: 1.15fr 0.85fr; }
.fx-eyebrow { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #67e8f9; margin: 0 0 1rem; }
.fx-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; max-width: 19ch; margin: 0 0 1.1rem; color: #fff; }
.fx-hero h1 span { background: linear-gradient(90deg, #67e8f9, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-lede { font-size: 1.12rem; line-height: 1.7; color: rgba(255,255,255,0.84); max-width: 58ch; margin: 0 0 1.9rem; }
.fx-hero .fx-btn-solid { background: linear-gradient(135deg, #22d3ee, #0ea5e9); color: #04121f; box-shadow: 0 8px 26px rgba(34,211,238,0.35); }
.fx-hero .fx-btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.fx-hero-media { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 24px 60px rgba(0,0,0,0.45); background: #0b1220; }
.fx-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.fx-hero--short { padding-bottom: 7rem; }

/* overlap stat/fact card */
.fx-facts-wrap { margin-top: -4.25rem; position: relative; z-index: 2; }
.fx-facts { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 20px; box-shadow: var(--fx-shadow); overflow: hidden; }
.fx-fact { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.fx-fact + .fx-fact { border-left: 1px solid var(--fx-line); }
.fx-fact-label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fx-muted); }
.fx-fact-num { font-family: Orbitron, sans-serif; font-size: 2.2rem; font-weight: 700; line-height: 1.05; background: linear-gradient(90deg, var(--fx-accent), var(--fx-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-fact-note { font-size: 0.92rem; line-height: 1.5; color: var(--fx-muted); }

/* sections */
.fx-sec { padding: 4.5rem 0; }
.fx-sec--soft { background: var(--fx-soft); }
.fx-h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.15; margin: 0 0 0.6rem; }
.fx-sub { color: var(--fx-muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 2.25rem; max-width: 62ch; }
.fx-center .fx-sub { margin-left: auto; margin-right: auto; }
.fx p, .fx li { overflow-wrap: anywhere; }

/* feature grid: icon circle + text, no boxes */
.fx-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2rem; }
.fx-feats--2 { grid-template-columns: repeat(2, 1fr); }
.fx-feats--4 { grid-template-columns: repeat(4, 1fr); }
.fx-feat { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.fx-ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #0a7cff, #0057b8); box-shadow: 0 8px 20px rgba(0,87,184,0.28); }
body:not(.light) .fx-ico { background: linear-gradient(135deg, #00d9ff, #00a8d6); color: #06121f; box-shadow: 0 8px 20px rgba(0,217,255,0.22); }
.fx-feat h3 { font-size: 1.1rem; font-weight: 800; margin: 0.1rem 0 0.35rem; line-height: 1.25; }
.fx-feat p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--fx-muted); }

/* cards (used sparingly) */
.fx-card { position: relative; background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 20px; box-shadow: var(--fx-shadow); padding: 1.75rem; }
.fx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fx-cards--2 { grid-template-columns: repeat(2, 1fr); }
.fx-cards--4 { grid-template-columns: repeat(4, 1fr); }
.fx-card h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 0.9rem; }

/* checklist */
.fx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.fx-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; align-items: start; font-size: 1rem; line-height: 1.45; }
.fx-checks svg { color: var(--fx-accent); margin-top: 0.1rem; }
.fx-note { background: var(--fx-soft); border-left: 4px solid var(--fx-accent); border-radius: 0 12px 12px 0; padding: 0.9rem 1.1rem; font-size: 0.95rem; line-height: 1.6; color: var(--fx-muted); margin: 0; }
.fx-note strong { color: var(--fx-fg); }
.fx-sec--soft .fx-note { background: var(--fx-card); }

/* split: text + photo */
.fx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fx-split--rev > :first-child { order: 2; }
.fx-fig { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--fx-line); box-shadow: var(--fx-shadow); background: #0b1220; }
.fx-fig img, .fx-fig video { display: block; width: 100%; height: auto; }
.fx-fig figcaption { padding: 0.7rem 1rem; font-size: 0.85rem; line-height: 1.4; background: var(--fx-card); color: var(--fx-muted); }
.fx-figs { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.25rem; align-items: start; }
.fx-figs .fx-fig img { aspect-ratio: 3 / 4; object-fit: cover; }

/* product tiles */
.fx-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fx-product { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 18px; }
.fx-product img { width: 84px; height: 84px; object-fit: contain; }
.fx-product b { display: block; font-size: 1.02rem; }
.fx-product em { display: block; font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--fx-accent); margin: 0.1rem 0 0.3rem; }
.fx-product span { font-size: 0.88rem; line-height: 1.5; color: var(--fx-muted); }

/* steps */
.fx-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 1.5rem; position: relative; }
.fx-steps::before { content: ''; position: absolute; top: 25px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--fx-accent), var(--fx-accent-2)); opacity: 0.45; }
.fx-steps li { position: relative; text-align: center; padding: 0 0.5rem; }
.fx-step-n { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, #0a7cff, #0057b8); box-shadow: 0 0 0 6px var(--fx-soft), 0 8px 20px rgba(0,87,184,0.35); }
body:not(.light) .fx-step-n { background: linear-gradient(135deg, #00d9ff, #00a8d6); color: #06121f; }
.fx-sec:not(.fx-sec--soft) .fx-step-n { box-shadow: 0 0 0 6px var(--bg, transparent), 0 8px 20px rgba(0,87,184,0.35); }
.fx-steps h3 { font-size: 1.12rem; font-weight: 800; margin: 1rem 0 0.4rem; }
.fx-steps p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--fx-muted); }

/* chips (cities etc.) */
.fx-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.fx-chip { display: inline-flex; align-items: center; padding: 0.55rem 1rem; border-radius: 99px; background: var(--fx-card); border: 1px solid var(--fx-line); font-weight: 700; font-size: 0.92rem; color: var(--fx-fg); text-decoration: none; }
a.fx-chip:hover { border-color: var(--fx-accent); color: var(--fx-accent); }

/* closing banner */
.fx-cta-wrap { padding: 3rem 0 5rem; }
.fx-cta { text-align: center; padding: 3.5rem 2rem; border-radius: 26px; color: #fff; background: radial-gradient(600px 300px at 80% 0%, rgba(0,200,255,0.35), transparent 60%), linear-gradient(135deg, #07142e, #0b3a7a); box-shadow: var(--fx-shadow); }
.fx-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin: 0 0 0.7rem; color: #fff; }
.fx-cta p { color: rgba(255,255,255,0.84); margin: 0 auto 1.75rem; max-width: 48ch; font-size: 1.05rem; }
.fx-cta .fx-btn-solid { background: #fff; color: #07142e; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.fx-cta .fx-btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }

/* tablet */
@media (max-width: 960px) {
  .fx-hero--split .fx-hero-in { grid-template-columns: 1fr; }
  .fx-hero-media { max-width: 420px; }
  .fx-hero-media img { aspect-ratio: 16 / 11; }
  .fx-feats, .fx-feats--4 { grid-template-columns: repeat(2, 1fr); }
  .fx-cards, .fx-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .fx-products { grid-template-columns: repeat(2, 1fr); }
  .fx-split { grid-template-columns: 1fr; gap: 2rem; }
  .fx-split--rev > :first-child { order: 0; }
  .fx-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .fx-steps::before { display: none; }
  .fx-facts { grid-template-columns: repeat(2, 1fr); }
  .fx-fact:nth-child(3) { border-left: 0; }
  .fx-fact:nth-child(n+3) { border-top: 1px solid var(--fx-line); }
}
/* phone */
@media (max-width: 640px) {
  .fx-hero { padding: 3rem 0 6rem; }
  .fx-hero--short { padding-bottom: 6.5rem; }
  .fx-sec { padding: 3rem 0; }
  .fx-facts-wrap { margin-top: -3.5rem; }
  .fx-cards, .fx-cards--2, .fx-cards--4, .fx-products, .fx-feats, .fx-feats--2, .fx-feats--4, .fx-steps, .fx-figs { grid-template-columns: 1fr; }
  .fx-facts { grid-template-columns: 1fr 1fr; }
  .fx-fact + .fx-fact { border-left: 0; border-top: 0; }
  .fx-fact:nth-child(n+3) { border-top: 1px solid var(--fx-line); }
  .fx-fact:nth-child(even) { border-left: 1px solid var(--fx-line); }
  .fx-fact:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
  .fx-fact { padding: 1rem 1.1rem; }
  .fx-fact-num { font-size: 1.5rem; }
  .fx-fact-note { font-size: 0.82rem; }
  .fx-fig { max-width: 420px; }
  .fx-figs .fx-fig { margin: 0 auto; width: 100%; }
  .fx-btn { width: 100%; }
  .fx-actions { flex-direction: column; }
  .fx-cta { padding: 2.5rem 1.25rem; }
  .fx-product { grid-template-columns: 72px 1fr; }
  .fx-product img { width: 72px; height: 72px; }
}
.fx-figs .fx-fig { display: flex; flex-direction: column; }
.fx-figs .fx-fig figcaption { flex: 1; }
.fx-feats--4 .fx-feat { grid-template-columns: 1fr; gap: 0.75rem; }
.fx-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.fx-stack-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 18px; }
.fx-stack-logos { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; width: 38px; flex-shrink: 0; color: var(--fx-accent); }
.fx-stack-item small { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fx-muted); margin-bottom: 0.15rem; }
.fx-stack-item b { display: block; font-size: 1rem; margin-bottom: 0.3rem; }
.fx-stack-item span.d { font-size: 0.88rem; line-height: 1.5; color: var(--fx-muted); }
.fx-price-tag { font-family: Orbitron, sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--fx-accent); margin: 1.25rem 0 1rem; display: block; }
.fx-card--pop { border: 2px solid var(--fx-accent); position: relative; }
.fx-pop { position: absolute; top: -13px; right: 1.5rem; background: var(--fx-accent); color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 99px; }
body:not(.light) .fx-pop { color: #06121f; }
@media (max-width: 960px) { .fx-stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fx-stack { grid-template-columns: 1fr; } }

/* Specificity bump: the site's global link / heading colours must not win over fx colours. */
.fx-feat { align-content: start; }
body .fx .fx-btn-solid { color: #fff; }
body:not(.light) .fx .fx-btn-solid { color: #06121f; }
body .fx .fx-btn-ghost { color: var(--fx-accent); }
body .fx .fx-hero h1, body .fx .fx-cta h2 { color: #fff; }
body .fx .fx-hero h1 span { color: transparent; }
body .fx .fx-hero .fx-btn-solid { color: #04121f; }
body .fx .fx-hero .fx-btn-ghost, body .fx .fx-cta .fx-btn-ghost { color: #fff; }
body .fx .fx-cta .fx-btn-solid { color: #07142e; }
body .fx .fx-lede, body .fx .fx-cta p { color: rgba(255,255,255,0.84); }
body .fx .fx-eyebrow { color: #67e8f9; }
body .fx .fx-sec .fx-eyebrow { color: var(--fx-accent); }
body .fx .fx-h2, body .fx .fx-feat h3, body .fx .fx-card h3, body .fx .fx-steps h3 { color: var(--fx-fg); }
body .fx a.fx-chip { color: var(--fx-fg); }
body .fx a.fx-chip:hover { color: var(--fx-accent); }
@media (max-width: 640px) { .fx-feats--4 .fx-feat { grid-template-columns: 52px 1fr; gap: 1rem; } }

/* hero side panel (text-only heroes) */
.fx-hero-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 1.6rem 1.75rem; backdrop-filter: blur(6px); }
.fx-hero-panel h2 { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #67e8f9; margin: 0 0 1rem; }
.fx-hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.fx-hero-panel li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; font-size: 1.02rem; line-height: 1.4; color: #fff; }
.fx-hero-panel li svg { color: #67e8f9; margin-top: 0.1rem; }
.fx-alert { border: 2px solid rgba(239,68,68,0.55); background: var(--fx-card); border-radius: 20px; padding: 1.75rem; box-shadow: var(--fx-shadow); }
.fx-alert h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 0.9rem; color: #dc2626; }
body:not(.light) .fx-alert h3 { color: #f87171; }
.fx-alert ol { margin: 0 0 1.25rem 1.2rem; padding: 0; display: grid; gap: 0.5rem; line-height: 1.55; }
.fx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; align-items: stretch; }
@media (max-width: 960px) { .fx-two { grid-template-columns: 1fr; } }
.fx-cta .fx-actions { justify-content: center; }
body .fx .fx-hero-panel h2 { color: #67e8f9; }

/* icon strip (e.g. areas of expertise) */
.fx-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.fx-strip-item { text-align: center; padding: 1.5rem 1rem; background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 18px; }
.fx-strip-item .fx-ico { margin: 0 auto 0.9rem; }
.fx-strip-item b { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.fx-strip-item span.d { font-size: 0.85rem; color: var(--fx-muted); line-height: 1.4; }
@media (max-width: 960px) { .fx-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .fx-strip { grid-template-columns: repeat(2, 1fr); } }

/* contact info rows + form */
.fx-info { display: grid; gap: 1.1rem; }
.fx-info-row { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: center; text-decoration: none; color: inherit; }
a.fx-info-row:hover b { color: var(--fx-accent); }
.fx-info-row small { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fx-muted); }
.fx-info-row b { display: block; font-size: 1.1rem; }
.fx-info-row span.d { display: block; font-size: 0.9rem; color: var(--fx-muted); line-height: 1.55; }
.fx-label { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fx-muted); margin-bottom: 0.4rem; }
.fx-input { width: 100%; box-sizing: border-box; padding: 0.85rem 1rem; min-height: 48px; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--fx-fg); background: var(--fx-soft); border: 1.5px solid var(--fx-line); outline: none; transition: border-color .15s, box-shadow .15s; }
.fx-input:focus { border-color: var(--fx-accent); box-shadow: 0 0 0 3px rgba(0,102,204,0.18); }
body:not(.light) .fx-input:focus { box-shadow: 0 0 0 3px rgba(0,217,255,0.2); }
.fx-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 0.9rem; }
.fx-field { margin-bottom: 0.9rem; }
.fx-field-row .fx-field { margin-bottom: 0; }
@media (max-width: 640px) { .fx-field-row { grid-template-columns: 1fr; } }
.fx-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .fx-contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.fx-social { display: flex; gap: 0.6rem; }
.fx-social a { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--fx-soft); border: 1px solid var(--fx-line); font-weight: 800; font-size: 0.8rem; text-decoration: none; color: var(--fx-fg); }
.fx-social a:hover { border-color: var(--fx-accent); color: var(--fx-accent); }
.fx-person h3 { margin-bottom: 0.2rem; }
.fx-person .role { font-weight: 700; color: var(--fx-accent); font-size: 0.9rem; margin: 0 0 0.75rem; }
.fx-person p.t { margin: 0; color: var(--fx-muted); line-height: 1.65; }
.fx-person a.l { display: inline-block; margin-top: 0.75rem; font-weight: 700; font-size: 0.92rem; color: var(--fx-accent); }

/* service-area lists */
.fx-counties { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.fx-county h3 { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fx-muted); margin: 0 0 0.75rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--fx-line); }
.fx-towns { list-style: none; margin: 0; padding: 0; }
.fx-towns li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--fx-line); }
.fx-towns b { font-size: 1.02rem; }
.fx-towns span { font-size: 0.88rem; color: var(--fx-muted); text-align: right; }
.fx-map { height: 520px; border-radius: 22px; overflow: hidden; border: 1px solid var(--fx-line); background: #111; box-shadow: var(--fx-shadow); }
.fx-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; justify-content: center; margin-top: 1rem; font-size: 0.88rem; color: var(--fx-muted); }
.fx-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.fx-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.fx-legend em { width: 26px; border-top: 2px dashed rgba(0,160,220,0.8); display: inline-block; }
.fx-home { display: grid; grid-template-columns: 52px 1fr auto; gap: 1.25rem; align-items: center; margin-bottom: 2.5rem; }
.fx-card--hi { border: 2px solid var(--fx-accent); }
@media (max-width: 960px) { .fx-counties { grid-template-columns: 1fr; gap: 2rem; } .fx-home { grid-template-columns: 52px 1fr; } .fx-home .fx-actions { grid-column: 1 / -1; } }
@media (max-width: 640px) { .fx-map { height: 380px; } .fx-towns li { flex-direction: column; gap: 0.1rem; } .fx-towns span { text-align: left; } }

/* managed-services: picker, plans, faq */
.fx-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }
.fx-plan { display: flex; flex-direction: column; padding: 1.75rem 1.5rem; }
.fx-plan.is-match { box-shadow: 0 0 0 3px var(--mp-color, #0066cc), var(--fx-shadow); }
.fx-plan .mp-match-badge { display: none; position: absolute; top: 12px; left: 12px; background: #16a34a; color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.25rem 0.7rem; border-radius: 99px; text-transform: uppercase; }
.fx-plan.is-match .mp-match-badge { display: block; }
.fx-plan-tag { position: absolute; top: 12px; right: 12px; background: var(--fx-accent); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.25rem 0.7rem; border-radius: 99px; text-transform: uppercase; }
body:not(.light) .fx-plan-tag { color: #06121f; }
.fx-plan .fx-ico { margin: 1.6rem 0 0.9rem; }
.fx-plan h3 { margin: 0 0 0.2rem; }
.fx-plan .tag { color: var(--fx-muted); font-size: 0.92rem; margin: 0 0 1rem; }
.fx-plan-price { font-family: Orbitron, sans-serif; font-weight: 700; font-size: 2.8rem; line-height: 1; margin-bottom: 1.25rem; background: linear-gradient(90deg, var(--fx-accent), var(--fx-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-plan-price small { font-size: 0.95rem; -webkit-text-fill-color: var(--fx-muted); }
.fx-plan ul { list-style: none; margin: 0 0 1.25rem; padding: 0; flex: 1; }
.fx-plan li { display: grid; grid-template-columns: 22px 1fr; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--fx-line); font-size: 0.93rem; line-height: 1.4; }
.fx-plan li.off { color: var(--fx-muted); opacity: 0.6; }
.fx-plan li b { color: #16a34a; font-weight: 800; }
.fx-plan li.off b { color: var(--fx-muted); }
.fx-plan .best { font-size: 0.85rem; color: var(--fx-muted); background: var(--fx-soft); border-radius: 10px; padding: 0.65rem 0.8rem; margin-bottom: 1.1rem; line-height: 1.5; }
.fx-picker { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.fx-q { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.fx-q legend { font-weight: 800; font-size: 1rem; margin-bottom: 0.7rem; padding: 0; }
.fx-q legend span { font-weight: 500; color: var(--fx-muted); }
.fx-opts { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.fx .mp-opt { font: inherit; font-size: 0.95rem; font-weight: 700; min-height: 46px; padding: 0.6rem 1.05rem; border-radius: 99px; cursor: pointer; color: var(--fx-fg); background: var(--fx-card); border: 1.5px solid var(--fx-line); transition: background .15s, border-color .15s, transform .15s; }
.fx .mp-opt:hover { border-color: var(--fx-accent); transform: translateY(-1px); }
.fx .mp-opt.is-on { background: var(--fx-accent); border-color: var(--fx-accent); color: #fff; }
body:not(.light) .fx .mp-opt.is-on { color: #06121f; }
.fx .mp-result { padding: 1.6rem; border-radius: 20px; text-align: center; background: var(--fx-card); border: 2px solid var(--mp-color, var(--fx-accent)); box-shadow: var(--fx-shadow); }
.fx .mp-res-kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fx-muted); }
.fx .mp-res-name { font-weight: 800; font-size: 1.5rem; margin: 0.3rem 0; color: var(--mp-color, var(--fx-accent)); }
.fx .mp-res-price { font-family: Orbitron, sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; }
.fx .mp-res-price small { font-size: 0.95rem; color: var(--fx-muted); }
.fx .mp-res-why { list-style: none; padding: 0; margin: 1.1rem 0 0.8rem; text-align: left; display: grid; gap: 0.4rem; font-size: 0.92rem; }
.fx .mp-res-why li::before { content: '✓'; color: #16a34a; font-weight: 800; margin-right: 0.5rem; }
.fx .mp-res-value { font-size: 0.85rem; color: var(--fx-muted); line-height: 1.55; margin-bottom: 1.1rem; }
.fx .mp-res-cta { display: flex; }
.fx .mp-res-link { display: inline-block; margin-top: 0.8rem; font-size: 0.88rem; font-weight: 700; color: var(--fx-accent); text-decoration: none; }
.fx-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 0.75rem; }
.fx-faq details { background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 16px; padding: 0 1.4rem; }
.fx-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 800; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 48px; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--fx-accent); flex-shrink: 0; }
.fx-faq details[open] summary::after { content: '\2212'; }
.fx-faq details p { margin: 0 0 1.2rem; color: var(--fx-muted); line-height: 1.7; }
@media (max-width: 1100px) { .fx-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .fx-picker { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fx-plans { grid-template-columns: 1fr; } .fx .mp-opt { flex: 1 1 auto; } }

/* app showcase rows */
.fx-app { padding: 0; overflow: hidden; margin-bottom: 1.75rem; }
.fx-app-top { display: grid; grid-template-columns: 72px 1fr auto; gap: 1.25rem; align-items: center; padding: 1.75rem 2rem; border-bottom: 1px solid var(--fx-line); }
.fx-app-logo { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #0a7cff, #0057b8); overflow: hidden; }
.fx-app-logo img { width: 100%; height: 100%; display: block; }
.fx-app h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 0.4rem; }
.fx-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fx-badge { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 99px; background: var(--fx-soft); border: 1px solid var(--fx-line); color: var(--fx-fg); }
.fx-badge--beta { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.5); color: #b45309; }
body:not(.light) .fx-badge--beta { color: #fbbf24; }
.fx-app-desc { padding: 1.5rem 2rem 0; margin: 0; color: var(--fx-muted); line-height: 1.75; font-size: 1.02rem; }
.fx-app-actions { padding: 1.25rem 2rem 0; }
.fx-app-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 1.75rem 2rem; }
.fx-app-lists h3 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fx-accent); margin: 0 0 0.8rem; }
.fx-app-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1rem 2rem; background: var(--fx-soft); border-top: 1px solid var(--fx-line); font-size: 0.92rem; color: var(--fx-muted); }
.fx-app-foot strong { color: var(--fx-fg); }
@media (max-width: 760px) {
  .fx-app-top { grid-template-columns: 56px 1fr; padding: 1.25rem; }
  .fx-app-logo { width: 56px; height: 56px; border-radius: 14px; }
  .fx-app-desc, .fx-app-actions, .fx-app-lists, .fx-app-foot { padding-left: 1.25rem; padding-right: 1.25rem; }
  .fx-app-lists { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* blog cards */
.fx-post { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.fx-post:hover { transform: translateY(-4px); }
.fx-post .fx-ico { margin-bottom: 1rem; }
.fx-post-img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; margin-bottom: 1rem; }
.fx-post-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.85rem; color: var(--fx-muted); }
.fx-post h2 { font-size: 1.3rem; font-weight: 800; line-height: 1.3; margin: 0 0 0.6rem; color: var(--fx-fg); }
.fx-post p { margin: 0 0 1.25rem; color: var(--fx-muted); line-height: 1.65; flex: 1; }
.fx-post-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--fx-line); font-size: 0.9rem; color: var(--fx-muted); }
.fx-post-go { font-weight: 800; color: var(--fx-accent); }
.fx-post-go i { display: inline-block; font-style: normal; transition: transform .2s; }
.fx-post:hover .fx-post-go i { transform: translateX(5px); }
/* legal pages: roomier on desktop, tighter on phones */
@media (max-width: 640px) { section .glass-card[style*="padding:3rem"] { padding: 1.5rem !important; } }

/* email page: compare table + inline plan rows */
.fx-table-wrap { overflow-x: auto; border: 1px solid var(--fx-line); border-radius: 18px; background: var(--fx-card); box-shadow: var(--fx-shadow); }
.fx-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.fx-table th, .fx-table td { padding: 0.85rem 1rem; text-align: center; border-bottom: 1px solid var(--fx-line); font-size: 0.95rem; }
.fx-table th:first-child, .fx-table td:first-child { text-align: left; }
.fx-table thead th { font-weight: 800; background: var(--fx-soft); }
.fx-table thead span { font-weight: 600; font-size: 0.82rem; color: var(--fx-muted); }
.fx-table tbody tr:last-child td { border-bottom: 0; }
.fx-yes { color: #16a34a; font-weight: 800; }
.fx-no { color: var(--fx-muted); opacity: 0.5; }
.fx-plan3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.fx-plan3 .fx-plan ul { margin-bottom: 1.25rem; }
.fx-plan3 .fx-plan li.inh { font-weight: 700; color: var(--fx-accent); }
.fx-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.9rem; padding: 0; list-style: none; }
.fx-pill { padding: 0.45rem 0.95rem; border-radius: 99px; font-size: 0.88rem; font-weight: 700; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); color: #fff; }
@media (max-width: 960px) { .fx-plan3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
@media (max-width: 760px) { .fx-card[style*="grid-template-columns:52px 1fr auto"] { grid-template-columns: 52px 1fr !important; } .fx-card[style*="grid-template-columns:52px 1fr auto"] .fx-btn { grid-column: 1 / -1; } }

/* home: compare columns + project tiles */
.fx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fx-compare .fx-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.fx-compare li { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; line-height: 1.45; }
.fx-compare .us { border: 2px solid var(--fx-accent); }
.fx-compare .us li b { color: #16a34a; }
.fx-compare .them li b { color: #dc2626; }
.fx-compare .them { opacity: 0.92; }
.fx-compare h3 { margin: 0 0 0.2rem; }
.fx-compare .sub { color: var(--fx-muted); margin: 0 0 1.1rem; font-size: 0.92rem; }
.fx-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fx-offers .fx-card { display: flex; flex-direction: column; gap: 0.9rem; }
.fx-offers .fx-card p { margin: 0; color: var(--fx-muted); line-height: 1.7; flex: 1; }
.fx-offers .fx-btn { align-self: flex-start; }
.fx-quote-card p.q { margin: 0; line-height: 1.7; flex: 1; }
@media (max-width: 960px) { .fx-compare, .fx-offers { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fx-offers .fx-btn { align-self: stretch; } }
.fx-tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.fx-tile3 { text-align: center; padding: 1rem 0.5rem; background: var(--fx-card); border: 1px solid var(--fx-line); border-radius: 16px; }
.fx-tile3 img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 0.5rem; display: block; }
.fx-tile3 b { display: block; font-size: 0.9rem; }
.fx-tile3 span { display: block; font-size: 0.78rem; color: var(--fx-muted); }
@media (max-width: 640px) { .fx-tile3 img { width: 56px; height: 56px; } }
body .fx .fx-hero .badge-green, body .fx .fx-hero .badge-cyan { background: rgba(255,255,255,0.95); color: #0b3d91; border-color: transparent; }
body .fx .fx-hero .badge-down, body .fx .fx-hero .badge-warn { background: rgba(255,255,255,0.95); }
body .fx .fx-hero .badge-down { color: #be123c; }
body .fx .fx-hero .badge-warn { color: #b45309; }

/* ── Home hero + "What's going on?" triage card ── */
.fx-hero--home { padding: 4rem 0 8.5rem; }
.fx-hero--home .fx-eyebrow { margin-bottom: 1rem; }
.fx-hero--home h1 { max-width: 16ch; }
.fx .tri { text-align: left; background: var(--fx-card); color: var(--fx-fg); border: 1px solid var(--fx-line); border-radius: 22px; padding: 1.5rem 1.6rem 1.6rem; box-shadow: 0 28px 70px rgba(0,0,0,0.4); max-width: 880px; margin: 0 auto; }
.fx .tri-q { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin: 0 0 1rem; font-weight: 800; font-size: 1.25rem; color: var(--fx-fg); }
.fx .tri-q span { font-weight: 500; font-size: 0.95rem; color: var(--fx-muted); }
.fx .tri-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.fx .tri-chip { display: flex; align-items: center; gap: 0.65rem; min-height: 54px; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.98rem; font-weight: 700; line-height: 1.25; text-decoration: none; color: var(--fx-fg); background: var(--fx-soft); border: 1.5px solid var(--fx-line); transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.fx .tri-chip > :first-child { color: var(--fx-accent); flex-shrink: 0; }
.fx .tri-chip:hover { transform: translateY(-2px); border-color: var(--fx-accent); box-shadow: 0 8px 20px rgba(0,87,184,0.15); }
.fx .tri-chip:focus-visible { outline: 3px solid var(--fx-accent); outline-offset: 2px; }
.fx .tri-chip[aria-pressed="true"] { background: var(--fx-accent); border-color: var(--fx-accent); color: #fff; }
.fx .tri-chip[aria-pressed="true"] > :first-child { color: #fff; }
body:not(.light) .fx .tri-chip[aria-pressed="true"], body:not(.light) .fx .tri-chip[aria-pressed="true"] > :first-child { color: #06121f; }
.fx .tri-result { margin-top: 1rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding: 1.25rem 1.4rem; border-radius: 16px; background: var(--fx-soft); border: 1px solid var(--fx-line); border-left: 4px solid var(--fx-accent); animation: fadeUp .35s ease both; }
.fx .tri-result[hidden] { display: none; }
.fx .tri-res-title { font-weight: 800; font-size: 1.25rem; color: var(--fx-fg); }
.fx .tri-res-blurb { margin: 0.35rem 0 0.75rem; font-size: 0.98rem; line-height: 1.6; color: var(--fx-muted); }
.fx .tri-facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.85rem; color: var(--fx-muted); }
.fx .tri-facts b { color: var(--fx-accent); }
.fx .tri-res-cta { display: flex; flex-direction: column; gap: 0.5rem; flex-shrink: 0; min-width: 210px; }
.fx .tri-res-cta .fx-btn { white-space: nowrap; width: 100%; }
body .fx .tri-res-cta .fx-btn-solid { color: #fff; }
body:not(.light) .fx .tri-res-cta .fx-btn-solid { color: #06121f; }
body .fx .tri-res-cta .fx-btn-ghost { color: var(--fx-accent); }
@media (max-width: 960px) { .fx .tri-chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .fx-hero--home { padding: 2.5rem 0 7rem; }
  .fx .tri { padding: 1.15rem 1rem 1.2rem; border-radius: 18px; }
  .fx .tri-q { font-size: 1.1rem; }
  .fx .tri-chips { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .fx .tri-chip { font-size: 0.88rem; padding: 0.55rem 0.7rem; gap: 0.5rem; min-height: 56px; }
  .fx .tri-result { flex-direction: column; align-items: stretch; padding: 1rem; }
  .fx .tri-res-cta { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .fx .tri-result { animation: none; } .fx .tri-chip { transition: none; } }
body .fx .fx-hero .tri .fx-btn-solid { background: linear-gradient(135deg, #0a7cff, #0057b8); color: #fff; box-shadow: 0 8px 22px rgba(0,87,184,0.3); }
body:not(.light) .fx .fx-hero .tri .fx-btn-solid { background: linear-gradient(135deg, #00d9ff, #00a8d6); color: #06121f; }
body .fx .fx-hero .tri .fx-btn-ghost { border-color: var(--fx-accent); color: var(--fx-accent); }
.fx-hero--home .fx-hero-in { z-index: 1; }

/* ── Compact techy home hero (CSS-only motion: no JS, no canvas) ── */
.fx-hero--home { padding: 2.25rem 0 6.25rem; }
.fx-hero--home::before { inset: -26px 0 0 -26px; transform: translate3d(0,0,0); animation: hxGrid 22s linear infinite; will-change: transform; }
@keyframes hxGrid { to { transform: translate3d(26px, 26px, 0); } }
.fx-hero--home::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(100deg, transparent, rgba(103,232,249,0.10), transparent); transform: translate3d(0,0,0); animation: hxScan 9s ease-in-out infinite; pointer-events: none; will-change: transform; }
@keyframes hxScan { 0% { transform: translate3d(0,0,0); } 60%, 100% { transform: translate3d(360%,0,0); } }
.hx-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }
.hx-links path { fill: none; stroke: rgba(103,232,249,0.22); stroke-width: 1.2; }
.hx-flow path { fill: none; stroke: #67e8f9; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 90; opacity: 0.8; animation: hxFlow 3.2s linear infinite; }
.hx-flow path:nth-child(2) { animation-duration: 4s; animation-delay: -1.2s; }
.hx-flow path:nth-child(3) { animation-duration: 3.6s; animation-delay: -2s; }
@keyframes hxFlow { to { stroke-dashoffset: -190; } }
.hx-nodes circle { fill: #67e8f9; opacity: 0.75; transform-box: fill-box; transform-origin: center; animation: hxPulse 3.4s ease-in-out infinite; }
.hx-nodes circle:nth-child(3n) { animation-delay: -1.1s; }
.hx-nodes circle:nth-child(3n+1) { animation-delay: -2.2s; }
@keyframes hxPulse { 0%, 100% { opacity: 0.45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.7); } }
.fx-hero--home .fx-hero-in { z-index: 1; }
.fx-hero--home .hx-status { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; letter-spacing: 0.1em; padding: 0.4rem 0.9rem; border-radius: 99px; background: rgba(103,232,249,0.1); border: 1px solid rgba(103,232,249,0.28); }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.7); animation: hxPing 2s ease-out infinite; flex-shrink: 0; }
@keyframes hxPing { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }
.fx-hero--home .hx-h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: none; margin: 0 auto 0.6rem; line-height: 1.1; }
.hx-sub { display: flex; justify-content: center; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.25rem; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; }
.hx-sub-l { color: rgba(255,255,255,0.78); }
.hx-cycle { position: relative; display: inline-block; height: 1.5em; min-width: 14.5em; text-align: left; overflow: hidden; vertical-align: bottom; }
.hx-cycle span { position: absolute; left: 0; top: 0; white-space: nowrap; color: #67e8f9; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; opacity: 0; transform: translateY(100%); animation: hxCycle 12s infinite; }
.hx-cycle span::after { content: '▍'; margin-left: 2px; color: #67e8f9; animation: hxBlink 1s steps(2, start) infinite; }
@keyframes hxCycle { 0% { opacity: 0; transform: translateY(100%); } 6%, 26% { opacity: 1; transform: translateY(0); } 33%, 100% { opacity: 0; transform: translateY(-100%); } }
@keyframes hxBlink { to { visibility: hidden; } }
.fx .tri { padding: 1.1rem 1.25rem 1.25rem; }
.fx .tri-q { margin: 0 0 0.75rem; font-size: 1.1rem; }
.fx .tri-chip { min-height: 48px; padding: 0.45rem 0.8rem; }
.fx .tri-result { margin-top: 0.8rem; padding: 1rem 1.2rem; }
.fx-hero--home + .fx-facts-wrap { margin-top: -3.25rem; }
@media (max-width: 640px) {
  .fx-hero--home { padding: 1.5rem 0 5.25rem; }
  .fx-hero--home .hx-status { font-size: 0.66rem; letter-spacing: 0.04em; padding: 0.35rem 0.7rem; }
  .fx-hero--home .hx-h1 { font-size: 1.85rem; }
  .hx-cycle { min-width: 13em; }
  .hx-net { opacity: 0.55; }
  .fx-hero--home + .fx-facts-wrap { margin-top: -3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-hero--home::before, .fx-hero--home::after, .hx-flow path, .hx-nodes circle, .hx-dot, .hx-cycle span::after { animation: none; }
  .hx-cycle span:first-child { opacity: 1; transform: none; }
}

/* ── Home hero v3: full-bleed, aurora glow + perspective grid floor (CSS only) ── */
.fx-hero--home { background: #050b1a; border-radius: 0 0 28px 28px; padding: 2.5rem 0 6.5rem; isolation: isolate; }
.fx-hero--home::before { content: ''; position: absolute; inset: -35% -25%; z-index: -1; background:
    radial-gradient(38% 46% at 18% 32%, rgba(0,200,255,0.50), transparent 70%),
    radial-gradient(34% 44% at 82% 18%, rgba(124,92,255,0.50), transparent 70%),
    radial-gradient(46% 50% at 55% 92%, rgba(0,110,255,0.40), transparent 70%);
  background-size: auto; -webkit-mask-image: none; mask-image: none; opacity: 1;
  animation: hxAurora 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes hxAurora { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 3%, 0) scale(1.12) rotate(3deg); } }
.fx-hero--home::after { display: none; }
.hx-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: -1; overflow: hidden; perspective: 420px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 45%, transparent 92%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 45%, transparent 92%); pointer-events: none; }
.hx-floor { position: absolute; left: -60%; right: -60%; top: 0; height: 320%; transform-origin: 50% 0; transform: rotateX(72deg) translate3d(0,0,0);
  background-image: linear-gradient(rgba(103,232,249,0.55) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(103,232,249,0.55) 1.5px, transparent 1.5px); background-size: 64px 64px;
  animation: hxFloor 2.6s linear infinite; will-change: transform; }
@keyframes hxFloor { from { transform: rotateX(72deg) translate3d(0,0,0); } to { transform: rotateX(72deg) translate3d(0,64px,0); } }
.fx-hero--home + .fx-facts-wrap { margin-top: -3.5rem; }
.fx-hero--home .hx-status { background: rgba(5,11,26,0.55); backdrop-filter: blur(6px); }
.hx-sub { gap: 0.55rem; }
.hx-prompt { color: #22c55e; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 800; }
@media (max-width: 640px) { .fx-hero--home { padding: 1.5rem 0 5.5rem; } .hx-bg { height: 55%; perspective: 300px; } .hx-floor { background-size: 44px 44px; } @keyframes hxFloor { from { transform: rotateX(72deg) translate3d(0,0,0); } to { transform: rotateX(72deg) translate3d(0,44px,0); } } }
@media (prefers-reduced-motion: reduce) { .fx-hero--home::before, .hx-floor { animation: none; } }

/* ── Hero fixes: no clipping, centered rotating line; background variants ── */
.fx-hero-in { grid-template-columns: minmax(0, 1fr); }
.fx-hero--split .fx-hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.fx-hero-in > * { min-width: 0; }
.fx-hero h1 { overflow-wrap: break-word; text-wrap: balance; }
.fx-hero--home .hx-h1 { max-width: 100%; }
.hx-sub { flex-direction: column; align-items: center; gap: 0.15rem; margin: 0 0 1.25rem; }
.hx-sub-l { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hx-sub-l::before { content: '> '; color: #22c55e; font-weight: 800; }
.hx-cycle { display: block; width: 100%; min-width: 0; height: 1.6em; text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.35rem); }
.hx-cycle span { left: 0; right: 0; text-align: center; }
.hx-prompt { display: none; }

.hx-circuit { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hx-tr path { fill: none; stroke: rgba(103,232,249,0.28); stroke-width: 1.5; stroke-linejoin: round; }
.hx-pulse path { fill: none; stroke: #67e8f9; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 10 220; animation: hxPulseRun 4.5s linear infinite; }
.hx-pulse path:nth-child(2) { animation-duration: 5.5s; animation-delay: -1.5s; }
.hx-pulse path:nth-child(3) { animation-duration: 5s; animation-delay: -3s; }
.hx-pulse path:nth-child(4) { animation-duration: 6s; animation-delay: -0.8s; }
@keyframes hxPulseRun { to { stroke-dashoffset: -460; } }
.hx-pads circle { fill: #04101c; stroke: #67e8f9; stroke-width: 1.5; }

/* circuit: dark, clean, traces on the sides */
.fx-hero--home[data-bg="circuit"] { background: #04101c; }
.fx-hero--home[data-bg="circuit"]::before { inset: 0; background: radial-gradient(60% 80% at 50% 110%, rgba(0,160,255,0.22), transparent 70%), radial-gradient(40% 50% at 50% -10%, rgba(103,232,249,0.10), transparent 70%); animation: none; }
.fx-hero--home[data-bg="circuit"] .hx-circuit { display: block; }
.fx-hero--home[data-bg="circuit"] .hx-bg, .fx-hero--home[data-bg="ice"] .hx-bg, .fx-hero--home[data-bg="gradient"] .hx-bg { display: none; }

/* gradient: vivid moving mesh */
.fx-hero--home[data-bg="gradient"] { background: #0a1a5c; }
.fx-hero--home[data-bg="gradient"]::before { inset: -50% -50%; background: conic-gradient(from 0deg at 50% 50%, #0a1a5c, #1d4ed8, #0891b2, #7c3aed, #db2777, #1d4ed8, #0a1a5c); filter: blur(60px); opacity: 0.95; animation: hxSpin 26s linear infinite; }
@keyframes hxSpin { to { transform: rotate(360deg); } }
.fx-hero--home[data-bg="gradient"]::after { display: block; content: ''; position: absolute; inset: 0; z-index: -1; width: auto; left: 0; background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1.4px); background-size: 26px 26px; animation: none; transform: none; opacity: 0.6; }

/* ice: light, blueprint */
.fx-hero--home[data-bg="ice"] { background: linear-gradient(165deg, #f6faff 0%, #dcebff 100%); }
.fx-hero--home[data-bg="ice"]::before { inset: -40px; background-image: linear-gradient(rgba(0,87,184,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(0,87,184,0.10) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(80% 90% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 90% at 50% 40%, #000 30%, transparent 100%); animation: hxIce 24s linear infinite; }
@keyframes hxIce { to { transform: translate3d(40px, 40px, 0); } }
.fx-hero--home[data-bg="ice"]::after { display: block; content: ''; position: absolute; width: auto; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; transform: none; animation: none; background: radial-gradient(40% 55% at 15% 20%, rgba(0,160,255,0.22), transparent 70%), radial-gradient(40% 55% at 88% 80%, rgba(124,92,255,0.16), transparent 70%); }
body .fx .fx-hero--home[data-bg="ice"] h1 { color: #0b2a5c; }
body .fx .fx-hero--home[data-bg="ice"] h1 span { background: linear-gradient(90deg, #0057b8, #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
body .fx .fx-hero--home[data-bg="ice"] .hx-status { color: #0b3d91; background: rgba(255,255,255,0.8); border-color: rgba(0,87,184,0.25); }
body .fx .fx-hero--home[data-bg="ice"] .hx-sub-l { color: #44607f; }
body .fx .fx-hero--home[data-bg="ice"] .hx-cycle span, body .fx .fx-hero--home[data-bg="ice"] .hx-cycle span::after { color: #0057b8; }
body .fx .fx-hero--home[data-bg="ice"] .tri { box-shadow: 0 24px 60px rgba(10,40,90,0.18); }
@media (prefers-reduced-motion: reduce) { .hx-pulse path, .fx-hero--home[data-bg="gradient"]::before, .fx-hero--home[data-bg="ice"]::before { animation: none; } }

/* hero trust chip: a real face + who you'll deal with */
.hx-top { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem 0.8rem; margin: 0 0 0.9rem; }
.fx-hero--home .hx-top .hx-status { margin: 0; }
.hx-owner { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.3rem 1rem 0.3rem 0.3rem; border-radius: 99px; text-align: left; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px); color: #fff; line-height: 1.2; }
.hx-owner img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #67e8f9; flex-shrink: 0; display: block; }
.hx-owner b { font-size: 0.92rem; }
.hx-owner small { display: block; font-size: 0.74rem; opacity: 0.82; }
body .fx .fx-hero--home[data-bg="ice"] .hx-owner { background: rgba(255,255,255,0.85); border-color: rgba(0,87,184,0.25); color: #0b2a5c; }
body .fx .fx-hero--home[data-bg="ice"] .hx-owner img { border-color: #0057b8; }
@media (max-width: 640px) { .hx-owner small { font-size: 0.7rem; } .hx-owner { padding-right: 0.8rem; } }

/* ── network: drifting-dots canvas (see /js/hero-network.js) ── */
.hx-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fx-hero--home[data-bg="network"] { background: #050b1a; }
.fx-hero--home[data-bg="network"]::before { inset: 0; background: radial-gradient(55% 70% at 15% 20%, rgba(0,190,255,0.28), transparent 70%), radial-gradient(50% 65% at 88% 85%, rgba(70,90,255,0.30), transparent 70%); animation: none; }
.fx-hero--home[data-bg="network"] .hx-canvas { display: block; }
.fx-hero--home[data-bg="network"] .hx-bg, .fx-hero--home[data-bg="network"] .hx-circuit { display: none; }
@media (max-width: 640px) { .hx-hide-m { display: none; } .fx-hero--home .hx-top .hx-status { font-size: 0.68rem; } .hx-top { gap: 0.5rem; margin-bottom: 0.75rem; } }

.fx-figs--wide .fx-fig img { aspect-ratio: 3 / 2; }

.fx-products--2 { grid-template-columns: repeat(2, 1fr); }
.fx-products--photo .fx-product img { object-fit: contain; border-radius: 12px; background: var(--fx-soft); }
@media (max-width: 640px) { .fx-products--2 { grid-template-columns: 1fr; } }
.hx-cycle.is-typing .hx-typed { position: static; display: inline-block; opacity: 1; transform: none; animation: none; color: #67e8f9; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; min-height: 1.5em; }
.hx-cycle.is-typing .hx-typed::after { content: '▍'; margin-left: 2px; animation: hxBlink 1s steps(2, start) infinite; }
body .fx .fx-hero--home[data-bg="ice"] .hx-typed { color: #0057b8; }

.fx .tri-res-cta { flex-wrap: wrap; }
.fx .tri-ask { flex-basis: 100%; text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--fx-accent, #0057b8); text-decoration: underline; text-underline-offset: 3px; padding: 0.4rem 0; }

.hx-dot.is-closed { background: #f59e0b; box-shadow: none; animation: none; }
[data-open-now].is-closed { color: inherit; }
