/* ============================================================
   DropshipDuo v2 — Design tokens
   Direction: bright, confident SaaS-blue (ShipBob-inspired brief),
   original palette/type/signature — see README for the design plan.
   Signature: the "route badge" — a floating rounded stat/rating
   card that overlaps imagery, echoed in hero, testimonials & auth.
   ============================================================ */

:root{
  /* --- color (v3 — deeper indigo-blue, warmer coral CTA, teal secondary) --- */
  --blue-900:#0B1240;   /* deepest — footer / dark band */
  --blue-800:#141E5C;
  --blue-700:#213489;
  --blue-600:#3450DE;   /* primary brand blue — slightly deeper/richer than v2 */
  --blue-500:#5670F0;
  --blue-100:#E4E9FC;
  --blue-050:#F3F5FE;
  --ink:#101426;
  --mute:#5B6475;
  --mute-light:#8B93A8;
  --line:#E6E8F2;
  --paper:#FFFFFF;
  --paper-dim:#F6F7FC;
  --orange:#FF7A45;     /* CTA accent — warmer coral */
  --orange-dark:#E85F27;
  --teal:#12B4A6;       /* secondary accent — replaces flat mint, used for chips/checks */
  --mint:#12B4A6;       /* kept as alias so existing rules referencing --mint still work */
  --gold:#FFB020;       /* rating stars */

  /* --- type --- */
  --f-display:'Manrope', 'Arial', sans-serif;
  --f-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- scale --- */
  --radius-s:8px;
  --radius-m:14px;
  --radius-l:24px;
  --radius-xl:32px;
  --container:1220px;
  --shadow-soft:0 16px 40px -20px rgba(16,27,92,.22);
  --shadow-hard:0 30px 70px -24px rgba(10,18,64,.35);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--f-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;}
h1,h2,h3,h4{font-family:var(--f-display);font-weight:800;line-height:1.12;margin:0 0 .5em;letter-spacing:-0.015em;color:var(--ink);}
p{margin:0 0 1em;color:var(--mute);}
.container{max-width:var(--container);margin:0 auto;padding:0 32px;}
@media (max-width:640px){.container{padding:0 20px;}}
:focus-visible{outline:3px solid var(--blue-600);outline-offset:2px;}

.eyebrow{
  font-family:var(--f-body);
  font-size:12.5px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;
  color:var(--blue-600);
  display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;
}

/* ============================= BUTTONS ============================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:700;font-size:15px;font-family:var(--f-body);
  padding:13px 26px;border-radius:999px;border:1px solid transparent;
  cursor:pointer;transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--orange);color:#fff;}
.btn-primary:hover{background:var(--orange-dark);box-shadow:var(--shadow-soft);}
.btn-blue{background:var(--blue-600);color:#fff;}
.btn-blue:hover{background:var(--blue-700);box-shadow:var(--shadow-soft);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{border-color:var(--ink);}
.btn-ghost-blue{background:transparent;color:var(--blue-600);border-color:var(--blue-100);}
.btn-ghost-blue:hover{border-color:var(--blue-600);}
.btn-ghost-light{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.35);}
.btn-ghost-light:hover{border-color:#fff;background:rgba(255,255,255,.16);}
.btn-block{width:100%;}
.btn-sm{padding:9px 18px;font-size:13px;}

/* ============================= NAVBAR ============================= */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:74px;}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--f-display);font-weight:800;font-size:20px;color:var(--ink);}
.logo-mark{width:32px;height:32px;flex:none;object-fit:contain;display:block;}
.nav-links{display:flex;align-items:center;gap:30px;}
.nav-links a{font-size:14.5px;font-weight:600;color:var(--ink);padding:8px 0;position:relative;}
.nav-links a.active,.nav-links a:hover{color:var(--blue-600);}
.nav-actions{display:flex;align-items:center;gap:12px;}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:5px 0;}

@media (max-width:980px){
  .nav-links{position:fixed;top:74px;left:0;right:0;bottom:0;background:#fff;
    flex-direction:column;align-items:flex-start;gap:0;padding:10px 24px 24px;
    transform:translateX(-100%);transition:transform .25s ease;overflow-y:auto;
    /* .nav has backdrop-filter, which makes it the containing block of this
       fixed panel, so bottom:0 would collapse it — give it an explicit height. */
    bottom:auto;height:calc(100vh - 74px);height:calc(100dvh - 74px);}
  .nav-links.open{transform:translateX(0);}
  .nav-links a{width:100%;padding:14px 0;border-bottom:1px solid var(--line);}
  .nav-toggle{display:block;}
  /* Both header CTAs stay visible on mobile — tighten them instead of hiding. */
  .nav-actions{gap:8px;}
  .nav-actions .btn{padding:8px 12px;font-size:12.5px;}
  .lang-trigger{padding:7px 10px;gap:6px;}
}
/* Drop the language name once space gets tight; the flag + chevron still work. */
@media (max-width:700px){
  .lang-trigger .lang-name{display:none;}
}
/* Very small screens: keep the logo mark, drop the wordmark so both CTAs fit. */
@media (max-width:600px){
  .logo .logo-text{display:none;}
}
@media (max-width:380px){
  .nav-actions{gap:6px;}
  .nav-actions .btn{padding:7px 9px;font-size:11.5px;}
}

