/* ============================================
   FMC Technologies — Liquid Glass Design System
   Shared stylesheet for all inner pages
   ============================================ */

:root {
  /* ── Page shell geometry ───────────────────────────────────────────
     One source of truth for the content column, shared by the header
     (nav / .nav-inner) and every page shell, so the two can't drift.

     --hub-content is the column itself: the logo's left edge to the
     account pill's right edge. --hub-gutter is the viewport inset.

     .nav-inner carries no padding, but `* { box-sizing: border-box }`
     means a page shell's max-width INCLUDES its padding — so a shell
     has to be --hub-content PLUS both gutters to end up with a
     --hub-content-wide content box. That is --hub-shell-max. Setting a
     shell to --hub-content directly lands ~2*gutter too narrow. */
  /* Widened 1024px → 1240px (2026-07-21, KP) to match the marketing
     site's content rail — visibly smaller side borders on desktop. */
  --hub-content: 1240px;
  /* Constant-ratio content margin (2026-07-24, KP): 6% of the viewport on
     each side at every screen size, matching the marketing site — so the
     hub looks proportionally identical from phone to 4K. Was a fixed clamp
     (16–32px) paired with a 1240px cap, which gave tiny margins on small
     screens and huge ones on wide displays. */
  --hub-gutter: max(6.8vw, env(safe-area-inset-left)); /* content edge lands at the account pill's left edge (KP 2026-07-24) */
  /* No fixed cap: content fills 100% − 2·gutter = a constant 88% of the
     viewport. (Header keeps its own edge-tracking padding below.) */
  --hub-shell-max: none;

  --bg: #000000;
  --bg-raised: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --border: rgba(255,255,255,0.08);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;   /* lifted from #86868b — better contrast on dark cards */
  --text-tertiary: #8e8e93;    /* lifted from #6e6e73 — captions/eyebrows no longer read disabled */
  --teal: #0d8a7c;
  --teal-bright: #2dd4bf;
  --teal-glow: rgba(45,212,191,0.12);

  /* Brand product palettes — reference these, never inline */
  --bp-sage: #9CAF88;
  --bp-sage-bright: #b6cca2;
  --pulse-red: #e74c3c;
  --pulse-red-bright: #ff6b57;
  --pulse-red-alarm: #c0392b;
  --rx-purple: #a78bfa;
  --rx-purple-bright: #c4b5ff;
  --rx-purple-deep: #7c6bc4;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, monospace;

  /* Liquid Glass tokens */
  --glass-bg: rgba(255,255,255,0.06);
  --glass-bg-hover: rgba(255,255,255,0.10);
  --glass-border: rgba(255,255,255,0.14);
  --glass-highlight: rgba(255,255,255,0.22);
  --glass-shadow: rgba(0,0,0,0.50);
  --glass-blur: 24px;
  --glass-saturation: 180%;
  --glass-radius: 20px;

  /* ── Radius scale: 8 / 12 / 20 / 28 (see DESIGN.md `rounded:`) ─────
     One sitewide ladder so a hero showcase, a card, an inner tile, and
     a control each carry a deliberate amount of softness. Primary
     cards ride --glass-radius (20); the tokens below cover the ends
     of the ladder. The intent is a design that feels hand-tuned by a
     controls-and-software contractor rather than defaulted-out by a
     UI kit. */
  --radius-hero:    28px;   /* oversized hero glass only */
  --radius-control: 8px;    /* icon plates, chrome buttons, chips */

  /* Mono stack for numerical readouts. Used wherever the UI is
     showing a meter value, dollars, kW, kWh, timestamp, or any other
     value that wants tabular alignment. Anchored to SF Mono on Apple
     hardware; falls through to high-quality system mono everywhere
     else. */
  --data-font: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* ── De-AI v1: data-readout utility ───────────────────────────────
   Apply to the inline numeric value, NOT its surrounding label. The
   tabular-nums hint stops digits from jittering when a value
   refreshes (1.234 → 1.245 → 1.256 stay column-aligned). This is one
   of the cheapest ways to make a number feel like a meter reading
   rather than a generic SaaS metric. */
.data-readout,
.metric-value,
.kpi-value,
.meter-value,
.timestamp,
.point-label {
  font-family: var(--data-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}















@media (max-width: 760px) {
  /* Mobile: hold the same 6% side margin the front site uses (was 6.8vw). (2026-07-27, KP) */
  :root { --hub-gutter: max(6vw, env(safe-area-inset-left)); }
}
@media (max-width: 460px) {
}

/* Accessibility: visually hidden but screen-reader accessible */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.sr-only:focus {
  position: fixed !important;
  top: 10px; left: 10px;
  width: auto !important; height: auto !important;
  clip: auto !important;
  padding: 10px 16px !important;
  background: var(--teal);
  color: white;
  border-radius: 8px;
  z-index: 999;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
/* Defensive media + table containment — keeps oversized images, SVGs,
   and long words from forcing the page wider than the viewport. */
img, video { max-width: 100%; height: auto; }
table { max-width: 100%; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Static teal gradient — concentrated at top, fades on long pages so long scrolls
   don't feel like every section floats in the same halo. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 650px at 10% 10%, rgba(13,138,124,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 800px 550px at 85% 35%, rgba(45,212,191,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 700px 550px at 35% 70%, rgba(13,138,124,0.06) 0%, transparent 60%);
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}

a { color: inherit; text-decoration: none; }

/* ===== NAV (Liquid Glass) ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Fluid full-bleed header (2026-07-21, KP): the nav row tracks the
     real screen edges like the marketing site — 16px on phones scaling
     to 32px on wide screens. Page shells use the same clamp via
     --hub-gutter but keep their --hub-content width cap. */
  padding-left: max(clamp(16px, 2vw, 32px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 2vw, 32px), env(safe-area-inset-right));
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 0.5px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 0.5px 0 0 rgba(255,255,255,0.12),
    0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  width: 100%;
  max-width: none; /* full-bleed header row (2026-07-21, KP) */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Logo img sizing moved out of inline styles */
.nav-logo img { border-radius: 5px; }
footer .nav-logo img { border-radius: 4px; }

.nav-logo-text span {
  font-weight: 400;
  color: var(--text-tertiary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { gap: 3px; }
.nav-dropdown > a .nav-chevron { width: 10px; height: 10px; transition: transform 0.2s; flex-shrink: 0; opacity: 0.5; }
.nav-dropdown:hover > a .nav-chevron,
.nav-dropdown:focus-within > a .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 200px;
  background: rgba(20,20,22,0.65);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 0.5px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    inset 0 0.5px 0 0 rgba(255,255,255,0.15),
    0 12px 40px rgba(0,0,0,0.55),
    0 2px 8px rgba(0,0,0,0.3);
  z-index: 200;
  overflow: hidden;
}
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  /* :focus-within added 2026-06-09 so keyboard users can open the
     dropdowns (parity with styles-alt.css). */
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; z-index: 201; }
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; font-size: 13px; font-weight: 400; color: var(--text-secondary);
  border-radius: 12px; transition: all 0.15s; position: relative; z-index: 2;
}
.nav-dropdown-menu a:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.nav-dropdown-menu .dd-divider { height: 0.5px; background: rgba(255,255,255,0.06); margin: 4px 8px; position: relative; z-index: 2; }

.nav-cta {
  font-size: 13px !important;
  font-weight: 500 !important;
  background: var(--teal) !important;  /* solid teal — matches primary CTA */
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: white !important;
  padding: 5px 14px !important;
  border-radius: 980px !important;
  transition: all 0.2s !important;
  border: 0.5px solid rgba(45,212,191,0.25) !important;
  box-shadow: inset 0 0.5px 0 0 rgba(255,255,255,0.2), 0 2px 8px rgba(13,138,124,0.3) !important;
}
.nav-cta:hover { background: #0a6e63 !important; }
/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 101;
}
.mobile-menu-btn span {
  display: block; width: 16px; height: 1px;
  background: var(--text-secondary);
  transition: all 0.3s; transform-origin: center;
}
.mobile-menu-btn span:nth-child(1) { margin-bottom: 5px; }
.mobile-menu-btn span:nth-child(3) { margin-top: 5px; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-dropdown {
  display: none; position: fixed; top: 52px; left: 0; right: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  padding: 8px 24px 24px; z-index: 99; flex-direction: column;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.mobile-dropdown.open { display: flex; }
.mobile-dropdown a {
  display: block; padding: 12px 0; font-size: 17px; font-weight: 600;
  color: var(--text-secondary); border-bottom: 0.5px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-dropdown a:last-child { border-bottom: none; }
.mobile-dropdown a:hover { color: var(--text-primary); }
.mobile-dropdown a.mobile-cta {
  margin-top: 12px; text-align: center;
  background: rgba(13,138,124,0.85); color: white;
  font-weight: 500; border-radius: 980px; border: 0.5px solid rgba(45,212,191,0.2);
  padding: 14px; font-size: 15px;
  box-shadow: inset 0 0.5px 0 0 rgba(255,255,255,0.15);
}
.mobile-solutions-sub { display: none; flex-direction: column; padding-left: 0; }
.mobile-solutions-sub.open { display: flex; }
.mobile-solutions-sub a { font-size: 15px !important; font-weight: 400 !important; color: var(--text-tertiary) !important; padding: 10px 0 10px 16px !important; }
.mobile-solutions-toggle { display: flex; align-items: center; justify-content: space-between; }
.mobile-solutions-toggle .mobile-chev { width: 14px; height: 14px; transition: transform 0.25s; margin-left: 8px; opacity: 0.4; }
.mobile-solutions-toggle.expanded .mobile-chev { transform: rotate(180deg); }



/* =========================================================
   Text-based brand logos (BuildingPulse)
   ========================================================= */
.txt-logo {
  font-family: var(--font);
  letter-spacing: -0.015em;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}
.txt-logo .tl-b { font-weight: 700; color: #f5f5f7; }
.txt-logo .tl-pulse    { font-weight: 300; color: #e74c3c; }



@media (max-width: 720px) {

}

@keyframes fadeIn {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}


.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
/* ===== LIQUID GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(20px) saturate(var(--glass-saturation));
  border: 0.5px solid var(--glass-border);
  border-radius: var(--glass-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0.5px 0 0 rgba(255,255,255,0.15),
    0 8px 32px rgba(0,0,0,0.35),
    0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0.5px 0 0 rgba(255,255,255,0.22),
    0 12px 40px rgba(0,0,0,0.45),
    0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.glass-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}

.glass-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.glass-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.glass-card .card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.glass-card .card-eyebrow {
  font-size: 11px;
  color: var(--teal-bright);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

/* ===== BUTTONS (Liquid Glass) ===== */
.btn-primary {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  background: rgba(13,138,124,0.8);
  color: white;
  padding: 12px 28px;
  border-radius: 980px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 0.5px solid rgba(45,212,191,0.3);
  cursor: pointer;
  display: inline-block;
  position: relative;
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.2),
    0 4px 16px rgba(13,138,124,0.3),
    0 1px 3px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-primary:hover {
  background: rgba(16,160,143,0.9);
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.25),
    0 6px 24px rgba(13,138,124,0.4),
    0 2px 6px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

.btn-link {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  color: var(--teal-bright);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: gap 0.2s;
}

.btn-link:hover { gap: 7px; }

















.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}






.form-submit { margin-top: 24px; position: relative; z-index: 2; }



.stat-num {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.accent { color: var(--teal-bright); }

/* ===== PROSE CONTENT ===== */
.prose {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.prose strong { color: var(--text-primary); font-weight: 600; }
.prose p + p { margin-top: 16px; }
.prose h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}

/* ===== TIMELINE ===== */
.timeline {
  max-width: 680px;
  margin: 48px auto 0;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.5px;
  background: rgba(255,255,255,0.08);
}








.faq-item { border-bottom: 0.5px solid var(--border); padding: 20px 0; }


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }

.faq-answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 600;
  color: var(--teal-bright);
  background: rgba(45,212,191,0.10);
  border: 0.5px solid rgba(45,212,191,0.35);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 0.5px 0 0 rgba(255,255,255,0.12);
}

/* ===== FOOTER ===== */
footer {
  max-width: 1024px;
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 0.5px solid var(--border);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}







/* ===== SUCCESS STORY POLISH ===== */
.story-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 16px auto 0;
  max-width: 680px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.story-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.story-meta span::before {
  content: '';
  width: 3px; height: 3px;
  background: var(--teal-bright);
  border-radius: 50%;
  opacity: 0.7;
}
.story-meta span:first-child::before { display: none; }









@media (max-width: 768px) {


}





























.mass-save-logo {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.8),
    0 6px 22px rgba(0,0,0,0.24);
  min-height: 82px;
}









@media (max-width: 860px) {


}





@media (max-width: 720px) {
}












@media (max-width: 720px) {

}

/* ===== CONTACT US PAGE ===== */
.section-sub {
  margin: 10px auto 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}






















































/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
.reveal.visible,
.reveal.active { opacity: 1; transform: translate3d(0, 0, 0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {




}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }










  .form-grid { grid-template-columns: 1fr; }


  footer { grid-template-columns: 1fr 1fr; padding: 40px 24px; }





  body::after {
    background:
      radial-gradient(ellipse 400px 350px at 10% 20%, rgba(13,138,124,0.10) 0%, transparent 65%),
      radial-gradient(ellipse 350px 300px at 85% 50%, rgba(45,212,191,0.08) 0%, transparent 65%),
      radial-gradient(ellipse 300px 280px at 40% 80%, rgba(13,138,124,0.07) 0%, transparent 60%);
  }
}
