/* ============================================
   ANALYTOOL — Dark Theme, v2
   Distinct from generic fintech-dark: brand blue
   (from the logo) + gold accent, angular clipped
   corners echoing the logo's mountain peak, square
   data-tags instead of pill badges.
   ============================================ */
:root{
  --bg:          #06070D;   /* page background, near-black */
  --bg-alt:      #0A0D18;   /* lifted background band */
  --glass:       rgba(255,255,255,.04);
  --glass-strong:rgba(255,255,255,.07);
  --border:      rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.18);

  --text:        #F2F4FA;
  --text-muted:  #98A0BE;
  --text-faint:  #5E6485;

  --blue-deep:   #0A4DAE;   /* from the logo gradient */
  --blue:        #1477D6;
  --blue-light:  #4FB2F5;
  --gold:        #F2B84B;   /* signature accent — distinct from any teal/indigo */
  --gold-soft:   rgba(242,184,75,.14);

  --font-display: "Open Sans", -apple-system, sans-serif;
  --font-body: "Open Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --cut: 16px; /* corner-cut size, echoes the logo's peak */
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  overflow-x:hidden;
  font-family:var(--font-body);
  color:var(--text-muted);
  background:
    radial-gradient(ellipse 900px 500px at 82% -8%, rgba(20,119,214,.16), transparent 60%),
    var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--text);
  margin:0 0 .5em;
  line-height:1.12;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem, 4.6vw, 4rem); font-weight:800; }
h2{ font-size:clamp(1.7rem, 3vw, 2.4rem); font-weight:700; }
h3{ font-size:1.2rem; font-weight:700; }
p{ margin:0 0 1em; }
a{ color:var(--blue-light); text-decoration:none; }
img{ max-width:100%; display:block; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-flex;
  align-items:center;
  gap:.6em;
  margin-bottom:1em;
}

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ padding:96px 0; }
@media (max-width:720px){ section{ padding:64px 0; } }

/* ============ Buttons — angular cut corner, echoes the logo peak ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  padding:.9em 1.7em;
  border:1px solid transparent;
  border-radius:999px;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{
  background:linear-gradient(135deg, var(--blue-deep), var(--blue-light));
  color:#fff;
  box-shadow:0 10px 26px -10px rgba(20,119,214,.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -8px rgba(20,119,214,.65); }
.btn-ghost{
  background:var(--glass);
  color:var(--text);
  border-color:var(--border-strong);
}
.btn-ghost:hover{ border-color:var(--blue-light); color:var(--blue-light); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--blue-light);
  outline-offset:3px;
}

/* ============ Header ============ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(6,7,13,.72);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; }
.brand img{ height:62px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:2.2rem; list-style:none; margin:0; padding:0; }
.nav-links a{ color:var(--text-muted); font-size:.95rem; font-weight:500; position:relative; padding:4px 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--gold); transition:width .2s ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--blue-light); }
.nav-cta{ display:flex; align-items:center; gap:1.2rem; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; width:40px; height:40px; padding:8px; }
.nav-toggle span{ display:block; width:100%; height:2px; background:var(--text); margin:5px 0; transition:transform .2s ease, opacity .2s ease; }

@media (max-width:860px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background:var(--bg);
    border-bottom:1px solid var(--border); flex-direction:column; align-items:flex-start;
    gap:0; padding:8px 24px 20px; display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links li{ width:100%; padding:12px 0; border-bottom:1px solid var(--border); }
  .nav-links a::after{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ============ Hero ============ */
.hero{ padding:80px 0 40px; position:relative; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-grid-wide{ grid-template-columns:.85fr 1.25fr; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }

/* Data-tags — square accent bar, not a pill+dot (that's someone else's pattern) */
.feature-pills{ display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:2rem; }
.feature-pill{
  display:inline-flex; align-items:center;
  font-family:var(--font-mono);
  font-size:.78rem; color:var(--text-muted);
  background:var(--glass); border:1px solid var(--border);
  border-left:2px solid var(--gold);
  padding:.55em 1em; border-radius:2px;
}
.feature-pill .dot{ display:none; }

.hero h1{ max-width:15ch; }
.hero-sub{ max-width:48ch; font-size:1.08rem; color:var(--text-muted); }
.hero-actions{ display:flex; gap:1rem; margin-top:2rem; flex-wrap:wrap; }

.trust-row{ display:flex; align-items:center; gap:.9rem; margin-top:2.4rem; font-size:.88rem; color:var(--text-faint); }
.trust-row .trust-mark{
  width:8px; height:8px; background:var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); /* tiny peak, echoes the logo */
  flex:none;
}
.avatar-dots{ display:none; } /* replaced by trust-mark; kept for backward compat */

