:root {
  --ink: #0B1220;
  --ink-soft: #172033;
  --blue: #246BFD;
  --blue-dark: #1551D8;
  --blue-light: #EAF1FF;
  --teal: #00A88F;
  --teal-light: #E5F8F4;
  --amber: #FFB020;
  --amber-light: #FFF6E2;
  --purple: #7047EB;
  --purple-light: #F0EBFF;
  --danger: #D92D20;
  --success: #138A4B;
  --text: #1B2433;
  --muted: #667085;
  --border: #E4E7EC;
  --surface: #FFFFFF;
  --surface-muted: #F7F9FC;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-muted { background: var(--surface-muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 231, 236, 0.8);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand img { width: 38px; height: 38px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand-copy small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.main-nav a { font-size: 14px; color: #475467; font-weight: 600; transition: color .2s; }
.main-nav a:hover { color: var(--blue); }
.header-login { margin-inline-start: 8px; }
.header-signup { margin-inline-start: 8px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--surface-muted); padding: 11px; }
.menu-button span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.mobile-menu { display: none; padding: 10px 20px 20px; border-top: 1px solid var(--border); background: white; }
.mobile-menu a:not(.button) { display: block; padding: 10px 0; font-weight: 600; color: #475467; }
.mobile-menu .button { margin-top: 8px; width: 100%; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 18px rgba(36, 107, 253, .22); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 24px rgba(36, 107, 253, .28); }
.button-secondary { background: white; color: var(--ink); border-color: var(--border); box-shadow: 0 4px 12px rgba(15,23,42,.04); }
.button-secondary:hover { border-color: #C8D0DC; }
/* Inviting "new customer" CTA — teal so it reads as the warm action next to the blue login. */
.button-accent { background: var(--teal); color: white; box-shadow: 0 8px 18px rgba(0, 168, 143, .24); }
.button-accent:hover { background: #00947E; box-shadow: 0 12px 24px rgba(0, 168, 143, .3); }
.button-large { padding: 14px 23px; font-size: 15px; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 18% 24%, rgba(36,107,253,.07), transparent 30%),
    radial-gradient(circle at 82% 58%, rgba(0,168,143,.07), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); gap: 72px; align-items: center; }
/* The Hebrew brand line — very big, very colorful (owner request 06-08-2026). */
.hero-brandline { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 4px 0 10px; }
.hero-brand-he {
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(100deg, #246BFD 10%, #00A88F 55%, #7C5CFC 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-byline { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
/* The partners' own wordmark logos (supplied 06-08-2026) — height-locked, width auto. */
.byline-logo { height: 22px; width: auto; display: inline-block; }
.byline-logo[src$=".jpg"] { border-radius: 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.eyebrow span:empty { width: 22px; height: 2px; background: currentColor; border-radius: 4px; }
.eyebrow.light { color: #93B5FF; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.08; letter-spacing: -.045em; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-lead { max-width: 665px; margin: 24px 0 0; color: #475467; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: #475467; font-size: 13px; font-weight: 600; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 17px; height: 17px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.visual-glow { position: absolute; inset: 11% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(36,107,253,.14), rgba(0,168,143,.03) 60%, transparent 72%); filter: blur(8px); }
.operations-card { position: relative; z-index: 2; width: min(100%, 500px); background: rgba(255,255,255,.97); border: 1px solid rgba(216,222,232,.9); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 24px; }
.operations-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 17px; }
.operations-head > div { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px var(--blue-light); }
.pill { display: inline-flex; align-items: center; justify-content: center; width: max-content; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.pill-success { color: var(--success); background: #E8F7EE; }
.pill-blue { color: var(--blue); background: var(--blue-light); }
.pill-teal { color: #087F6E; background: var(--teal-light); }
.pill-amber { color: #9A6200; background: var(--amber-light); }
.pill-purple { color: var(--purple); background: var(--purple-light); }
.pill-dark { color: white; background: #243047; }
.route-line { position: relative; display: flex; justify-content: space-between; margin: 32px 0 28px; }
.route-line::before { content: ""; position: absolute; height: 3px; background: #E8ECF3; left: 8%; right: 8%; top: 15px; border-radius: 4px; }
.route-progress { position: absolute; z-index: 1; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); inset-inline-start: 8%; inset-inline-end: 35%; top: 15px; border-radius: 4px; }
.route-point { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; min-width: 64px; }
.route-point span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F0F2F6; color: #98A2B3; font-size: 12px; font-weight: 800; border: 3px solid white; box-shadow: 0 0 0 1px #DFE4EC; }
.route-point small { color: var(--muted); font-size: 11px; }
.route-point.active span { color: white; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.route-point.current span { color: white; background: var(--blue); box-shadow: 0 0 0 5px rgba(36,107,253,.12); }
.shipment-summary { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-muted); border-radius: 15px; padding: 15px; }
.shipment-summary div { display: grid; gap: 3px; padding: 0 13px; border-inline-start: 1px solid var(--border); }
.shipment-summary div:first-child { border-inline-start: 0; }
.shipment-summary span { color: var(--muted); font-size: 10px; }
.shipment-summary strong { color: var(--ink); font-size: 14px; }
.driver-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--border); }
.driver-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--ink); font-weight: 800; }
.driver-row > div:nth-child(2) { display: grid; line-height: 1.3; }
.driver-row strong { font-size: 13px; }
.driver-row span { color: var(--muted); font-size: 11px; margin-top: 3px; }
.live-badge { display: flex; align-items: center; gap: 5px; color: var(--success); font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.live-badge span { width: 7px; height: 7px; margin: 0; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(19,138,75,.1); }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; min-width: 205px; padding: 12px 14px; border: 1px solid rgba(220,225,233,.9); border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-sm); }
.floating-card > div:last-child { display: grid; line-height: 1.35; }
.floating-card strong { font-size: 12px; }
.floating-card span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.floating-top { top: 16px; inset-inline-end: -5px; }
.floating-bottom { bottom: 20px; inset-inline-start: -12px; }
.floating-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; }
.floating-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.floating-icon.teal { background: var(--teal-light); color: var(--teal); }
.floating-icon.amber { background: var(--amber-light); color: #D98700; }

.trust-strip { border-block: 1px solid var(--border); background: #fff; }
.trust-grid { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 23px; color: #667085; font-size: 13px; font-weight: 700; }
.trust-grid i { width: 4px; height: 4px; border-radius: 50%; background: #C7CED9; }

/* Partner section — "עובדים עם מרלוג אייסמן" + join-the-network CTA */
.partner-band { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); gap: 60px; align-items: center; }
.partner-copy h2 { margin: 0; font-size: clamp(31px, 4vw, 44px); line-height: 1.18; letter-spacing: -.035em; color: var(--ink); }
.partner-copy > p { margin: 16px 0 0; max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.partner-join { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 30px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.partner-join h3 { margin: 0; color: var(--ink); font-size: 16px; }
.partner-join p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.partner-join .button { flex: none; }
.partner-badge { display: grid; justify-items: center; gap: 7px; padding: 40px 30px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(160deg, #FFFFFF 40%, #F2FBF8 100%); box-shadow: var(--shadow-sm); text-align: center; }
.partner-badge-logo { height: 64px; width: auto; margin-bottom: 8px; border-radius: 10px; }
.partner-badge strong { color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.partner-badge span { color: var(--muted); font-size: 13px; }
.partner-badge-check { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; color: #087F6E; background: var(--teal-light); font-size: 12px; font-weight: 800; }
.partner-badge-check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.partner-badge-check em { font-style: normal; }

.section-heading { margin-bottom: 44px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.narrow { max-width: 750px; }
.section-heading h2, .service-copy h2, .technology-grid h2, .cta-card h2 { margin: 0; font-size: clamp(31px, 4vw, 44px); line-height: 1.18; letter-spacing: -.035em; color: var(--ink); }
.section-heading > p:last-child, .service-copy > p, .tech-lead { margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.split-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 60px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); font-size: 16px; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.problem-card h3 { margin: 21px 0 8px; color: var(--ink); font-size: 19px; }
.problem-card p { margin: 0; color: var(--muted); font-size: 14px; }
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.icon-box svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-box.blue { color: var(--blue); background: var(--blue-light); }
.icon-box.teal { color: var(--teal); background: var(--teal-light); }
.icon-box.amber { color: #D98700; background: var(--amber-light); }
.icon-box.purple { color: var(--purple); background: var(--purple-light); }
.icon-box.small { width: 43px; height: 43px; border-radius: 12px; }
.icon-box.small svg { width: 21px; height: 21px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.process-card { position: relative; min-height: 245px; padding: 26px; border-radius: var(--radius-md); background: white; border: 1px solid var(--border); overflow: hidden; }
.step-number { position: absolute; top: 17px; inset-inline-end: 19px; color: #D0D5DD; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.process-card h3 { margin: 21px 0 8px; color: var(--ink); font-size: 18px; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.service-layout { display: grid; grid-template-columns: .74fr 1.26fr; gap: 90px; align-items: center; }
.service-copy { position: sticky; top: 120px; align-self: start; }
.service-copy > p { max-width: 480px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--blue); font-weight: 800; font-size: 14px; }
.text-link svg, .portal-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
/* Chevrons are drawn pointing right; flipped for RTL reading. In LTR they already point in the reading direction. */
[dir="ltr"] .text-link svg, [dir="ltr"] .portal-link svg { transform: none; }
.service-list { border-top: 1px solid var(--border); }
.service-list article { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.service-index { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-muted); color: var(--blue); font-size: 12px; font-weight: 900; }
.service-list h3 { margin: 0; color: var(--ink); font-size: 18px; }
.service-list p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.section-dark { color: white; background: var(--ink); overflow: hidden; position: relative; }
.section-dark::after { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(36,107,253,.16); filter: blur(70px); inset-inline-start: -120px; bottom: -240px; }
.technology-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.technology-grid h2 { color: white; }
.tech-lead { color: #B7C0CF; max-width: 520px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.tech-tags span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #D7DEEA; background: rgba(255,255,255,.04); font-size: 11px; font-weight: 700; }
.metric-panel { border: 1px solid rgba(255,255,255,.11); border-radius: 22px; padding: 23px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.metric-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.metric-head > div { display: grid; }
.metric-head span { color: #8FA0B8; font-size: 10px; }
.metric-head strong { color: white; font-size: 15px; margin-top: 3px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1px; background: rgba(255,255,255,.08); }
.metric-grid > div { display: grid; padding: 22px; background: #111A2A; }
.metric-grid span { color: #91A0B5; font-size: 10px; }
.metric-grid strong { color: white; font-size: 27px; margin: 5px 0 2px; letter-spacing: -.03em; }
.metric-grid small { color: #7F8EA4; font-size: 9px; }

.cta-section { padding: 76px 0; }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 42px; border: 1px solid #DDE5F4; border-radius: 24px; background: linear-gradient(135deg, #F6F9FF 0%, #F5FCFA 100%); }
.cta-card h2 { max-width: 780px; font-size: clamp(28px, 3.4vw, 39px); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

.site-footer { background: #F7F9FC; border-top: 1px solid var(--border); }
.footer-inner { min-height: 114px; display: grid; grid-template-columns: auto 1fr auto; gap: 35px; align-items: center; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-inner nav { display: flex; gap: 22px; color: #475467; font-size: 13px; font-weight: 700; }
.footer-bottom { min-height: 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); color: #98A2B3; font-size: 11px; }

/* Access page */
.compact-header { position: relative; }
.compact-header .header-inner { justify-content: space-between; }
/* "Back" arrow is drawn pointing left; flipped to point toward the start in RTL. In LTR "back" is already leftward. */
.rtl-arrow { transform: scaleX(-1); }
[dir="ltr"] .rtl-arrow { transform: none; }
.access-hero { padding: 72px 0 62px; text-align: center; background: linear-gradient(180deg, #F8FAFF 0%, #fff 100%); border-bottom: 1px solid var(--border); }
.access-hero-inner { max-width: 760px; }
.access-hero .eyebrow { justify-content: center; }
.access-hero h1 { margin: 0; color: var(--ink); font-size: clamp(38px, 5vw, 58px); line-height: 1.1; letter-spacing: -.045em; }
.access-hero p:last-child { margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.access-content { padding-top: 70px; }
.portal-group { margin-bottom: 68px; }
.portal-group-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.group-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.group-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.group-icon.blue { color: var(--blue); background: var(--blue-light); }
.group-icon.teal { color: var(--teal); background: var(--teal-light); }
.group-icon.purple { color: var(--purple); background: var(--purple-light); }
.portal-group-heading h2 { margin: 0; color: var(--ink); font-size: 24px; letter-spacing: -.02em; }
.portal-group-heading p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.portal-grid.three-columns { grid-template-columns: repeat(3, 1fr); }
.portal-card { display: flex; flex-direction: column; min-height: 300px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: 0 5px 18px rgba(15,23,42,.035); transition: transform .22s, box-shadow .22s, border-color .22s; }
.portal-card:hover { transform: translateY(-3px); border-color: #D2D8E1; box-shadow: var(--shadow-sm); }
.portal-card.featured { background: linear-gradient(145deg, #FFFFFF 45%, #F5F8FF 100%); }
.portal-card.featured-purple { background: linear-gradient(145deg, #FFFFFF 45%, #F8F6FF 100%); }
.portal-card.featured-dark { background: linear-gradient(150deg, #111A2A 0%, #0B1220 100%); border-color: #202B3F; color: white; }
.portal-card.featured-dark h3 { color: white; }
.portal-card.featured-dark p, .portal-card.featured-dark li { color: #AEB8C8; }
.portal-card.featured-dark .portal-link { color: #8DB2FF; border-top-color: rgba(255,255,255,.1); }
.portal-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.portal-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; }
.portal-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.portal-icon.blue { color: var(--blue); background: var(--blue-light); }
.portal-icon.teal { color: var(--teal); background: var(--teal-light); }
.portal-icon.amber { color: #D98700; background: var(--amber-light); }
.portal-icon.purple { color: var(--purple); background: var(--purple-light); }
.portal-icon.dark { color: white; background: rgba(255,255,255,.1); }
.portal-card h3 { margin: 22px 0 8px; color: var(--ink); font-size: 20px; }
.portal-card p { margin: 0; color: var(--muted); font-size: 13px; }
.portal-card ul { list-style: none; padding: 0; margin: 15px 0 0; display: grid; gap: 6px; }
.portal-card li { position: relative; padding-inline-start: 16px; color: #475467; font-size: 12px; }
.portal-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.portal-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); color: var(--blue); font-size: 13px; font-weight: 800; }
.portal-link.is-placeholder { color: #98A2B3; }
.access-note { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border: 1px solid #D9E5FE; border-radius: 15px; background: #F6F9FF; }
.note-icon { color: var(--blue); margin-top: 2px; }
.note-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.access-note strong { color: var(--ink); font-size: 13px; }
.access-note p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.access-note code { padding: 2px 5px; border-radius: 5px; background: #E8EFFF; color: #34569A; direction: ltr; }
.access-footer { min-height: 70px; border-top: 0; }
.access-footer a { color: var(--blue); font-weight: 700; }

/* Language switcher (segmented control) */
.header-cluster { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-muted); }
.lang-option { min-height: 30px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.lang-option:hover { color: var(--ink); }
.lang-option.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.lang-option:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mobile-lang-switch { margin-top: 14px; }

/* Driver app page */
.driver-hero { text-align: center; }
.driver-hero-inner { max-width: 720px; }
.driver-lead { margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.store-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.store-button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-align: start; }
.store-button.is-disabled { opacity: .72; cursor: not-allowed; }
.store-glyph { width: 26px; height: 26px; fill: currentColor; }
.store-lines { display: grid; line-height: 1.2; }
.store-lines small { color: var(--muted); font-size: 11px; }
.store-lines strong { font-size: 16px; letter-spacing: -.01em; }
.store-soon { margin-inline-start: 2px; }
.driver-points { list-style: none; padding: 0; margin: 32px auto 0; max-width: 460px; display: grid; gap: 12px; text-align: start; }
.driver-points li { display: flex; align-items: center; gap: 10px; color: #475467; font-size: 14px; font-weight: 600; }
.driver-points svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.driver-back { margin-top: 36px; }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .header-login { margin-inline-start: 8px; }
  .header-signup { margin-inline-start: auto; }
  .partner-band { grid-template-columns: 1fr; gap: 36px; }
  .partner-badge { max-width: 420px; width: 100%; margin-inline: auto; }
  .site-header:not(.compact-header) .header-inner .lang-switch { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { text-align: center; max-width: 790px; margin-inline: auto; }
  .hero .eyebrow, .hero-proof, .hero-actions { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { min-height: 480px; max-width: 650px; width: 100%; margin-inline: auto; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-layout, .technology-grid { grid-template-columns: 1fr; gap: 50px; }
  .service-copy { position: static; max-width: 700px; }
  .portal-grid.three-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand-copy small { display: none; }
  .header-login { display: none; }
  .header-signup { display: none; }
  .site-header:not(.compact-header) .header-inner .lang-switch { display: none; }
  .menu-button { display: block; margin-inline-start: auto; }
  .mobile-menu:not([hidden]) { display: block; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 9px; justify-content: start; text-align: start; }
  .hero-visual { min-height: 430px; }
  .operations-card { padding: 18px; }
  .floating-card { display: none; }
  .shipment-summary { grid-template-columns: 1fr; gap: 10px; }
  .shipment-summary div { border-inline-start: 0; border-bottom: 1px solid var(--border); padding: 0 0 9px; }
  .shipment-summary div:last-child { border-bottom: 0; padding-bottom: 0; }
  .trust-grid { flex-wrap: wrap; gap: 11px 14px; padding: 15px 0; }
  .problem-grid, .process-grid, .portal-grid, .portal-grid.three-columns { grid-template-columns: 1fr; }
  .split-heading { grid-template-columns: 1fr; gap: 16px; }
  .service-list article { grid-template-columns: 44px 1fr; gap: 14px; }
  .technology-grid { gap: 36px; }
  .metric-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 30px; }
  .cta-card .button { width: 100%; }
  .partner-join { flex-direction: column; align-items: stretch; text-align: center; }
  .partner-join .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .footer-inner nav { flex-wrap: wrap; }
  .footer-bottom { min-height: 70px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
  .compact-header .button { padding: 10px 13px; }
  .access-hero { padding: 56px 0 48px; }
  .access-hero h1 { font-size: 42px; }
  .portal-group-heading { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Cross homepage, 17-08-2026 rebuild.

   Structure follows the reference sketch (ridewithvia.com): announcement strip ->
   mosaic hero -> statement -> tabbed service showcase -> steps -> band -> dark
   product panel + feature cards -> partner -> coverage -> CTA -> rich footer.

   Everything below is ADDITIVE. The pre-existing rules (.hero, .operations-card,
   .access-*, .compact-header, ...) are untouched because driver.html, main.html and
   access.html share this stylesheet.

   Motion: the reduced-motion kill switch earlier in this file uses !important, so it
   still disables the animations declared here regardless of source order.
   ========================================================================== */

/* ------------------------------------------------------------ announcement */
.announce {
  background: linear-gradient(90deg, var(--ink) 0%, #12315E 55%, var(--blue) 100%);
  color: #fff;
  font-size: 13.5px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  flex-wrap: wrap;
}
.announce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}
.announce a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-inline-start: auto;
}

/* The [data-header] hook existed but nothing read it; it now carries the scrolled state. */
.site-header[data-header].is-stuck {
  box-shadow: 0 10px 30px rgba(15, 23, 42, .09);
  border-bottom-color: transparent;
}

/* -------------------------------------------------------------- button kin */
.button-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px);
}
.button-ghost:hover { background: rgba(255, 255, 255, .18); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: #EEF3FF; }

/* A mis-keyed data-app-link must LOOK dead, not merely be dead (script.js sets these). */
.button.is-placeholder,
.text-link.is-placeholder,
[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

/* -------------------------------------------------------------- mosaic hero */
.hero-mosaic {
  position: relative;
  isolation: isolate;
  min-height: min(96vh, 980px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}


.hero-mosaic-inner { color: #fff; padding: 120px 0 58px; }
.hero-display {
  margin: 6px 0 18px;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 900;
  max-width: 18ch;
}
.hero-display em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, #5AD1FF 0%, #246BFD 48%, #00A88F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-mosaic-lead {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .84);
}
.hero-mosaic-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 46px;
  list-style: none;
  margin: 42px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-figures li { display: grid; gap: 3px; }
.hero-figures strong { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.hero-figures span { font-size: 13px; color: rgba(255, 255, 255, .68); }

/* --------------------------------------------------------------- statement */
.statement-h2 {
  margin: 0 auto 54px;
  max-width: 26ch;
  text-align: center;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.18;
  letter-spacing: -.03em;
  color: var(--ink);
}
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.solution-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.solution-card h3 { margin: 0 0 8px; font-size: 19px; }
.solution-card p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- showcase */
.showcase { padding: 92px 0 0; }
.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto -28px;
  padding: 8px;
  position: relative;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.showcase-tab {
  border: 0;
  background: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  transition: background .18s ease, color .18s ease;
}
.showcase-tab:hover { color: var(--ink); background: var(--surface-muted); }
.showcase-tab.is-active { color: #fff; background: var(--ink); }

.showcase-stage {
  position: relative;
  /* The art inside every panel starts at scale(1.06) for the push-in; a transform DOES
     extend the scrollable overflow, and on an RTL page those extra ~14px shoved the whole
     document sideways and clipped every right edge on phones. Clip it at the stage. */
  overflow: hidden;
}
.showcase-panel { position: relative; min-height: 470px; display: flex; align-items: center; }
.showcase-panel[hidden] { display: none; }
.showcase-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.showcase-copy-wrap { position: relative; z-index: 1; padding: 92px 0 76px; }
.showcase-copy {
  max-width: 460px;
  margin-inline-start: auto;
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(11, 18, 32, .82);
  backdrop-filter: blur(10px);
  color: #fff;
}
.showcase-kicker {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #93B5FF;
}
.showcase-copy h3 { margin: 0 0 10px; font-size: 27px; letter-spacing: -.02em; }
.showcase-copy p { margin: 0; color: rgba(255, 255, 255, .8); }
.showcase-copy .text-link { color: #7FB2FF; }

/* ------------------------------------------------------------------- steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}
.step-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 900;
}
.step-card h3 { margin: 0 0 6px; font-size: 17px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* -------------------------------------------------------------- quote band */
.quote-band { background: linear-gradient(115deg, var(--blue) 0%, #1551D8 60%, #0E3AA8 100%); color: #fff; }
.quote-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 54px 0;
}
.quote-band-copy { max-width: 60ch; }
.quote-band h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.quote-band p { margin: 0; color: rgba(255, 255, 255, .86); }

/* --------------------------------------------------------- dark tech panel */
.tech-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #070E1B;
  color: #fff;
}
.tech-panel-copy { padding: 46px 44px; }
.tech-panel-copy h3 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.tech-panel-copy p { margin: 0 0 20px; color: rgba(255, 255, 255, .76); }
.tech-panel-art { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tech-tags li {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #C7DAFF;
  background: rgba(36, 107, 253, .18);
  border: 1px solid rgba(127, 178, 255, .3);
}

/* ----------------------------------------------------------- feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feature-card h3 { margin: 0 26px 8px; font-size: 19px; }
.feature-card p { margin: 0 26px 22px; color: var(--muted); font-size: 14.5px; }
.feature-card img { width: 100%; height: 172px; object-fit: cover; margin-top: auto; }
.feature-tag {
  align-self: flex-start;
  margin: 24px 26px 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.feature-tag--blue { color: var(--blue); background: var(--blue-light); }
.feature-tag--teal { color: var(--teal); background: var(--teal-light); }
.feature-tag--ice { color: #0B6FA8; background: #E2F5FF; }

/* ---------------------------------------------------------------- coverage */
.coverage { background: var(--ink); color: #fff; overflow: hidden; }
.coverage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: 40px;
  padding: 86px 0;
}
.coverage-copy h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.14; }
.coverage-copy > p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .78); }
.coverage-figures { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 32px 0 0; }
.coverage-figures div { display: grid; gap: 4px; }
.coverage-figures dt { font-size: 13px; color: rgba(255, 255, 255, .6); }
.coverage-figures dd { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.coverage-art { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }

/* --------------------------------------------------------------------- CTA */
/* `flex-direction: row` is explicit: the original .cta-actions rule earlier in this file
   is a COLUMN, which stretched both buttons to the full card width. */
.cta-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
}

/* ------------------------------------------------------------- rich footer */
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 40px;
  padding: 54px 0 34px;
}
.footer-brand p { margin: 14px 0 0; max-width: 34ch; color: var(--muted); font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-nav h3 {
  margin: 0 0 12px;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--text); }
.footer-nav a:hover { color: var(--blue); }

/* ---------------------------------------------------------- responsiveness */
@media (max-width: 1040px) {
  .solution-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-panel { grid-template-columns: 1fr; }
  .tech-panel-art { min-height: 260px; }
  .coverage-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .showcase-copy { max-width: none; }
}

@media (max-width: 760px) {
  .announce-inner { justify-content: center; text-align: center; font-size: 12.5px; }
  .announce a { margin-inline-start: 0; }
  .hero-mosaic { min-height: 0; }
  .hero-mosaic-inner { padding: 84px 0 46px; }
  .hero-display { max-width: none; }
  .hero-figures { gap: 16px 26px; }
  .hero-figures strong { font-size: 21px; }
  .hero-mosaic-actions .button { width: 100%; justify-content: center; }
  .solution-grid, .feature-grid, .steps-grid, .footer-nav { grid-template-columns: 1fr; }
  .showcase { padding-top: 70px; }
  .showcase-tabs { border-radius: var(--radius-md); margin-bottom: -20px; }
  .showcase-tab { flex: 1 1 auto; text-align: center; }
  .showcase-copy-wrap { padding: 76px 0 56px; }
  .showcase-copy { padding: 22px; }
  .quote-band-inner { padding: 42px 0; }
  .quote-band .button { width: 100%; justify-content: center; }
  .tech-panel-copy { padding: 30px 24px; }
  .coverage-inner { padding: 62px 0; }
  .cta-actions .button { width: 100%; justify-content: center; }
}

/* The sketch's closing banner: a brand-blue card with the illustration alongside.
   A MODIFIER, not a redefinition — the light `.cta-card` still serves any other page. */
.cta-card--brand {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(115deg, var(--blue) 0%, #1551D8 58%, #0E3AA8 100%);
  color: #fff;
}
.cta-card-copy { padding: 46px 44px; }
.cta-card--brand h2 { margin: 6px 0 0; }
.cta-card-art { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

@media (max-width: 760px) {
  .cta-card--brand { grid-template-columns: 1fr; }
  .cta-card-copy { padding: 30px 24px; }
  .cta-card-art { min-height: 190px; }
}

/* ==========================================================================
   HERO — "the cold chain, running" (17-08-2026)

   One 18s cycle, choreographed so the picture reads as the business:
     0.0s  two shippers hand over          (origins lift)
     0.5s  pallets run the inbound lanes   (offset-distance 0 -> 100%)
     4.5s  they land: the hub pulses       (ring expands, mark brightens)
     5.5s  sorted, three pallets leave     (staggered, one per destination colour)
     9.5s  each destination signs off      (halo + check draw-on, staggered)
    12.0s  hold, then reset

   Everything animates transform / opacity / offset-distance only, so it stays on
   the compositor. The global prefers-reduced-motion rule earlier in this file kills
   every animation with !important — which is why each moving piece carries a
   deliberate BASE state: pallets sit parked at staggered points along the lanes and
   the checks are already drawn, so the frozen frame still reads as the whole story.
   ========================================================================== */

/* The headline now floats OVER a full-bleed map, so the column is a max-width, not a grid
   track. `position: relative` lifts it above the canvas without needing a z-index war. */
.hero-split {
  position: relative;
  z-index: 1;
  padding: 104px 0 76px;
}
.hero-split .hero-mosaic-inner { padding: 0; max-width: 46%; }

/* Ambient depth behind everything — slow, never competing with the scene. */
.hero-ambient { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero-ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
.hero-ambient span:nth-child(1) { width: 620px; height: 620px; background: #123A8A; inset-inline-start: -12%; top: -22%; }
.hero-ambient span:nth-child(2) { width: 520px; height: 520px; background: #0B5E7A; inset-inline-end: -10%; bottom: -26%; animation-delay: -7s; }
.hero-ambient span:nth-child(3) { width: 420px; height: 420px; background: #0A6C5C; inset-inline-end: 26%; top: 12%; animation-delay: -14s; }
@keyframes hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3%, 4%, 0) scale(1.12); }
}

/* The canvas fills the hero and sits behind the copy; pointer-events off so the whole area
   stays clickable-through to the CTAs underneath. */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.chain { width: 100%; height: 100%; display: block; }

/* Business names. Injected into the SVG by hero-scene.js; sized there, coloured here. */
.hs-name {
  font-family: 'Rubik', 'Segoe UI', Arial, 'Noto Sans Hebrew', sans-serif;
  font-weight: 600;
  dominant-baseline: middle;
}
.hs-name--from { fill: #FFD08A; }
.hs-name--to { fill: #A6EEDF; }
.hs-name--hub { fill: #EAF3FF; font-weight: 700; }

@media (max-width: 1040px) {
  .hero-split { padding: 92px 0 60px; }
  .hero-split .hero-mosaic-inner { max-width: 60%; }
}
@media (max-width: 760px) {
  /* On a phone the copy takes the top and the map gets the room beneath it — the generator
     measures both boxes, so the scatter follows automatically. */
  .hero-mosaic { min-height: 0; }
  .hero-split { padding: 74px 0 clamp(560px, 76vh, 780px); }
  .hero-split .hero-mosaic-inner { max-width: none; }
}

/* ==========================================================================
   SERVICE SHOWCASE — the transition (17-08-2026)

   Four services on a 7s carousel. The change is a composed move, not a swap:

     the outgoing panel  falls back  (scale .985, fades)
     the incoming art    pushes in   (scale 1.06 -> 1, and keeps drifting while it holds)
     a light sweep       crosses it  (a soft diagonal band, once, on entry)
     the copy            steps in    (kicker -> title -> body -> link, 70ms apart)
     the active tab      drains      (a meter that shows when the next one is due)

   Panels are stacked, so both are painted during the cross-fade; `visibility` carries a
   delay so the outgoing one stays until its fade finishes and only then leaves the
   accessibility tree. Nothing here animates anything but transform / opacity / clip.
   ========================================================================== */

.showcase-stage { position: relative; }

.showcase-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(.985);
  transition: opacity 1.8s ease, transform 1.8s ease, visibility 0s linear 1.8s;
  pointer-events: none;
}
/* The first panel also holds the stage open, so the section keeps its height. */
.showcase-panel:first-child { position: relative; }
.showcase-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 1.8s ease, transform 1.8s ease, visibility 0s;
  pointer-events: auto;
  z-index: 1;
}

/* Art: pushes in on entry, then drifts almost imperceptibly for the whole dwell. */
.showcase-panel .showcase-art { transform: scale(1.05); }
/* The art keeps drifting for the WHOLE dwell, so a panel is never visually parked — the
   owner asked for something that always looks in motion. */
.showcase-panel.is-active .showcase-art { animation: showcase-drift 11s ease-out forwards; }
@keyframes showcase-drift {
  from { transform: scale(1.05); }
  to   { transform: scale(1.002); }
}

/* The sweep: one soft band crossing the art as the panel lands. */
.showcase-sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(122, 200, 255, .22) 50%, transparent 62%);
}
.showcase-panel.is-active .showcase-sweep { animation: showcase-sweep 2.1s ease-out; }
@keyframes showcase-sweep {
  0%   { opacity: 0; transform: translate3d(-38%, 0, 0); }
  35%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(38%, 0, 0); }
}

/* Copy: a short stagger so the eye lands on the title, then the detail. */
.showcase-panel.is-active .showcase-copy > * { animation: showcase-rise .6s cubic-bezier(.2,.7,.3,1) backwards; }
.showcase-panel.is-active .showcase-copy > *:nth-child(1) { animation-delay: .16s; }
.showcase-panel.is-active .showcase-copy > *:nth-child(2) { animation-delay: .23s; }
.showcase-panel.is-active .showcase-copy > *:nth-child(3) { animation-delay: .30s; }
.showcase-panel.is-active .showcase-copy > *:nth-child(4) { animation-delay: .37s; }
@keyframes showcase-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* The card opens from the inline-start edge. `backwards` applies the `from` state during the
   delay only - it is NOT a resting style, which is what keeps the outgoing card intact. */
.showcase-panel.is-active .showcase-copy { animation: showcase-open .8s cubic-bezier(.2,.7,.25,1) backwards; }
@keyframes showcase-open { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
[dir="ltr"] .showcase-panel.is-active .showcase-copy { animation-name: showcase-open-ltr; }
@keyframes showcase-open-ltr { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---- the tab meter: how long until the next one --------------------------- */
.showcase-tab { position: relative; overflow: hidden; }
.showcase-tab-meter {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right center;
  background: linear-gradient(90deg, #5AD1FF, #00A88F);
  opacity: 0;
}
[dir="ltr"] .showcase-tab-meter { transform-origin: left center; }
.showcase-tab.is-active .showcase-tab-meter { opacity: 1; animation: showcase-meter var(--showcase-dwell, 7s) linear forwards; }
@keyframes showcase-meter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Reading should never be interrupted: hovering or tabbing in holds the carousel, and the
   meter must visibly stop with it or the pause looks like a bug. */
.showcase.is-paused .showcase-tab.is-active .showcase-tab-meter { animation-play-state: paused; }

/*
 * Reduced motion: no drift, no sweep, no stagger — and script.js does not auto-advance
 * either, so the panel only ever changes when the visitor asks for it.
 */
@media (prefers-reduced-motion: reduce) {
  .showcase-panel { transition: none; }
  .showcase-panel.is-active .showcase-copy,
  .showcase-panel.is-active .showcase-copy > * { animation: none; }
  .showcase-tab-meter { display: none; }
}

@media (max-width: 760px) {
  .showcase-panel:first-child { position: relative; }
  .showcase-sweep { display: none; }
}

/* ==========================================================================
   BEAUTY PASS, mobile-first (18-08-2026).

   The owner's brief: the homepage must be exceptional, and most customers meet
   it on their phones. Everything below layers on top of the existing system:
   - Rubik (Hebrew + Latin) as the typeface — the single biggest visual lift.
   - Scroll reveals: JS adds .is-in; the hidden base state only exists under
     html.js, so a no-JS visitor (and every crawler) sees everything.
   - Richer cards, a connected step timeline, chip-style trust strip, and a
     mobile conversion bar that slides in once the hero is scrolled past.
   The hero scene itself is SMIL inside the SVG (see index.html) — none of it
   depends on this stylesheet or on the reduced-motion kill switch above.
   ========================================================================== */

body { font-family: 'Rubik', 'Segoe UI', Arial, 'Noto Sans Hebrew', sans-serif; }

/* Rubik is wider than Segoe — relax the display tracking it was tuned for. */
.hero-display { letter-spacing: -.02em; }
.hero-display em {
  background-size: 220% 100%;
  animation: hero-ink 9s ease-in-out infinite alternate;
}
@keyframes hero-ink { to { background-position: 90% 0; } }

/* ------------------------------------------------- hero scene text (SMIL svg) */


/* ------------------------------------------------------------ scroll reveals */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, .66, .3, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .solution-grid > [data-reveal]:nth-child(2),
.js .feature-grid > [data-reveal]:nth-child(2),
.js .steps-grid > [data-reveal]:nth-child(2) { transition-delay: .1s; }
.js .solution-grid > [data-reveal]:nth-child(3),
.js .feature-grid > [data-reveal]:nth-child(3),
.js .steps-grid > [data-reveal]:nth-child(3) { transition-delay: .2s; }
.js .steps-grid > [data-reveal]:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- announcement */
.announce {
  background-size: 240% 100%;
  animation: an-sheen 16s ease-in-out infinite alternate;
}
@keyframes an-sheen { to { background-position: 100% 0; } }

/* ------------------------------------------------------------------- buttons */
.button {
  transition: transform .22s ease, box-shadow .22s ease,
              background-color .22s ease, opacity .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-accent {
  background: linear-gradient(125deg, #00A88F 0%, #0A8FA6 100%);
  box-shadow: 0 10px 26px rgba(0, 168, 143, .3);
}
.button-accent:hover { background: linear-gradient(125deg, #00B899 0%, #0B9CB5 100%); }
.hero-mosaic-actions .button-accent { box-shadow: 0 14px 40px rgba(0, 168, 143, .42); }

/* --------------------------------------------------------- trust strip chips */
.trust-strip { background: var(--surface); border-block: 1px solid var(--border); }
.trust-grid { gap: 10px; flex-wrap: wrap; justify-content: center; padding: 18px 0; }
.trust-grid span {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  font-weight: 700;
  font-size: 13.5px;
  color: #3A4A63;
}
.trust-grid i { display: none; }

/* ------------------------------------------------------------ solution cards */
.solution-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.solution-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-light);
}
.solution-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.solution-num { margin-bottom: 0; }
.solution-card,
.feature-card {
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.solution-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .13);
}
.feature-card img { transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.feature-card:hover img { transform: scale(1.05); }

/* -------------------------------------------------- steps: a connected line */
@media (min-width: 1041px) {
  .steps-grid { position: relative; }
  /* Runs behind the cards at the height of the step numbers; visible only in the
     gaps between cards, which is exactly where a connector belongs. */
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    inset-inline: 7%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #C3D6F5 0 10px, transparent 10px 22px);
  }
  .step-card { position: relative; }
}

/* ------------------------------------------------------- quote band sparkle */
.quote-band { position: relative; overflow: hidden; }
.quote-band::before {
  content: '';
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(2.5px 2.5px at 12% 24%, rgba(255, 255, 255, .6), transparent 55%),
    radial-gradient(2px 2px at 32% 68%, rgba(255, 255, 255, .4), transparent 55%),
    radial-gradient(3px 3px at 55% 18%, rgba(255, 255, 255, .5), transparent 55%),
    radial-gradient(2px 2px at 74% 52%, rgba(255, 255, 255, .45), transparent 55%),
    radial-gradient(2.5px 2.5px at 88% 30%, rgba(255, 255, 255, .55), transparent 55%),
    radial-gradient(2px 2px at 44% 84%, rgba(255, 255, 255, .4), transparent 55%);
  animation: qb-drift 30s linear infinite alternate;
  opacity: .55;
}
@keyframes qb-drift { to { transform: translate3d(4%, 8%, 0); } }
.quote-band-inner { position: relative; }

/* --------------------------------------------------- anchors + mobile menu */
#solution, #services, #how, #technology, #partners { scroll-margin-top: 84px; }
.mobile-menu {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, .18);
}

/* -------------------------------------------------- mobile conversion bar */
.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 10px;
  padding: 10px max(14px, env(safe-area-inset-right))
           calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}
.mobile-cta.is-shown { transform: none; }
.mobile-cta .button { flex: 1; justify-content: center; padding: 13px 10px; }
@media (min-width: 761px) { .mobile-cta { display: none; } }

/* ------------------------------------------------------- mobile rhythm */
@media (max-width: 760px) {
  .section { padding: 62px 0; }
  .statement-h2 { font-size: 28px; margin-bottom: 34px; }
  .hero-mosaic-lead { font-size: 15.5px; }
  .hero-figures { gap: 14px 22px; }
  .quote-band h2 { font-size: 23px; }
  .tech-panel-copy h3 { font-size: 23px; }
  .coverage-copy h2 { font-size: 28px; }
  /* The showcase panels cross-fade in a stack; on a phone their heights differ,
     so the ACTIVE one must set the stage height or tall panels get clipped. */
  .showcase-panel { position: absolute; }
  .showcase-panel:first-child:not(.is-active) { position: absolute; }
  .showcase-panel.is-active { position: relative; }
  /* Room for the fixed conversion bar so it never covers the footer's last line. */
  body { padding-bottom: 76px; }
}
