/* ============================================================
   Sellercue - Design System
   Built mobile-first. No external dependencies.
   Font: Inter (self-hosted) as flagged substitute for Colfax.
   To swap to Colfax later: replace the @font-face src below and
   set --font-sans / --font-display to "Colfax".
   ============================================================ */

/* ---------- Fonts (self-hosted) ----------
   Place inter-regular.woff2, inter-medium.woff2, inter-semibold.woff2,
   inter-bold.woff2 in /assets/fonts/. Falls back to system fonts so
   first paint never blocks. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-semibold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-bold.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --navy: #0B1F3A;
  --signal: #1D4ED8;
  --amber: #F5A623;
  --amber-press: #D9881A;
  --green: #1FA971;
  --red: #E5484D;
  --ink: #0F172A;
  --slate: #475569;
  --mist: #CBD5E1;
  --cloud: #F1F5F9;
  --white: #FFFFFF;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-full: 9999px;

  /* Elevation */
  --shadow-card: 0 4px 24px rgba(11,31,58,0.08);
  --shadow-header: 0 2px 16px rgba(11,31,58,0.10);

  /* Layout */
  --maxw: 1140px;
  --header-h: 68px;
  --measure: 65ch;

  --t-fast: 150ms ease;
  --t-med: 200ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 var(--s-4); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-4); max-width: var(--measure); }

/* ---------- Type scale ---------- */
.display { font-size: 2.25rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1, .h1 { font-size: 1.875rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; font-weight: 600; }
.lead { font-size: 1.125rem; color: var(--slate); }
.small { font-size: .875rem; font-weight: 500; }
.eyebrow {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--signal); margin: 0 0 var(--s-3);
}
.eyebrow.on-dark { color: var(--amber); }

@media (min-width: 768px) {
  .display { font-size: 3.75rem; }
  h1, .h1 { font-size: 3rem; }
  h2, .h2 { font-size: 2.25rem; }
  h3, .h3 { font-size: 1.5rem; }
  .lead { font-size: 1.25rem; }
  body { font-size: 1.0625rem; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-8) 0; }
@media (min-width: 768px) { .section { padding: var(--s-9) 0; } }
.bg-cloud { background: var(--cloud); }
.bg-navy { background: var(--navy); color: #DCE6F5; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure-center { max-width: 56ch; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 640px; margin: 0 auto var(--s-7); text-align: center; }
.section-head p { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: var(--s-3) var(--s-4); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: var(--r-sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; border-radius: var(--r-md);
  cursor: pointer; text-decoration: none; transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-press); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.bg-navy .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.bg-navy .btn-secondary:hover { background: #fff; color: var(--navy); }
.btn-urgent { background: var(--red); color: #fff; }
.btn-urgent:hover { background: #c93b40; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0 var(--s-6); font-size: 1.0625rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent; transition: box-shadow var(--t-med), border-color var(--t-med);
}
.site-header.scrolled { box-shadow: var(--shadow-header); border-bottom-color: var(--cloud); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; color: var(--navy); font-size: 1.125rem; }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 28px; height: 28px; }
.nav-links { display: none; list-style: none; align-items: center; gap: var(--s-5); }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .9375rem; }
.nav-links a:hover { color: var(--signal); text-decoration: none; }
.nav-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--navy);
}
@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}
/* Mobile menu */
.mobile-menu {
  display: none; padding: var(--s-4) var(--s-5) var(--s-6);
  border-top: 1px solid var(--cloud); background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.mobile-menu a { display: block; padding: var(--s-3) 0; color: var(--ink); font-weight: 500; font-size: 1.0625rem; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* Dropdown (services) */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 260px; background: #fff; border: 1px solid var(--cloud); border-radius: var(--r-md);
  box-shadow: var(--shadow-card); padding: var(--s-2); list-style: none;
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast), transform var(--t-fast);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: block; padding: var(--s-3); border-radius: var(--r-sm); font-size: .9375rem; color: var(--ink); }
.dropdown a:hover { background: var(--cloud); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--s-8) 0 var(--s-7); background: linear-gradient(180deg, #fff 0%, var(--cloud) 100%); overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) {
  .hero { padding: var(--s-9) 0; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8); }
}
.hero .display { color: var(--navy); margin-bottom: var(--s-4); }
.hero .lead { margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-4); }
.urgent-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--red); font-weight: 600; font-size: .9375rem; }
.urgent-link:hover { text-decoration: underline; color: var(--red); }
.urgent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }

/* Hero visual card */
.hero-visual { background: var(--navy); border-radius: var(--r-lg); padding: var(--s-6); color: #DCE6F5; box-shadow: var(--shadow-card); }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.metric { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-md); padding: var(--s-4); }
.metric .num { font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1.1; }
.metric .num.good { color: #4ADE9B; }
.metric .lbl { font-size: .8125rem; color: #9FB3D1; margin-top: var(--s-1); }
.metric-note { font-size: .75rem; color: #A9BBD6; margin: var(--s-4) 0 0; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: var(--s-5) 0; border-top: 1px solid var(--cloud); border-bottom: 1px solid var(--cloud); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-5) var(--s-7); }
.trust-strip .trust-label { font-size: .8125rem; font-weight: 600; color: var(--slate); letter-spacing: .04em; text-transform: uppercase; }
.logo-pill { font-weight: 700; color: var(--mist); font-size: 1.0625rem; letter-spacing: .02em; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card { background: #fff; border: 1px solid var(--cloud); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); height: 100%; }
.card h3 { margin-bottom: var(--s-2); }
.card p { margin-bottom: var(--s-3); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; }
.icon-badge { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--cloud); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-4); color: var(--signal); }
.icon-badge svg { width: 26px; height: 26px; }

/* Service card as full link */
.service-card { display: flex; flex-direction: column; transition: transform var(--t-fast), box-shadow var(--t-fast); }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(11,31,58,.12); text-decoration: none; }
.service-card .card-link { margin-top: auto; }

/* Result cards */
.result-card { text-align: left; }
.result-card .metric-big { font-size: 2.5rem; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: var(--s-2); }
.result-card .metric-big.signal { color: var(--signal); }
.result-card .ph { font-size: .8125rem; color: var(--slate); background: var(--cloud); border-radius: var(--r-sm); padding: 2px 8px; display: inline-block; margin-top: var(--s-3); }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding-top: var(--s-6); }
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: var(--s-3);
}
.step h3 { font-size: 1.125rem; }

/* Feature list */
.check-list { list-style: none; display: grid; gap: var(--s-3); }
.check-list li { position: relative; padding-left: 32px; color: var(--slate); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--cloud); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-card); }
.quote-card blockquote { margin: 0 0 var(--s-4); font-size: 1.0625rem; color: var(--ink); }
.quote-card .who { display: flex; align-items: center; gap: var(--s-3); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cloud); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); }
.quote-card .name { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.quote-card .role { font-size: .8125rem; color: var(--slate); }
.stars { color: var(--amber); font-size: 1rem; margin-bottom: var(--s-3); letter-spacing: 2px; }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--cloud); border-radius: var(--r-md); margin-bottom: var(--s-3); background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5);
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--signal); line-height: 1; transition: transform var(--t-fast); }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 var(--s-5) var(--s-5); }
.faq .faq-body p { margin: 0; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .display, .cta-band h2 { color: #fff; }
.cta-band p { color: #C4D2EA; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }
.cta-reassure { margin-top: var(--s-4); font-size: .875rem; font-weight: 600; color: #4ADE9B; }
.cta-reassure::before { content: "\2713  "; }
.cta-contact { margin-top: var(--s-3); font-size: .9375rem; color: #9FB3D1; }
.hero-reassure { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--green); margin: 0 0 var(--s-4); }
.hero-reassure::before { content: "\2713"; }
.cta-contact a { color: #fff; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.form-field { margin-bottom: var(--s-4); }
.form-field label { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; margin-bottom: var(--s-2); }
.form-field input, .form-field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: var(--s-3) var(--s-4); border: 1.5px solid var(--mist); border-radius: var(--r-sm); background: #fff;
  transition: border-color var(--t-fast);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
.form-note { font-size: .8125rem; color: var(--slate); margin-top: var(--s-3); }
.form-status { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); display: none; font-size: .9375rem; }
.form-status.ok { display: block; background: rgba(31,169,113,.12); color: #0d7a51; }
.form-status.err { display: block; background: rgba(229,72,77,.12); color: #b32b30; }
.calendly-wrap { border: 1px solid var(--cloud); border-radius: var(--r-lg); overflow: hidden; min-height: 660px; box-shadow: var(--shadow-card); }
.contact-detail { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-4); }
.contact-detail .ic { color: var(--signal); flex: none; margin-top: 2px; }
.contact-detail a { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9FB3D1; padding: var(--s-8) 0 var(--s-6); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s-4); }
.site-footer a { color: #C4D2EA; font-size: .9375rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: grid; gap: var(--s-2); }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--s-7); padding-top: var(--s-5); font-size: .8125rem; color: #A9BBD6; display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--cloud);
  box-shadow: 0 -4px 18px rgba(11,31,58,.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 56px; font-weight: 700; font-size: .9375rem; color: #fff; text-decoration: none;
}
.mobile-bar .call { background: var(--navy); }
.mobile-bar .wa { background: var(--green); }
.mobile-bar svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
/* add bottom padding on mobile so content clears the bar */
@media (max-width: 899px) { body { padding-bottom: 56px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .8125rem; color: var(--slate); padding-top: var(--s-5); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--signal); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(180deg,#fff,var(--cloud)); padding: var(--s-7) 0 var(--s-8); }
.page-hero .display, .page-hero h1 { color: var(--navy); }
.page-hero .lead { max-width: 60ch; }
.page-hero .hero-actions { margin-top: var(--s-5); }

/* Two-column content block */
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .split.reverse > :first-child { order: 2; } }
.panel { background: var(--cloud); border-radius: var(--r-lg); padding: var(--s-6); }

/* Data table (case study) */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--cloud); box-shadow: var(--shadow-card); background: #fff; margin-bottom: var(--s-6); }
.data-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.data-table th, .data-table td { text-align: left; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--cloud); font-size: .9375rem; }
.data-table th { background: var(--navy); color: #fff; font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) td { background: var(--cloud); }
.data-table td.chg { font-weight: 700; color: var(--green); }
.data-table td:first-child { font-weight: 600; color: var(--ink); }

/* Proof figure */
.proof-figure { margin: 0; }
.proof-figure img { border-radius: var(--r-lg); border: 1px solid var(--cloud); box-shadow: var(--shadow-card); width: 100%; }
.proof-figure figcaption { font-size: .8125rem; color: var(--slate); margin-top: var(--s-3); text-align: center; }

/* Team photos */
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: var(--shadow-card); }

/* Client logo images */
.logo-img { height: 34px; width: auto; object-fit: contain; opacity: .85; filter: grayscale(1); transition: opacity var(--t-fast), filter var(--t-fast); }
.logo-img:hover { opacity: 1; filter: none; }

/* Utility */
.pill { display: inline-block; background: rgba(29,78,216,.10); color: var(--signal); font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .04em; }
.pill.red { background: rgba(229,72,77,.12); color: var(--red); }
.divider { height: 1px; background: var(--cloud); border: 0; margin: 0; }
.list-plain { list-style: none; }

/* ============================================================
   Premium motion layer (GPU-friendly, reduced-motion aware)
   ============================================================ */

/* Tabular figures so count-up does not jiggle width */
.metric-big, .metric .num, .result-card .metric-big { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* Hero ambient glow */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(8px);
}
.hero::before {
  top: -18%; right: -8%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245,166,35,.18), transparent 62%);
  animation: drift1 16s ease-in-out infinite alternate;
}
.hero::after {
  bottom: -25%; left: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(29,78,216,.16), transparent 62%);
  animation: drift2 20s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-46px,34px) scale(1.12); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-28px) scale(1.1); } }