/* ---- Peak Console (hero signature) ---- */
.mock-stage{ position:relative; padding:22px 22px 22px 6px; }
.mock-stage-plain{ padding:0; overflow:visible; }
.mock-frame{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.7);
}

/* Hero photo: blended into the background rather than a hard-cut rectangle */
.mock-stage-plain{ padding:0; overflow:visible; position:relative; }
.mock-stage-plain::before{
  content:"";
  position:absolute;
  inset:-14%;
  background:
    radial-gradient(circle at 68% 38%, rgba(56,189,248,.35), transparent 55%),
    radial-gradient(circle at 25% 70%, rgba(20,119,214,.25), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(242,184,75,.1), transparent 50%);
  filter:blur(70px);
  z-index:0;
  pointer-events:none;
}
.mock-frame-photo{
  position:relative;
  z-index:1;
}
.mock-frame-photo img{
  position:relative; z-index:1;
  width:100%; height:auto; object-fit:contain; display:block;
}
.mock-urlbar{
  display:flex; align-items:center; gap:.6em; justify-content:space-between;
  font-family:var(--font-mono); font-size:.72rem; color:var(--text-faint);
  padding:14px 18px; border-bottom:1px solid var(--border);
}
.mock-urlbar .console-label{ color:var(--gold); letter-spacing:.06em; text-transform:uppercase; }
.mock-body{ padding:18px; }
.mock-banner{
  background:linear-gradient(135deg, var(--blue-deep), var(--blue-light));
  color:#fff; font-size:.8rem; font-weight:600;
  padding:.7em 1em; margin-bottom:14px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}
.mock-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:14px; }
.mock-kpi{ background:var(--glass); border:1px solid var(--border); border-top:2px solid var(--gold); padding:12px; }
.mock-kpi .k-label{ display:block; font-size:.68rem; color:var(--text-faint); margin-bottom:.3em; }
.mock-kpi .k-value{ font-family:var(--font-mono); font-size:1.1rem; color:var(--text); }
.mock-chart{ background:var(--glass); border:1px solid var(--border); padding:14px; margin-bottom:14px; }
.mock-list{ display:flex; flex-direction:column; gap:8px; }
.mock-list-row{ display:flex; justify-content:space-between; align-items:center; background:var(--glass); border:1px solid var(--border); padding:.6em .9em; font-size:.78rem; color:var(--text-muted); }
.mock-list-row .status{ font-family:var(--font-mono); font-size:.7rem; color:var(--gold); }

.float-card{
  position:absolute;
  background:linear-gradient(180deg, rgba(16,20,34,.92), rgba(16,20,34,.78));
  border:1px solid var(--border-strong);
  padding:12px 16px 12px 14px;
  display:flex; align-items:center; gap:12px;
  box-shadow:0 20px 40px -18px rgba(0,0,0,.7);
  backdrop-filter:blur(10px);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.float-icon{
  width:32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  background:var(--gold-soft); color:var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); /* diamond, distinct from circular icon-badges */
  flex:none;
}
.float-icon svg{ width:14px; height:14px; }
.float-label{ font-size:.7rem; color:var(--text-faint); display:block; }
.float-value{ font-family:var(--font-mono); font-size:1rem; color:var(--text); font-weight:500; }

.fc-1{ top:-18px; left:-20px; }
.fc-2{ top:6%; right:-24px; }
.fc-3{ bottom:-16px; left:6%; }

@media (max-width:980px){
  .float-card{ display:none; }
  .mock-stage{ padding:0; }
}

/* Industries strip */
.industry-strip{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:32px 0; }
.industry-strip .chip-row{ margin-top:0; justify-content:center; }

