/* =============================================================================
   LUME GROWTH STUDIO — stylesheet
   =============================================================================

   The STRUCTURE is Lume Courier's (pk.lumecourier.com), deliberately: these are two
   arms of one company and a visitor who moves between them should not feel like they
   changed vendors. Header, buttons, cards, reveal, footer and the ground/type ramp are
   LIFTED VERBATIM from ~/Documents/Homepage/theme.css rather than reinterpreted — the
   same reasoning as lifting a route handler instead of rewriting it.

   THE ACCENT IS THE EXCEPTION AND IT IS NOT A DETAIL. Lume Growth Studio already had
   its own colour on the Shopify page this replaces — aqua #00FFCC, not the courier's
   lime — and the first cut of this stylesheet shipped in lime because the original page
   was read through a text-extracting fetch and never actually looked at. See the TOKENS
   block for what was sampled and how the light counterpart was measured.

   Anywhere else a rule differs from the courier's, the change is commented.

   What is NOT carried over: the courier-specific components (timeline, AI lab,
   believers carousel, tracking card, route map). A stylesheet is documentation as
   much as code, and 30KB of rules for elements that do not exist on this site would
   describe a page nobody can find.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------------------------------------------------------------------------
   TOKENS
   ---------------------------------------------------------------------------
   The GROUND, the type ramp and the geometry are the courier site's, verbatim.
   The ACCENT is not, and that is the whole point: Lume Growth Studio already has
   its own colour and it is NOT the courier's lime.

   Sampled off the live page at lumecourier.com/pages/lume-growth-studio rather
   than read off a screenshot — a hex picked out of a PNG is post-compositing and
   post-antialiasing, the computed style is the value that was chosen:

       rgb(0, 255, 204)   #00FFCC   101 uses   <- the accent
       rgb(249, 180, 3)   #F9B403    22 uses   <- amber, badges only
       rgb(166, 255, 0)   #A6FF00    10 uses   <- the courier lime, and it is only
                                                  there because that page sits inside
                                                  the Shopify store's shared header

   CONTRAST IS MEASURED, NOT ASSUMED (tools/pick-light-accent.mjs):
       #00FFCC on #0A0B0D  15.17:1     #0A0B0D on a #00FFCC fill  15.17:1
       #077E66 on #F5F6F2   4.62:1     #077E66 on #FFFFFF          5.02:1

   The light accent is a DARKER teal of the same hue (168deg), not the same value:
   #00FFCC on white is ~1.3:1, i.e. invisible. A hue rotation at fixed lightness is
   safe; a lightness carried across grounds is not.
   --------------------------------------------------------------------------- */
:root{
  --bg:#0A0B0D;
  --bg-elevated:#111318;
  --card:#14161B;
  --card-hover:#191c22;
  --border:#23262d;
  --border-strong:#33373f;
  --text:#F3F5F2;
  --text-dim:#9BA0A8;
  --text-faint:#5B6068;
  --accent:#00FFCC;
  --accent-dim:#00D6AB;
  --accent-glow:rgba(0,255,204,0.32);
  --accent-ink:#04120E;
  /* Amber is the page's own secondary and is used ONLY as a fill behind dark text.
     It measures 10.84:1 on the dark ground but 1.82:1 on white, so it can never be
     text in the light theme — the fill is what carries it across both. */
  --accent-2:#F9B403;
  --accent-2-ink:#1A1400;
  --radius:14px;
  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;
}
html[data-theme="light"]{
  --bg:#F5F6F2;
  --bg-elevated:#FFFFFF;
  --card:#FFFFFF;
  --card-hover:#EDF3F1;
  --border:#DCE3E1;
  --border-strong:#C3CDCA;
  --text:#111318;
  --text-dim:#4B4F55;
  --text-faint:#8A8E86;
  --accent:#077E66;
  --accent-dim:#05614F;
  --accent-glow:rgba(7,126,102,0.22);
  --accent-ink:#FFFFFF;
  --accent-2:#B07A02;
  --accent-2-ink:#FFFFFF;
}

*{box-sizing:border-box; margin:0; padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  overflow-x:hidden;
  transition:background .4s ease, color .4s ease;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1200px; margin:0 auto; padding:0 32px;}