/* ============================= HERO ============================= */
.hero{padding:64px 0 20px;background:linear-gradient(180deg,#fff 0%, var(--blue-050) 100%);position:relative;overflow:hidden;}
.hero::before{
  content:"";position:absolute;inset:-20% -10% auto -10%;height:140%;
  background:radial-gradient(circle at 20% 20%, rgba(52,80,222,.10), transparent 55%),
             radial-gradient(circle at 85% 10%, rgba(18,180,166,.12), transparent 50%);
  animation:heroDrift 16s ease-in-out infinite alternate;
  pointer-events:none;z-index:0;
}
.hero .container{position:relative;z-index:1;}
@keyframes heroDrift{
  0%{transform:translate(0,0) scale(1);}
  100%{transform:translate(2%,3%) scale(1.05);}
}
.hero-grid{display:grid;grid-template-columns:1fr .95fr;gap:56px;align-items:center;}
.hero h1{font-size:clamp(34px,4.4vw,54px);}
.hero h1 .accent{color:var(--blue-600);}
.hero-sub{font-size:17px;max-width:520px;}
.hero-checks{margin:22px 0 30px;}
.hero-checks li{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px;font-size:14.5px;font-weight:600;color:var(--ink);}
.hero-checks li .tick{width:20px;height:20px;border-radius:50%;background:var(--mint);color:#fff;flex:none;display:flex;align-items:center;justify-content:center;font-size:12px;margin-top:1px;}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;}
@media (max-width:900px){.hero-grid{grid-template-columns:1fr;}}

/* hero image collage + signature floating badge */
.hero-collage{position:relative;}
.collage-grid{border-radius:var(--radius-l,20px);overflow:hidden;line-height:0;}
.collage-img{display:block;width:100%;height:auto;animation:imgBreathe 6s ease-in-out infinite;}
@keyframes imgBreathe{0%,100%{transform:scale(1);}50%{transform:scale(1.05);}}
.float-badge{
  position:absolute;background:#fff;border-radius:var(--radius-m);box-shadow:var(--shadow-hard);
  padding:14px 18px;display:flex;align-items:center;gap:12px;z-index:5;
}
.float-badge.rating{top:-22px;right:10px;}
.float-badge .stars{color:var(--gold);font-size:14px;letter-spacing:1px;}
.float-badge .big{font-family:var(--f-display);font-weight:800;font-size:20px;}
.float-badge .cap{font-size:11.5px;color:var(--mute);}
.float-badge.person{left:-24px;bottom:26px;max-width:210px;}
.float-badge.person .av{width:36px;height:36px;border-radius:50%;background:var(--blue-100);border:1px dashed #B7C2F2;flex:none;display:flex;align-items:center;justify-content:center;font-size:8px;color:var(--blue-600);text-align:center;font-family:var(--f-body);}
.float-badge.person .name{font-weight:700;font-size:13px;}
.float-badge.person .role{font-size:11px;color:var(--mute);}
@media (max-width:640px){.float-badge{display:none;}}

/* ======================= HERO v4 (design: Source · Brand · Fulfill) =======================
   The right-hand visual is a fixed "stage" laid out in design-file pixels
   (920 x 780). --u is one design pixel, so every element keeps the exact
   proportions of the design at any width. Background globe + Europe map +
   routes + pins: img/hero/hero-globe-europe.svg (scripts/build-hero-map.mjs). */
.hero-v4{padding:56px 0 48px;background:none;overflow:hidden;}
.hero-v4::before{display:none;}
.hero-v4-bg{position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(ellipse 46% 60% at 96% 18%, rgba(205,238,253,.75), transparent 70%),
    radial-gradient(ellipse 40% 50% at 8% 30%, rgba(226,234,254,.7), transparent 70%),
    linear-gradient(180deg,#EEF3FE 0%,#F4F7FE 55%,#FFFFFF 100%);}
.hero-v4 .hero-v4-inner{max-width:1300px;display:grid;grid-template-columns:minmax(0,677fr) minmax(0,869fr);align-items:center;}

/* ---- copy column ---- */
.hero-v4-copy{min-width:0;}
.hero-v4-eyebrow,.hero-v4-title,.hero-v4-sub{padding-left:0;}
.hero-v4-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-family:var(--f-body);font-size:12.5px;line-height:18px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#2A63FB;}
.hero-v4-eyebrow b{font-weight:800;color:#1238D9;}
.hero-v4-eyebrow .dot{width:5px;height:5px;border-radius:50%;background:#CDDCFE;flex:none;}
.hero-v4-eyebrow .dot-strong{background:#0D3FF2;}
.hero-v4-title{margin:0 0 16px;font-size:clamp(32px,3.1vw,46px);line-height:1.12;font-weight:800;letter-spacing:-.035em;color:#07082B;}
.hero-v4-title .line{display:block;}
.hero-v4-title .accent{color:#0D3FF2;}
.hero-v4-sub{max-width:520px;margin:0 0 26px;font-size:16px;line-height:1.65;color:#5B6478;}
.hero-v4-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:540px;}
.hv-feature{display:flex;align-items:center;gap:12px;min-height:78px;padding:12px 14px 12px 12px;background:#fff;border-radius:12px;
  box-shadow:0 10px 28px -12px rgba(40,72,160,.16), 0 0 0 1px rgba(226,232,248,.65);}
.hv-feature-icon{width:44px;height:44px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;}
.hv-feature-icon svg{width:22px;height:22px;}
.hv-feature-icon.is-blue{background:radial-gradient(circle at 35% 30%,#F3F7FF,#DDE8FE);}
.hv-feature-icon.is-orange{background:radial-gradient(circle at 35% 30%,#FFF6EE,#FEE4D0);}
.hv-feature-icon.is-teal{background:radial-gradient(circle at 35% 30%,#EEFCFA,#D3F5F1);}
.hv-feature-icon.is-violet{background:radial-gradient(circle at 35% 30%,#F6F5FF,#E6E3FD);}
.hv-feature-text{display:flex;flex-direction:column;gap:3px;min-width:0;}
.hv-feature-text strong{font-family:var(--f-display);font-size:14px;line-height:1.25;font-weight:800;color:#10163A;}
.hv-feature-text span{font-size:12.5px;line-height:17px;color:#6B7388;}
.hero-v4-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;}
.hv-btn{min-width:160px;height:48px;padding:0 26px;font-size:15px;font-weight:700;gap:8px;}
.hv-btn.btn-primary{background:#FE7742;box-shadow:0 14px 26px -14px rgba(254,119,66,.75);}
.hv-btn.btn-primary:hover{background:var(--orange-dark);}
.hv-btn-arrow{width:17px;height:17px;transition:transform .2s ease;}
.hv-btn:hover .hv-btn-arrow{transform:translateX(3px);}
.hv-btn-outline{background:rgba(255,255,255,.7);color:#1747F0;border:1.5px solid #BECFFC;font-size:15px;}
.hv-btn-outline:hover{border-color:#1747F0;background:#fff;}
.hero-v4-notes{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:18px;padding-left:1px;}
.hero-v4-notes li{display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:#5B6478;}
.hv-check{width:15px;height:15px;border-radius:50%;background:#22B8A8;flex:none;display:flex;}
.hv-check svg{width:15px;height:15px;}

/* ---- visual stage ---- */
.hero-v4-visual{min-width:0;}
.hv-stage{position:relative;width:92%;max-width:700px;margin:0 auto;aspect-ratio:920/780;container-type:inline-size;}
.hv-stage > *{--u:calc(100cqw / 920);}
.hv-map{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none;}
.hv-scene{position:absolute;height:auto;pointer-events:none;user-select:none;filter:drop-shadow(0 calc(var(--u)*14) calc(var(--u)*14) rgba(74,110,180,.16));}
.hv-scene-factory{left:calc(var(--u)*5);top:calc(var(--u)*122);width:calc(var(--u)*305);}
.hv-scene-packaging{left:calc(var(--u)*328);top:calc(var(--u)*110);width:calc(var(--u)*238);filter:none;}
.hv-scene-quality{left:calc(var(--u)*635);top:calc(var(--u)*140);width:calc(var(--u)*246);}
.hv-scene-warehouse{left:calc(var(--u)*40);top:calc(var(--u)*466);width:calc(var(--u)*430);}
.hv-scene-shipping{left:calc(var(--u)*590);top:calc(var(--u)*430);width:calc(var(--u)*270);filter:none;}

.hv-card{position:absolute;display:flex;align-items:center;gap:calc(var(--u)*16);padding:calc(var(--u)*10) calc(var(--u)*14);
  background:rgba(255,255,255,.96);border-radius:calc(var(--u)*12);
  box-shadow:0 calc(var(--u)*12) calc(var(--u)*30) calc(var(--u)*-10) rgba(42,78,160,.22), 0 0 0 1px rgba(225,233,250,.7);
  animation:hvFloat 6s ease-in-out infinite;}
.hv-card img{width:calc(var(--u)*56);height:calc(var(--u)*56);flex:none;}
.hv-card div{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;}
.hv-card strong{font-family:var(--f-display);font-size:calc(var(--u)*16);line-height:1.3;font-weight:800;color:#07083E;margin-bottom:calc(var(--u)*3);}
.hv-card span{font-size:calc(var(--u)*14);line-height:calc(var(--u)*19);color:#6D7CA6;}
.hv-card-sourcing span{max-width:calc(var(--u)*120);}
.hv-card-branding span{max-width:calc(var(--u)*120);}
.hv-card-quality span{max-width:calc(var(--u)*130);}
.hv-card-shipping span{max-width:calc(var(--u)*146);}
.hv-card-warehouse span{max-width:calc(var(--u)*120);}
.hv-card-support span{max-width:calc(var(--u)*112);}
.hv-card-sourcing{left:calc(var(--u)*48);top:calc(var(--u)*32);width:calc(var(--u)*250);min-height:calc(var(--u)*93);--r:-3.5deg;}
.hv-card-branding{left:calc(var(--u)*346);top:calc(var(--u)*15);width:calc(var(--u)*211);min-height:calc(var(--u)*85);--r:-1deg;animation-delay:-1.5s;}
.hv-card-quality{left:calc(var(--u)*642);top:calc(var(--u)*62);width:calc(var(--u)*228);min-height:calc(var(--u)*83);animation-delay:-3s;}
.hv-card-shipping{left:calc(var(--u)*627);top:calc(var(--u)*346);width:calc(var(--u)*251);min-height:calc(var(--u)*82);animation-delay:-4.5s;}
.hv-card-warehouse{left:calc(var(--u)*37);top:calc(var(--u)*395);width:calc(var(--u)*256);min-height:calc(var(--u)*81);animation-delay:-2.2s;}
.hv-card-support{left:calc(var(--u)*530);top:calc(var(--u)*582);width:calc(var(--u)*248);min-height:calc(var(--u)*80);animation-delay:-3.7s;}
@keyframes hvFloat{0%,100%{transform:rotate(var(--r,0deg)) translateY(0);}50%{transform:rotate(var(--r,0deg)) translateY(calc(var(--u)*-6));}}

/* entrance */
.hero-v4-copy > *{animation:heroUp .7s cubic-bezier(.2,.7,.2,1) both;}
.hero-v4-copy > *:nth-child(2){animation-delay:.08s;}
.hero-v4-copy > *:nth-child(3){animation-delay:.16s;}
.hero-v4-copy > *:nth-child(4){animation-delay:.24s;}
.hero-v4-copy > *:nth-child(5){animation-delay:.32s;}
.hero-v4-copy > *:nth-child(6){animation-delay:.40s;}
.hero-v4-visual{animation:heroUp .8s cubic-bezier(.2,.7,.2,1) .16s both;}

/* ---- responsive ---- */
@media (max-width:1440px){
}
@media (max-width:1320px){
  .hero-v4{padding-top:56px;}
  .hero-v4 .hero-v4-inner{grid-template-columns:minmax(0,1fr);justify-items:center;}
  .hero-v4-copy{max-width:720px;width:100%;}
  .hero-v4-visual{width:100%;max-width:920px;margin-top:28px;}
  .hv-stage{width:100%;max-width:680px;}
}
@media (max-width:640px){
  .hero-v4{padding:40px 0 32px;}
  .hero-v4-eyebrow,.hero-v4-title,.hero-v4-sub{padding-left:0;}
  .hero-v4-eyebrow{font-size:11.5px;gap:9px;letter-spacing:.16em;}
  .hero-v4-title{font-size:30px;}
  .hero-v4-sub{font-size:15px;}
  .hero-v4-features{grid-template-columns:1fr;gap:12px;}
  .hv-feature{min-height:72px;}
  .hero-v4-cta{gap:12px;}
  .hv-btn{flex:1 1 100%;min-width:0;}
  .hero-v4-notes{gap:10px 20px;}
  .hero-v4-notes li{font-size:13px;}
  /* stage text becomes unreadable at phone width: keep the icons, drop the labels */
  .hv-card{padding:calc(var(--u)*8);width:auto !important;height:auto !important;border-radius:50%;}
  .hv-card div{display:none;}
  .hv-card img{width:calc(var(--u)*72);height:calc(var(--u)*72);}
}
@media (prefers-reduced-motion:reduce){
  .hero-v4-copy > *, .hero-v4-visual, .hv-card{animation:none !important;}
  .hv-card{transform:rotate(var(--r,0deg));}
}

/* ============================= IMAGE PLACEHOLDER ============================= */
.img-ph{
  border:1.5px dashed #C6CEEA;
  border-radius:var(--radius-m);
  background:repeating-linear-gradient(135deg, rgba(42,70,232,.04) 0 10px, transparent 10px 20px), var(--blue-050);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:8px;color:#8A93B8;padding:22px;min-height:200px;
}
.img-ph .ph-icon{font-size:24px;opacity:.75;}
.img-ph .ph-label{font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--blue-700);}
.img-ph .ph-desc{font-size:12.5px;max-width:300px;color:#7D87AC;margin:0;}
.img-ph.ratio-16-9{aspect-ratio:16/9;}
.img-ph.ratio-4-3{aspect-ratio:4/3;}
.img-ph.ratio-1-1{aspect-ratio:1/1;}
.img-ph.ratio-21-9{aspect-ratio:21/9;}
.img-ph.dark{background:repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px), var(--blue-800);border-color:rgba(255,255,255,.3);color:rgba(255,255,255,.7);}
.img-ph.dark .ph-label{color:#fff;}
.img-ph.dark .ph-desc{color:rgba(255,255,255,.6);}
.img-ph:has(> img){
  padding:0;overflow:hidden;border:1px solid var(--blue-100);
  background:none;box-shadow:var(--shadow-soft);
}
.img-ph > img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in;}
.img-ph:has(> img):hover{box-shadow:var(--shadow-hard);}

/* ============================= IMAGE LIGHTBOX ============================= */
.img-lightbox{
  position:fixed;inset:0;z-index:9999;
  display:flex;align-items:center;justify-content:center;
  padding:24px;
}
.img-lightbox[hidden]{display:none;}
.img-lightbox-backdrop{
  position:absolute;inset:0;
  background:rgba(11,18,64,.88);
  backdrop-filter:blur(4px);
}
.img-lightbox-dialog{
  position:relative;z-index:1;
  max-width:min(1200px,96vw);
  max-height:92vh;
}
.img-lightbox-img{
  display:block;
  max-width:100%;
  max-height:92vh;
  width:auto;height:auto;
  object-fit:contain;
  border-radius:var(--radius-m);
  box-shadow:var(--shadow-hard);
}
.img-lightbox-close{
  position:fixed;top:16px;right:16px;z-index:2;
  width:40px;height:40px;
  border:none;border-radius:50%;
  background:#fff;color:var(--ink);
  font-size:26px;line-height:1;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
  display:flex;align-items:center;justify-content:center;
}
.img-lightbox-close:hover{background:var(--blue-050);}
body.lightbox-open{overflow:hidden;}

/* ============================= ANIMATED GLOBE (global network visual) ============================= */
/* Land outlines come from js/globe-map.js and are rendered by js/globe.js.
   Ocean/land/line colours live in js/globe.js (OCEAN / LAND / BORDER). */
.globe-visual{
  position:relative;
  aspect-ratio:16/8;
  overflow:hidden;
  background:transparent;
}
.globe-visual .globe-canvas{display:block;width:100%;height:100%;}
.globe-visual .globe-canvas.is-draggable{cursor:grab;touch-action:none;}
.globe-visual .globe-canvas.is-draggable.is-grabbing{cursor:grabbing;}

/* fades the foot of the globe into the section background. `transparent`
   interpolates premultiplied, so this stays clean regardless of --paper-dim. */
.globe-visual::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:25%;z-index:3;
  background:linear-gradient(to bottom,transparent,var(--paper-dim));
  pointer-events:none;
}

/* ---- hub markers: positions are assigned by js/globe.js ---- */
.globe-visual .globe-markers{position:absolute;inset:0;z-index:2;pointer-events:none;}
.globe-visual .globe-marker{
  position:absolute;left:0;top:0;
  display:flex;flex-direction:column;align-items:center;
  opacity:0;
  /* the pin box is 20px tall, so +10px puts the pin's centre on the location */
  transform:translate(-50%,calc(-100% + 10px)) scale(.8);
  transition:opacity .4s ease,transform .4s cubic-bezier(.34,1.56,.64,1);
}
.globe-visual .globe-marker.is-visible{
  opacity:1;transform:translate(-50%,calc(-100% + 10px)) scale(1);
}
/* Some hubs sit close enough to a neighbour that both labels would collide —
   Germany is barely 9 deg from the UK, about 14px once projected. Flipping the
   label below the pin separates them. `.is-visible` above has equal
   specificity, so these variants have to come after it to win. */
.globe-visual .globe-marker--below{
  flex-direction:column-reverse;
  transform:translate(-50%,-10px) scale(.8);
}
.globe-visual .globe-marker--below.is-visible{
  transform:translate(-50%,-10px) scale(1);
}
.globe-visual .globe-marker-label{
  background:#fff;border:1px solid rgba(147,197,253,.55);border-radius:6px;
  padding:3px 8px;font-size:11.5px;font-weight:600;line-height:1.2;letter-spacing:-.01em;
  color:#1d4ed8;white-space:nowrap;
  box-shadow:0 2px 8px rgba(29,78,216,.1);
}
.globe-visual .globe-marker-pin{
  position:relative;width:20px;height:20px;display:flex;align-items:center;justify-content:center;
}
.globe-visual .globe-marker-pin i{
  position:absolute;width:14px;height:14px;border:1.5px solid rgba(37,99,235,.55);border-radius:50%;
  animation:globeRipple 2.8s ease-out infinite;
}
.globe-visual .globe-marker-pin i:nth-child(2){animation-delay:1.1s;}
.globe-visual .globe-marker-pin b{
  position:relative;width:5px;height:5px;background:#2563eb;border-radius:50%;
}
@keyframes globeRipple{
  0%{transform:scale(.3);opacity:1;}
  70%{transform:scale(1.4);opacity:0;}
  100%{transform:scale(1.4);opacity:0;}
}
@media (max-width:640px){
  .globe-visual{aspect-ratio:4/3;}
  .globe-visual .globe-marker-label{font-size:10.5px;padding:2px 6px;}
}
@media (prefers-reduced-motion:reduce){
  .globe-visual .globe-marker{transition:none;}
  .globe-visual .globe-marker-pin i{animation:none;opacity:.5;transform:scale(1.1);}
}

.platform-tile{
  border-radius:var(--radius-m);background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft);
  display:flex;align-items:center;justify-content:center;min-height:150px;padding:18px;
}
.platform-tile-icons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.platform-tile-icons img{width:24px;height:24px;object-fit:contain;}

/* ============================= SECTIONS ============================= */
section{padding:92px 0;}
.section-tight{padding:60px 0;}
.section-head{max-width:640px;margin-bottom:52px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(27px,3.2vw,40px);}
.bg-navy{background:var(--blue-900);color:#fff;}
.bg-navy h2,.bg-navy h3,.bg-navy h4{color:#fff;}
.bg-navy p{color:rgba(255,255,255,.68);}
.bg-dim{background:var(--paper-dim);}
.bg-blue-tint{background:var(--blue-050);}

/* trust bar */
.trust-bar{padding:30px 0;border-bottom:1px solid var(--line);}
.trust-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.trust-label{font-size:12px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.07em;flex:none;}
.trust-logos{display:flex;gap:34px;flex-wrap:wrap;align-items:center;}
.trust-logo{display:flex;align-items:center;gap:10px;font-family:var(--f-display);font-weight:800;font-size:15px;color:var(--blue-700);opacity:.9;transition:opacity .22s ease, transform .22s ease;}
.trust-logo:hover{opacity:1;transform:translateY(-2px);}
.trust-logo-icon{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:none;}
.trust-logo-icon img{width:17px;height:17px;object-fit:contain;}
.trust-logo-icon.on-white{background:var(--blue-050);border:1px solid var(--line);}
.trust-logo-icon.on-white img{width:20px;height:20px;}

/* stat band */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.stat{text-align:center;}
.stat .num{font-family:var(--f-display);font-weight:800;font-size:clamp(28px,3.8vw,44px);color:var(--blue-700);}
.stat .lbl{font-size:12.5px;color:var(--mute);font-weight:600;}
@media (max-width:760px){.stat-grid{grid-template-columns:repeat(2,1fr);row-gap:34px;}}

/* solution / feature cards */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
@media (max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.grid-3,.grid-2{grid-template-columns:1fr;}}

.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:30px;transition:transform .18s ease, box-shadow .18s ease;}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft);}
.card .icon{width:44px;height:44px;border-radius:12px;background:var(--blue-050);display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:var(--blue-600);}
.card h3{font-size:18px;margin-bottom:8px;}
.card p{font-size:14px;margin-bottom:0;}
.card .link-more{display:inline-block;margin-top:12px;font-size:13.5px;font-weight:700;color:var(--blue-600);}

/* why-choose list (checklist row with icon chips) */
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px 28px;}
@media (max-width:700px){.why-grid{grid-template-columns:1fr;}}
.why-item{display:flex;gap:14px;align-items:flex-start;}
.why-item .chip{width:38px;height:38px;border-radius:10px;background:var(--blue-600);color:#fff;flex:none;display:flex;align-items:center;justify-content:center;}
.why-item h4{font-size:15.5px;margin-bottom:4px;}
.why-item p{font-size:13.5px;margin-bottom:0;}

/* integrations row */
.integ-row{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;}
.integ-chip{width:72px;height:72px;border-radius:16px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:14px;box-shadow:var(--shadow-soft);}
.integ-chip img{max-width:100%;max-height:100%;object-fit:contain;}

/* timeline / how it works */
.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;}
.tl-step{text-align:left;}
.tl-step .num-badge{width:34px;height:34px;border-radius:50%;background:var(--blue-600);color:#fff;font-family:var(--f-display);font-weight:800;font-size:13.5px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.tl-step .num-badge.year{width:auto;min-width:34px;height:28px;padding:0 12px;border-radius:14px;font-size:12.5px;}
.tl-step h4{font-size:15.5px;margin-bottom:6px;}
.tl-step p{font-size:13px;}
@media (max-width:900px){.timeline{grid-template-columns:repeat(2,1fr);}}

.timeline.cols-4{grid-template-columns:repeat(4,1fr);margin-bottom:44px;}
@media (max-width:900px){.timeline.cols-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.timeline.cols-4{grid-template-columns:1fr;}}

.story-media{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}
.story-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-l);border:1px solid var(--blue-100);box-shadow:var(--shadow-soft);}
.story-media h4{font-size:16px;margin:16px 0 6px;}
.story-media p{font-size:13.5px;}
@media (max-width:980px){.story-media{grid-template-columns:1fr 1fr;}}
@media (max-width:620px){.story-media{grid-template-columns:1fr;}}

/* category grid (verticals) */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
@media (max-width:900px){.cat-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.cat-grid{grid-template-columns:1fr;}}
.cat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:26px;}
.cat-card .icon-round{width:46px;height:46px;border-radius:50%;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.cat-card h4{font-size:16px;margin-bottom:4px;}
.cat-card .we-work{font-size:12px;color:var(--mute-light);margin-bottom:10px;}
.cat-card a.read-more{font-size:12.5px;font-weight:700;color:var(--blue-600);}

/* brand / case-study grid */
.brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
@media (max-width:900px){.brand-grid{grid-template-columns:repeat(2,1fr);}}
.brand-card .brand-img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:var(--radius-m);margin-bottom:14px;}
.brand-card h4{font-size:15px;margin-bottom:2px;}
.brand-card p{font-size:12.5px;margin-bottom:0;}

/* savings estimator card (functional demo) */
.calc-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-xl);padding:40px;box-shadow:var(--shadow-soft);}
.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}
@media (max-width:860px){.calc-grid{grid-template-columns:1fr;}}
.calc-result{background:var(--blue-050);border-radius:var(--radius-m);padding:24px;text-align:center;}
.calc-result .amount{font-family:var(--f-display);font-weight:800;font-size:clamp(30px,4vw,42px);color:var(--blue-700);margin:6px 0;}
.calc-result .amount-label{font-size:12.5px;color:var(--mute);}

/* world map */
.map-wrap{position:relative;}
/* ============ HOME — GLOBAL SUPPLY & FULFILLMENT BANNER ============
   Full-bleed dark band over img/page/global-fulfillment-bg.webp (globe + routes
   + warehouse). The photo's left side is plain navy, so copy sits there; a
   left-to-right fade keeps it legible when the card narrows. */
.gf-section{padding:0;}
/* tighten the white space either side of the full-bleed band */
section:has(+ .gf-section){padding-bottom:64px;}
.gf-section + section{padding-top:72px;}
.gf-banner{
  position:relative;overflow:hidden;isolation:isolate;
  background:#01173b;color:#fff;
}
.gf-inner{
  min-height:clamp(380px,25vw,480px);
  display:flex;flex-direction:column;justify-content:space-between;
}
.gf-bg{
  position:absolute;inset:0;z-index:-2;
  width:100%;height:100%;
  object-fit:cover;object-position:right 40%;
}
.gf-banner::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg, rgba(1,23,59,.92) 0%, rgba(1,23,59,.6) 30%, rgba(1,23,59,0) 52%),
    linear-gradient(0deg, rgba(1,18,51,.88) 0%, rgba(1,18,51,.35) 24%, rgba(1,18,51,0) 42%);
}
.gf-content{padding:44px 0 24px;max-width:600px;}
.gf-eyebrow{display:inline-block;font-size:14px;font-weight:600;color:#4FC3FF;letter-spacing:.02em;margin-bottom:14px;}
.gf-title{color:#fff;font-size:clamp(26px,2.5vw,34px);line-height:1.3;margin:0 0 12px;letter-spacing:-.01em;}
.gf-title span{display:block;}
.gf-desc{color:rgba(255,255,255,.82);font-size:15.5px;line-height:1.7;margin:0 0 18px;max-width:520px;}
.gf-link{
  display:inline-flex;align-items:center;gap:10px;
  color:#4FC3FF;font-size:15px;font-weight:600;
  padding-bottom:6px;border-bottom:1.5px solid currentColor;
  transition:color .15s ease, gap .15s ease;
}
.gf-link:hover{color:#8AD8FF;gap:13px;}
.gf-features{
  display:grid;grid-template-columns:repeat(3,1fr);
  padding:0 0 34px;margin:0;list-style:none;
}
.gf-feature{display:flex;align-items:flex-start;gap:16px;padding:6px 28px;border-left:1px solid rgba(255,255,255,.22);}
.gf-feature:first-child{padding-left:0;border-left:0;}
.gf-icon{flex:none;width:36px;height:36px;color:#4FC3FF;margin-top:2px;}
.gf-feature h3{color:#fff;font-size:16px;font-weight:700;margin:0 0 4px;line-height:1.35;}
.gf-feature p{color:rgba(255,255,255,.72);font-size:13.5px;line-height:1.55;margin:0;}

@media (max-width:960px){
  .gf-bg{object-position:72% center;}
  .gf-banner::before{
    background:
      linear-gradient(90deg, rgba(1,23,59,.9) 0%, rgba(1,23,59,.5) 45%, rgba(1,23,59,.1) 75%),
      linear-gradient(0deg, rgba(1,18,51,.94) 0%, rgba(1,18,51,.6) 32%, rgba(1,18,51,0) 55%);
  }
  .gf-content{padding:36px 0 22px;}
  .gf-features{padding:0 0 30px;}
  .gf-feature{padding:6px 18px;gap:12px;}
  .gf-icon{width:30px;height:30px;}
}
@media (max-width:760px){
  .gf-inner{min-height:0;}
  .gf-bg{object-position:62% center;}
  .gf-banner::before{background:linear-gradient(180deg, rgba(1,23,59,.9) 0%, rgba(1,23,59,.62) 45%, rgba(1,18,51,.9) 100%);}
  .gf-content{padding:32px 0 20px;max-width:none;}
  .gf-features{grid-template-columns:1fr;gap:18px;padding:4px 0 28px;}
  .gf-feature,.gf-feature:first-child{padding:16px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18);}
}

.office-list{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px;}
@media (max-width:760px){.office-list{grid-template-columns:repeat(2,1fr);}}
.office{border-left:2px solid var(--blue-600);padding-left:14px;}
.office h4{font-size:15px;margin-bottom:4px;}
.office p{font-size:13px;margin-bottom:0;}

/* testimonial spotlight (big split) */
.spotlight{display:grid;grid-template-columns:1fr .85fr;gap:0;border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-hard);}
@media (max-width:860px){.spotlight{grid-template-columns:1fr;}}
.spotlight-text{background:#fff;padding:52px;display:flex;flex-direction:column;justify-content:center;}
.spotlight-text .quote-mark{font-family:var(--f-display);font-size:56px;color:var(--blue-100);line-height:.6;margin-bottom:6px;}
.spotlight-text blockquote{font-family:var(--f-display);font-size:20px;font-weight:600;color:var(--ink);margin:0 0 22px;line-height:1.4;}
.spotlight-text .who{font-weight:700;font-size:14.5px;}
.spotlight-text .role{font-size:12.5px;color:var(--mute);}
.spotlight .img-ph{border-radius:0;min-height:340px;border:none;}
.spotlight-photo{display:block;width:100%;height:100%;min-height:340px;object-fit:cover;}

/* small testimonial grid (index preview) */
.testi-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:28px;}
.testi-quote{font-size:14.5px;color:var(--ink);margin-bottom:18px;}
.testi-person{display:flex;align-items:center;gap:12px;}
.testi-avatar{width:40px;height:40px;border-radius:50%;background:var(--blue-050);border:1px dashed #C6CEEA;flex:none;display:flex;align-items:center;justify-content:center;font-size:9px;color:var(--mute);text-align:center;}
.testi-avatar.filled{background:var(--blue-600);border:none;color:#fff;font-weight:700;font-size:14px;font-family:var(--f-display);}
.testi-avatar.photo{background:none;border:none;padding:0;overflow:hidden;}
.testi-avatar.photo img{width:100%;height:100%;object-fit:cover;display:block;}
.testi-name{font-weight:700;font-size:13.5px;}
.testi-role{font-size:12px;color:var(--mute);}
.review-stars{color:var(--gold);font-size:13px;letter-spacing:1px;margin-bottom:10px;}

/* scrolling reviews carousel (index preview) */
.reviews-avg{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;font-size:13.5px;color:var(--mute);font-weight:600;}
.reviews-avg .review-stars{margin-bottom:0;}
.reviews-section .section-head{margin-bottom:36px;}
.reviews-marquee{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);}
.reviews-track{display:flex;gap:22px;width:max-content;padding:4px 4px 10px;animation:reviewsScroll 66s linear infinite;will-change:transform;}
.reviews-marquee:hover .reviews-track{animation-play-state:paused;}
.reviews-track.no-loop{animation:none;}
@keyframes reviewsScroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
.review-card{flex:0 0 340px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:26px;display:flex;flex-direction:column;}
.review-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
.review-top .review-stars{margin-bottom:0;}
.review-badge{font-size:10.5px;font-weight:700;color:var(--teal);background:rgba(18,180,166,.1);padding:3px 10px;border-radius:20px;white-space:nowrap;}
.review-quote{font-size:14px;line-height:1.55;color:var(--ink);margin-bottom:18px;}
@media (max-width:640px){.review-card{flex:0 0 278px;padding:22px;}}
@media (prefers-reduced-motion: reduce){
  .reviews-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;}
  .reviews-track{animation:none;}
  .review-card{scroll-snap-align:start;}
}

/* FAQ */
.faq-item{border-bottom:1px solid var(--line);padding:22px 0;}
.faq-q{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700;font-size:15px;color:var(--ink);gap:20px;}
.faq-q .plus{font-family:var(--f-display);color:var(--blue-600);transition:transform .2s ease;font-size:18px;flex:none;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;font-size:14px;}
.faq-item.open .faq-a{max-height:260px;margin-top:14px;}

/* feature detail rows (features.html) */
.feature-row{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center;padding:60px 0;border-bottom:1px solid var(--line);}
.feature-row:last-child{border-bottom:none;}
.feature-row.reverse{direction:rtl;}
.feature-row.reverse > *{direction:ltr;}
.feature-row .idx{font-size:12.5px;font-weight:700;color:var(--blue-600);text-transform:uppercase;letter-spacing:.06em;}
.feature-row h3{font-size:clamp(21px,2.4vw,30px);margin:10px 0 14px;}
.feature-row ul{margin-top:16px;}
.feature-row li{position:relative;padding-left:24px;margin-bottom:10px;font-size:14.5px;color:var(--mute);}
.feature-row li::before{content:"✓";position:absolute;left:0;color:var(--mint);font-weight:800;}
@media (max-width:860px){.feature-row{grid-template-columns:1fr;gap:26px;}.feature-row.reverse{direction:ltr;}}

/* CTA band */
.cta-band{background:var(--blue-900);color:#fff;border-radius:var(--radius-xl);padding:60px;display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap;}
.cta-band h2{color:#fff;font-size:clamp(23px,2.8vw,32px);max-width:520px;}
.cta-band .actions{display:flex;gap:14px;flex-wrap:wrap;}
.badge-strip{display:flex;gap:22px;flex-wrap:wrap;margin-top:24px;}
.badge-strip span{font-size:12px;font-weight:600;color:rgba(255,255,255,.65);display:flex;align-items:center;gap:6px;}
.badge-strip span::before{content:"✓";color:var(--mint);font-weight:800;}

/* footer */
.footer{background:var(--blue-900);color:rgba(255,255,255,.62);padding-top:68px;}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:32px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-brand p{color:rgba(255,255,255,.5);font-size:13.5px;max-width:260px;}
.footer h5{color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;margin-bottom:16px;}
.footer li{margin-bottom:10px;font-size:13.5px;}
.footer a:hover{color:#fff;}
.footer-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:24px 40px;padding:22px 0;font-size:12.5px;line-height:1.55;flex-wrap:wrap;}
.footer-bottom-left{display:flex;flex-direction:column;gap:4px;max-width:640px;min-width:0;}
.footer-bottom-left p{margin:0;}
.footer-legal-name{color:rgba(255,255,255,.78);}
.footer-legal-name strong{color:#fff;font-weight:700;}
.footer-bottom-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin-left:auto;}
.footer-email{color:rgba(255,255,255,.78);text-decoration:underline;text-underline-offset:2px;}
.footer-email:hover{color:#fff;}
.footer-legal-links{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0;color:rgba(255,255,255,.55);}
.footer-legal-links a{color:inherit;white-space:nowrap;}
.footer-legal-links a:hover{color:#fff;}
.footer-legal-links a + a::before{content:"|";margin:0 10px;color:rgba(255,255,255,.28);pointer-events:none;}
.social{display:flex;gap:14px;}
.social a{width:32px;height:32px;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;}
/* Footer columns: 5 across on desktop, brand + 2x2 on tablets, 2-up on phones */
@media (max-width:980px){.footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;}.footer-brand{grid-column:1 / -1;}.footer-brand p{max-width:420px;}}
@media (max-width:600px){
  .footer{padding-top:48px;}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding-bottom:32px;}
  .footer-bottom{align-items:flex-start;flex-direction:column;}
  .footer-bottom-right{align-items:flex-start;margin-left:0;}
  .footer-legal-links{justify-content:flex-start;}
}

/* ============================= FORMS / AUTH ============================= */
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;}
@media (max-width:900px){.auth-wrap{grid-template-columns:1fr;}}
.auth-visual{background:linear-gradient(160deg, var(--blue-600), var(--blue-800));color:#fff;padding:52px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;}
.auth-visual .logo{color:#fff;}
.auth-visual .logo-mark{background:#fff;border-radius:8px;padding:4px;box-sizing:border-box;}
.auth-form-side{display:flex;align-items:center;justify-content:center;padding:52px 32px;}
.auth-box{width:100%;max-width:400px;}
.auth-box h1{font-size:27px;}
.auth-box .sub{margin-bottom:26px;}
.field{margin-bottom:18px;}
.field label{display:block;font-size:13.5px;font-weight:700;margin-bottom:7px;color:var(--ink);}
/* Only text-entry controls are boxed full-width. Radios/checkboxes belong to
   the js/lead-form.js select menus, and hidden inputs carry their value —
   boxing those would stretch each option across the field. */
.field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]), .field select, .field textarea{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-s);
  font-family:var(--f-body);font-size:14.5px;background:#fff;color:var(--ink);
}
.field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus, .field select:focus, .field textarea:focus{border-color:var(--blue-600);}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media (max-width:480px){.field-row{grid-template-columns:1fr;}}
.field-hint{font-size:12px;color:var(--mute);margin-top:6px;}
.checkbox-row{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--mute);margin-bottom:20px;}
.checkbox-row input{margin-top:3px;}

/* ---- lead forms: custom select menus + submit status (js/lead-form.js) ----
   One component covers single- AND multi-select, because a native <select>
   can't do what these need: a caret that rotates on open, and a panel styled
   like the rest of the site. Rules are scoped under `.select-menu` so they
   outrank the generic `.field label` / `.field input` rules that the form's
   own labels and controls rely on. */
.field-group{margin-bottom:18px;}
.field-label{display:block;font-size:13.5px;font-weight:700;margin-bottom:7px;color:var(--ink);}

/* Closed it reads exactly like a native select; open it drops the option list. */
.select-menu{position:relative;}
.select-menu .select-menu-trigger{
  display:flex;align-items:center;gap:8px;width:100%;text-align:left;cursor:pointer;
  padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-s);
  font-family:var(--f-body);font-size:14.5px;background:#fff;color:var(--ink);
}
.select-menu .select-menu-trigger:hover{border-color:var(--blue-600);}
.select-menu.open .select-menu-trigger{border-color:var(--blue-600);}
.select-menu .select-menu-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.select-menu .select-menu-placeholder{color:var(--mute-light);}
.select-menu.has-value .select-menu-placeholder{display:none;}

/* A stroked chevron drawn with two borders, matching a native <select> arrow
   (a "▾" glyph reads as a different shape and weight). ~8px wide, 1.5px
   stroke, same gray; flips 180° when open. */
.select-menu .select-menu-caret{
  width:8px;height:8px;flex:none;
  border-right:1.5px solid var(--mute);
  border-bottom:1.5px solid var(--mute);
  transform:translateY(-2px) rotate(45deg);
  transition:transform .2s ease;
}
.select-menu.open .select-menu-caret{transform:translateY(1px) rotate(225deg);}

/* `visibility:hidden` (not `display:none`) so the transition still runs and
   the closed panel drops out of the tab order. */
.select-menu .select-menu-panel{
  position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:60;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);box-shadow:var(--shadow-hard);
  padding:8px;max-height:260px;overflow-y:auto;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.select-menu.open .select-menu-panel{opacity:1;visibility:visible;transform:translateY(0);}
.select-menu .select-menu-option{
  display:flex;align-items:center;gap:10px;cursor:pointer;
  padding:9px 10px;border-radius:8px;font-size:13.5px;font-weight:500;
  color:var(--ink);margin:0;
}
.select-menu .select-menu-option:hover{background:var(--blue-050);}
.select-menu .select-menu-option input{width:auto;margin:0;flex:none;accent-color:var(--blue-600);}
.select-menu .select-menu-option:has(input:checked){color:var(--blue-600);font-weight:700;background:var(--blue-050);}
.select-menu .select-menu-option:has(input:focus-visible){outline:2px solid var(--blue-500);outline-offset:-2px;}

.form-status{
  margin-top:16px;padding:13px 15px;border-radius:var(--radius-s);
  font-size:13.5px;line-height:1.5;border:1px solid var(--line);background:var(--paper-dim);color:var(--mute);
}
.form-status[hidden]{display:none;}
.form-status--pending{border-color:var(--line);background:var(--paper-dim);color:var(--mute);}
.form-status--err{border-color:rgba(232,95,39,.35);background:rgba(255,122,69,.07);color:var(--ink);}
.form-status--ok{border-color:rgba(18,180,166,.35);background:rgba(18,180,166,.07);color:var(--ink);}
.form-status-title{font-weight:700;color:var(--ink);margin:0;}
.form-status-ref{margin:6px 0 0;}
.form-status-ref strong{color:var(--blue-600);font-weight:700;letter-spacing:.02em;}
.form-status-note{margin:6px 0 0;color:var(--mute);font-size:12.5px;}
/* Sits below the copy, so it reads as an acknowledgement of the message above
   rather than competing with it. It reuses the submit button's own classes
   (btn btn-primary btn-block), so the success card keeps the form's button
   geometry and the swap reads as a continuation rather than a new widget. */
.form-status-actions{margin:14px 0 0;}
.auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--mute);font-size:12.5px;}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--line);}
.sso-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.sso-btn{border:1px solid var(--line);border-radius:var(--radius-s);padding:11px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13.5px;font-weight:600;cursor:pointer;background:#fff;}
.sso-btn:hover{border-color:var(--ink);}
.auth-foot{text-align:center;margin-top:22px;font-size:13.5px;color:var(--mute);}
.auth-foot a{color:var(--blue-600);font-weight:700;}
.trust-strip{display:flex;gap:20px;font-size:11.5px;font-weight:600;color:rgba(255,255,255,.6);flex-wrap:wrap;}

/* contact page */
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;}}
.contact-info .item{display:flex;gap:14px;margin-bottom:26px;}
.contact-info .ico{width:38px;height:38px;border-radius:10px;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;flex:none;}
.contact-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:36px;}

/* about */
.value-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:760px){.value-list{grid-template-columns:1fr;}}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
@media (max-width:760px){.team-grid{grid-template-columns:repeat(2,1fr);}}
.team-card{text-align:center;}
.team-card h4{font-size:15px;margin:14px 0 2px;}
.team-card p{font-size:12.5px;}

/* page header banner (inner pages) */
.page-head{background:var(--blue-050);padding:100px 0 60px;}
.page-head .eyebrow{color:var(--blue-600);}
.page-head h1{font-size:clamp(30px,4vw,46px);max-width:760px;}
.page-head p{max-width:600px;font-size:16px;}

/* utility */
.mt-0{margin-top:0;}
.text-center{text-align:center;}
.mx-auto{margin-left:auto;margin-right:auto;}
.flex{display:flex;}
.gap-3{gap:12px;}
.small-label{font-size:12px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.06em;}

/* ============================================================
   MOTION SYSTEM
   Scroll-reveal fades, a hero entrance sequence, gentle ambient
   float on the signature badges, animated counters, and gated
   hover/active feedback on interactive elements. Everything here
   respects prefers-reduced-motion.
   ============================================================ */

/* scroll reveal (JS toggles .in-view via IntersectionObserver) */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);}
.reveal.in-view{opacity:1;transform:translateY(0);}
.reveal-stagger > *{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
.reveal-stagger.in-view > *{opacity:1;transform:translateY(0);}
.reveal-stagger.in-view > *:nth-child(1){transition-delay:.02s;}
.reveal-stagger.in-view > *:nth-child(2){transition-delay:.10s;}
.reveal-stagger.in-view > *:nth-child(3){transition-delay:.18s;}
.reveal-stagger.in-view > *:nth-child(4){transition-delay:.26s;}
.reveal-stagger.in-view > *:nth-child(5){transition-delay:.34s;}
.reveal-stagger.in-view > *:nth-child(6){transition-delay:.42s;}

/* hero entrance (plays once on load, no scroll trigger needed) */
@keyframes heroUp{from{opacity:0;transform:translateY(18px);}to{opacity:1;transform:translateY(0);}}
.hero-grid > div:first-child > *{animation:heroUp .7s cubic-bezier(.2,.7,.2,1) both;}
.hero-grid > div:first-child > *:nth-child(1){animation-delay:.02s;}
.hero-grid > div:first-child > *:nth-child(2){animation-delay:.10s;}
.hero-grid > div:first-child > *:nth-child(3){animation-delay:.18s;}
.hero-grid > div:first-child > *:nth-child(4){animation-delay:.26s;}
.hero-grid > div:first-child > *:nth-child(5){animation-delay:.34s;}
.hero-collage{animation:heroUp .8s cubic-bezier(.2,.7,.2,1) both;animation-delay:.16s;}

/* ambient float on the signature floating badges */
@keyframes floatY{0%,100%{transform:translateY(0);}50%{transform:translateY(-7px);}}
.float-badge.rating{animation:floatY 5.5s ease-in-out infinite;}
.float-badge.person{animation:floatY 6.5s ease-in-out infinite;animation-delay:.6s;}

/* gentle pulse for the "online now" support badge dot */
.float-badge.person .av{position:relative;}
.float-badge.person .av::after{content:"";position:absolute;bottom:-2px;right:-2px;width:9px;height:9px;border-radius:50%;background:var(--teal);border:2px solid #fff;animation:pulseDot 2s ease-in-out infinite;}
@keyframes pulseDot{0%,100%{box-shadow:0 0 0 0 rgba(18,180,166,.5);}50%{box-shadow:0 0 0 5px rgba(18,180,166,0);}}

/* animated stat counters */
.stat .num{transition:color .3s ease;}

/* card / interactive hover polish */
.card, .cat-card, .testi-card, .brand-card, .integ-chip{transition:transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease;}
.integ-chip:hover{transform:translateY(-4px) scale(1.04);box-shadow:var(--shadow-soft);border-color:var(--blue-100);}
.cat-card:hover, .brand-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft);}
.btn{transition:transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;}
.btn-primary:hover, .btn-blue:hover{transform:translateY(-2px);}
.logo-mark{transition:transform .3s ease;}
.logo:hover .logo-mark{transform:rotate(-8deg) scale(1.06);}

/* underline sweep on nav links */
.nav-links a{transition:color .2s ease;}
.nav-links a::after{content:"";position:absolute;left:0;bottom:2px;width:0;height:2px;background:var(--blue-600);transition:width .25s ease;}
.nav-links a:hover::after{width:100%;}

/* world map dots subtle pulse (applies if a .map-dot element is used) */
@keyframes mapPulse{0%,100%{opacity:.55;}50%{opacity:1;}}
.map-dot{animation:mapPulse 2.4s ease-in-out infinite;}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *, .hero-grid > div:first-child > *, .hero-collage,
  .float-badge.rating, .float-badge.person, .float-badge.person .av::after,
  .map-dot, .sync-dot, .step-ring, .collage-img{animation:none !important;transition:none !important;opacity:1 !important;transform:none !important;}
}

/* ============================================================
   MOTION ADDITIONS (v5) — patterns borrowed from dropship.io
   1) sticky nav gains a soft shadow after scrolling
   2) 3D flip-up entrance for showcase images (JS adds .flip-in,
      then .in-view when scrolled into view)
   3) CTA band contents fly in one by one with a slight rotation
   4) value-strip icon micro-motion (hover pop + flickering bolt)
   ============================================================ */
.nav{transition:background .3s ease, box-shadow .3s ease, border-color .3s ease;}
.nav.is-scrolled{background:rgba(255,255,255,.97);border-bottom-color:transparent;box-shadow:0 8px 28px -12px rgba(16,27,92,.22);}

.flip-in{opacity:0;transform:perspective(1100px) translateY(36px) rotateX(16deg) scale(.97);transform-origin:50% 100%;transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);}
.flip-in.in-view{opacity:1;transform:none;}

/* animation uses fill-mode "backwards" so the resting state is untouched
   afterwards and the button hover lift keeps working */
@keyframes ctaFly{from{opacity:0;transform:translate3d(-28px,18px,0) rotate(-3deg);}to{opacity:1;transform:none;}}
.cta-band.reveal h2, .cta-band.reveal .badge-strip span, .cta-band.reveal .actions .btn{opacity:0;}
.cta-band.in-view h2, .cta-band.in-view .badge-strip span, .cta-band.in-view .actions .btn{opacity:1;animation:ctaFly .8s cubic-bezier(.2,.7,.2,1) backwards;}
.cta-band.in-view h2{animation-delay:.10s;}
.cta-band.in-view .badge-strip span:nth-child(1){animation-delay:.22s;}
.cta-band.in-view .badge-strip span:nth-child(2){animation-delay:.30s;}
.cta-band.in-view .badge-strip span:nth-child(3){animation-delay:.38s;}
.cta-band.in-view .actions .btn:nth-child(1){animation-delay:.46s;}
.cta-band.in-view .actions .btn:nth-child(2){animation-delay:.54s;}

.value-chip .vc-icon svg{transition:transform .3s cubic-bezier(.34,1.56,.64,1);}
.value-chip:hover .vc-icon svg{transform:scale(1.18) rotate(-6deg);}
@keyframes boltFlicker{0%,100%{opacity:1;transform:scale(1);}18%{opacity:.55;transform:scale(.94);}30%{opacity:1;transform:scale(1.06);}46%{opacity:.7;}60%{opacity:1;transform:scale(1);}}
.value-chip:nth-child(5) .vc-icon svg{animation:boltFlicker 3.2s ease-in-out infinite;}
.value-chip:nth-child(5):hover .vc-icon svg{animation:none;}

@media (prefers-reduced-motion: reduce){
  .nav, .flip-in, .value-chip .vc-icon svg{transition:none !important;}
  .flip-in{opacity:1 !important;transform:none !important;}
  .cta-band h2, .cta-band .badge-strip span, .cta-band .actions .btn, .value-chip .vc-icon svg{animation:none !important;opacity:1 !important;}
}

/* ============================= INLINE ILLUSTRATIONS ============================= */
.illus-card{
  border-radius:var(--radius-l);background:linear-gradient(160deg, var(--blue-050), #fff);
  border:1px solid var(--blue-100);overflow:hidden;box-shadow:var(--shadow-soft);aspect-ratio:4/3;
}
.illus-card svg{width:100%;height:100%;display:block;}
.sync-dot{animation:pulseDot 2s ease-in-out infinite;}
@keyframes stepRing{0%,100%{opacity:.4;transform:scale(1);}50%{opacity:.9;transform:scale(1.08);}}
.step-ring{animation:stepRing 2.2s ease-in-out infinite;transform-origin:center;}

/* ============================================================
   VALUE STRIP
   A quick-scan row of 5 icon+label chips placed right under the
   hero so a first-time visitor immediately understands the core
   value props (one-stop dropshipping, supplier network, QA,
   pricing, efficiency) without reading paragraphs.
   ============================================================ */
.value-strip{padding:36px 0;border-bottom:1px solid var(--line);}
.value-strip-row{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.value-chip{display:flex;align-items:center;gap:12px;flex:1 1 180px;min-width:180px;}
.value-chip .vc-icon{
  width:42px;height:42px;border-radius:12px;background:var(--blue-050);color:var(--blue-600);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.value-chip .vc-text{display:flex;flex-direction:column;}
.value-chip .vc-title{font-weight:700;font-size:14px;color:var(--ink);line-height:1.25;}
.value-chip .vc-sub{font-size:11.5px;color:var(--mute);}
@media (max-width:760px){.value-strip-row{justify-content:flex-start;}}

/* ============================= LANGUAGE SWITCHER ============================= */
.lang-switch{position:relative;}
.lang-trigger{
  display:flex;align-items:center;gap:7px;background:none;border:1px solid var(--line);
  border-radius:999px;padding:8px 12px;cursor:pointer;font-size:13.5px;font-weight:600;color:var(--ink);
}
.lang-trigger:hover{border-color:var(--blue-600);}
.lang-trigger .flag{width:18px;height:13px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08);flex:none;}
.lang-trigger .chev{font-size:10px;color:var(--mute-light);transition:transform .2s ease;}
.lang-switch.open .lang-trigger .chev{transform:rotate(180deg);}

.lang-menu{
  position:absolute;top:calc(100% + 10px);right:0;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius-m);box-shadow:var(--shadow-hard);width:210px;padding:8px;
  max-height:340px;overflow-y:auto;z-index:60;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-switch.open .lang-menu{opacity:1;visibility:visible;transform:translateY(0);}
.lang-option{
  display:flex;align-items:center;gap:10px;width:100%;background:none;border:none;text-align:left;
  padding:9px 10px;border-radius:8px;font-size:13.5px;font-weight:500;color:var(--ink);cursor:pointer;
}
.lang-option:hover{background:var(--blue-050);}
.lang-option.active{color:var(--blue-600);font-weight:700;background:var(--blue-050);}
.lang-option .flag{width:20px;height:15px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08);flex:none;}
.lang-option .native{flex:1;}
.lang-option .fallback-tag{font-size:10px;color:var(--mute-light);font-weight:500;}

@media (max-width:980px){
  .lang-switch{order:-1;}
  .lang-menu{right:auto;left:0;}
}

/* ============================= SOLUTIONS NAV DROPDOWN ============================= */
.nav-dropdown{position:relative;display:flex;align-items:center;}
.nav-dropdown > a{display:flex;align-items:center;gap:5px;}
.dd-chev{font-size:9px;color:var(--mute-light);transition:transform .2s ease;}
.nav-dropdown:hover .dd-chev{transform:rotate(180deg);}
.nav-dropdown-panel{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%) translateY(-6px);
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);box-shadow:var(--shadow-hard);
  width:680px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;
  opacity:0;visibility:hidden;transition:opacity .18s ease, transform .18s ease, visibility .18s;z-index:60;
}
.nav-dropdown:hover .nav-dropdown-panel{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.dd-item{display:flex;gap:14px;align-items:flex-start;padding:12px;border-radius:12px;transition:background .15s ease;}
.dd-item:hover{background:var(--blue-050);}
.dd-item .dd-icon{width:42px;height:42px;border-radius:12px;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;flex:none;}
.dd-item .dd-title{display:block;font-size:14px;font-weight:700;color:var(--ink);margin-bottom:4px;line-height:1.3;}
.dd-item .dd-desc{display:block;font-size:12.5px;color:var(--mute);line-height:1.5;}
@media (max-width:980px){
  .nav-dropdown{display:block;}
  .nav-dropdown-panel{
    position:static;transform:none;width:100%;box-shadow:none;border:none;background:none;
    opacity:1;visibility:visible;display:flex;flex-direction:column;grid-template-columns:none;padding:0 0 6px 10px;
  }
  .dd-item{padding:10px 0;border-bottom:none !important;}
}

/* ============================= APP ICON TILES (Integrations page) ============================= */
.app-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
@media (max-width:860px){.app-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:560px){.app-grid{grid-template-columns:repeat(2,1fr);}}
.app-tile{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  padding:26px 14px;border-radius:18px;background:#fff;border:1px solid var(--line);
  box-shadow:var(--shadow-soft);text-align:center;transition:transform .2s ease, box-shadow .2s ease;
}
.app-tile:hover{transform:translateY(-4px);box-shadow:var(--shadow-hard);}
.app-tile-icon{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;flex:none;}
.app-tile-icon img{width:28px;height:28px;object-fit:contain;}
.app-tile-icon.on-white{background:var(--blue-050);border:1px solid var(--line);}
.app-tile-icon.on-white img{width:32px;height:32px;}
.app-tile-name{font-size:13.5px;font-weight:700;color:var(--ink);}
.app-tile-tag{font-size:10.5px;font-weight:700;color:var(--blue-600);text-transform:uppercase;letter-spacing:.05em;background:var(--blue-050);padding:3px 9px;border-radius:20px;margin-top:-4px;}

/* ======================= NAV (design v4, desktop only) =======================
   Taller bar, wider container and larger controls to match the home-page
   design; the mobile menu (<=980px) keeps its existing 74px geometry. */
@media (min-width:981px){
  .nav .container.nav-inner{height:76px;}
  .nav .logo{font-size:21px;gap:10px;letter-spacing:-.01em;}
  .nav .logo-mark{width:34px;height:34px;}
  .nav .nav-links{gap:30px;}
  .nav .nav-links a{font-size:14.5px;font-weight:500;color:#141832;}
  .nav .nav-links a.active,.nav .nav-links a:hover{color:#1747F0;}
  .nav .nav-actions{gap:14px;}
  .nav .lang-trigger{height:40px;padding:0 14px;gap:8px;font-size:14px;font-weight:500;border-color:#E3E6EF;}
  .nav .lang-trigger .flag{width:20px;height:14px;}
  .nav .nav-actions .btn{height:40px;padding:0 18px;font-size:14px;font-weight:600;}
  .nav .nav-actions .btn-ghost-blue{color:#1747F0;border-color:#D5DDF7;}
  .nav .nav-actions .btn-primary{padding:0 22px;font-weight:600;background:#FE7742;}
  .nav .nav-actions .btn-primary:hover{background:var(--orange-dark);}
}
@media (min-width:981px) and (max-width:1200px){
  .nav .nav-links{gap:22px;}
  .nav .nav-links a{font-size:14.5px;}
  .nav .logo{font-size:19px;}
}

/* Menu labels and header buttons never wrap onto two lines. */
.nav-links > a,.nav-dropdown > a,.nav-actions .btn,.lang-trigger{white-space:nowrap;}
@media (min-width:981px){.nav .logo,.nav .nav-links,.nav .nav-actions{flex:none;}}
@media (min-width:1201px){.nav .nav-links{gap:24px;}}

.lang-code{display:none;}
/* NAV tight: set by js/site-header.js when the full header is a little too
   wide for the current language — smaller gaps, language code instead of name. */
html.nav-tight .nav .nav-links{gap:16px;}
html.nav-tight .nav .nav-actions{gap:10px;}
html.nav-tight .nav .lang-trigger .lang-name{display:none;}
html.nav-tight .nav .lang-trigger .lang-code{display:inline;}
html.nav-tight .nav .nav-actions .btn{padding:0 16px;}

/* ============ NAV collapsed: desktop width but labels don't fit ============
   js/site-header.js adds html.nav-collapsed above 980px when the logo, menu
   and buttons don't fit on one line (long labels in some languages). It
   reuses the mobile hamburger menu. */
html.nav-collapsed .nav .nav-links{position:fixed;top:76px;left:0;right:0;bottom:0;background:#fff;
  flex-direction:column;align-items:flex-start;gap:0;padding:10px max(24px, calc((100vw - 1220px) / 2)) 24px;
  transform:translateX(-100%);transition:transform .25s ease;overflow-y:auto;
  bottom:auto;height:calc(100vh - 76px);height:calc(100dvh - 76px);}
html.nav-collapsed .nav .nav-links.open{transform:translateX(0);}
html.nav-collapsed .nav .nav-links a{width:100%;padding:14px 0;border-bottom:1px solid var(--line);}
html.nav-collapsed .nav .nav-links a::after{display:none;}
html.nav-collapsed .nav-toggle{display:block;}
html.nav-collapsed .nav-dropdown{display:block;width:100%;}
html.nav-collapsed .nav-dropdown-panel,
html.nav-collapsed .nav-dropdown:hover .nav-dropdown-panel{
  position:static;transform:none;width:100%;box-shadow:none;border:none;background:none;
  opacity:1;visibility:visible;display:grid;grid-template-columns:1fr 1fr;padding:0 0 6px 10px;}
html.nav-collapsed .dd-item{padding:10px 0;border-bottom:none !important;}

/* ============================================================
   Legal pages (privacy.html) — sticky table of contents + prose
   ============================================================ */
.legal-updated{margin:18px 0 0;font-size:14px;color:var(--mute-light);}
.legal-updated time{color:var(--ink);font-weight:600;}
.legal-page{padding:72px 0 96px;}
.legal-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;align-items:start;}
.legal-toc{position:sticky;top:104px;padding:22px 22px 18px;border:1px solid var(--line);border-radius:var(--radius-m);background:var(--paper-dim);}
.legal-toc-title{font-family:var(--f-display);font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);margin:0 0 10px;}
.legal-toc ol{list-style:none;margin:0;padding:0;}
.legal-toc li + li{margin-top:2px;}
.legal-toc a{display:block;padding:5px 0;font-size:14px;line-height:1.4;color:var(--mute);transition:color .2s ease;}
.legal-toc a:hover,.legal-toc a:focus-visible{color:var(--blue-600);}
.legal-body{max-width:760px;}
.legal-section{padding:0;scroll-margin-top:104px;}
.legal-section + .legal-section{margin-top:44px;padding-top:44px;border-top:1px solid var(--line);}
.legal-section h2{font-size:clamp(21px,2.2vw,25px);margin-bottom:16px;}
.legal-section p,.legal-section li{font-size:15.5px;line-height:1.75;color:var(--mute);}
.legal-section p:last-child{margin-bottom:0;}
.legal-section strong{color:var(--ink);font-weight:600;}
.legal-section ul{margin:0 0 1em;padding:0;}
.legal-section ul:last-child{margin-bottom:0;}
.legal-section li{position:relative;padding-left:22px;}
.legal-section li + li{margin-top:8px;}
.legal-section li::before{content:"";position:absolute;left:4px;top:.72em;width:6px;height:6px;border-radius:50%;background:var(--teal);}
.legal-section a{color:var(--blue-600);font-weight:600;text-decoration:underline;text-underline-offset:3px;}
.legal-cta{margin-top:56px;padding:32px 36px;border-radius:var(--radius-l);background:var(--blue-050);display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.legal-cta h3{font-size:20px;margin-bottom:6px;}
.legal-cta p{margin:0;font-size:15px;}
@media (max-width:900px){
  .legal-layout{grid-template-columns:1fr;gap:36px;}
  .legal-toc{position:static;}
  .legal-toc ol{columns:2;column-gap:28px;}
}
@media (max-width:560px){
  .legal-page{padding:48px 0 72px;}
  .legal-toc ol{columns:1;}
  .legal-cta{padding:26px 22px;}
}

/* ============================================================
   Blog — blog center (blog.html) and article pages (blog-*.html)
   Cards are rendered by js/blog.js from js/blog-posts.js.
   ============================================================ */

/* --- blog center header + search --- */
.blog-head{position:relative;overflow:hidden;padding:44px 0 26px;}
.blog-head h1{font-size:clamp(25px,2.8vw,34px);margin-bottom:8px;}
.blog-head p{font-size:15px;}
.blog-head p{margin-bottom:0;}
.blog-head::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 88% 12%, rgba(18,180,166,.13), transparent 42%),
             radial-gradient(circle at 70% 90%, rgba(52,80,222,.10), transparent 45%);
}
.blog-head .container{position:relative;}
.blog-search{position:relative;max-width:440px;margin-top:16px;}
.blog-search-icon{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:var(--mute-light);pointer-events:none;}
.blog-search input{
  width:100%;height:44px;padding:0 18px 0 46px;border-radius:999px;
  border:1px solid var(--line);background:#fff;font:500 15px/1 var(--f-body);color:var(--ink);
  box-shadow:0 10px 30px -18px rgba(16,27,92,.25);transition:border-color .18s ease, box-shadow .18s ease;
}
.blog-search input::placeholder{color:var(--mute-light);}
.blog-search input:focus{outline:none;border-color:var(--blue-600);box-shadow:0 0 0 4px rgba(52,80,222,.12);}

/* --- toolbar: category chips + count --- */
.blog-index{padding:24px 0 0;}
.blog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px;}
.blog-chips{display:flex;flex-wrap:wrap;gap:10px;}
.blog-chip{
  display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--ink);font:600 13.5px/1 var(--f-body);
  cursor:pointer;transition:border-color .18s ease, background .18s ease, color .18s ease;
}
.blog-chip:hover{border-color:var(--blue-600);color:var(--blue-600);}
.blog-chip-count{min-width:22px;padding:3px 7px;border-radius:999px;background:var(--blue-050);color:var(--blue-600);font-size:12px;text-align:center;}
.blog-chip.is-active{background:var(--blue-600);border-color:var(--blue-600);color:#fff;}
.blog-chip.is-active .blog-chip-count{background:rgba(255,255,255,.2);color:#fff;}
.blog-count{margin:0;font-size:14px;color:var(--mute-light);}

/* --- cover art: transparent illustrations on the brand gradient --- */
.post-cover{
  position:relative;overflow:hidden;aspect-ratio:16/10;border-radius:var(--radius-m);
  background:radial-gradient(circle at 18% 22%, rgba(255,255,255,.9), transparent 40%),
             radial-gradient(circle at 85% 80%, rgba(18,180,166,.22), transparent 46%),
             linear-gradient(140deg, #E4E9FC 0%, #F3F5FE 48%, #DDF4F1 100%);
}
.post-cover-grid{
  position:absolute;inset:0;opacity:.55;
  background-image:linear-gradient(rgba(52,80,222,.08) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(52,80,222,.08) 1px, transparent 1px);
  background-size:28px 28px;
  -webkit-mask-image:radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
          mask-image:radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
}
.post-cover-img{position:absolute;height:auto;filter:drop-shadow(0 14px 22px rgba(16,27,92,.16));transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.post-cover-img--1{width:46%;left:3%;top:10%;}
.post-cover-img--2{width:44%;left:30%;bottom:-2%;z-index:2;}
.post-cover-img--3{width:42%;right:2%;top:14%;}
.post-card-link:hover .post-cover-img--1{transform:translate(-4px,-4px);}
.post-card-link:hover .post-cover-img--2{transform:translateY(-6px);}
.post-card-link:hover .post-cover-img--3{transform:translate(5px,-3px);}

/* --- cards --- */
.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);overflow:hidden;transition:transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease, border-color .22s ease;}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft);border-color:var(--blue-100);}
.post-card-link{display:flex;flex-direction:column;height:100%;color:inherit;}
.post-card .post-cover{border-radius:0;}
.post-card-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px;}
.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-size:12.5px;color:var(--mute-light);margin-bottom:8px;}
.post-cat{display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--blue-050);color:var(--blue-600);font-weight:700;font-size:12px;letter-spacing:.02em;}
.post-meta-sep{color:var(--line);}
.post-card-title{font-size:16.5px;line-height:1.32;margin-bottom:6px;transition:color .18s ease;}
.post-card-link:hover .post-card-title{color:var(--blue-600);}
.post-card-excerpt{font-size:13.5px;line-height:1.55;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.post-more{margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--blue-600);}
.post-more svg{transition:transform .18s ease;}
.post-card-link:hover .post-more svg{transform:translateX(4px);}
.post-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;padding:4px 11px;border-radius:999px;background:rgba(255,122,69,.12);color:var(--orange-dark);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.post-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--orange);}

/* featured: large horizontal card */
.blog-featured{margin-bottom:0;}
.blog-featured + .blog-latest-head:not([hidden]){margin-top:28px;}
.blog-featured:empty{display:none;}
.post-card--featured .post-card-link{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);}
.post-card--featured .post-cover{aspect-ratio:auto;min-height:230px;height:100%;}
.post-card--featured .post-card-body{padding:24px 30px;justify-content:center;}
.post-card--featured .post-card-title{font-size:clamp(20px,1.9vw,24px);line-height:1.25;margin-bottom:8px;}
.post-card--featured .post-card-excerpt{font-size:14.5px;-webkit-line-clamp:3;margin-bottom:14px;}
.post-card--featured .post-more{font-size:15px;}