/* ============ Tags (services/industries) — square, left-accent, mono ============ */
.chip-row{ display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.2rem; }
.chip{
  font-family:var(--font-body);
  font-weight:700;
  font-size:.85rem;
  color:var(--text);
  background:transparent;
  border:2px solid var(--border-strong);
  border-radius:999px;
  padding:.65em 1.3em;
  white-space:nowrap;
  transition:border-color .15s ease, color .15s ease;
}
.chip:hover{ border-color:var(--blue-light); color:var(--blue-light); }

/* ============ Service menu list — cleaner, enterprise-style row list ============ */
.menu-list{ border-top:1px solid var(--border); }
.menu-row{
  display:grid; grid-template-columns:64px 1fr; gap:28px; align-items:start;
  padding:30px 4px; border-bottom:1px solid var(--border);
  transition:background .15s ease;
}
.menu-row:hover{ background:var(--glass); }
.menu-index{ font-family:var(--font-mono); font-size:1.05rem; color:var(--gold); padding-top:.15rem; }
.menu-content h3{ margin-bottom:.4rem; }
.menu-content p{ margin:0; max-width:64ch; color:var(--text-muted); }
@media (max-width:640px){
  .menu-row{ grid-template-columns:1fr; gap:.5rem; }
  .menu-index{ padding-top:0; }
}

/* Card grids (still used elsewhere) */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:940px){ .card-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .card-grid{ grid-template-columns:1fr; } }
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:32px;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover{ box-shadow:0 20px 40px -24px rgba(20,119,214,.4); transform:translateY(-3px); border-color:var(--border-strong); }
.card-icon{
  width:42px; height:42px;
  background:linear-gradient(135deg, var(--blue-deep), var(--blue-light));
  margin-bottom:1.2rem;
  display:flex; align-items:center; justify-content:center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.card-icon svg{ width:20px; height:20px; stroke:#fff; }

/* Section head */
.section-head{ max-width:640px; margin-bottom:3rem; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* CTA band */
.cta-band{
  background:linear-gradient(135deg, rgba(20,119,214,.14), rgba(242,184,75,.06));
  border:1px solid var(--border-strong);
  padding:56px 48px;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.cta-band h2{ margin-bottom:.3em; }
.cta-band p{ color:var(--text-muted); margin:0; max-width:44ch; }

/* Process (home, condensed) */
.process-phases{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(190px,1fr)); gap:1px;
  background:var(--border); border:1px solid var(--border);
}
.process-item{ background:var(--bg-alt); padding:28px 24px; }
.process-index{ font-family:var(--font-mono); font-size:.8rem; color:var(--gold); display:block; margin-bottom:1.2rem; }

/* Full 10-step process (about page) */
.process-full{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:0 40px; }
@media (max-width:700px){ .process-full{ grid-template-columns:1fr; } }
.process-full li{ display:flex; gap:1rem; align-items:baseline; padding:14px 0; border-bottom:1px solid var(--border); }
.process-full .pf-num{ font-family:var(--font-mono); color:var(--gold); font-size:.85rem; flex:none; width:1.8em; }
.process-full .pf-label{ color:var(--text); font-weight:500; }

/* Product grid */
.product-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--border); border:1px solid var(--border); }
@media (max-width:940px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .product-grid{ grid-template-columns:1fr; } }
.product-card{ background:var(--bg-alt); padding:26px 22px; min-height:150px; display:flex; flex-direction:column; justify-content:flex-start; border-top:2px solid transparent; }
.product-card:hover{ border-top-color:var(--gold); }
.product-card[open]{ border-top-color:var(--gold); }
.product-card summary{ list-style:none; cursor:pointer; display:flex; flex-direction:column; position:relative; padding-right:22px; }
.product-card summary::-webkit-details-marker{ display:none; }
.product-card summary::after{
  content:"+"; position:absolute; top:0; right:0;
  font-family:var(--font-mono); color:var(--text-faint); font-size:1.1rem;
}
.product-card[open] summary::after{ content:"–"; color:var(--gold); }
.product-detail{ margin-top:1rem; padding-top:1rem; border-top:1px solid var(--border); }
.product-detail-label{ font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); display:block; margin-bottom:.6rem; }
.product-detail .chip-row{ margin-top:0; }
.product-name{ font-family:var(--font-display); font-weight:600; font-size:1.02rem; color:var(--text); margin-bottom:.4rem; }
.product-name sup{ font-size:.55em; color:var(--gold); top:-.6em; }
.product-desc{ font-size:.85rem; color:var(--text-muted); margin:0; }