::selection{background:var(--accent); color:var(--accent-ink);}

/* min-width:0 on grid children. Without it a grid item's `auto` floor is its content,
   so one long word silently widens its whole track and the page scrolls sideways on a
   phone. Cheap, unconditional, and it fixes a class of bug rather than an instance. */
.service-grid > *, .stat-row > *, .process-steps > *,
.compare-grid > *, .footer-grid > *, .contact-grid > *{min-width:0;}

/* ---------------------------------------------------------------------------
   BACKGROUND — one continuous wire flow behind the whole document.
   --------------------------------------------------------------------------- */
section{position:relative; overflow:hidden;}
#global-wireflow{
  /* width:100% and NOT 100vw. For a fixed element the percentage resolves against the
     viewport EXCLUDING the classic scrollbar, whereas 100vw includes it — so on a
     desktop with a classic scrollbar the canvas hangs ~15px past the right edge. It is
     pointer-events:none so nothing was unclickable, and position:fixed so the document
     never scrolled, which is exactly why it went unnoticed on the sibling site: an
     overflow with no symptom is still an overflow, and it trips every audit that looks
     for one. */
  position:fixed; top:0; left:0;
  width:100%; height:100vh;
  height:100dvh;
  z-index:0; display:block; pointer-events:none;
  opacity:.43;
  transform:translate3d(0,0,0);
  backface-visibility:hidden;
  will-change:transform;
}
@media(max-width:900px){ #global-wireflow{opacity:.36;} }
html[data-theme="light"] #global-wireflow{opacity:.18;}
header, main, footer{position:relative; z-index:1;}
section > .wrap{position:relative; z-index:1;}

/* ---------------------------------------------------------------------------
   HEADER
   --------------------------------------------------------------------------- */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; height:76px; gap:18px;}

/* The wordmark is TEXT, not part of the image. logo.png on the courier site bakes
   "lumé couriers" into the artwork, which is the wrong company on this site — so the
   mark is cropped to the L (assets/mark-*.png, built by tools/make-mark.py) and the
   name is set in CSS, where it inherits the theme and cannot go stale. */
.logo{display:flex; align-items:center; gap:11px; flex:0 0 auto; color:inherit;}
.logo img{height:34px; width:auto; display:block; object-fit:contain; transition:opacity .25s ease;}
.logo img.logo-dark{display:block;}
.logo img.logo-light{display:none;}
html[data-theme="light"] .logo img.logo-dark{display:none;}
html[data-theme="light"] .logo img.logo-light{display:block;}
.logo-word{display:flex; flex-direction:column; line-height:1.05;}
.logo-word b{font-family:var(--font-display); font-weight:700; font-size:17px; letter-spacing:.2px;}
.logo-word span{
  font-family:var(--font-mono); font-size:9.5px; letter-spacing:2.1px;
  text-transform:uppercase; color:var(--accent);
}

.nav-links{display:flex; align-items:center; gap:32px;}
/* padding:5px 0 is not cosmetic — a 14.5px link at line-height 1.6 measures 23px tall,
   under WCAG 2.2 §2.5.8's 24px minimum target size. These are standalone navigation
   links, not words inside a sentence, so the inline exception does not apply to them. */
.nav-links a{font-size:14.5px; color:var(--text-dim); transition:color .2s; padding:5px 0;}
.nav-links a:hover{color:var(--text);}
.nav-links .nav-contact{
  padding:8px 14px; border:1px solid var(--border-strong); border-radius:9px;
  background:color-mix(in srgb,var(--card) 82%,transparent);
}
.nav-links .nav-contact:hover{
  color:var(--accent); border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent-glow),0 0 18px var(--accent-glow);
}
.nav-actions{display:flex; align-items:center; gap:14px; flex:0 0 auto;}
.theme-toggle{
  width:44px; height:26px; border-radius:20px; border:1px solid var(--border-strong);
  background:var(--bg-elevated); position:relative; cursor:pointer; flex-shrink:0;
}
.theme-toggle::after{
  content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%;
  background:var(--accent); transition:transform .3s ease; box-shadow:0 0 8px var(--accent-glow);
}
html[data-theme="light"] .theme-toggle::after{transform:translateX(18px);}

