/* =====================================================================
   SYNEPTIS — Home
   Design system: Figma "mondai" (Plus Jakarta Sans, 1128 grid, r10/r14/r16)
   Brand palette: SYNEPTIS (ink #0A0F1E, electric blue #0052FF)
   ===================================================================== */

:root {
  /* Brand */
  --primary: #0052FF;
  --primary-hover: #0038B0;
  --primary-bright: #3D7FFF;
  --primary-soft: rgba(0, 82, 255, 0.08);
  --primary-tint: #E8EEFC;

  /* Text */
  --ink: #0A0F1E;
  --title: #0A0F1E;
  --body: rgba(10, 15, 30, 0.55);
  --body-strong: #475467;
  --muted: #667085;

  /* Surfaces */
  --white: #FFFFFF;
  --surface-soft: #F5F7FB;      /* Figma bg-soft-purple → SYNEPTIS soft blue-grey */
  --surface-soft-2: #FBFCFE;    /* Figma bg-soft-gray */
  --outline: rgba(10, 15, 30, 0.10);
  --outline-strong: #E4E7EC;
  --dark: #0A0F1E;

  /* Semantic */
  --success: #12B76A;
  --success-soft: rgba(18, 183, 106, 0.12);
  --warning: #F79009;
  --warning-soft: rgba(247, 144, 9, 0.14);
  --danger: #F04438;
  --danger-soft: rgba(240, 68, 56, 0.12);
  --info: #3D7FFF;

  /* Type */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Inter', var(--font);

  /* Layout */
  --nav-h: 76px;          /* sticky bar: 44px controls + 2 x 16px padding */
  --container: 1128px;
  --gutter: 24px;
  --section-y: 60px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 16px; --r-2xl: 24px;

  /* Motion (curves and durations from the Mondai template) */
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in: cubic-bezier(0.42, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.58, 1);
  --reveal-duration: 700ms;

  --shadow-card: 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-float: -16px 24px 40px rgba(10, 15, 30, 0.10);
  --shadow-dash: 0 24px 60px rgba(10, 15, 30, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* The bar is sticky, so a jump to an anchor would park the heading underneath it.
   Every target stops a bar's height plus a breath below it instead. */
:target, [id] { scroll-margin-top: calc(var(--nav-h) + 28px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--title);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3 { margin: 0; }
table { border-collapse: collapse; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography (Figma tokens) ---------- */
.h1 { font-size: 60px; line-height: 72px; font-weight: 600; letter-spacing: -0.005em; color: var(--title); }
.h2 { font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -0.005em; color: var(--title); }
.h3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.005em; color: var(--title); }
.eyebrow { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -0.005em; color: var(--primary); }
.lead { font-size: 16px; line-height: 24px; color: var(--body); }
.text-success { color: var(--success) !important; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: 20px 0 40px; }
.section--soft { background: var(--surface-soft); }
.section__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 60px; }
.section__head .h2 { max-width: 824px; }
.section__head .lead { max-width: 640px; }
.section__head .h2 + .lead { margin-top: -6px; }
.section__cta { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--r-md);
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--sm { height: 44px; font-size: 14px; padding: 0 24px; }
.btn--block { width: 100%; height: auto; min-height: 40px; flex: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: #fff; color: var(--title); border: 1px solid var(--outline-strong); }
.btn--secondary:hover { border-color: rgba(10,15,30,.25); }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn--outline-light:hover { border-color: rgba(255,255,255,.5); }
.btn__icon { filter: brightness(0) invert(1); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ---------- Badges / tags / status ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px;
  background: var(--primary-soft); color: var(--primary); font-size: 14px; line-height: 20px; font-weight: 500;
}
.tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.tag--primary { background: var(--primary-soft); color: var(--primary); }
.tag--info { background: #EDF2FE; color: #2458E6; }
.tag--success { background: var(--success-soft); color: #0B8A4F; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--live { background: var(--success-soft); color: #0B8A4F; }
.status--beta { background: var(--primary-soft); color: var(--primary); }
.status--soon { background: var(--warning-soft); color: #B45309; }
.status--later { background: rgba(10,15,30,.06); color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot--primary { background: var(--primary); }
.dot--success { background: var(--success); }
.dot--warning { background: var(--warning); }
.dot--muted { background: #C9D2DE; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.pill--info { background: var(--primary-soft); color: var(--primary); }
.pill--warning { background: var(--warning-soft); color: #B45309; }

/* ---------- Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 -1px 0 transparent, 0 10px 30px -24px transparent;
  transition: transform 400ms var(--ease-out-quart), box-shadow 250ms linear, background-color 250ms linear; }
.navbar[data-nav-scrolled="true"] { box-shadow: inset 0 -1px 0 var(--outline-strong), 0 10px 30px -24px rgba(10,15,30,.35); }
.navbar[data-nav-hidden="true"] { transform: translateY(-100%); }
.navbar__inner { max-width: 1440px; margin: 0 auto; padding: 16px 156px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navbar__logo img { width: 150px; height: auto; }
.navbar__links { display: flex; gap: 20px; }
.navbar__links a { padding: 12px; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -0.005em; color: var(--title); border-radius: 8px; transition: color .15s; }
.navbar__links a:hover { color: var(--primary); }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--outline-strong); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navbar__line { display: block; width: 18px; height: 2px; background: var(--title); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 100px; }
.hero__panel {
  position: absolute; top: 0; left: 20px; right: 20px; height: 825px; border-radius: var(--r-2xl); overflow: hidden; z-index: 0;
  background:
    radial-gradient(70% 78% at 50% 0%, #FFFFFF 0%, #FFFFFF 42%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, #E4EBFF 0%, #D4DFFF 55%, #BFD0FF 100%);
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.95) 1.7px, transparent 2.1px);
  background-size: 29px 29px; background-position: 14px 14px;
  -webkit-mask-image: linear-gradient(180deg, transparent 12%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 12%, #000 55%);
}
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; padding: 0 var(--gutter); }
.hero__content .h1 { max-width: 923px; }
.hero__sub { max-width: 690px; color: var(--body); }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero__stage { position: relative; z-index: 1; max-width: 1128px; margin: 60px auto 0; padding: 0 var(--gutter); }

/* Dashboard mock */
.dash {
  background: var(--surface-soft); border: 1px solid var(--outline); border-radius: 16px; box-shadow: var(--shadow-dash);
  max-height: 626px; overflow: hidden; font-size: 12.5px; line-height: 1.4; color: #101828; font-family: var(--font);
}
.dash__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--outline); }
.dash__brand img { width: 108px; height: auto; }
.dash__menu { display: flex; gap: 3px; }
.dash__menu span { padding: 6px 10px; border-radius: 8px; font-weight: 600; color: rgba(16,24,40,.6); }
.dash__menu span.is-active { background: var(--primary-soft); color: var(--primary); }
.dash__period { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--outline); }
.dash__account { display: flex; align-items: center; gap: 12px; }
.dash__icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 6px; background: #fff; }
.dash__avatar { width: 31px; height: 31px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); font-weight: 700; display: grid; place-items: center; font-size: 11px; }
.dash__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.dash__title { font-size: 26px; line-height: 30px; font-weight: 600; }
.dash__subtitle { color: var(--muted); margin-top: 2px; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; padding: 6px 20px 10px; }
.kpi { background: #fff; border-radius: 12px; padding: 12px 10px 10px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.kpi__label { font-weight: 500; color: rgba(16,24,40,.5); }
.kpi__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi__value { font-size: 26px; line-height: 1.2; font-weight: 600; font-family: var(--font-num); letter-spacing: -0.01em; }
.kpi__badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border: 1px solid #D5DDE2; border-radius: 5px; font-size: 11px; font-weight: 500; font-family: var(--font-num); color: #22292F; }
.kpi__foot { font-size: 11px; color: #797979; font-family: var(--font-num); }
.kpi--primary { background: var(--primary); color: #fff; }
.kpi--primary::after { content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0)); transform: rotate(25deg); }
.kpi--primary .kpi__label { color: rgba(255,255,255,.6); }
.kpi--primary .kpi__foot { color: rgba(255,255,255,.7); }
.kpi__badge--light { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.dash__grid { display: grid; grid-template-columns: 1.55fr 1.55fr 1fr; gap: 11px; padding: 0 20px 10px; }
.dcard { background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.dcard__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dcard__title { font-weight: 600; font-size: 13px; }
.dcard__legend { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.dcard__btn { padding: 4px 8px; border: 1px solid var(--outline); border-radius: 6px; font-size: 11px; font-weight: 600; }
.dcard__link { color: var(--primary); font-weight: 600; font-size: 11px; margin-top: auto; }
.bars { display: flex; gap: 8px; height: 150px; }
.bars__axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: var(--muted); padding-bottom: 18px; }
.bars__plot { flex: 1; display: flex; align-items: flex-end; gap: 10px; border-bottom: 1px solid var(--outline); padding-bottom: 0; position: relative; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; position: relative; }
.bar i { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 0 0; background: repeating-linear-gradient(135deg, #EEF1F5 0 4px, #F8F9FB 4px 8px); border: 1px solid #E6EAF0; border-bottom: 0; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.bar--active i { background: var(--primary); border-color: var(--primary); }
.bar b { position: absolute; bottom: -18px; font-size: 10px; font-weight: 400; color: var(--muted); }
.feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--surface-soft); }
.feed li:last-child { border-bottom: 0; }
.feed b { display: block; font-size: 12px; font-weight: 600; }
.feed span { font-size: 11px; color: var(--muted); }
.feed time { font-size: 11px; color: var(--muted); }
.donut { --pct: 86; width: 128px; height: 128px; margin: 4px auto 0; border-radius: 50%; position: relative; background: conic-gradient(var(--primary) calc(var(--pct) * 1%), #E3E8F5 0); display: grid; place-items: center; }
.donut::before { content: ""; position: absolute; inset: 18px; background: #fff; border-radius: 50%; }
.donut__center { position: relative; text-align: center; }
.donut__center b { display: block; font-size: 24px; font-weight: 600; font-family: var(--font-num); }
.donut__center span { font-size: 11px; color: var(--muted); }
.donut__legend li { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); padding: 5px 0; border-bottom: 1px solid var(--surface-soft); }
.donut__legend b { margin-left: auto; color: #101828; }
.dash__table { margin: 0 20px 20px; background: #fff; border-radius: 12px; padding: 12px; }
.dash__table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--outline); background: var(--surface-soft-2); }
.dash__table td { padding: 10px 8px; font-size: 12px; border-bottom: 1px solid var(--surface-soft); font-family: var(--font-num); }
.dash__table td:nth-child(5) { font-weight: 600; color: var(--success); }

/* Floating cards */
.float { position: absolute; background: #fff; border-radius: 13px; box-shadow: var(--shadow-float); padding: 19px; z-index: 2; font-size: 13px; line-height: 1.5; }
.float--left { left: -66px; bottom: 100px; width: 372px; }
.float--right { right: -22px; top: 78px; width: 338px; }
.float__head { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; }
.float__head p { color: var(--muted); font-size: 13px; }
.float__head b { color: #101828; font-weight: 600; }
.float__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.float__more { color: var(--muted); font-weight: 700; }
.float__quote { margin: 12px 0 10px; padding: 12px; border-radius: 6px; background: var(--primary-soft); color: #344054; }
.float__quote b { color: var(--primary); font-weight: 600; }
.float__actions { display: flex; gap: 8px; }
.float__btn { padding: 4px 10px; border-radius: 4px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 500; }
.float__btn--ghost { background: transparent; color: var(--muted); }
.float__meta { margin-top: 10px; font-size: 11px; color: var(--muted); }
.float__badges { display: flex; gap: 8px; margin-bottom: 10px; }
.float__title { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.float__list li { display: flex; justify-content: space-between; gap: 8px; color: #727272; font-size: 12.5px; padding: 3px 0; }
.float__list b { color: #101828; font-weight: 500; }
.float__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px -19px -19px; padding: 12px 19px; border-top: 1px solid #E4E4E4; font-size: 12px; color: var(--muted); }
.float__foot span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.float__foot span:last-child { color: var(--primary); font-weight: 600; }

/* ---------- Registries strip ---------- */
.logos { padding: 32px 0 20px; text-align: center; }
.logos__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logos__wrap { display: flex; gap: 96px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__wrap:hover .logos__row, .logos__wrap:focus-within .logos__row { animation-play-state: paused; }
.logos__row { display: flex; align-items: center; gap: 96px; flex: none; --marquee-step: 96px; animation: marquee-left 32s linear infinite; will-change: transform; }
.logos__row li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.logos__row b { font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: .04em; color: #A0A6B4; }
.logos__row span { font-size: 11px; color: #A0A6B4; }

/* ---------- Stats bar ---------- */
.stats { background: var(--surface-soft); border-radius: var(--r-lg); padding: 40px 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.stats__item { text-align: center; display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; }
.stats__item + .stats__item::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 58px; border-left: 1px solid var(--outline); }
.stats__value { font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: -0.005em; color: var(--title); }
.stats__value small { font-size: 20px; color: var(--primary); margin-left: 2px; }
.stats__label { font-size: 14px; line-height: 20px; color: var(--body); max-width: 180px; margin: 0 auto; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 540px 1fr; gap: 64px; align-items: center; }
.split--rev { grid-template-columns: 440px 1fr; }
.split .h2 { font-size: 44px; line-height: 52px; }
.split__text { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.split__text .lead { margin-top: -2px; }
.split__visual { min-width: 0; }

.accordion { width: 100%; }
.accordion__item { border-bottom: 1px solid rgba(0,0,0,.1); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; text-align: left; font-size: 20px; line-height: 28px; font-weight: 600; color: #111; }
.accordion__icon { display: inline-flex; width: 26px; height: 26px; transform-origin: 50% 50%; flex: none; }
.accordion__icon img { transform: rotate(180deg); }
.accordion__panel > p { color: var(--body); padding-bottom: 16px; }

.mockframe {
  position: relative; border-radius: 16px; padding: 46px 0 0 26px; overflow: hidden; min-height: 506px;
  background: linear-gradient(160deg, #E9EFFF 0%, #D6E1FF 60%, #C6D6FF 100%);
}
.mockframe::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.9) 1.5px, transparent 1.9px); background-size: 26px 26px; opacity: .8; }
.mockframe::after { content: ""; position: absolute; left: -31px; top: 103px; width: 239px; height: 592px; border-radius: 26px; background: linear-gradient(180deg, rgba(0,82,255,.55), rgba(61,127,255,.35)); transform: rotate(6deg); filter: blur(2px); }
.mockframe > * { position: relative; z-index: 1; }
.mockframe--table { padding: 42px 0 0 42px; }
.mockframe--sm { min-height: 460px; padding: 40px 0 0 40px; }

.margin-card { background: #fff; border-radius: 12px 0 0 0; box-shadow: 0 20px 40px rgba(10,15,30,.10); padding: 22px 24px 20px; height: 100%; min-height: 460px; }
.margin-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--outline); }
.margin-card__id { font-weight: 600; font-size: 16px; }
.margin-card__sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.margin-card__numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.margin-card__numbers div { background: var(--surface-soft); border-radius: 10px; padding: 12px; }
.margin-card__numbers span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.margin-card__numbers b { display: block; font-size: 22px; font-weight: 600; font-family: var(--font-num); margin-top: 4px; }
.margin-card__numbers .is-hi { background: var(--primary); color: #fff; }
.margin-card__numbers .is-hi span { color: rgba(255,255,255,.7); }
.margin-card__label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.breakdown li { display: grid; grid-template-columns: 70px 1fr 64px; align-items: center; gap: 12px; padding: 6px 0; font-size: 13px; color: var(--body-strong); }
.breakdown i { display: block; height: 8px; border-radius: 4px; background: #E3E8F5; position: relative; overflow: hidden; }
.breakdown i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--primary); border-radius: 4px; }
.breakdown b { text-align: right; font-family: var(--font-num); font-weight: 600; color: #101828; }
.breakdown--lg li { grid-template-columns: 110px 1fr 80px; }
.margin-card__route { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--outline); display: flex; flex-direction: column; gap: 2px; }
.margin-card__route span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.margin-card__route b { font-size: 15px; font-weight: 600; }
.margin-card__route span:last-child { text-transform: none; letter-spacing: 0; font-size: 12px; }

.tablecard { background: #fff; border-radius: 12px 0 0 0; box-shadow: 0 20px 40px rgba(10,15,30,.10); padding: 20px 0 0 20px; min-height: 464px; }
.tablecard__title { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.tablecard table { width: 100%; table-layout: auto; }
.tablecard th { text-align: left; font-size: 13px; font-weight: 500; color: #101828; padding: 12px 10px; background: var(--surface-soft-2); border-bottom: 1px solid var(--outline); white-space: nowrap; }
.tablecard td { padding: 15px 10px; font-size: 13px; border-bottom: 1px solid var(--outline); white-space: nowrap; font-family: var(--font-num); }
.tablecard td:nth-child(2) { font-family: var(--font); font-weight: 500; }
.tablecard td:last-child span { display: inline-flex; align-items: center; gap: 6px; }
.tablecard tbody tr { transition: transform .2s, box-shadow .2s; }
.tablecard .is-hover { position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(10,15,30,.14); transform: translateX(-10px); background: #fff; }
.tablecard .is-hover td { font-weight: 600; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px 10px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 20px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 8px 24px rgba(16,24,40,.08); transform: translateY(-2px); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card__title { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--title); }
.card__text { color: var(--body); flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 11px; color: var(--primary); font-weight: 600; }
.card__link img { transition: transform .2s; }
.card__link:hover img { transform: translateX(4px); }
.card--center { align-items: center; text-align: center; }
.card .iconbox { margin-bottom: 10px; }
.card__top .iconbox { margin-bottom: 0; }
.card__title + .card__text { margin-top: -10px; }
.iconbox { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 6px; background: #FEFEFE; border: 1px solid rgba(10,15,30,.1); flex: none; }
.iconbox--fill { background: var(--primary); border-color: transparent; }
.step { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: -12px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.bento__card { grid-column: span 2; background: #fff; border: 1px solid var(--outline); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.bento__card--wide { grid-column: span 3; }
.bento__card .card__title { padding: 0 20px; margin-top: 10px; }
.bento__card .card__text { padding: 0 20px; }
.bento__visual { height: 262px; padding: 30px 20px 0; background: linear-gradient(180deg, #F4F7FF 0%, #E3EBFF 60%, #CFDCFF 100%); position: relative; overflow: hidden; }
.bento__visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.9) 1.4px, transparent 1.8px); background-size: 24px 24px; }
.bento__card--wide .bento__visual { height: 272px; }
.mini { position: relative; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 16px 40px rgba(10,15,30,.10); padding: 16px; font-size: 12px; line-height: 1.5; height: 100%; }
.mini__row { display: flex; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--surface-soft); }
.mini__key { color: var(--muted); width: 52px; }
.mini__chip { background: var(--surface-soft); border-radius: 999px; padding: 2px 10px; font-weight: 500; }
.mini__body { padding: 10px 0; color: #344054; }
.mini__body mark { background: var(--primary-soft); color: var(--primary); border-radius: 3px; padding: 0 3px; }
.mini__ai { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--primary); border-radius: 8px; color: var(--primary); font-weight: 500; box-shadow: 0 4px 12px rgba(0,82,255,.15); }
.mini__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; }
.mini__list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--surface-soft); color: var(--muted); }
.mini__list b { color: #101828; font-weight: 600; font-family: var(--font-num); }
.mini__list .is-hi b { color: var(--success); }
.mini__count { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.mini__q { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--outline); border-radius: 8px; margin-bottom: 8px; font-weight: 500; }
.mini__q.is-done { color: var(--muted); font-weight: 400; }
.mini__btns { display: flex; gap: 4px; }
.mini__btns i { font-style: normal; padding: 3px 8px; border-radius: 5px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 600; }
.mini__btns i + i { background: transparent; color: var(--muted); }
.mini--list { margin: 0 auto; max-width: 460px; padding-top: 28px; }
.mini__generating { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 8px 20px rgba(0,82,255,.3); }
.mini__generating img { filter: brightness(0) invert(1); }
.mini__skeleton { display: grid; grid-template-columns: 24px 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.mini__skeleton i { display: block; height: 10px; border-radius: 5px; background: #E9EDF5; }
.mini__skeleton i:first-child { width: 14px; height: 14px; border-radius: 50%; }
.mini--shield { display: flex; align-items: center; gap: 20px; }
.mini__shield { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 12px rgba(0,82,255,.08); }
.mini__checks li { position: relative; padding: 6px 0 6px 22px; color: #344054; font-weight: 500; }
.mini__checks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---------- Checks / chips ---------- */
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 14px; color: var(--body); }
.checks li .status { margin-left: 4px; }
.checks--tight { gap: 10px; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; }
.check--warn { background: var(--warning); color: #fff; font-size: 12px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 720px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--outline); font-size: 13px; font-weight: 500; }

/* ---------- Integrations ---------- */
.integrations { position: relative; background: var(--surface-soft); border: 1px solid rgba(0,0,0,.1); border-radius: 16px; overflow: hidden; padding: 82px 40px 60px; }
.integrations__wall { display: flex; flex-direction: column; gap: 14px; position: relative; opacity: .7; }
.integrations__wall::after { content: ""; position: absolute; inset: -80px 0 -20px; background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(245,247,251,0) 55%, rgba(245,247,251,.6) 80%, var(--surface-soft) 100%); pointer-events: none; }
.integrations__row { display: flex; gap: 12px; width: max-content; animation: marquee-half-left 42s linear infinite; will-change: transform; }
.integrations__row:nth-child(2) { animation-name: marquee-half-right; animation-duration: 48s; }
.integrations__row:nth-child(3) { animation-duration: 54s; }
.integrations__copy { display: flex; gap: 12px; flex: none; }
.integrations__row span { width: 80px; height: 80px; border-radius: 16px; background: #fff; display: grid; place-items: center; flex: none; }
.integrations__row img { width: 44px; height: 44px; object-fit: contain; }
.integrations__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; margin-top: 60px; }
.integrations__content .h2 { max-width: 620px; }
.integrations__content .lead { max-width: 480px; margin-top: -6px; }
.integrations__note { max-width: 600px; font-size: 13px; color: var(--muted); }

/* ---------- Tabs / feature panel ---------- */
.tabs__bar { display: flex; width: fit-content; gap: 8px; padding: 4px; border-radius: 14px; background: var(--surface-soft); box-shadow: inset 0 0 15px rgba(178,178,178,.05); margin: 0 auto 24px; max-width: 100%; overflow-x: auto; }
.tabs__tab { padding: 12px; border-radius: 12px; font-weight: 500; color: rgba(10,15,30,.5); white-space: nowrap; transition: background .2s, color .2s; }
.tabs__tab.is-active { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.tabs__panels { position: relative; }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }
.tabs__tab { transition: color 200ms var(--ease-in); }
.tabs__tab.is-active { transition: background-color 200ms var(--ease-in), color 200ms var(--ease-in); }
.feature { background: var(--surface-soft); border-radius: 16px; padding: 50px; display: grid; grid-template-columns: 1fr 564px; gap: 50px; align-items: center; }
.feature__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.feature__text .h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feature__desc { color: var(--body); margin-top: -8px; }
.feature__visual { min-width: 0; }
.route-card { background: #fff; border-radius: 12px 0 0 0; box-shadow: 0 20px 40px rgba(10,15,30,.10); padding: 20px 22px; min-height: 420px; display: flex; flex-direction: column; gap: 16px; }
.route-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.route-card__stops li { position: relative; padding: 8px 0 8px 26px; font-weight: 600; font-size: 14px; }
.route-card__stops li small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.route-card__stops i { position: absolute; left: 4px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.route-card__stops li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 28px; bottom: -8px; border-left: 2px dashed #C9D6FB; }
.route-card__totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.route-card__totals div { background: var(--surface-soft); border-radius: 10px; padding: 10px 12px; }
.route-card__totals span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.route-card__totals b { display: block; font-size: 20px; font-family: var(--font-num); font-weight: 600; margin-top: 2px; }
.route-card__totals .is-hi { background: var(--primary); color: #fff; }
.route-card__totals .is-hi span { color: rgba(255,255,255,.7); }
.route-card__foot { font-size: 12px; color: var(--muted); margin-top: auto; }
.verify li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; color: #344054; border-bottom: 1px solid var(--surface-soft); }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-soft); }
.toggle__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9px; font-weight: 500; color: rgba(10,15,30,.55); }
.toggle__btn.is-active { background: #fff; color: #111; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; gap: 24px; }
.plan--featured { border-color: rgba(0,82,255,.35); box-shadow: 0 12px 32px rgba(0,82,255,.08); }
.plan__head { flex: none; background: var(--surface-soft); border-radius: 7px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.plan__title { display: flex; flex-direction: column; gap: 4px; }
.plan__name { font-size: 20px; line-height: 30px; font-weight: 500; letter-spacing: -0.03em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan__for { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__price { display: flex; align-items: flex-end; gap: 8px; }
.plan__price span { font-size: 48px; line-height: 56px; font-weight: 500; letter-spacing: -0.03em; font-family: var(--font); }
.plan__price small { font-size: 20px; line-height: 32px; color: #777; letter-spacing: -0.03em; }
.plan__note { font-size: 14px; line-height: 20px; color: rgba(10,15,30,.5); min-height: 40px; }
.plan__head .btn { margin-top: auto; }
.plan__body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 16px; }
.plan__label { font-size: 20px; line-height: 32px; font-weight: 500; letter-spacing: -0.03em; }
.pricing__foot { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.founding { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid rgba(0,82,255,.25); background: var(--primary-tint); border-radius: 12px; max-width: 760px; text-align: left; }
.founding p { font-size: 14px; color: #344054; }
.included { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--body); }
.included li { position: relative; padding-left: 16px; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.pricing__core { color: var(--body); }
.pricing__core a { color: var(--primary); font-weight: 600; }

/* ---------- Founders ---------- */
.founders { margin-top: 60px; display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 48px; align-items: center; }
.founders__text .h2 { font-size: 38px; line-height: 46px; }
.founders__text { display: flex; flex-direction: column; gap: 24px; }
.founders__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { position: relative; background: #fff; border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.person__head { display: flex; align-items: center; gap: 14px; }
.person__head > div { min-width: 0; flex: 1; }
.person__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; background: var(--surface-soft); }
.person__name a { color: inherit; transition: color 300ms var(--ease-out-quart); }
.person__name a:hover { color: var(--primary); }
.person__name { font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.03em; color: #1F1F1F; }
.person__role { font-size: 13px; line-height: 18px; font-weight: 500; color: rgba(10,15,30,.5); letter-spacing: -0.01em; }
.person__text { color: var(--body); font-size: 14px; line-height: 22px; }

/* ---------- CTA banner ---------- */
.cta { position: relative; overflow: hidden; border-radius: 16px; padding: 60px 60px 0; min-height: 601px;
  background: radial-gradient(80% 80% at 50% 0%, #fff 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #F4F7FF 0%, #DCE6FF 50%, #C4D4FF 100%); border: 1px solid rgba(0,0,0,.06); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.9) 1.6px, transparent 2px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 70%); mask-image: linear-gradient(180deg, transparent 20%, #000 70%); }
.cta__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-width: 862px; margin: 0 auto; }
.cta__content .lead { max-width: 560px; margin-top: -6px; }
.cta__form { display: flex; gap: 10px; width: 100%; max-width: 502px; }
.input { flex: 1; height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid var(--outline-strong); background: #fff; font: inherit; font-size: 16px; color: var(--title); }
.input::placeholder { color: rgba(10,15,30,.45); }
.input:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.cta__commitments { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: 14px; color: var(--body-strong); }
.cta__commitments li { display: flex; align-items: center; gap: 8px; }
.cta__commitments .check { width: 18px; height: 18px; }
.cta__mock { position: relative; max-width: 970px; margin: 40px auto 0; }
.dash--peek { max-height: 300px; box-shadow: 0 -10px 40px rgba(10,15,30,.12); border-bottom: 0; border-radius: 16px 16px 0 0; }
.cta__note { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq__item { background: var(--surface-soft-2); border: 1px solid var(--outline); border-radius: 16px; padding: 24px; }
.faq__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--title); }
.faq__icon { display: inline-flex; width: 24px; height: 24px; transform-origin: 50% 50%; flex: none; }
.faq__panel > p { font-size: 18px; line-height: 28px; color: #6B7280; padding-top: 8px; }
.faq__foot { margin-top: 40px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #fff; padding: 60px 0; margin-top: 20px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo img { width: 170px; height: auto; }
.footer__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 32px 0; margin: 32px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__title { font-size: 16px; margin-bottom: 2px; }
.footer__col a { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.85); letter-spacing: -0.03em; transition: color .15s; }
.footer__col a:hover { color: var(--primary-bright); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.footer__lang { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 14px; }
.footer__lang img { filter: brightness(0) invert(1); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; transition: border-color .15s; }
.footer__social a:hover { border-color: rgba(255,255,255,.5); }
.footer__social img { filter: brightness(0) invert(1); }


/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1280px) {
  .navbar__inner { padding: 16px 40px; }
  .float--left { left: 0; }
  .float--right { right: 0; }
}
@media (max-width: 1100px) {
  .float { display: none; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__text { order: -1; }
  .feature { grid-template-columns: 1fr; padding: 32px; }
  .founders { grid-template-columns: 1fr; gap: 32px; }
  .founders__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card, .bento__card--wide { grid-column: span 3; }
  .stats { flex-wrap: wrap; }
  .stats__item { flex: 1 1 40%; }
  .stats__item:nth-child(3)::before { display: none; }
  .logos__row { justify-content: center; gap: 32px 48px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .h1 { font-size: 44px; line-height: 52px; }
  .h2 { font-size: 36px; line-height: 44px; }
  .h3 { font-size: 28px; line-height: 34px; }
  .navbar__links, .navbar__actions .btn { display: none; }
  .navbar__burger { display: flex; }
  .navbar__inner { padding: 12px 24px; }
  .hero { padding-top: 60px; }
  .hero__panel { left: 12px; right: 12px; height: 720px; }
  .dash__grid { grid-template-columns: 1fr 1fr; }
  .dash__grid .dcard:last-child { display: none; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .cards--3, .pricing { grid-template-columns: 1fr; }
  .founders__cards { grid-template-columns: 1fr; }
  .bento__card, .bento__card--wide { grid-column: span 6; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 40px 24px 0; }
  .integrations { padding: 40px 20px; }
  .tablecard .is-hover td { transform: none; box-shadow: none; }
  .section__head { margin-bottom: 40px; }
}
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .h1 { font-size: 36px; line-height: 44px; }
  .h2 { font-size: 30px; line-height: 38px; }
  .stats__item { flex: 1 1 100%; }
  .stats__item::before { display: none !important; }
  .stats { padding: 32px 20px; }
  .dash { font-size: 11px; }
  .dash__menu { display: none; }
  .dash__grid { grid-template-columns: 1fr; }
  .dash__table { display: none; }
  .hero__panel { height: 640px; }
  .cta__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .mockframe, .mockframe--sm, .mockframe--table { padding-left: 16px; padding-top: 24px; min-height: 0; }
  .tablecard { overflow-x: auto; }
  .accordion__trigger, .faq__trigger { font-size: 17px; line-height: 24px; }
  .faq__panel > p { font-size: 16px; line-height: 24px; }
  .btn { padding: 0 18px; }
  .hero__cta .btn { width: 100%; }
  .chips li { width: 100%; justify-content: space-between; text-align: left; }
  .route-card__totals b, .margin-card__numbers b { font-size: 17px; }
  .route-card__totals div, .margin-card__numbers div { padding: 10px 8px; }
  .route-card, .margin-card { padding: 18px 16px; }
  .tablecard { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* =====================================================================
   Motion — ported from the Mondai template's interaction system
   ===================================================================== */

/* ---------- Home load-in ladder ---------- */
@keyframes hero-load-fade { to { opacity: 1; } }
@keyframes hero-load-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes hero-load-settle { to { opacity: 1; transform: perspective(1400px) translateY(0) rotateX(0deg); } }
@keyframes hero-load-pop { to { opacity: 1; transform: translateY(0) scale(1); } }
.has-reveal [data-hero-load='content'] { animation: hero-load-fade 600ms var(--ease-in) forwards; }
.has-reveal [data-hero-load='tag'] { animation: hero-load-rise 700ms var(--ease-out) 120ms forwards; }
.has-reveal [data-hero-load='subtitle'] { animation: hero-load-rise 700ms var(--ease-out) 300ms forwards; }
.has-reveal [data-hero-load='button'] { animation: hero-load-rise 700ms var(--ease-out) 380ms forwards; }
.has-reveal [data-hero-load='visual'] { animation: hero-load-settle 1100ms var(--ease-out-expo) 460ms forwards; }
.has-reveal [data-hero-load='note-top'] { animation: hero-load-pop 700ms var(--ease-out) 800ms forwards; }
.has-reveal [data-hero-load='note-bottom'] { animation: hero-load-pop 700ms var(--ease-out) 940ms forwards; }
@media (prefers-reduced-motion: reduce) { .has-reveal [data-hero-load] { animation: none; } }

/* ---------- Heading lines ---------- */
.split-line { display: block; overflow: clip; padding-bottom: 0.15em; margin-bottom: -0.15em; }
.split-line_in { display: block; transform: translateY(110%); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .split-line_in { transform: none; } }

/* ---------- Marquee ---------- */
@keyframes marquee-left { to { transform: translateX(calc(-100% - var(--marquee-step))); } }
@keyframes marquee-right { from { transform: translateX(calc(-100% - var(--marquee-step))); } to { transform: translateX(0); } }
/* Two copies inside one row: travel is half the row plus half the gap between the copies. */
@keyframes marquee-half-left { to { transform: translateX(calc(-50% - 6px)); } }
@keyframes marquee-half-right { from { transform: translateX(calc(-50% - 6px)); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .logos__row, .integrations__row { animation: none; } }

/* ---------- Card hovers (400ms, ease-out-quart) ---------- */
.card { transition: background-color 400ms var(--ease-out-quart), border-color 400ms var(--ease-out-quart), transform 400ms var(--ease-out-quart), box-shadow 400ms var(--ease-out-quart); }
.card .iconbox { transition: background-color 400ms var(--ease-out-quart), border-color 400ms var(--ease-out-quart); }
.card .iconbox img { transition: filter 400ms var(--ease-out-quart); }
.card__link img { transition: transform 400ms var(--ease-out-quart); }
.card:hover, .card:focus-within { background-color: var(--surface-soft-2); border-color: var(--primary); transform: none; box-shadow: none; }
.card:hover .iconbox:not(.iconbox--fill), .card:focus-within .iconbox:not(.iconbox--fill) { background-color: var(--primary); border-color: var(--primary); }
.card:hover .iconbox:not(.iconbox--fill) img, .card:focus-within .iconbox:not(.iconbox--fill) img { filter: brightness(0) invert(1); }
.card:hover .card__link img, .card:focus-within .card__link img { transform: translateX(150%) scale(1.5); }
.bento__card, .plan, .person { transition: transform 400ms var(--ease-out-quart), border-color 400ms var(--ease-out-quart), box-shadow 400ms var(--ease-out-quart); }
.bento__visual .mini { transition: transform 700ms var(--ease-out-quart); }
.bento__card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 18px 36px -12px rgba(0,82,255,.15); }
.bento__card:hover .mini { transform: scale(1.03); }
.plan:hover { transform: translateY(-4px); border-color: rgba(0,82,255,.45); box-shadow: 0 18px 36px -12px rgba(0,82,255,.15); }
.person:hover { border-color: var(--primary); }
.btn--primary { transition: background-color 400ms var(--ease-out-quart), transform .18s ease; }
@media (prefers-reduced-motion: reduce) {
  .card, .card .iconbox, .card__link img, .bento__card, .bento__visual .mini, .plan, .person { transition-duration: 0.01ms; }
  .card:hover .card__link img, .bento__card:hover, .bento__card:hover .mini, .plan:hover { transform: none; }
}

/* ---------- Small-screen menu (route shaped) ---------- */
.navmenu { position: fixed; inset: 0; z-index: 40; }
.navmenu[hidden] { display: none; }
.navmenu__surface { position: absolute; inset: 0; background: var(--surface-soft); transform-origin: 50% 0; transform: scaleY(0); }
.navmenu__inner { position: relative; height: 100%; overflow-y: auto; display: flex; flex-direction: column; padding: 76px 24px 24px; gap: 12px; }
.navmenu__head { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; opacity: 0; }
.navmenu__kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.navmenu__count { font-size: 14px; font-weight: 600; font-family: var(--font-num); color: var(--title); }
.navmenu__total { color: var(--muted); font-weight: 400; }
.navmenu__track { height: 3px; border-radius: 2px; background: #DDE4F2; overflow: hidden; opacity: 0; }
.navmenu__fill { display: block; height: 100%; width: 100%; background: var(--primary); transform-origin: 0 50%; transform: scaleX(0); }
.navmenu__list { display: flex; flex-direction: column; margin-top: 8px; }
.navmenu__row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--outline); font-size: 22px; font-weight: 600; color: var(--title); opacity: 0; position: relative; }
.navmenu__row:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 44px; bottom: -12px; border-left: 2px dashed #C9D6FB; }
.navmenu__stop { width: 24px; height: 24px; flex: none; }
.navmenu__stop svg { width: 24px; height: 24px; }
.navmenu__ring { fill: #fff; stroke: #C9D6FB; stroke-width: 1.5; }
.navmenu__row.is-current .navmenu__ring { fill: var(--primary); stroke: var(--primary); }
.navmenu__tick { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.navmenu__label { flex: 1; }
.navmenu__arrow { width: 18px; height: 18px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; opacity: 0; transform: translateX(-6px); transition: opacity 300ms var(--ease-out-quart), transform 300ms var(--ease-out-quart); }
.navmenu__row.is-current .navmenu__arrow, .navmenu__row:hover .navmenu__arrow, .navmenu__row:focus-visible .navmenu__arrow { opacity: 1; transform: none; }
.navmenu__foot { display: flex; gap: 10px; margin-top: auto; padding-top: 24px; opacity: 0; }
.navmenu__foot .btn { flex: 1; }
@media (min-width: 901px) { .navmenu { display: none !important; } }