.blog-latest-head{margin-bottom:14px;}
.blog-latest-head h2{font-size:clamp(19px,2vw,23px);margin:0;}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.blog-grid .post-cover{aspect-ratio:2/1;}
.blog-more{display:flex;justify-content:center;margin-top:20px;}
.blog-more[hidden]{display:none;}
/* blog-page CTA: a slimmer band than the marketing pages */
.blog-cta{padding:36px 0 56px;}
.blog-cta .cta-band{padding:32px 40px;}
.blog-cta .cta-band h2{font-size:clamp(20px,2.2vw,26px);margin:0;}
@media (max-width:640px){.blog-cta{padding:24px 0 40px;}.blog-cta .cta-band{padding:26px 22px;}}
.blog-grid[hidden],.blog-featured[hidden],.blog-latest-head[hidden]{display:none;}

/* empty state */
.blog-empty{max-width:440px;margin:8px auto 0;padding:32px 24px;text-align:center;}
.blog-empty[hidden]{display:none;}
.blog-empty-icon{width:58px;height:58px;margin:0 auto 18px;border-radius:50%;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;}
.blog-empty h3{font-size:19px;margin-bottom:6px;}
.blog-empty p{font-size:15px;margin-bottom:20px;}
.blog-noscript{text-align:center;font-weight:600;}
.blog-noscript a{color:var(--blue-600);}

