/* ============================================================================
   Parcelers marketing site — design system
   Aesthetic: the Parcelers brand. Light, warm-white canvas, Inter type, the
   rose-pink brand accent (taken from app.parcelers.ai), generous space, soft
   scroll reveal. Shared across every page. No framework runtime.
   ========================================================================== */

:root {
  /* Canvas — light, warm white (matches app.parcelers.ai) */
  --bg:        #ffffff;
  --bg-soft:   #fff6f9;
  --bg-raise:  #fdeef4;
  --surface:   #ffffff;
  --surface-2: #fdf3f7;
  --border:    #f1dde6;
  --border-2:  #e8cdd9;

  /* Text */
  --t1: #1c1320;   /* primary — near-black, warm */
  --t2: #6b5b64;   /* secondary */
  --t3: #9a8792;   /* muted */

  /* Accent: the Parcelers brand rose-red. Stay ON brand (#ef2765) — do not
     drift toward magenta. --ac-2 is a slightly deeper shade for text/hover
     legibility on white; both share the brand hue. */
  --brand: #ef2765;
  --ac:    #ef2765;   /* brand — icons, hairline accents */
  --ac-2:  #d11650;   /* deeper brand red — emphasis text + hovers on white */
  --ac-soft: #f7b8cd; /* soft brand tint */
  --ac-dim: rgba(239, 39, 101, 0.09);
  --silver-grad: linear-gradient(135deg, #ef2765 0%, #d11650 100%);
  --glow: rgba(239, 39, 101, 0.18);

  /* Type — Inter (loaded in <head>), system fallback */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;

  /* Layout */
  --maxw: 1140px;
  --nav-h: 52px;
  --radius: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

/* Accessibility: skip link + visible keyboard focus */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #f5f5f7; color: #000; padding: 10px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 500; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ac-2); outline-offset: 3px; border-radius: 4px; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  /* Clip stray sub-pixel horizontal overflow at the root (the scrolling
     element), so a 1-2px rounding on the fixed nav or a clamp() heading at
     the narrowest phones (~320px) never produces a horizontal scrollbar.
     body alone cannot prevent this (it does not clip the fixed nav). */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Layout helpers ───────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.section--tight { padding: clamp(48px, 7vw, 92px) 0; }
.center { text-align: center; }
.muted { color: var(--t2); }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ac-2);
  padding: 6px 12px; border: 1px solid var(--border-2);
  border-radius: 999px; background: var(--ac-dim);
  margin-bottom: 22px;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 10px var(--ac); }

/* ── Typography scale ─────────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.display {
  font-size: clamp(1.9rem, 7vw, 5.2rem);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.02;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lead {
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  color: var(--t2); line-height: 1.5; font-weight: 400;
  letter-spacing: -0.01em; text-wrap: pretty;
}
.eyebrow-grad {
  background: var(--silver-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head.left { margin-left: 0; text-align: left; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 500; line-height: 1;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .3s;
  white-space: nowrap;
}
/* Inlined MDI icons (build replaces <i class="mdi mdi-x"> with <svg class="mdi mdi-x">).
   Sized to 1em and filled with currentColor so every existing .mdi font-size/color
   rule keeps working exactly as it did with the icon webfont. */