/* ---------------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------------- */
.btn{
  font-family:var(--font-body); font-weight:600; font-size:14px; padding:11px 22px; border-radius:9px;
  border:1px solid var(--border-strong); cursor:pointer; transition:all .2s ease;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
}
.btn-primary{background:var(--accent); color:var(--accent-ink); border-color:var(--accent);}
.btn-primary:hover{box-shadow:0 0 0 4px var(--accent-glow); transform:translateY(-1px);}
.btn-ghost{background:transparent; color:var(--text);}
.btn-ghost:hover{border-color:var(--text-dim);}
.btn-lg{padding:15px 28px; font-size:15px;}
.btn svg{width:17px; height:17px; flex-shrink:0;}

/* ---------------------------------------------------------------------------
   MOBILE MENU
   --------------------------------------------------------------------------- */
.mobile-menu-toggle{
  display:none; width:40px; height:40px; padding:0; flex:0 0 auto;
  border:1px solid var(--border); border-radius:9px;
  background:var(--card); color:var(--text);
  align-items:center; justify-content:center; cursor:pointer;
  position:relative; z-index:1002; transition:.25s ease;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle.is-open{border-color:var(--accent); box-shadow:0 0 18px var(--accent-glow); outline:none;}
.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after{
  width:18px; height:2px; background:currentColor; display:block;
  border-radius:3px; transition:.3s ease; content:""; position:absolute;
}
.mobile-menu-icon::before{transform:translateY(-6px);}
.mobile-menu-icon::after{transform:translateY(6px);}
.mobile-menu-toggle.is-open .mobile-menu-icon{background:transparent;}
.mobile-menu-toggle.is-open .mobile-menu-icon::before{transform:rotate(45deg);}
.mobile-menu-toggle.is-open .mobile-menu-icon::after{transform:rotate(-45deg);}
.mobile-menu-overlay{display:none;}
.nav-quote-mobile{display:none;}

@media(max-width:900px){
  .mobile-menu-toggle{display:flex;}
  header{position:fixed; z-index:1000;}
  header .wrap{position:relative; z-index:1001;}
  header .logo, header .nav-actions{position:relative; z-index:1003;}
  .nav-links{
    position:absolute; top:calc(100% + 10px); left:0; right:0;
    display:flex !important; flex-direction:column; align-items:stretch;
    gap:5px; padding:10px; z-index:1002;
    border:1px solid var(--border); border-radius:14px; background:var(--card);
    box-shadow:0 18px 50px rgba(0,0,0,.35),0 0 25px var(--accent-glow);
    opacity:0; visibility:hidden; pointer-events:none;
    transform:translateY(-10px) scale(.98);
    transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .nav-links.mobile-open{opacity:1; visibility:visible; pointer-events:auto; transform:none;}
  .nav-links a{display:block; padding:13px 14px; border-radius:9px;}
  .nav-links a:hover, .nav-links a:active{background:var(--accent-glow); color:var(--accent);}
  .nav-links .nav-contact{
    background:color-mix(in srgb,var(--card) 82%,transparent);
    color:var(--text-dim); border-color:var(--border-strong); box-shadow:none;
  }
  .mobile-menu-overlay{
    position:fixed; inset:0; z-index:999; display:block;
    background:rgba(0,0,0,.35); backdrop-filter:blur(2px);
    opacity:0; visibility:hidden; pointer-events:none; transition:.25s ease;
  }
  .mobile-menu-overlay.mobile-open{opacity:1; visibility:visible; pointer-events:auto;}
}

/* The bar on a phone: hamburger, mark, theme toggle, one primary button. The ghost
   button moves INTO the menu rather than shrinking further — the courier site learned
   this the hard way when a third item in the bar crushed its own hamburger. flex:0 0
   auto on the fixed items is what stops it recurring. */
@media(max-width:600px){
  .nav{gap:10px;}
  .logo-word b{font-size:15px;}
  .logo-word span{font-size:8.5px; letter-spacing:1.6px;}
  .logo img{height:29px;}
  .nav-actions{gap:8px;}
  .nav-actions .btn{font-size:12.5px; padding:9px 13px; white-space:nowrap;}
  .nav-actions .btn-ghost{display:none;}
  .nav-quote-mobile{display:block;}
}

/* ---------------------------------------------------------------------------
   REVEAL
   ---------------------------------------------------------------------------
   Gated on html.js, which an inline script in <head> sets. With JS disabled or
   broken the hiding rules never match at all and the page renders in full. The
   alternative — hide by default, unhide from script — makes a JS error an entirely
   blank page, which is the single most expensive failure a static site can have. */
.js .reveal{opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease;}
.js .reveal.in{opacity:1; transform:none;}
.js .scroll-reveal{opacity:0; transform:translateY(34px); transition:opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1);}
.js .scroll-reveal.is-revealed{opacity:1; transform:none;}
.js .scroll-stagger > *{opacity:0; transform:translateY(26px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);}
.js .scroll-stagger.is-revealed > *{opacity:1; transform:none;}
.js .scroll-stagger.is-revealed > *:nth-child(1){transition-delay:.05s}
.js .scroll-stagger.is-revealed > *:nth-child(2){transition-delay:.10s}
.js .scroll-stagger.is-revealed > *:nth-child(3){transition-delay:.15s}
.js .scroll-stagger.is-revealed > *:nth-child(4){transition-delay:.20s}
.js .scroll-stagger.is-revealed > *:nth-child(5){transition-delay:.25s}
.js .scroll-stagger.is-revealed > *:nth-child(6){transition-delay:.30s}
.js .scroll-stagger.is-revealed > *:nth-child(7){transition-delay:.35s}
.js .scroll-stagger.is-revealed > *:nth-child(8){transition-delay:.40s}
.js .scroll-stagger.is-revealed > *:nth-child(n+9){transition-delay:.45s}

@media (prefers-reduced-motion: reduce){
  .js .reveal, .js .scroll-reveal, .js .scroll-stagger > *{
    opacity:1 !important; transform:none !important; transition:none !important;
  }
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important;}
}