@media (max-width:980px){
  .post-card--featured .post-card-link{grid-template-columns:1fr;}
  .post-card--featured .post-cover{min-height:0;aspect-ratio:16/9;}
  .post-card--featured .post-card-body{padding:30px 28px 32px;}
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .blog-head{padding:40px 0 28px;}
  .blog-index{padding:24px 0 0;}
  .blog-toolbar{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:24px;}
  .blog-chips{flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:4px;scrollbar-width:none;}
  .blog-chips::-webkit-scrollbar{display:none;}
  .blog-chip{flex:none;}
  .blog-grid{grid-template-columns:1fr;}
  .blog-featured + .blog-latest-head:not([hidden]){margin-top:22px;}
  .post-card--featured .post-card-body{padding:24px 22px 26px;}
}

/* --- article page --- */
.read-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;pointer-events:none;}
.read-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--blue-600),var(--teal));transform:scaleX(0);transform-origin:0 50%;}

.post-hero{padding:36px 0 0;background:linear-gradient(180deg,var(--blue-050) 0%, var(--blue-050) 62%, #fff 62%);}
.post-hero-inner > *{max-width:900px;}
.blog-head h1{text-wrap:balance;}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13.5px;font-weight:600;color:var(--mute-light);margin-bottom:14px;}
.breadcrumb a{color:var(--mute);transition:color .18s ease;}
.breadcrumb a:hover{color:var(--blue-600);}
.breadcrumb [aria-current]{color:var(--blue-600);}
.post-hero h1{font-size:clamp(27px,3.4vw,40px);line-height:1.15;margin-bottom:12px;}
.post-dek{font-size:clamp(15px,1.4vw,17px);line-height:1.6;max-width:760px;margin-bottom:18px;}
.post-byline{display:flex;align-items:center;gap:12px;margin-bottom:26px;}
.byline-avatar{width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid var(--line);padding:7px;flex:none;}
.byline-text{display:flex;flex-direction:column;gap:2px;font-size:14px;color:var(--mute);}
.byline-text strong{color:var(--ink);font-weight:700;font-size:15px;}
.post-cover--hero{aspect-ratio:3/1;border-radius:var(--radius-xl);box-shadow:var(--shadow-soft);}
.post-cover--hero .post-cover-img--1{width:34%;left:6%;top:12%;}
.post-cover--hero .post-cover-img--2{width:31%;left:35%;bottom:-3%;}
.post-cover--hero .post-cover-img--3{width:32%;right:5%;top:16%;}

.post-page{padding:40px 0 56px;}
.post-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start;}
.post-aside{position:sticky;top:100px;display:flex;flex-direction:column;gap:20px;}
.post-toc{border:1px solid var(--line);border-radius:var(--radius-m);background:var(--paper-dim);padding:16px 16px 10px;}
.post-toc summary{list-style:none;cursor:pointer;font-family:var(--f-display);font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);display:flex;align-items:center;justify-content:space-between;}
.post-toc summary::-webkit-details-marker{display:none;}
.post-toc summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .2s ease;}
.post-toc[open] summary::after{transform:rotate(-135deg) translateY(-1px);}
.post-toc ol{list-style:none;margin:8px 0 0;padding:0;}
.post-toc a{display:block;padding:4px 0 4px 10px;margin-left:-2px;border-left:2px solid transparent;font-size:13px;line-height:1.4;color:var(--mute);transition:color .18s ease, border-color .18s ease;}
.post-toc a:hover{color:var(--blue-600);}
.post-toc a.is-active{color:var(--blue-600);border-left-color:var(--blue-600);font-weight:600;}
.post-share{padding:0 4px;}
.post-share-title{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mute-light);margin:0 0 10px;}
.post-share-row{display:flex;flex-wrap:wrap;gap:6px;}
.share-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;height:34px;min-width:34px;padding:0 10px;
  border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:600 13px/1 var(--f-body);
  cursor:pointer;transition:border-color .18s ease, color .18s ease, background .18s ease;
}
.share-btn:hover{border-color:var(--blue-600);color:var(--blue-600);}
.share-btn.is-done{border-color:var(--teal);color:var(--teal);background:rgba(18,180,166,.06);}