svg.mdi { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex-shrink: 0; }
.btn .mdi { font-size: 18px; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(239,39,101,.28); }
.btn-primary:hover { background: #d61f57; box-shadow: 0 12px 34px rgba(239,39,101,.38); }
.btn-ghost { background: #fff; color: var(--t1); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--ac-dim); border-color: var(--ac); color: var(--ac-2); }
.btn-link { color: var(--t1); padding: 12px 4px; }
.btn-link .mdi { transition: transform .25s var(--ease); }
.btn-link:hover { color: var(--ac-2); }
.btn-link:hover .mdi { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.center .cta-row, .hero-inner .cta-row { justify-content: center; }

/* ── Navigation (translucent, blurred, Apple-style) ───────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand img { height: 16px; }
.nav-brand .fallback { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13.5px; color: var(--t2); padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ac-2); background: var(--ac-dim); }
.nav-links a[aria-current="page"] { color: var(--ac-2); background: var(--ac-dim); }
.mobile-menu a[aria-current="page"] { color: var(--ac-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--t1); font-size: 26px; line-height: 1; padding: 4px; }

@media (max-width: 940px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; font-size: 31px; padding: 6px; }
  .nav-cta-desktop { display: none; }
  /* Larger, more tappable brand + menu on phones (logo/hamburger were small). */
  .nav-brand img { height: 22px; }
  .nav-brand .fallback { font-size: 18px; }
}

/* Mobile sheet */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--bg);
  padding: 14px 22px 32px; display: none; flex-direction: column; gap: 0; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 19px; font-weight: 500; padding: 18px 2px;
  border-bottom: 1px solid var(--border); color: var(--t1);
  letter-spacing: -0.01em; transition: color .15s;
}
.mobile-menu a:not(.btn)::after { content: "\203A"; color: var(--t3); font-size: 22px; font-weight: 400; }
.mobile-menu a:not(.btn):active { color: var(--ac-2); }
.mobile-menu a[aria-current="page"]:not(.btn) { color: var(--ac-2); }
.mobile-menu a[aria-current="page"]:not(.btn)::after { color: var(--ac-2); }
.mobile-menu .btn { margin-top: 26px; width: 100%; justify-content: center; font-size: 16px; padding: 17px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(64px, 12vw, 130px)); padding-bottom: clamp(40px, 8vw, 90px); overflow: hidden; }
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .9; }
.orb-1 { width: 620px; height: 620px; top: -200px; left: calc(50% - 310px); background: radial-gradient(circle, rgba(249,168,212,.45), transparent 68%); }
.orb-2 { width: 420px; height: 420px; top: 100px; left: -120px; background: radial-gradient(circle, rgba(239,39,101,.10), transparent 70%); }
.orb-3 { width: 460px; height: 460px; bottom: -160px; right: -120px; background: radial-gradient(circle, rgba(236,72,153,.14), transparent 70%); }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .5;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hero .lead { margin: 26px auto 34px; max-width: 620px; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--t3); }

/* App skeleton frame under hero */
.device {
  position: relative; margin: clamp(48px,7vw,86px) auto 0; max-width: 980px;
  border-radius: 20px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--bg-raise); }
.device-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2a2a31; }
.device-bar .addr { margin-left: 12px; font-size: 12px; color: var(--t3); font-family: var(--mono); }
.device-body { aspect-ratio: 16 / 9; background: var(--bg-soft); }
.device-body img, .device-body svg { width: 100%; height: 100%; object-fit: cover; }
.shot-caption { max-width: 640px; margin-inline: auto; text-align: center; color: var(--t3); font-size: 14.5px; }

/* ── Agent logo wall (bring your own agent) ───────────────────────────── */
.agent-wall { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; margin-top: 32px; }
.agent { display: inline-flex; align-items: center; gap: 10px; }
.agent img { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .68; transition: opacity .2s; }
.agent span { color: var(--t2); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.agent:hover img { opacity: 1; }
.agent.more span { color: var(--t3); font-size: 14px; font-weight: 400; }

/* ── Video poster placeholder ─────────────────────────────────────────── */
.video-frame {
  position: relative; max-width: 980px; margin: clamp(40px,6vw,72px) auto 0;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  box-shadow: 0 40px 120px rgba(0,0,0,.7); aspect-ratio: 16 / 9;
}
.video-frame svg, .video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.video-play .btn-play {
  width: 88px; height: 88px; border-radius: 50%; background: rgba(245,245,247,.94);
  display: grid; place-items: center; box-shadow: 0 14px 50px rgba(0,0,0,.55);
}
.video-play .btn-play .mdi { font-size: 42px; color: #000; margin-left: 5px; }
.video-badge {
  position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--t2);
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--border-2); border-radius: 999px; padding: 6px 12px;
}
.video-cap { text-align: center; color: var(--t3); font-size: 13px; margin-top: 16px; }

/* ── Generic cards / grids ────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ac-dim); color: var(--ac-2); font-size: 24px; margin-bottom: 18px;
  border: 1px solid var(--border-2);
}
.card h3 { font-size: 1.18rem; margin-bottom: 9px; letter-spacing: -0.02em; }
.card p { color: var(--t2); font-size: 0.95rem; margin: 0; line-height: 1.55; }

/* ── Agent demo (chat / terminal) ─────────────────────────────────────── */
.demo {
  max-width: 760px; margin: 0 auto; border-radius: var(--radius);
  border: 1px solid var(--border-2); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}