/* ---------------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------------- */
.hero{position:relative; z-index:1; padding:170px 0 96px;}
.eyebrow{
  font-family:var(--font-mono); font-size:12.5px; color:var(--accent); letter-spacing:1.5px;
  text-transform:uppercase; display:inline-flex; align-items:center; gap:10px; margin-bottom:28px;
  border:1px solid var(--border-strong); padding:7px 14px; border-radius:100px; background:var(--bg-elevated);
}
.pulse{width:6px; height:6px; border-radius:50%; background:var(--accent); animation:pulse 1.8s infinite;}
@keyframes pulse{0%,100%{opacity:1; box-shadow:0 0 0 0 var(--accent-glow);} 50%{opacity:.5; box-shadow:0 0 0 6px transparent;}}

h1{
  font-family:var(--font-display); font-weight:700; font-size:clamp(36px,5.4vw,70px); line-height:1.05;
  letter-spacing:-1.5px; max-width:900px; margin-bottom:26px;
}
h1 span{color:var(--accent);}
.hero-sub{font-size:17.5px; color:var(--text-dim); max-width:620px; margin-bottom:38px;}
.hero-cta{display:flex; gap:16px; margin-bottom:64px; flex-wrap:wrap;}

.stat-row{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;
}
.stat{background:var(--card); padding:26px 24px;}
.stat-num{font-family:var(--font-mono); font-size:26px; font-weight:500; color:var(--accent); margin-bottom:4px;}
.stat-label{font-size:13px; color:var(--text-faint);}

/* ---------------------------------------------------------------------------
   SECTION SHELL
   --------------------------------------------------------------------------- */