/* Tech groups */
.tech-groups{ display:grid; grid-template-columns:repeat(5,1fr); gap:28px; }
@media (max-width:940px){ .tech-groups{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .tech-groups{ grid-template-columns:1fr; } }
.tech-group h4{ font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--gold); font-weight:500; margin-bottom:.9rem; }
.tech-group ul{ list-style:none; margin:0; padding:0; }
.tech-group li{ font-size:.9rem; color:var(--text-muted); padding:.3rem 0; }

/* Case callout */
.case-note{
  margin-top:1.1rem; font-size:.88rem; color:var(--blue-light);
  background:rgba(20,119,214,.09); border:1px solid rgba(20,119,214,.28);
  border-left:2px solid var(--blue-light);
  padding:.7em 1em;
}

/* ============ Service box grid + popup dialogs ============ */
.service-box-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
@media (max-width:940px){ .service-box-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .service-box-grid{ grid-template-columns:1fr; } }
.service-box{
  text-align:left; cursor:pointer;
  font-family:inherit; color:var(--text);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border:1px solid var(--border);
  border-top:2px solid transparent;
  padding:28px 24px;
  display:flex; flex-direction:column; gap:.6rem; align-items:flex-start;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.service-box:hover{
  transform:translateY(-3px);
  border-top-color:var(--gold);
  box-shadow:0 20px 40px -24px rgba(20,119,214,.4);
}
.service-box-tag{ font-family:var(--font-mono); font-size:.78rem; color:var(--gold); }
.service-box h3{ margin:0; font-size:1.05rem; }
.service-box-cta{ font-family:var(--font-mono); font-size:.78rem; color:var(--blue-light); margin-top:auto; padding-top:.6rem; }

.service-dialog{
  background:var(--bg-alt);
  color:var(--text-muted);
  border:1px solid var(--border-strong);
  border-radius:0;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  padding:40px;
  max-width:640px;
  width:90vw;
  position:relative;
}
.service-dialog::backdrop{ background:rgba(4,5,10,.75); backdrop-filter:blur(4px); }
.service-dialog h2{ margin-top:.6rem; }
.service-dialog .chip-row{ margin-top:1.4rem; }
.dialog-close{
  position:absolute; top:16px; right:20px;
  background:none; border:none; cursor:pointer;
  font-size:1.6rem; line-height:1; color:var(--text-faint);
  font-family:var(--font-body);
}
.dialog-close:hover{ color:var(--gold); }
@media (max-width:600px){ .service-dialog{ padding:28px 22px; } }

/* Service detail rows */
.service-row{ display:grid; grid-template-columns:.9fr 1.5fr; gap:48px; padding:56px 0; border-bottom:1px solid var(--border); }
.service-row:last-child{ border-bottom:none; }
@media (max-width:820px){ .service-row{ grid-template-columns:1fr; gap:20px; } }
.service-tag{ font-family:var(--font-mono); font-size:.78rem; color:var(--gold); text-transform:uppercase; letter-spacing:.1em; }

/* Values grid (About) */
.values-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:32px; }
@media (max-width:720px){ .values-grid{ grid-template-columns:1fr; } }
.value-item{ border-left:2px solid var(--blue-light); padding-left:1.4rem; }

/* Stat row */
.stat-row{ display:flex; gap:56px; flex-wrap:wrap; }
.stat{ font-family:var(--font-mono); }
.stat-num{ font-size:2.2rem; color:var(--text); font-weight:600; display:block; }
.stat-label{ font-size:.78rem; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.field{ margin-bottom:1.4rem; }
.field label{ display:block; font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); margin-bottom:.5rem; }
.field input, .field textarea, .field select{
  width:100%; font-family:var(--font-body); font-size:1rem; padding:.85em 1em;
  border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--glass); color:var(--text);
}
.field select option{ background:var(--bg-alt); color:var(--text); }
.field input::placeholder, .field textarea::placeholder{ color:var(--text-faint); }
.field textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:.85rem; color:var(--text-faint); margin-top:1rem; }
.contact-info-item{ margin-bottom:1.8rem; }
.contact-info-item .label{ font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--gold); display:block; margin-bottom:.3rem; }