.demo-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: var(--bg-raise); }
.demo-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2a31; }
.demo-head .label { margin-left: auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.demo-body { padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.msg { display: flex; gap: 13px; align-items: flex-start; }
.msg .who { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.msg.you .who { background: var(--surface-2); color: var(--t2); border: 1px solid var(--border-2); }
.msg.agent .who { background: var(--ac-dim); color: var(--ac-2); border: 1px solid var(--border-2); }
.msg .bubble { font-size: 0.98rem; line-height: 1.55; color: var(--t1); padding-top: 5px; }
.msg.you .bubble { color: var(--t1); font-weight: 500; }
.msg.agent .bubble { color: var(--t2); }
.msg.agent .bubble strong { color: var(--t1); font-weight: 600; }

/* ── Split product blocks ─────────────────────────────────────────────── */
/* minmax(0,1fr) (not 1fr) lets the grid tracks shrink below their content's
   min-content, so form fields and long words wrap instead of forcing the column
   (and the page) wider than the viewport on the narrowest phones (~320px). */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split.reverse .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr); } .split.reverse .split-media { order: 0; } }
.split-text h2 { margin-bottom: 18px; }
.split-text .lead { margin-bottom: 24px; }
.split-media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.split-media svg, .split-media img { width: 100%; height: 100%; }

/* Feature list with ticks */
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--t2); font-size: 1rem; line-height: 1.5; }
.ticks .mdi { color: var(--ac-2); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.ticks strong { color: var(--t1); font-weight: 600; }

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-soft); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 13px; color: var(--ac-2); font-weight: 600; }
.step h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.step p { color: var(--t2); font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* ── Two-ways-in ──────────────────────────────────────────────────────── */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* ── Logo / proof strip ───────────────────────────────────────────────── */
.proof { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; opacity: .9; }
.proof .pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--t2); padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); }
.proof .pill .mdi { font-size: 17px; color: var(--ac-2); }

/* ── Big CTA band ─────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px,7vw,90px) 28px; text-align: center; border: 1px solid var(--ac-soft); background: radial-gradient(ellipse 90% 130% at 50% -10%, #ffe4ef, #fff6f9 72%); }
.cta-band .orb-1 { opacity: .6; top: -240px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px 24px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--t3); font-size: 13px; max-width: 280px; line-height: 1.55; }
.foot-col .foot-h { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--t3); margin: 0 0 14px; font-weight: 600; }
.foot-col a { display: block; font-size: 13.5px; color: var(--t2); padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: var(--t1); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border); }
.footer-bottom .copy { font-size: 12.5px; color: var(--t3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { font-size: 12.5px; color: var(--t3); }
.footer-legal a:hover { color: var(--t2); }

/* Language switcher */
.lang { position: relative; display: inline-flex; align-items: center; }
.lang select {
  -webkit-appearance: none; appearance: none;
  background: var(--surface-2); color: var(--t1); border: 1px solid var(--border-2);
  border-radius: 999px; font-size: 12.5px; padding: 8px 30px 8px 32px; cursor: pointer;
  font-family: inherit; outline: none; transition: border-color .15s;
}
.lang select:hover { border-color: var(--ac); }
.lang select option { background: var(--surface); color: var(--t1); }
.lang .mdi-translate { position: absolute; left: 10px; font-size: 15px; color: var(--t3); pointer-events: none; }
.lang .mdi-chevron-down { position: absolute; right: 9px; font-size: 16px; color: var(--t3); pointer-events: none; }

/* ── Ownership / licence modal ────────────────────────────────────────── */
.footer-legal-btn { background: none; border: 0; font: inherit; font-size: 12.5px; color: var(--t3); cursor: pointer; padding: 0; }
.footer-legal-btn:hover { color: var(--t2); }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 22px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-panel { position: relative; z-index: 1; max-width: 540px; width: 100%; background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border-2); border-radius: var(--radius); box-shadow: 0 40px 120px rgba(0,0,0,.7); overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 1.05rem; letter-spacing: -0.01em; }
.modal-close { background: none; border: 0; color: var(--t2); font-size: 26px; line-height: 1; padding: 2px 8px; border-radius: 8px; cursor: pointer; }
.modal-close:hover { color: var(--t1); background: rgba(255,255,255,.06); }
.modal-body { padding: 22px; }
.modal-body p { color: var(--t2); font-size: .95rem; line-height: 1.6; margin: 0 0 12px; }
.modal-body .modal-note { font-size: .8rem; opacity: .72; }
.modal-body .modal-foot { margin: 6px 0 0; }
.modal-body a { color: var(--ac-2); text-decoration: underline; text-underline-offset: 2px; }