section{padding:100px 0;}
.section-head{max-width:680px; margin-bottom:52px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.eyebrow-sm{
  font-family:var(--font-mono); font-size:12px; color:var(--accent); letter-spacing:1.5px;
  text-transform:uppercase; margin-bottom:14px; display:block;
}
/* line-height:1.18 rather than the inherited body 1.6. The courier site sets none here
   and gets away with it because its headings are short; at 40px a 1.6 leading puts 64px
   between two lines of one sentence, which reads as two separate headings. */
h2{font-family:var(--font-display); font-weight:600; font-size:clamp(26px,3.4vw,40px); line-height:1.18; letter-spacing:-.8px; margin-bottom:14px;}
h3{font-family:var(--font-display); font-weight:600; line-height:1.3;}
.section-sub{color:var(--text-dim); font-size:15.5px;}

/* ---------------------------------------------------------------------------
   SERVICES
   --------------------------------------------------------------------------- */
.service-filter{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px;}
.filter-btn{
  font-family:var(--font-mono); font-size:12px; letter-spacing:1px; text-transform:uppercase;
  padding:9px 16px; border-radius:100px; cursor:pointer;
  border:1px solid var(--border-strong); background:var(--card); color:var(--text-dim);
  transition:all .2s ease;
}
.filter-btn:hover{color:var(--text); border-color:var(--text-faint);}
.filter-btn[aria-pressed="true"]{
  background:var(--accent); color:var(--accent-ink); border-color:var(--accent);
  box-shadow:0 0 16px var(--accent-glow);
}

.service-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 26px; transition:border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover{border-color:var(--accent); transform:translateY(-4px); background:var(--card-hover);}
.icon-box{
  width:44px; height:44px; border-radius:10px; background:var(--bg-elevated); border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--accent); flex-shrink:0;
}
.icon-box svg{width:22px; height:22px;}
.card h3{font-size:17px; margin-bottom:10px;}
.card p{font-size:14.5px; color:var(--text-dim);}

.service-card{display:flex; flex-direction:column;}
.service-card .svc-top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px;}
.svc-tag{
  font-family:var(--font-mono); font-size:10px; letter-spacing:.8px; text-transform:uppercase;
  padding:4px 9px; border-radius:5px; background:var(--accent-glow); color:var(--accent);
  height:fit-content; white-space:nowrap;
}
.svc-points{margin:16px 0 22px; display:flex; flex-direction:column; gap:8px;}
.svc-points li{
  list-style:none; display:flex; align-items:flex-start; gap:9px;
  font-size:13.5px; color:var(--text-faint); line-height:1.5;
}
.svc-points li::before{
  content:''; width:5px; height:5px; border-radius:50%; background:var(--accent);
  margin-top:8px; flex-shrink:0; box-shadow:0 0 6px var(--accent-glow);
}
.svc-cta{
  margin-top:auto; display:inline-flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:600; color:var(--accent);
  transition:gap .2s ease;
  /* See .nav-links a — 13.5px of text is a 22px target, and this one is the button the
     whole card exists to get pressed. */
  padding:6px 0; min-height:24px;
}
.svc-cta:hover{gap:13px;}
.svc-cta svg{width:15px; height:15px;}

/* Filtering hides with [hidden], which the UA stylesheet already honours — but a
   `display:grid` or `display:flex` on the same element beats it, and .service-card is
   flex. Stated explicitly so a card cannot be hidden and visible at once. */
.service-card[hidden]{display:none;}

/* ---------------------------------------------------------------------------
   SERVICE DETAIL ROWS  (services.html)
   ---------------------------------------------------------------------------
   scroll-margin-top clears the 76px fixed header. site.js also offsets in-page
   clicks — belt and braces on purpose, because the two cover different arrivals:
   the script handles a click, this handles a pasted URL, a back button and a
   browser that restores scroll position on reload. */
.detail-row{
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:40px;
  padding:34px 0; border-top:1px solid var(--border);
  scroll-margin-top:100px;
}
.detail-row:first-of-type{border-top:none;}
.detail-head h3{font-size:20px; margin-bottom:8px;}
.detail-head p{font-size:14.5px; color:var(--text-dim); margin-bottom:16px;}
.detail-list{display:flex; flex-direction:column; gap:11px; padding-top:6px;}
.detail-list li{
  list-style:none; display:flex; align-items:flex-start; gap:11px;
  font-size:14.5px; color:var(--text-dim); line-height:1.6;
}
.detail-list li::before{
  content:''; width:6px; height:6px; border-radius:50%; background:var(--accent);
  margin-top:8px; flex-shrink:0; box-shadow:0 0 7px var(--accent-glow);
}
.detail-list li b{color:var(--text); font-weight:600;}
@media(max-width:900px){
  .detail-row{grid-template-columns:1fr; gap:22px; padding:28px 0;}
}