/* Footer */
.site-footer{ border-top:1px solid var(--border); padding:56px 0 32px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h4{ font-family:var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); font-weight:500; }
.footer-grid ul{ list-style:none; margin:0; padding:0; }
.footer-grid li{ margin-bottom:.6rem; }
.footer-grid a{ color:var(--text-muted); font-size:.92rem; }
.footer-grid a:hover{ color:var(--blue-light); }
.footer-brand img{ height:54px; margin-bottom:1rem; }
.footer-brand p{ font-size:.9rem; max-width:32ch; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:.82rem; color:var(--text-faint);
  border-top:1px solid var(--border); padding-top:24px;
}

/* ============ Impact stats band (mirrors an "about + numbers" intro) ============ */
.impact-band{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.impact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
@media (max-width:820px){ .impact-grid{ grid-template-columns:1fr 1fr; } }
.impact-item{ border-left:2px solid var(--gold); padding-left:1.2rem; }
.impact-num{ font-family:var(--font-mono); font-size:2.4rem; font-weight:600; color:var(--text); display:block; line-height:1; margin-bottom:.4rem; }
.impact-label{ font-size:.88rem; color:var(--text-muted); }

/* ============ Featured solutions — image + text cards ============ */
.feature-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.feature-cards-2{ grid-template-columns:repeat(2,1fr); max-width:900px; margin:0 auto; }
@media (max-width:940px){ .feature-cards{ grid-template-columns:1fr; } }
.feature-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border:1px solid var(--border);
  overflow:hidden;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition:transform .2s ease, border-color .2s ease;
}
.feature-card:hover{ transform:translateY(-4px); border-color:var(--border-strong); }
.feature-card-media{ aspect-ratio:16/10; overflow:hidden; border-bottom:1px solid var(--border); }
.feature-card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.feature-card-body{ padding:24px; }
.feature-card-tag{ font-family:var(--font-mono); font-size:.78rem; color:var(--gold); text-transform:uppercase; letter-spacing:.08em; margin-bottom:.6rem; display:block; }
.feature-card-body h3{ margin-bottom:.5rem; }
.feature-card-body p{ font-size:.92rem; margin-bottom:1.2rem; }
.feature-card-link{ font-size:.88rem; font-weight:600; color:var(--blue-light); display:inline-flex; align-items:center; gap:.4em; }
.feature-card-link:hover{ color:var(--gold); }

/* ============ Newsletter band ============ */
.newsletter-band{
  display:block;
  background:linear-gradient(135deg, rgba(20,119,214,.1), rgba(242,184,75,.05));
  border:1px solid var(--border-strong);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
  padding:48px;
  max-width:640px;
}
@media (max-width:820px){ .newsletter-band{ grid-template-columns:1fr; } }
.newsletter-form{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.4rem; }
.newsletter-form input{
  flex:1; min-width:200px;
  font-family:var(--font-body); font-size:.95rem; padding:.85em 1.1em;
  border:1px solid var(--border); background:var(--glass); color:var(--text);
}
.newsletter-media{ justify-self:center; max-width:260px; }
.page-hero{ padding:64px 0 24px; }
.page-hero .eyebrow{ margin-bottom:1.2rem; }
.page-hero p{ max-width:56ch; font-size:1.05rem; }

/* ============ Service feature sections (full-height, alternating) ============ */
.service-feature{
  min-height:34vh;
  display:flex;
  align-items:center;
  padding:26px 0;
  border-bottom:1px solid var(--border);
}
.service-feature:nth-child(odd){ background:var(--bg-alt); }
.service-feature-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:64px;
  align-items:center;
  width:100%;
  border:1px solid var(--border-strong);
  background:var(--glass);
  padding:44px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.service-feature.reverse .service-feature-grid{ grid-template-columns:1.15fr .85fr; }