/* ── Scroll reveal ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  [data-parallax] { transform: none !important; }
}

/* Section divider hairline */
.hr { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); border: 0; margin: 0; }

/* ── Long-form / legal prose ──────────────────────────────────────────── */
.page-head { padding: calc(var(--nav-h) + clamp(48px,9vw,96px)) 0 clamp(28px,4vw,44px); border-bottom: 1px solid var(--border); }
.page-head .wrap { max-width: 820px; }
.page-head h1 { font-size: clamp(2rem,4.5vw,3rem); letter-spacing: -0.03em; }
.page-head .updated { color: var(--t3); font-size: 13px; margin-top: 14px; }
/* Vertical padding only (longhands), so when .prose shares an element with .wrap
   (legal pages: <section class="prose wrap">) it does NOT zero the .wrap side
   gutter. Without this the legal content and the GDPR form touched the screen
   edges on mobile. Prose nested inside a .wrap (articles/guides) is unaffected. */
.prose { max-width: 820px; margin: 0 auto; padding-top: clamp(40px,6vw,64px); padding-bottom: clamp(64px,9vw,110px); }
.prose h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.08rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--t2); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.prose p { margin: 0 0 1rem; }
.prose ul { padding-left: 22px; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--t1); font-weight: 600; }
.prose a { color: var(--ac-2); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ac-2); }
.prose .toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 8px 0 28px; }
.prose .toc a { font-size: 12.5px; color: var(--t2); padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); text-decoration: none; }
.prose .toc a:hover { color: var(--t1); border-color: var(--border-2); }
.prose .note { border: 1px solid var(--border-2); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 1.4rem; display: flex; gap: 12px; }
.prose .note .mdi { color: var(--ac-2); font-size: 20px; flex-shrink: 0; }
.prose .note p { margin: 0; font-size: .92rem; color: var(--t2); }

/* ── FAQ (native disclosure, no JS) ───────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-soft); margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  font-size: 1.05rem; font-weight: 500; color: var(--t1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mdi { color: var(--t3); font-size: 22px; transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary .mdi { transform: rotate(45deg); color: var(--ac-2); }
.faq .answer { padding: 0 22px 22px; color: var(--t2); font-size: .98rem; line-height: 1.65; }
.faq .answer a { color: var(--ac-2); text-decoration: underline; text-underline-offset: 2px; }

/* ── Comparison table (compare pages) ─────────────────────────────────── */
.cmp { max-width: 880px; margin: 0 auto; }
.cmp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 4px 4px; }
.cmp-head > div { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.cmp-head .is-pcl { color: var(--ac-2); }
.cmp-row { padding: 18px 0; border-top: 1px solid var(--border); }
.cmp-aspect { font-weight: 600; color: var(--t1); font-size: .98rem; margin-bottom: 12px; }
.cmp-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cmp-cell { display: flex; gap: 10px; font-size: .95rem; line-height: 1.55; }
.cmp-cell .mdi { flex-shrink: 0; font-size: 19px; margin-top: 1px; }
.cmp-old { color: var(--t2); }
.cmp-old .mdi { color: var(--t3); }
.cmp-new { color: var(--t1); }
.cmp-new .mdi { color: var(--ac-2); }
.cmp-cell .cmp-lbl { display: none; }
@media (max-width: 700px) {
  .cmp-head { display: none; }
  .cmp-cells { grid-template-columns: 1fr; gap: 12px; }
  .cmp-cell { flex-direction: column; gap: 3px; }
  .cmp-cell .mdi { display: none; }
  .cmp-cell .cmp-lbl { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }
}

/* ── Data-request form (GDPR) ─────────────────────────────────────────── */
.form { max-width: 560px; margin: 0; }
.form .row { margin-bottom: 16px; }
.form label { display: block; font-size: 13px; color: var(--t2); margin-bottom: 7px; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--surface); color: var(--t1);
  border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 14px; outline: none; transition: border-color .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ac); }