/* ---------------------------------------------------------------------------
   PROCESS
   --------------------------------------------------------------------------- */
.process-steps{display:grid; grid-template-columns:repeat(5,1fr); gap:20px; position:relative;}
.process-track{position:absolute; top:20px; left:10%; width:80%; height:1px; background:var(--border); z-index:0;}
.process-fill{
  position:absolute; top:20px; left:10%; width:0%; height:1px; background:var(--accent);
  box-shadow:0 0 8px var(--accent-glow); z-index:0; transition:width .6s ease;
}
.step{position:relative; z-index:1; opacity:.35; transition:opacity .4s ease;}
.step.active{opacity:1;}
.step-num{
  font-family:var(--font-mono); font-size:13px; color:var(--accent); width:40px; height:40px; border-radius:50%;
  background:var(--bg); border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; box-shadow:0 0 0 6px var(--bg);
  transition:border-color .4s ease, background .4s ease, box-shadow .4s ease, color .4s ease;
}
.step.active .step-num{
  border-color:var(--accent); background:var(--accent); color:var(--accent-ink);
  box-shadow:0 0 0 6px var(--bg), 0 0 14px var(--accent-glow);
}
.step h4{font-family:var(--font-display); font-size:15.5px; font-weight:600; margin-bottom:8px;}
.step p{font-size:13.5px; color:var(--text-faint);}

/* ---------------------------------------------------------------------------
   WHY US
   --------------------------------------------------------------------------- */
.compare-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
.compare-card{
  border:1px solid var(--border); border-radius:var(--radius); background:var(--card); padding:26px;
  transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.compare-card:hover{
  border-color:var(--accent); box-shadow:0 0 0 1px var(--accent-glow), 0 0 24px var(--accent-glow);
  transform:translateY(-3px);
}
.compare-card h3{font-size:15.5px; margin-bottom:16px;}
.compare-row{display:flex; justify-content:space-between; gap:16px; padding:10px 0; font-size:13.5px; border-top:1px solid var(--border);}
.compare-row:first-of-type{border-top:none;}
.tag{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.5px; text-transform:uppercase;
  padding:3px 8px; border-radius:5px; height:fit-content; white-space:nowrap;
}
.tag-us{background:var(--accent-glow); color:var(--accent);}
.tag-them{background:var(--border); color:var(--text-faint);}

.pill-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:32px;}
.pill{
  display:flex; align-items:center; gap:10px; border:1px solid var(--border); background:var(--card);
  border-radius:10px; padding:13px 14px; font-size:13.5px; font-weight:500;
  transition:border-color .2s, transform .2s;
}
.pill:hover{border-color:var(--accent); transform:translateY(-2px);}
.pill .pill-dot{
  width:7px; height:7px; border-radius:50%; background:var(--accent);
  flex-shrink:0; box-shadow:0 0 8px var(--accent-glow);
}
.how-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start;}

/* ---------------------------------------------------------------------------
   STACK STRIP
   --------------------------------------------------------------------------- */
.stack-strip{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:34px;
}
.stack-chip{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.6px;
  padding:7px 13px; border-radius:8px;
  border:1px solid var(--border); background:var(--bg-elevated); color:var(--text-dim);
  transition:border-color .2s ease, color .2s ease;
}
.stack-chip:hover{border-color:var(--accent); color:var(--accent);}

/* ---------------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------------- */
.cta-band{
  border:1px solid var(--border); border-radius:20px; padding:64px 48px; text-align:center;
  background:var(--card); position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; inset:-40% 30% auto 30%; height:70%;
  background:radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  opacity:.5; pointer-events:none;
}
.cta-band h2, .cta-band p, .cta-band .cta-actions{position:relative; z-index:1;}
.cta-band h2{margin-bottom:16px;}
.cta-band p{color:var(--text-dim); margin-bottom:32px; max-width:560px; margin-left:auto; margin-right:auto;}
.cta-actions{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}