/* Hero entrance sequence */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-grid > div:first-child > *, .page-hero .container > * { animation: fadeUp .6s cubic-bezier(.22,.61,.36,1) both; }
.hero-grid > div:first-child > *:nth-child(1), .page-hero .container > *:nth-child(1) { animation-delay: .04s; }
.hero-grid > div:first-child > *:nth-child(2), .page-hero .container > *:nth-child(2) { animation-delay: .10s; }
.hero-grid > div:first-child > *:nth-child(3), .page-hero .container > *:nth-child(3) { animation-delay: .16s; }
.hero-grid > div:first-child > *:nth-child(4), .page-hero .container > *:nth-child(4) { animation-delay: .22s; }
.hero-grid > div:first-child > *:nth-child(5), .page-hero .container > *:nth-child(5) { animation-delay: .28s; }
.hero-grid > div:first-child > *:nth-child(6), .page-hero .container > *:nth-child(6) { animation-delay: .34s; }
.hero-visual { animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) both; animation-delay: .24s; }
.hero-visual:hover { transform: translateY(-4px); transition: transform var(--t-med); }

/* Nav underline sweep */
.nav-links > li > a { position: relative; }
.nav-links > li > a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast);
}
.nav-links > li > a:hover::after { transform: scaleX(1); }

/* Primary button sheen */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-220%) skewX(-20deg); pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(320%) skewX(-20deg); transition: transform .6s ease; }

/* Richer hover on proof cards */
.result-card, .quote-card, .card { transition: transform var(--t-fast), box-shadow var(--t-fast); }
.card:not(.service-card):hover, .quote-card:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(11,31,58,.12); }

/* Icon badge pop on service card hover */
.service-card .icon-badge { transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast); }
.service-card:hover .icon-badge { transform: scale(1.08); background: var(--signal); color: #fff; }

/* Team photo subtle zoom */
.team-photo { transition: transform var(--t-med); }
.card:hover .team-photo { transform: scale(1.04); }

/* Step number pulse-in handled by reveal; add ring */
.step .step-num { box-shadow: 0 0 0 0 rgba(245,166,35,.45); transition: box-shadow var(--t-med); }
.step:hover .step-num { box-shadow: 0 0 0 6px rgba(245,166,35,.18); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
  .hero-grid > div:first-child > *, .page-hero .container > *, .hero-visual { animation: none; }
  .btn-primary::after { display: none; }
}