.form textarea { resize: vertical; min-height: 110px; }
.form select { -webkit-appearance: none; appearance: none; }
.form .hint { font-size: 12px; color: var(--t3); margin-top: 6px; }
.form-status { margin-top: 16px; font-size: 14px; display: none; padding: 14px 16px; border-radius: 10px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(44,182,125,.1); border: 1px solid rgba(44,182,125,.3); color: #7be0b4; }
.form-status.err { background: rgba(225,97,98,.1); border: 1px solid rgba(225,97,98,.3); color: #f0a0a0; }

/* Utility */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.accent { color: var(--brand); }
.nowrap { white-space: nowrap; }

/* ── Parcelers forms: labels, field rhythm, early-access role chooser ───── */
.form .form-label,
.form legend.form-label {
  display: block; font-size: 13px; color: var(--t2);
  margin: 18px 0 7px; font-weight: 500; padding: 0;
}
.form .form-label:first-child,
.form legend.form-label { margin-top: 0; }
.form input::placeholder, .form textarea::placeholder { color: var(--t3); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ac); }
.form .btn { margin-top: 22px; }

/* Role chooser: two large radio cards (store owner / supplier). */
.role-choice { border: 0; padding: 0; margin: 0 0 4px; }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-choice legend { grid-column: 1 / -1; }
.role-opt { position: relative; display: block; cursor: pointer; }
.role-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.role-card {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 16px 16px 18px; border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color .15s, background .15s, box-shadow .2s;
}
.role-card .mdi { font-size: 22px; color: var(--ac-2); margin-bottom: 4px; }
.role-title { font-size: 15px; font-weight: 600; color: var(--t1); }
.role-sub { font-size: 12.5px; line-height: 1.45; }
.role-opt:hover .role-card { border-color: #3a4256; }
.role-opt input:focus-visible + .role-card { outline: 2px solid var(--ac-2); outline-offset: 2px; }
.role-opt input:checked + .role-card {
  border-color: var(--ac); background: var(--ac-dim);
  box-shadow: 0 0 0 1px var(--ac) inset, 0 8px 30px rgba(56,189,248,.10);
}
@media (max-width: 520px) { .role-choice { grid-template-columns: 1fr; } }

/* ── Light-theme polish + status-badge spacing ────────────────────────── */
/* The integration cards end with a status pill (.kicker: Live / In build /
   Roadmap). As the LAST child it needs space ABOVE it, not below, so it does
   not crowd the description text. Step-number kickers (followed by an h3) are
   unaffected because they are not :last-child. */
.card > .kicker:last-child { margin-top: 20px; margin-bottom: 0; }
/* A neutral (non-pink) variant for "In build" / "Roadmap" so only "Live" pops. */
.card > .kicker:last-child { color: var(--t3); background: var(--surface-2); border-color: var(--border); }
.card > .kicker.accent:last-child { color: var(--ac-2); background: var(--ac-dim); border-color: var(--ac-soft); }

/* Cards on a light canvas: soft surface + hairline, lift on hover. */
.card { background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(28,19,32,.04); }
.card:hover { border-color: var(--ac-soft); box-shadow: 0 14px 40px rgba(239,39,101,.10); }
a.card:hover { transform: translateY(-2px); }

/* Inter renders a touch heavy; nudge display weights for the brand feel. */
.display, .h2 { font-weight: 700; letter-spacing: -0.03em; }

/* ── Brand lockup (real Parcelers mark + wordmark) ────────────────────── */
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.brand-icon { width: 28px; height: 28px; border-radius: 7px; display: block; flex-shrink: 0; }
.brand-word { font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: -0.02em; color: var(--t1); display: inline-flex; align-items: center; }
.nav-brand img { height: auto; } /* override the generic 16px nav-brand img rule */
.footer-brand .brand-icon { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand .brand-word { font-size: 20px; }
.footer-brand .brand-lockup { margin-bottom: 14px; }

/* ── Filled brand-pink footer (inverse white logo) ────────────────────── */
.footer {
  border-top: 0;
  background: var(--brand);
  color: #fff;
}
.footer .foot-h { color: #fff; opacity: .95; }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.82); }
.footer-lockup .brand-word { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,.22); }
.footer-bottom .copy { color: rgba(255,255,255,.78); }
.footer-legal a { color: rgba(255,255,255,.7); }
.footer-legal a:hover { color: #fff; }
.footer .lang { color: rgba(255,255,255,.85); }
.footer .lang select { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.footer .lang select option { color: #1c1320; }   /* dropdown list stays readable */

/* ── Balance card CTAs: keep "label ->" on one line, align to card bottom ─ */
.btn-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.card { display: flex; flex-direction: column; }
.card .h3 { margin-top: 2px; }
/* Trailing inline CTA (.btn-link) or status pill (.kicker) sticks to the bottom
   so the call-to-action lines up across every card in a row. */
.card > .btn-link:last-child { margin-top: auto; padding: 14px 0 0; align-self: flex-start; }

/* ── Final CTA band sits flush on the footer (square bottom, no gap) ───── */
main > .cta-band:last-child {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

/* ── 3PL photography, CSS-treated for the light pink brand ────────────── */

/* A reusable photo band: image + pink duotone wash, for breaking up sections.
   Apply .section-photo to a <section> and set --photo to the image url. */
.section-photo { position: relative; isolation: isolate; }
.section-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,246,249,.90) 40%, rgba(255,255,255,.97)),
    var(--photo);
  background-size: cover; background-position: center;
}

/* Final CTA band: bold pink image band with white text, flush into the footer. */
main > .cta-band:last-child {
  background-image:
    linear-gradient(135deg, rgba(239,39,101,.93), rgba(219,39,119,.88)),
    url(/assets/img/bg/dock.jpg);
  background-size: cover; background-position: center;
  border-color: transparent;
}
main > .cta-band:last-child .h2 { color: #fff; }
main > .cta-band:last-child .lead,
main > .cta-band:last-child .muted { color: rgba(255,255,255,.88); }
main > .cta-band:last-child .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
main > .cta-band:last-child .btn-primary:hover { background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.26); }

/* ── Parallax: photo backdrops hold still while content scrolls (desktop) ─ */
@media (min-width: 880px) and (hover: hover) {
  .section-photo::before { background-attachment: fixed, fixed; }
  main > .cta-band:last-child { background-attachment: fixed, fixed; }
}

/* ── Split-screen hero: vivid stores | carriers photos + a clean card ──── */
.hero-split {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 22px 56px; overflow: hidden;
}
.hero-split-imgs { position: absolute; inset: 0; display: flex; z-index: 0; }
.hsi { flex: 1; background-size: cover; background-position: center; position: relative; }
.hsi-left { background-position: center 35%; }
.hero-split-imgs::after { /* subtle brand seam down the middle */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  transform: translateX(-1px); background: linear-gradient(180deg, transparent, var(--brand), transparent); opacity: .85; z-index: 1;
}
.hsi::before { /* keep photos vivid; only a gentle vignette for the tag + seam */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,8,14,.18), rgba(20,8,14,.04) 30%, rgba(20,8,14,.32));
}
.hsi-tag {
  position: absolute; bottom: 18px; z-index: 2; color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; background: rgba(15,8,12,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18);
}
.hsi-left .hsi-tag { left: 22px; }
.hsi-right .hsi-tag { right: 22px; }
.hero-split-card {
  position: relative; z-index: 3; text-align: center; max-width: 600px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 24px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 80px rgba(28,19,32,.28);
}
.hero-split-card .kicker { margin-bottom: 16px; }
.hero-split-card .display { font-size: clamp(2.2rem, 5.6vw, 4rem); }
.hero-split-card .lead { margin: 18px auto 26px; max-width: 30ch; }
@media (max-width: 720px) {
  .hsi-tag { display: none; }
  .hero-split-imgs::after { display: none; }
  .hero-split-card { background: rgba(255,255,255,.95); }
}

/* ── Nav always readable (it sits over the full-bleed split hero) ──────── */
.nav {
  background: rgba(255,255,255,.90);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
}
.nav.scrolled { background: rgba(255,255,255,.94); }
.nav-brand .brand-word { color: var(--t1); }

/* ── Mobile hero: stack the two scenes vertically so each reads full-width ─ */
@media (max-width: 720px) {
  .hero-split { min-height: 94vh; padding-top: calc(var(--nav-h) + 20px); }
  .hero-split-imgs { flex-direction: column; }
  .hero-split-card { background: rgba(255,255,255,.96); }
}

/* Compact language selector in the desktop nav (hidden on mobile; mobile uses the menu). */
.nav-lang { margin-right: 4px; }
.nav-lang select { font-size: 12.5px; padding: 6px 26px 6px 28px; }
@media (max-width: 940px) { .nav-lang { display: none; } }

/* ── Nav fit: never wrap labels; hide the lang picker until wide; collapse
   to the hamburger earlier so the desktop bar never overflows. ─────────── */
.nav-links a { white-space: nowrap; padding: 8px 10px; font-size: 13px; }
.nav-links { gap: 2px; }
@media (max-width: 1040px) { .nav-lang { display: none; } }
@media (max-width: 1040px) { .nav-links { display: none; } .nav-toggle { display: block; } }