/* ---------------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:44px;}
.contact-panel{
  border:1px solid var(--border); border-radius:var(--radius); background:var(--card);
  padding:28px 26px; position:relative; overflow:hidden;
  transition:border-color .25s ease, transform .25s ease;
}
.contact-panel:hover{border-color:var(--accent); transform:translateY(-3px);}
.contact-panel h3{font-size:16px; margin-bottom:6px;}
.contact-panel .contact-kicker{
  font-family:var(--font-mono); font-size:11px; letter-spacing:1.2px; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:14px; display:block;
}
.contact-panel p{font-size:14px; color:var(--text-dim); line-height:1.7;}
/* padding for the 24px minimum target size — see .nav-links a. */
.contact-panel a.contact-line{
  color:var(--accent); font-size:14.5px; font-weight:600;
  display:inline-block; margin-top:8px; padding:5px 0; min-height:24px;
}

/* ---------------------------------------------------------------------------
   FLOATING WHATSAPP
   ---------------------------------------------------------------------------
   The offset is a NAMED variable rather than a number typed into the rule. The
   courier portal has had this exact corner collided with twice, both times because a
   new element picked its own `bottom`. A second floating element here reads --fab-b2
   and gets a slot instead of inventing one. */
:root{--fab-b1:22px; --fab-b2:96px;}
.fab-wa{
  position:fixed; right:22px; bottom:var(--fab-b1); z-index:90;
  width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#25D366; color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.55);
  transition:transform .2s ease, box-shadow .2s ease;
  animation:fabPulse 2.6s infinite;
}
.fab-wa:hover{transform:translateY(-3px) scale(1.05);}
.fab-wa svg{width:29px; height:29px;}
@keyframes fabPulse{
  0%{box-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,.5);}
  70%{box-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 0 16px rgba(37,211,102,0);}
  100%{box-shadow:0 10px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(37,211,102,0);}
}
@media(max-width:600px){ .fab-wa{width:52px; height:52px; right:16px; bottom:16px;} }

/* ---------------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------------- */
footer{border-top:1px solid var(--border); padding:56px 0 32px; position:relative; z-index:1;}
.footer-grid{display:grid; grid-template-columns:1.25fr .8fr 1fr 1fr; gap:36px; margin-bottom:40px;}
.footer-grid h5{
  font-family:var(--font-mono); font-size:12px; text-transform:uppercase; letter-spacing:1px;
  color:var(--text-faint); margin-bottom:16px;
}
.footer-grid a, .footer-grid p{display:block; font-size:14px; color:var(--text-dim); margin-bottom:10px; line-height:1.7;}
/* 14px at 1.7 is a 23.8px box — a rounding error under the 24px minimum. Padding rather
   than line-height so the visual rhythm of the column is unchanged. */
.footer-grid a{padding:2px 0; margin-bottom:6px;}
.footer-grid a:hover{color:var(--accent);}
.footer-bottom{
  display:flex; justify-content:space-between; padding-top:24px; border-top:1px solid var(--border);
  font-size:13px; color:var(--text-faint); flex-wrap:wrap; gap:12px;
}
.footer-logo{margin-bottom:16px;}

/* ---------------------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------------------
   16px is the floor on every form control and on anything a phone might zoom into.
   Below it iOS Safari zooms the page on focus and does NOT zoom back out, leaving the
   whole site scrolled sideways with no way back but a pinch. */
:root input, :root select, :root textarea{font-size:16px;}

@media(max-width:1000px){
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:900px){
  section{padding:76px 0;}
  .hero{padding:132px 0 72px;}
  .how-grid{grid-template-columns:1fr; gap:40px;}
  .compare-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .process-steps{grid-template-columns:1fr 1fr; gap:28px 20px;}
  .process-track, .process-fill{display:none;}
  .cta-band{padding:48px 26px;}
}
@media(max-width:640px){
  .wrap{padding:0 18px;}
  .service-grid{grid-template-columns:1fr;}
  .stat-row{grid-template-columns:1fr 1fr;}
  .process-steps{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr; gap:26px;}
  .pill-grid{grid-template-columns:1fr;}
  .hero-cta .btn{width:100%;}
  .footer-bottom{flex-direction:column; gap:8px;}
}