.service-feature.reverse .service-feature-visual{ order:2; }
.service-feature.reverse .service-feature-text{ order:1; }
@media (max-width:860px){
  .service-feature{ min-height:auto; padding:56px 0; }
  .service-feature-grid, .service-feature.reverse .service-feature-grid{ grid-template-columns:1fr; gap:32px; padding:28px; }
  .service-feature.reverse .service-feature-visual{ order:0; }
  .service-feature.reverse .service-feature-text{ order:0; }
}
.service-feature-visual{
  display:flex; align-items:center; justify-content:center;
}
.service-feature-visual img{
  width:100%; height:auto;
  object-fit:contain;
  display:block;
  border-radius:22px;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.7);
}
.sf-icon{
  width:38%; height:38%;
  display:flex; align-items:center; justify-content:center;
}
.sf-icon svg{ width:100%; height:100%; stroke:var(--blue-light); }
.service-feature-text h2{ margin-bottom:1rem; }
.service-feature-text .chip-row{ margin-bottom:1.8rem; }
.service-feature-text .case-note{ margin-bottom:1.4rem; }

/* ============ Load-in animation (home hero) ============ */
@keyframes fadeSlideUp{
  from{ opacity:0; transform:translateY(26px); }
  to{ opacity:1; transform:translateY(0); }
}
.fade-in-up{ animation:fadeSlideUp .85s cubic-bezier(.2,.7,.3,1) both; }
.fade-in-up.d1{ animation-delay:.05s; }
.fade-in-up.d2{ animation-delay:.16s; }
.fade-in-up.d3{ animation-delay:.27s; }
.fade-in-up.d4{ animation-delay:.38s; }
.fade-in-up.d5{ animation-delay:.5s; }

/* ============ Floating bubble accents (home page) ============ */
body{ position:relative; }
.bubbles-layer{
  position:absolute; inset:0;
  overflow:hidden;
  z-index:60;
  pointer-events:none;
}
.bubble{
  position:absolute;
  border-radius:50%;
  animation:bubbleFloat 20s ease-in-out infinite;
}
.bubble-blue{ background:linear-gradient(135deg, #3A5A85, #16233A); }
.bubble-gold{ background:rgba(150,110,35,.85); }

@keyframes bubbleFloat{
  0%,100%{ transform:translate(0,0); opacity:.55; }
  50%{ transform:translate(18px,-32px); opacity:.9; }
}
@keyframes bubbleFloatAlt{
  0%,100%{ transform:translate(0,0); opacity:.5; }
  50%{ transform:translate(-22px,-26px); opacity:.85; }
}
@media (prefers-reduced-motion: reduce){
  .bubble{ animation:none !important; }
}
.hero-accent-circle{
  position:absolute;
  bottom:-6%; right:-8%;
  width:20%; aspect-ratio:1/1;
  min-width:150px; max-width:250px;
  border-radius:50%;
  background:linear-gradient(135deg, #97DDFC, #4E9EF5);
  z-index:2;
}
@media (max-width:980px){ .hero-accent-circle{ display:none; } }

/* Extra bouncing accent circles scattered across the home page */
.bounce-circle{
  position:absolute;
  border-radius:50%;
  background:linear-gradient(135deg, #3A5A85, #16233A);
  z-index:2;
  animation:bounceCircle 8s cubic-bezier(.28,.84,.42,1) infinite;
}
@keyframes bounceCircle{
  0%   { transform:translateY(0); }
  22%  { transform:translateY(-30px); }
  40%  { transform:translateY(0); }
  55%  { transform:translateY(-15px); }
  70%  { transform:translateY(0); }
  85%  { transform:translateY(-6px); }
  100% { transform:translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .bounce-circle{ animation:none !important; }
}
@media (max-width:980px){ .bounce-circle{ display:none; } }

/* ============ Footer social links ============ */
.social-links{ display:flex; gap:.7rem; margin-top:1.4rem; }
.social-links a{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border:1px solid var(--border-strong);
  border-radius:50%;
  color:var(--text-muted);
  transition:border-color .15s ease, color .15s ease, transform .15s ease;
}
.social-links a:hover{ border-color:var(--blue-light); color:var(--blue-light); transform:translateY(-2px); }
.social-links svg{ width:17px; height:17px; fill:currentColor; }