/* prose */
.post-body{max-width:740px;min-width:0;}
.post-body section{padding:0;scroll-margin-top:100px;}
.post-section + .post-section{margin-top:36px;}
.post-body h2{font-size:clamp(20px,2.1vw,24px);line-height:1.3;margin-bottom:12px;}
.post-body h2 .h-num{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:10px;border-radius:8px;background:var(--blue-600);color:#fff;font-size:14px;vertical-align:3px;}
.post-body h3{font-size:18px;margin:28px 0 10px;}
.post-body p,.post-body li{font-size:15.5px;line-height:1.75;color:#3E4659;}
.post-body p{margin:0 0 .85em;}
.post-body .post-section > div > :last-child{margin-bottom:0;}
.post-body strong{color:var(--ink);font-weight:700;}
.post-body a{color:var(--blue-600);font-weight:600;text-decoration:underline;text-decoration-color:rgba(52,80,222,.35);text-underline-offset:3px;transition:text-decoration-color .18s ease;}
.post-body a:hover{text-decoration-color:currentColor;}
.post-body ul{margin:0 0 .85em;padding:0;}
.post-body ul li{position:relative;padding-left:26px;}
.post-body ul li + li{margin-top:4px;}
.post-body ul li::before{content:"";position:absolute;left:3px;top:.62em;width:14px;height:14px;border-radius:50%;background:rgba(18,180,166,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312B4A6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/9px no-repeat;}
.post-lead p{font-size:16.5px;line-height:1.75;color:var(--ink);}

/* key takeaways callout */
.post-callout{margin:24px 0 0;padding:20px 24px;border-radius:var(--radius-l);background:var(--blue-050);border:1px solid var(--blue-100);}
.post-callout-title{display:flex;align-items:center;gap:10px;font-family:var(--f-display);font-weight:800;font-size:16px;color:var(--ink);margin:0 0 10px;}
.post-callout-title svg{color:var(--blue-600);flex:none;}
.post-callout ul{margin:0;}
.post-callout li{font-size:14.5px;line-height:1.65;}

/* pull quote */
.post-quote{margin:20px 0;padding:4px 0 4px 20px;border-left:4px solid var(--orange);}
.post-quote p{font-family:var(--f-display);font-size:clamp(17px,1.7vw,19px);line-height:1.5;font-weight:700;color:var(--ink);margin:0;}

/* comparison table */
.post-table-wrap{margin:8px 0 0;border:1px solid var(--line);border-radius:var(--radius-m);overflow:hidden;overflow-x:auto;}
.post-table{width:100%;min-width:520px;border-collapse:collapse;font-size:14px;}
.post-table th,.post-table td{padding:11px 14px;text-align:left;vertical-align:top;line-height:1.55;}
.post-table thead th{background:var(--paper-dim);font-family:var(--f-display);font-weight:800;font-size:14px;color:var(--ink);border-bottom:1px solid var(--line);}
.post-table thead th:last-child{background:var(--blue-600);color:#fff;}
.post-table tbody th{font-weight:700;color:var(--ink);width:24%;}
.post-table tbody td{color:var(--mute);}
.post-table tbody td:last-child{color:var(--ink);background:rgba(52,80,222,.035);font-weight:500;}
.post-table tbody tr + tr > *{border-top:1px solid var(--line);}

/* numbered steps */
.post-steps{list-style:none;counter-reset:step;margin:4px 0 0;padding:0;display:grid;gap:10px;}
.post-steps li{counter-increment:step;position:relative;padding:14px 18px 14px 62px;border:1px solid var(--line);border-radius:var(--radius-m);background:#fff;}
.post-steps li::before{content:counter(step);position:absolute;left:18px;top:14px;width:30px;height:30px;border-radius:50%;background:var(--blue-600);color:#fff;font:800 14px/30px var(--f-display);text-align:center;}
.post-steps strong{display:block;font-family:var(--f-display);font-size:15.5px;margin-bottom:2px;}
.post-steps span{display:block;font-size:14px;line-height:1.6;color:var(--mute);}

/* in-article CTA */
.post-cta{margin-top:40px;padding:26px 30px;border-radius:var(--radius-l);background:var(--blue-900);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;position:relative;overflow:hidden;}
.post-cta::before{content:"";position:absolute;inset:auto -60px -90px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle, rgba(18,180,166,.35), transparent 65%);pointer-events:none;}
.post-cta > *{position:relative;}
.post-cta h3{color:#fff;font-size:19px;margin:0 0 6px;}
.post-cta p{color:rgba(255,255,255,.75);font-size:15px;margin:0;max-width:400px;}
.post-cta .actions{display:flex;gap:12px;flex-wrap:wrap;}

.post-related{padding:48px 0;}
.post-related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:20px;}
.post-related-head h2{font-size:clamp(22px,2.4vw,28px);margin:0;}
.post-related-empty{padding:24px;border:1px dashed var(--blue-100);border-radius:var(--radius-l);background:#fff;text-align:center;}
.post-related-empty[hidden]{display:none;}
.post-related-empty p{margin:0 0 16px;}

@media (max-width:980px){
  .post-layout{grid-template-columns:minmax(0,1fr);gap:28px;}
  .post-aside{position:static;}
  .post-share{display:none;}
  .post-mobile-share{display:block;}
}
@media (min-width:981px){
  .post-mobile-share{display:none;}
  .post-toc summary{pointer-events:none;}
  .post-toc summary::after{display:none;}
}
.post-mobile-share{margin-top:32px;padding-top:22px;border-top:1px solid var(--line);}
@media (max-width:640px){
  .post-hero{padding-top:24px;}
  .post-byline{margin-bottom:20px;}
  .post-cover--hero{aspect-ratio:16/10;border-radius:var(--radius-l);}
  .post-cover--hero .post-cover-img--1{width:46%;left:2%;}
  .post-cover--hero .post-cover-img--2{width:44%;left:29%;}
  .post-cover--hero .post-cover-img--3{width:42%;right:1%;}
  .post-page{padding:28px 0 44px;}
  .post-body p,.post-body li{font-size:16px;}
  .post-lead p{font-size:17px;}
  .post-callout{padding:22px 20px;}
  .post-steps li{padding:18px 18px 18px 64px;}
  .post-steps li::before{left:16px;top:18px;}
  .post-cta{padding:28px 24px;}
  .post-related{padding:40px 0;}
}
@media (prefers-reduced-motion:reduce){
  .post-cover-img,.post-card,.post-more svg{transition:none !important;}
  .post-card-link:hover .post-cover-img--1,.post-card-link:hover .post-cover-img--2,.post-card-link:hover .post-cover-img--3{transform:none;}
}
.post-mobile-share .post-share{display:block;padding:0;}

/* ============================================================
   Refund policy (refund.html) — at-a-glance cards above the legal layout
   ============================================================ */
.legal-head{padding:72px 0 44px;}
.refund-glance-wrap{padding:40px 0 0;}
.refund-glance-title{font-family:var(--f-display);font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);margin:0 0 14px;}
.refund-glance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.refund-glance-card{padding:20px 22px;border:1px solid var(--line);border-radius:var(--radius-m);background:#fff;}
.refund-glance-icon{width:38px;height:38px;border-radius:10px;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.refund-glance-card h3{font-size:16px;margin:0 0 6px;}
.refund-glance-card p{font-size:14px;line-height:1.6;margin:0;}
.legal-page--tight{padding:44px 0 72px;}
@media (max-width:900px){.refund-glance{grid-template-columns:1fr;gap:10px;}}
@media (max-width:560px){.legal-head{padding:48px 0 32px;}.refund-glance-wrap{padding-top:28px;}.legal-page--tight{padding:32px 0 56px;}}

/* Blog articles — GEO blocks: quick answer, FAQ, about-the-company */
.post-answer{margin:0 0 20px;padding:18px 22px;border-radius:var(--radius-m);background:#fff;border:1px solid var(--blue-100);border-left:4px solid var(--blue-600);box-shadow:0 10px 30px -22px rgba(16,27,92,.35);}
.post-answer-label{margin:0 0 6px !important;font-family:var(--f-display);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-600) !important;}
.post-answer p:last-child{margin:0;color:var(--ink);}
.post-answer + .post-callout{margin-top:0;}
.post-faq{display:grid;gap:10px;}
.post-faq-item{padding:14px 18px;border:1px solid var(--line);border-radius:var(--radius-m);background:#fff;}
.post-body .post-faq-item h3{font-size:15.5px;line-height:1.4;margin:0 0 6px;}
.post-body .post-faq-item p{margin:0;font-size:15px;}
.post-about{padding:18px 22px;border-radius:var(--radius-m);background:var(--paper-dim);}
.post-body .post-about h2{font-size:17px;margin-bottom:8px;}
.post-body .post-about p{margin:0;font-size:14.5px;line-height:1.7;}
.blog-static{margin-top:8px;}
.blog-static[hidden]{display:none;}
.blog-static li{padding:12px 0;border-bottom:1px solid var(--line);}
.blog-static a{font-weight:700;color:var(--blue-600);}
.blog-static time{margin-left:8px;font-size:13px;color:var(--mute-light);}
.blog-static p{margin:4px 0 0;font-size:14px;}

/* ============================================================
   Shopify landing page (shopify-dropshipping.html)
   ============================================================ */
.shop-head{padding:44px 0 40px;}
.shop-head-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center;}
.shop-head h1{font-size:clamp(28px,3.4vw,42px);max-width:none;margin-bottom:12px;}
.shop-head p{max-width:560px;}
.shop-checks{margin:0 0 22px;display:grid;gap:6px;}
.shop-checks li{position:relative;padding-left:24px;font-size:14.5px;color:var(--ink);}
.shop-checks li::before{content:"✓";position:absolute;left:0;color:var(--teal);font-weight:800;}
.shop-cover{aspect-ratio:4/3;border-radius:var(--radius-xl);box-shadow:var(--shadow-soft);}
.shop-answer{max-width:900px;margin:0 auto;}
.shop-section{padding:56px 0;}
.shop-section .section-head{margin-bottom:28px;}
.shop-card{display:block;padding:24px;}
.shop-card .icon{margin-bottom:12px;}
.shop-card-kicker{margin:0 0 4px !important;font-size:12px !important;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-600) !important;}
.shop-card h3{font-size:17px;}
.shop-steps{grid-template-columns:repeat(2,minmax(0,1fr));}
.shop-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;counter-reset:none;}
.shop-stage{padding:22px 24px;border-radius:var(--radius-l);background:var(--blue-050);border:1px solid var(--blue-100);}
.shop-stage-num{margin:0 0 6px;font-family:var(--f-display);font-weight:800;font-size:13px;color:var(--blue-600);letter-spacing:.04em;}
.shop-stage h3{font-size:18px;margin-bottom:6px;}
.shop-stage p{margin:0;font-size:14.5px;}
.shop-table .post-table{min-width:760px;}
.shop-table .post-table thead th:last-child{background:var(--paper-dim);color:var(--ink);}
.shop-table .post-table thead th:nth-child(2){background:var(--blue-600);color:#fff;}
.shop-table .post-table tbody td:last-child{background:transparent;color:var(--mute);font-weight:400;}
.shop-table .post-table tbody td:nth-child(2){background:rgba(52,80,222,.05);color:var(--ink);font-weight:600;}
.shop-faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:start;}
.shop-guides-title{margin:20px 0 8px !important;font-weight:700;color:var(--ink) !important;font-size:14px !important;}
.shop-guides li{padding:5px 0;font-size:14px;}
.shop-guides a{color:var(--blue-600);font-weight:600;}
@media (max-width:900px){.shop-head-grid,.shop-faq-grid{grid-template-columns:1fr;gap:24px;}.shop-stages,.shop-steps{grid-template-columns:1fr;}.shop-cover{max-width:520px;}}
@media (max-width:640px){.shop-section{padding:40px 0;}.shop-head{padding:32px 0 28px;}}
.shop-guide-link{margin:16px 0 0 !important;font-size:14px;}
.shop-guide-link a{color:var(--blue-600);font-weight:700;text-decoration:underline;text-underline-offset:3px;}

/* Real-photo covers (blog cards, article hero, Shopify landing) */
.post-cover--photo{background:var(--paper-dim);}
.post-cover--photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1);}
.post-card-link:hover .post-cover--photo img{transform:scale(1.04);}
.post-hero--photo{background:var(--blue-050);padding:28px 0 32px;}
.post-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px;align-items:center;}
.post-hero--photo .post-hero-text > *{max-width:none;}
.post-hero--photo .post-byline{margin-bottom:0;}
.post-hero-photo{margin:0;border-radius:var(--radius-l);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-soft);background:#fff;}
.post-hero-photo img{width:100%;height:100%;object-fit:cover;}
.shop-photo{margin:0;border-radius:var(--radius-xl);overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-soft);}
.shop-photo img{width:100%;height:100%;object-fit:cover;}
@media (max-width:900px){.post-hero-grid{grid-template-columns:1fr;gap:20px;}.post-hero-photo{aspect-ratio:16/9;}}
@media (prefers-reduced-motion:reduce){.post-cover--photo img{transition:none;}.post-card-link:hover .post-cover--photo img{transform:none;}}

/* ============ RESOURCE PAGES — help center, tracking, supplier network ============
   help-center.html, tracking.html, supplier-network.html. Behavior lives in
   js/resources.js (help search, tracking form, FAQ keyboard support). */
.visually-hidden{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.res-faq{max-width:820px;margin:0 auto;}
.res-faq .faq-item.open .faq-a,
.help-topic .faq-item.open .faq-a{max-height:640px;}
.faq-a a{color:var(--blue-600);font-weight:600;text-decoration:underline;text-underline-offset:2px;}
.faq-q:focus-visible{outline:3px solid var(--blue-600);outline-offset:4px;border-radius:4px;}

/* --- help center --- */
.help-head{padding-bottom:56px;}
.help-head h1{margin-bottom:.35em;}
.help-search{position:relative;max-width:640px;margin-top:26px;}
.help-search-icon{position:absolute;left:22px;top:50%;transform:translateY(-50%);color:var(--mute-light);pointer-events:none;}
.help-search input{
  width:100%;height:60px;padding:0 54px 0 56px;
  border:1px solid var(--line);border-radius:999px;background:#fff;
  font:500 16px var(--f-body);color:var(--ink);
  box-shadow:0 12px 30px -18px rgba(16,27,92,.25);
  transition:border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance:none;appearance:none;
}
.help-search input::-webkit-search-cancel-button{display:none;}
.help-search input::placeholder{color:var(--mute-light);}
.help-search input:focus{outline:none;border-color:var(--blue-600);box-shadow:0 0 0 4px rgba(52,80,222,.12);}
.help-search-clear{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:50%;border:0;background:var(--blue-050);
  color:var(--mute);font-size:20px;line-height:1;cursor:pointer;
}
.help-search-clear:hover{background:var(--blue-100);color:var(--ink);}
.help-quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:18px;font-size:13.5px;}
.help-quick-label{color:var(--mute);font-weight:600;}
.help-quick a{padding:6px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink);font-weight:600;transition:border-color .15s ease, color .15s ease;}
.help-quick a:hover{border-color:var(--blue-600);color:var(--blue-600);}

.help-browse{padding:72px 0 64px;}
.help-browse .section-head{margin-bottom:28px;}
.help-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.help-cat{
  display:flex;align-items:flex-start;gap:16px;padding:22px 22px 22px 20px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.help-cat:hover{border-color:var(--blue-100);box-shadow:var(--shadow-soft);transform:translateY(-2px);}
.help-cat-icon{flex:none;width:42px;height:42px;border-radius:12px;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;}
.help-cat-body{flex:1;min-width:0;}
.help-cat-title{display:block;font-family:var(--f-display);font-weight:800;font-size:16px;color:var(--ink);margin-bottom:4px;}
.help-cat-desc{display:block;font-size:13.5px;line-height:1.5;color:var(--mute);}
.help-cat-arrow{flex:none;margin-top:12px;color:var(--mute-light);transition:transform .18s ease, color .18s ease;}
.help-cat:hover .help-cat-arrow{color:var(--blue-600);transform:translateX(3px);}

.help-topics{padding:72px 0;}
.help-topic{max-width:860px;margin:0 auto 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:30px 34px 10px;scroll-margin-top:96px;}
.help-topic:last-of-type{margin-bottom:0;}
.help-topic-title{display:flex;align-items:center;gap:14px;font-size:21px;margin:0 0 4px;}
.help-topic .faq-item:last-child{border-bottom:0;}
.help-topics.is-searching .help-topic{margin-bottom:16px;}
.help-empty{max-width:860px;margin:0 auto;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:var(--radius-l);padding:48px 24px;}
.help-empty h3{font-size:19px;margin-bottom:6px;}
.help-empty p{max-width:420px;margin:0 auto 18px;font-size:14.5px;}
.help-contact .card{display:flex;flex-direction:column;}
.help-contact .card p{flex:1;}
mark.help-hit{background:#FFF1C2;color:inherit;border-radius:3px;padding:0 1px;}

@media (max-width:960px){.help-cats{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){
  .help-cats{grid-template-columns:1fr;}
  .help-topic{padding:24px 20px 6px;}
  .help-topic-title{font-size:18px;}
  .help-search input{height:54px;font-size:15px;}
  .help-browse,.help-topics{padding:52px 0;}
}

/* --- tracking --- */
.track-hero{display:grid;grid-template-columns:1fr minmax(320px,460px);gap:56px;align-items:center;}
.track-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius-l);padding:28px;box-shadow:var(--shadow-soft);}
.track-form label{display:block;font-size:13.5px;font-weight:700;margin-bottom:8px;color:var(--ink);}
.track-form textarea{
  width:100%;min-height:118px;resize:vertical;padding:14px 16px;margin-bottom:14px;
  border:1px solid var(--line);border-radius:var(--radius-m);background:var(--paper-dim);
  font:500 15px/1.55 var(--f-body);color:var(--ink);letter-spacing:.02em;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.track-form textarea:focus{outline:none;border-color:var(--blue-600);background:#fff;box-shadow:0 0 0 4px rgba(52,80,222,.12);}
.track-form textarea[aria-invalid="true"]{border-color:#D93A3A;}
.track-form .btn svg{flex:none;}
.track-form .field-hint{margin:12px 0 0;line-height:1.5;}
.track-msg{margin:-4px 0 14px;font-size:13px;line-height:1.5;color:#B42318;}
.track-msg.is-note{color:var(--mute);}
.track-status{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:none;}
.track-status-item{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);padding:22px 22px 20px 50px;}
.track-status-item h3{font-size:16px;margin-bottom:6px;}
.track-status-item p{font-size:13.5px;line-height:1.55;margin:0;}
.track-status-dot{position:absolute;left:22px;top:27px;width:12px;height:12px;border-radius:50%;background:var(--c,var(--blue-600));box-shadow:0 0 0 5px color-mix(in srgb, var(--c,var(--blue-600)) 16%, transparent);}
.track-status-item.is-info{--c:#8B93A8;}
.track-status-item.is-transit{--c:var(--blue-600);}
.track-status-item.is-customs{--c:#7A5AF8;}
.track-status-item.is-out{--c:#0E9384;}
.track-status-item.is-done{--c:#12B76A;}
.track-status-item.is-alert{--c:#F79009;}
.cta-band .cta-band-sub{color:rgba(255,255,255,.75);max-width:560px;margin:8px 0 0;font-size:15px;}
@media (max-width:960px){.track-hero{grid-template-columns:1fr;gap:30px;}.track-status{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.track-status{grid-template-columns:1fr;}.track-form{padding:22px;}}

/* --- supplier network --- */
.supplier-hero{padding:0;border-bottom:0;}
.supplier-hero h1{max-width:560px;}
.supplier-hero-img{border-radius:var(--radius-l);overflow:hidden;box-shadow:var(--shadow-hard);aspect-ratio:4/3;background:var(--blue-100);}
.supplier-hero-img img{width:100%;height:100%;object-fit:cover;}
.supplier-points{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;}
.supplier-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.supplier-cat{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);padding:20px;}
.supplier-cat h3{font-size:16px;margin-bottom:3px;}
.supplier-cat p{font-size:13.5px;margin:0;}
.supplier-cat-icon{flex:none;width:42px;height:42px;border-radius:12px;background:var(--blue-050);color:var(--blue-600);display:flex;align-items:center;justify-content:center;}
.supplier-req{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.supplier-req h2{font-size:clamp(25px,2.8vw,34px);}
.supplier-req-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px;}
.supplier-req-steps li{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);padding:18px 20px;font-weight:600;color:var(--ink);font-size:15px;}
.supplier-req-steps .num-badge{flex:none;width:32px;height:32px;border-radius:50%;background:var(--blue-600);color:#fff;font-family:var(--f-display);font-weight:800;font-size:13.5px;display:flex;align-items:center;justify-content:center;}
.supplier-vendor{max-width:820px;margin:44px auto 0;display:flex;align-items:center;gap:18px;padding:22px 26px;border-radius:var(--radius-l);background:var(--blue-050);}
.supplier-vendor > div{flex:1;}
.supplier-vendor h3{font-size:16.5px;margin-bottom:3px;}
.supplier-vendor p{font-size:14px;margin:0;}
@media (max-width:960px){.supplier-points{grid-template-columns:repeat(2,1fr);}.supplier-cats{grid-template-columns:repeat(2,1fr);}.supplier-req{grid-template-columns:1fr;gap:28px;}}
@media (max-width:640px){.supplier-points,.supplier-cats{grid-template-columns:1fr;}.supplier-vendor{flex-direction:column;align-items:flex-start;}}
