/* Inter Variable, self-hosted. Latin subset loads first; latin-ext only when
   a page actually uses those codepoints. size-adjust on the fallback keeps the
   layout from shifting when the real face swaps in. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Segoe UI'), local('Helvetica Neue'), local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --navy-950: #01051b;
  --navy-900: #041044;
  --navy-850: #071445;
  --navy-800: #0b1a52;
  --ink: #0b1530;
  --ink-2: #263554;
  --muted: #667085;
  --line: #dfe6f0;
  --line-dark: rgba(255,255,255,.12);
  --paper: #ffffff;
  --mist: #f5f7fc;
  --mist-2: #edf2fb;
  --violet: #6b2df8;
  --violet-2: #955ff6;
  --blue: #276cfa;
  --blue-2: #04a0fb;
  --cyan: #00c3fb;
  --cyan-2: #48dcff;
  --green: #20b486;
  --gradient: linear-gradient(112deg, #6b2df8 0%, #276cfa 52%, #00c3fb 100%);
  --gradient-deep: linear-gradient(135deg, #041044 0%, #241b89 50%, #087db9 100%);
  --shadow-sm: 0 12px 36px rgba(4, 16, 68, .09);
  --shadow-md: 0 30px 88px rgba(4, 16, 68, .16);
  --shadow-glow: 0 20px 60px rgba(39, 108, 250, .25);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1180px;
  --header-h: 78px;

  /* Type scale. One ratio, one place to change it.
     Line-height tightens as size grows: display type needs less leading than
     a three-line card title does. */
  --fs-display: clamp(2.6rem, 5.2vw, 4.5rem);   /* hero h1            */
  --fs-h2:      clamp(1.9rem, 2.9vw, 2.7rem);   /* section heading    */
  --fs-h3:      clamp(1.25rem, 1.5vw, 1.5rem);  /* card / block title */
  --fs-h4:      1.0625rem;                      /* sub-block title    */
  --fs-lead:    clamp(1.02rem, 1.1vw, 1.175rem);
  --fs-body:    1rem;
  --fs-sm:      .9rem;
  --fs-xs:      .8125rem;
  --fs-label:   .75rem;

  --lh-display: 1.06;
  --lh-heading: 1.18;
  --lh-title:   1.3;
  --lh-body:    1.62;

  /* Weights that exist as real instances in Inter Variable. */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   800;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, 'Inter Fallback', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(39, 108, 250, 0.16); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--navy-900);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), 860px); }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-dark { color: #fff; background: radial-gradient(circle at 85% 0, rgba(39,108,250,.16), transparent 32%), linear-gradient(145deg,var(--navy-950),var(--navy-900)); overflow: hidden; }
.section-dark > .container { position: relative; z-index: 1; }
.section-mist { background: radial-gradient(circle at 92% 8%, rgba(0,195,251,.08), transparent 26%), linear-gradient(145deg,#f8faff,var(--mist)); }
.section-line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #4d3ed3; font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { display: none; }
.section-dark .eyebrow { color: #b8c5df; }
.kicker { color: var(--violet); font-weight: 600; letter-spacing: -.01em; }

h1, h2, h3, h4 { margin: 0; color: inherit; font-weight: var(--fw-bold); overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.032em; }
h2 { font-size: var(--fs-h2);      line-height: var(--lh-heading); letter-spacing: -.022em; }
h3 { font-size: var(--fs-h3);      line-height: var(--lh-title);   letter-spacing: -.012em; }
h4 { font-size: var(--fs-h4);      line-height: var(--lh-title);   letter-spacing: -.008em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.58; color: #4d5b73; max-width: 68ch; }
.section-dark .lead { color: #bdc8de; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 62ch; }
.section-head.row { grid-template-columns: 1.15fr .85fr; max-width: none; align-items: end; }
.section-head.row .lead { justify-self: end; max-width: 520px; }

/* Homepage sections use one calm, centered editorial rhythm. This keeps the
   section labels compact and prevents long headings from drifting to one side. */
.home-page .section-head,
.home-page .section-head.row {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
  grid-template-columns: 1fr;
  align-items: center;
}
.home-page .section-head h2 { max-width: 800px; font-size: clamp(1.9rem, 3.2vw, 3.1rem); line-height: 1.12; }
.home-page .section-head .lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.home-page .section-head.row .lead { justify-self: auto; }
.home-page .section-head .eyebrow { margin-left: auto; margin-right: auto; }
.home-page .review-ready-card { flex-direction: column; text-align: center; align-items: center; }
.home-page .review-ready-card p { margin-left: auto; margin-right: auto; }
.home-page .review-ready-card .btn-row { justify-content: center; }
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: .94rem;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--gradient); box-shadow: 0 12px 30px rgba(75, 89, 246, .25); }
.btn-primary:hover { box-shadow: 0 18px 38px rgba(75, 89, 246, .32); }
.btn-dark { color: #fff; background: var(--navy-900); }
.btn-light { color: var(--navy-900); background: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); }
.btn-whatsapp { color: #fff; background: #159b68; border-color: rgba(255,255,255,.22); box-shadow: 0 12px 30px rgba(21,155,104,.22); }
.btn-whatsapp:hover { background: #11865a; box-shadow: 0 18px 38px rgba(21,155,104,.28); }
.btn-whatsapp img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }
.btn-outline { color: var(--navy-900); border-color: #ccd6e6; background: #fff; }
.btn-link { padding: 0; min-height: auto; border-radius: 0; color: var(--navy-900); }
.btn-link::after { content: "→"; transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  height: var(--header-h); position: relative; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(39,108,250,.12);
  transition: box-shadow .2s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo-frame { display: block; width: 210px; line-height: 0; background: transparent; }
.brand-logo-frame img { position: static; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.desktop-nav > a, .nav-service-trigger {
  font-size: .9rem; font-weight: 600; color: #2a3954; padding: 10px 0; position: relative;
}
.desktop-nav > a::after, .nav-service-trigger::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; border-radius: 99px; background: var(--gradient); transition: right .2s ease;
}
.desktop-nav > a:hover::after, .desktop-nav > a.active::after, .nav-services:hover .nav-service-trigger::after, .nav-services:focus-within .nav-service-trigger::after, .nav-services.mega-open .nav-service-trigger::after { right: 0; }
.desktop-nav > a.active { color: var(--navy-900); }
.header-cta { margin-left: 4px; padding-inline: 18px; border-radius: 13px; box-shadow: 0 12px 28px rgba(62,77,236,.24), inset 0 1px 0 rgba(255,255,255,.3); }
.header-cta span { font-size: .98rem; transition: transform .2s ease; }
.header-cta:hover span { transform: translate(2px,-2px); }
.desktop-nav > a, .nav-service-trigger, .header-cta { white-space: nowrap; }
.nav-services { position: static; }
.nav-service-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-service-trigger svg { width: 12px; transition: transform .2s ease; }
.nav-services:hover .nav-service-trigger svg, .nav-services:focus-within .nav-service-trigger svg, .nav-services.mega-open .nav-service-trigger svg { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(1160px, calc(100vw - 32px)); max-height: calc(100vh - var(--header-h) - 20px); overflow: auto; padding: 22px; border: 1px solid rgba(39,108,250,.16); border-radius: 22px; background: rgba(255,255,255,.985); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-services.mega-open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-group { display: flex; flex-direction: column; align-content: start; padding: 19px 17px; border: 1px solid #e3e9f3; border-radius: 17px; background: linear-gradient(150deg,#fff,#f7f9fe); }
.mega-group strong { display: flex; align-items: center; gap: 10px; min-height: 46px; margin-bottom: 8px; font-size: .76rem; line-height: 1.35; letter-spacing: .075em; text-transform: uppercase; color: #31415f; }
.mega-group-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: var(--gradient); box-shadow: 0 8px 20px rgba(39,108,250,.18); }
.mega-group-icon svg { width: 15px; height: 15px; }
.mega-group a { display: block; padding: 7px 4px 4px 40px; font-size: .82rem; line-height: 1.42; font-weight: 700; color: #394965; border-radius: 8px; }
.mega-group a:hover, .mega-group a:focus-visible { background: #f0f3fb; }
.mega-group a:hover, .mega-group a:focus-visible { color: var(--violet); }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--mist); color: var(--navy-900); }
.mobile-toggle span { display: block; width: 19px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 999px; transition: .2s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }
.mobile-nav-brand, .mobile-services { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(circle at 78% 18%, rgba(0,195,251,.2), transparent 24%),
    radial-gradient(circle at 68% 60%, rgba(107,45,248,.25), transparent 34%),
    linear-gradient(135deg, #01051b 0%, #041044 48%, #0b1a52 100%);
  padding: 92px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 88%);
}
.hero::after { content:""; position:absolute; width:640px; height:640px; right:-210px; bottom:-250px; background:url('/assets/brand/emblem-360.webp') center/contain no-repeat; opacity:.055; pointer-events:none; transform:rotate(-7deg); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-copy { max-width: 720px; min-width: 0; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .gradient-text { display: inline-block; }
.hero .lead { color: #c6d1e7; max-width: 670px; font-size: 1.16rem; }
.hero .btn-row { margin-top: 32px; }
.trust-strip { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.055); color: #d9e2f5; font-size: .78rem; font-weight: 700; }
.trust-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(32,180,134,.1); }
.hero-market-note { margin-top: 12px; color: #91a4c4; font-size: .76rem; font-weight: 600; }

.hero-visual { position: relative; min-width:0; min-height: 570px; padding: 46px 0; display: flex; align-items: center; justify-content: center; }
.visual-orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(83,87,255,.26), rgba(83,87,255,0) 66%); filter: blur(2px); }
.dashboard {
  width: min(100%, 476px); position: relative; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; padding: 16px; background: rgba(8,19,48,.78); box-shadow: 0 40px 90px rgba(0,0,0,.36); backdrop-filter: blur(18px); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 16px; }
.dash-brand { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: #eef4ff; }
.dash-brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.dash-pills { display: flex; gap: 5px; }
.dash-pills i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.dashboard-body { display: grid; grid-template-columns: 132px 1fr; gap: 12px; }
.dash-side { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.05); }
.dash-side span { display: block; padding: 8px 10px; margin-bottom: 6px; border-radius: 9px; font-size: .68rem; color: #9fb0cf; }
.dash-side span.active { color: #fff; background: linear-gradient(90deg, rgba(109,74,255,.35), rgba(18,200,244,.12)); }
.dash-main { display: grid; min-width:0; gap: 12px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric { min-height: 84px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.metric small { display: block; color: #93a5c3; font-size: .62rem; margin-bottom: 13px; }
.metric strong { font-size: .77rem; font-weight: 700; color: #eef4ff; }
.metric .bar { margin-top: 10px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.metric .bar::after { content: ""; display: block; height: 100%; width: var(--w,65%); border-radius: 99px; background: var(--gradient); }
.workflow-panel { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.workflow-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; color: #e9f1ff; font-size: .68rem; font-weight: 700; }
.workflow-title span:last-child { color: #9fb4d6; font-weight: 600; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; align-items: center; }
.flow-step { position: relative; padding: 10px 6px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.05); font-size: .58rem; color: #aebbd2; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); color: #5f7294; }
.floating-card { position: absolute; z-index: 3; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(13,28,63,.88); box-shadow: 0 24px 55px rgba(0,0,0,.26); backdrop-filter: blur(14px); color: #fff; }
.floating-card.a { right: 0; top: 0; width: 176px; padding: 14px; }
.floating-card.b { left: 0; bottom: 0; width: 190px; padding: 14px; }
.floating-card small { display: block; color: #91a5c7; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.floating-card strong { display: block; margin-top: 6px; font-size: .78rem; }
.floating-card .status { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; color: #bfeadf; font-size: .66rem; }
.floating-card .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ad39f; }
.floating-card.light-brand-card { width: 228px; display: flex; align-items: center; gap: 11px; color: var(--ink); background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.9); }
.floating-card.light-brand-card > img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; box-shadow: 0 8px 22px rgba(4,16,68,.13); }
.floating-card.light-brand-card small { color: #61708a; }
.floating-card.light-brand-card strong { color: var(--navy-900); }
.floating-card.light-brand-card .status { color: #26745f; }

/* General cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; border: 1px solid rgba(185,200,224,.55); border-radius: var(--radius); background: linear-gradient(155deg,#fff 0%,#fbfcff 100%); padding: 28px; box-shadow: 0 8px 28px rgba(4,16,68,.045), inset 0 1px 0 #fff; }
.card.soft { background: #f8fafd; }
.card.dark { color: #fff; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.1); }
.card.hover { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #cbd6e7; }
.card.dark.hover:hover { box-shadow: 0 20px 50px rgba(0,0,0,.2); border-color: rgba(255,255,255,.18); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(91,76,255,.18); margin-bottom: 22px; }
.icon-box svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { color: #66758d; }
.card.dark p { color: #bac7dd; }
.card .btn-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-self: flex-start; }

.pillar-card { position: relative; overflow: hidden; min-height: 350px; display: flex; flex-direction: column; }
.pillar-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -60px; top: -65px; background: radial-gradient(circle, rgba(18,200,244,.16), transparent 66%); }
.pillar-card .eyebrow { margin-bottom: 26px; }
.pillar-card h3 { font-size: 1.65rem; }
.pillar-card p { margin-top: 14px; }
.pillar-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.pillar-points span { padding: 7px 9px; border-radius: 999px; background: #f0f4fa; color: #45546d; font-size: .72rem; font-weight: 600; }
.pillar-card .btn-link { margin-top: auto; }

/* Software spotlight */
.software-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.software-copy { padding: 38px; border-radius: 28px; background: linear-gradient(145deg, #07122e, #0c214c); color: #fff; position: relative; overflow: hidden; }
.software-copy::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -130px; bottom: -130px; background: radial-gradient(circle, rgba(18,200,244,.22), transparent 64%); }
.software-copy h2 { margin-bottom: 20px; }
.software-copy p { color: #bdc9df; position: relative; z-index: 1; }
.software-copy blockquote { margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.13); font-size: 1.1rem; font-weight: 700; line-height: 1.4; position: relative; z-index: 1; }
.software-detail-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 24px 0 28px; }
.software-detail-list span { padding: 10px 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; background: rgba(255,255,255,.045); color: #d5e0f3; font-size: .76rem; font-weight: 700; }
.solution-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.solution-mini { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: .2s ease; }
.solution-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.solution-mini .num { color: var(--violet); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.solution-mini h3 { margin: 18px 0 12px; font-size: 1.18rem; }
.solution-mini p { color: #66758d; font-size: .9rem; }

/* Platform pills */
.logo-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-section { background: radial-gradient(circle at 10% 0,rgba(107,45,248,.08),transparent 30%),radial-gradient(circle at 95% 100%,rgba(0,195,251,.09),transparent 28%),#fff; }
.platform-cloud { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.logo-pill { min-width: 0; min-height: 60px; display: inline-flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid rgba(185,200,224,.6); border-radius: 15px; background: rgba(255,255,255,.9); color: #34425a; font-weight: 700; font-size: .84rem; box-shadow: 0 7px 22px rgba(4,16,68,.035); overflow-wrap:anywhere; }
.logo-pill::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gradient); }

/* Process */
.process-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.process-step { flex: 1 1 245px; max-width: calc(25% - 12px); }
.process-step { min-height: 230px; padding: 26px 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.process-step .n { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: var(--navy-900); font-size: .7rem; font-weight: 800; }
.process-step h3 { margin: 28px 0 12px; font-size: 1.12rem; }
.process-step p { font-size: .9rem; color: #637189; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 58px; border: 1px solid rgba(0,195,251,.14); border-radius: 30px; background: linear-gradient(125deg, #050c25 0%, #151b68 52%, #075f93 100%); color: #fff; box-shadow: 0 28px 80px rgba(4,16,68,.18); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 86% 30%, rgba(67,215,255,.2), transparent 28%), radial-gradient(circle at 60% 100%, rgba(120,65,255,.23), transparent 34%); pointer-events: none; }
.cta-band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 12px; }
.cta-band p { color: #bdc9df; max-width: 720px; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 72px; color: #fff; background: linear-gradient(135deg, #050b1c, #0a193c 66%, #102e5a); }
.page-hero::before { content:""; position:absolute; width:430px; height:430px; right:6%; bottom:-270px; background:url('/assets/brand/emblem-360.webp') center/contain no-repeat; opacity:.065; pointer-events:none; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -130px; top: -220px; background: radial-gradient(circle, rgba(18,200,244,.18), rgba(109,74,255,.08) 42%, transparent 67%); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; color: #9fb0cd; font-size: .77rem; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span.sep { opacity: .5; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.7rem, 5vw, 4.9rem); }
.page-hero .lead { margin-top: 22px; max-width: 760px; color: #c2cde2; }
.page-hero .btn-row { margin-top: 28px; }
.market-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.market-row span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.055); padding: 7px 10px; color: #c9d4e7; font-size: .74rem; font-weight: 600; }
.market-row span::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(32,180,134,.1); }
.market-note { margin-top: 12px; max-width: 760px; color: #91a4c4; font-size: .75rem; }

/* Service detail */
.service-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.service-intro .big-quote { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.14; letter-spacing: -.04em; font-weight: 700; color: var(--navy-900); }
.service-intro .copy { display: grid; gap: 20px; color: #5e6c83; font-size: 1.03rem; }
.capability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px; }
.capability { min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: #32425c; font-size: .87rem; font-weight: 600; }
.capability::before { content: "✓"; width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--gradient); font-size: .68rem; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.outcome { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.outcome h3 { margin-bottom: 10px; }
.outcome p { color: #66758d; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 86px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: #273853; }
.related-link:hover { border-color: #bfcce0; box-shadow: var(--shadow-sm); }
.related-link::after { content: "↗"; color: var(--violet); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-card { min-height: 188px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.industry-card .industry-icon { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, #f0ecff, #e7faff); margin-bottom: 24px; position: relative; }
.industry-card .industry-icon::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 4px; background: var(--gradient); top: 12px; left: 12px; }
.industry-card h3 { margin-bottom: 9px; font-size: 1.13rem; }
.industry-card p { color: #6b7890; font-size: .9rem; }

/* Portfolio */
.portfolio-card { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.portfolio-visual { min-height: 390px; background: linear-gradient(145deg, #07142f, #102c5b); padding: 36px; position: relative; overflow: hidden; }
.portfolio-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(18,200,244,.23), transparent 30%), radial-gradient(circle at 30% 80%, rgba(109,74,255,.26), transparent 35%); }
.portfolio-ui { position: relative; z-index: 1; height: 100%; min-height: 315px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(4,12,31,.64); padding: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.portfolio-ui .ui-top { height: 34px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 6px; }
.portfolio-ui .ui-top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.portfolio-ui .ui-body { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding-top: 14px; }
.portfolio-ui .ui-nav, .portfolio-ui .ui-panel { border-radius: 12px; background: rgba(255,255,255,.055); }
.portfolio-ui .ui-nav { min-height: 230px; }
.portfolio-ui .ui-panel { min-height: 230px; padding: 14px; }
.portfolio-ui .ui-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.portfolio-ui .ui-cards b { height: 54px; border-radius: 9px; display: block; background: rgba(255,255,255,.065); }
.portfolio-ui .ui-chart { height: 112px; margin-top: 10px; border-radius: 10px; background: linear-gradient(180deg, rgba(109,74,255,.16), rgba(18,200,244,.04)); position: relative; overflow: hidden; }
.portfolio-ui .ui-chart::after { content: ""; position: absolute; left: 10%; right: 8%; bottom: 24px; height: 2px; background: var(--gradient); transform: rotate(-7deg); box-shadow: 40px -15px 0 rgba(18,200,244,.5), 90px 2px 0 rgba(109,74,255,.6); }
.portfolio-copy { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.portfolio-copy .tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0 26px; }
.tag { padding: 6px 9px; border-radius: 999px; background: #eef3f9; color: #4d5c74; font-size: .72rem; font-weight: 600; }
.portfolio-copy p { color: #65738b; margin-top: 14px; }
.note-box { margin-top: 28px; padding: 18px; border-radius: 15px; background: #f8fafd; border: 1px solid var(--line); color: #52617a; font-size: .86rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { min-height: 320px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; }
.blog-card .category { color: var(--violet); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; }
.blog-card h3 { margin: 20px 0 13px; font-size: 1.35rem; }
.blog-card p { color: #65738b; font-size: .91rem; }
.blog-card .meta { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; align-items: center; color: #8a96a9; font-size: .74rem; }
.article { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.article-header { padding: 70px 0 46px; }
.article-header .category { color: var(--violet); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .76rem; }
.article-header h1 { margin: 16px 0 20px; font-size: clamp(2.5rem, 5vw, 4.6rem); color: var(--navy-900); }
.article-header .lead { max-width: 760px; }
.article-body { padding-bottom: 100px; }
.article-body h2 { font-size: 1.75rem; margin: 46px 0 14px; color: var(--navy-900); }
.article-body p { color: #526179; font-size: 1.04rem; line-height: 1.78; }
.article-note { margin: 38px 0; padding: 22px; border-left: 3px solid var(--violet); background: #f7f9fc; color: #46556e; }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-mark { min-height: 490px; border-radius: 28px; background: linear-gradient(145deg, #06112d, #0f2a58); display: grid; place-items: center; position: relative; overflow: hidden; }
.about-mark::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 40%, rgba(18,200,244,.18), transparent 28%), radial-gradient(circle at 35% 70%, rgba(109,74,255,.22), transparent 35%); }
.about-mark img { position: relative; z-index: 1; width: 58%; filter: drop-shadow(0 25px 50px rgba(0,0,0,.25)); }
.about-copy { display: grid; gap: 20px; }
.about-copy p { color: #5f6d83; }
.principles { display: grid; gap: 11px; margin-top: 12px; }
.principle { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.principle b { color: var(--navy-900); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.contact-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #07132f, #102b59); overflow: hidden; }
.contact-panel::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -130px; bottom: -130px; background: radial-gradient(circle, rgba(18,200,244,.2), transparent 65%); }
.contact-panel p { color: #bdc9dd; margin: 16px 0 28px; position: relative; z-index: 1; }
.contact-method { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); }
.contact-method span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); }
.contact-method span svg { width: 18px; height: 18px; }
.contact-method small { display: block; color: #8fa3c2; }
.contact-method strong { display: block; font-size: .9rem; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #34435b; font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d4deeb; border-radius: 12px; background: #fbfcfe; color: var(--ink); min-height: 48px; padding: 11px 13px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #7d67ff; box-shadow: 0 0 0 4px rgba(109,74,255,.09); }
.form-note { margin-top: 14px; color: #7b879a; font-size: .78rem; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #edf9f5; color: #19795c; font-size: .84rem; }
.form-status.show { display: block; }

/* Careers */
.career-empty { max-width: 780px; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.role-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.role-pills span { padding: 9px 11px; border-radius: 999px; background: #eef3f9; color: #46556d; font-size: .78rem; font-weight: 600; }

/* Footer */
.site-footer { position: relative; color: #fff; background: radial-gradient(circle at 92% 8%,rgba(0,195,251,.13),transparent 30%),linear-gradient(145deg,#01051b,#041044 66%,#09164a); overflow:hidden; }
.footer-top { position:relative; padding: 72px 0 54px; }
.footer-top::before { content:""; position:absolute; width:520px; height:520px; right:-170px; bottom:-250px; background:url('/assets/brand/emblem-360.webp') center/contain no-repeat; opacity:.045; pointer-events:none; }
.footer-top > .container { position:relative; z-index:1; }
.footer-brand { display: grid; grid-template-columns: 1fr; gap: 44px; margin-bottom: 48px; }
.footer-identity { display:flex; align-items:center; gap:26px; }
.footer-identity .brand-logo-frame {
  width: 228px;
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: none;
}
.footer-identity .brand-logo-frame img { width:100%; opacity:1; filter:none; }
.footer-identity p { color: #aebbd2; font-size: .9rem; max-width: 700px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px 28px; }
.footer-col h4 { color: #e6edfa; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; color: #98a7c1; padding: 5px 0; font-size: .83rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-contact a, .social-placeholder, .footer-worldwide { display: inline-flex; align-items: center; gap:8px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); color: #b9c6dc; font-size: .78rem; background:rgba(255,255,255,.025); }
.footer-contact svg { width:17px; height:17px; color:var(--cyan); }
.footer-contact img { width:17px; height:17px; }
.footer-contact a:hover { color:#fff; border-color:rgba(0,195,251,.3); background:rgba(0,195,251,.06); }
.social-placeholder { opacity: .65; cursor: default; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; color: #7787a3; font-size: .75rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* 404 */
.not-found { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 70px 0; background: var(--mist); }
.not-found-box { text-align: center; max-width: 650px; }
.not-found-box .code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -.07em; background: var(--gradient); color: transparent; -webkit-background-clip: text; background-clip: text; }
.not-found-box h1 { font-size: 2.2rem; margin: 14px 0; }
.not-found-box p { color: #65738b; margin-bottom: 24px; }

.whatsapp-fab { position:fixed; z-index:90; right:20px; bottom:20px; display:inline-flex; align-items:center; gap:9px; min-height:48px; padding:0 16px; border:1px solid rgba(255,255,255,.3); border-radius:999px; color:#fff; background:#159b68; box-shadow:0 18px 48px rgba(11,118,76,.28); font-size:.8rem; font-weight:700; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.whatsapp-fab img { width:21px; height:21px; object-fit:contain; filter:brightness(0) invert(1); }
.whatsapp-fab:hover { transform:translateY(-3px); background:#11865a; box-shadow:0 23px 58px rgba(11,118,76,.32); }
.portfolio-continuity { margin: 28px auto 0; max-width: 820px; color: #607087; text-align: center; font-weight: 700; }

.portfolio-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.portfolio-category { min-height:190px; padding:23px; border:1px solid rgba(185,200,224,.65); border-radius:19px; background:linear-gradient(150deg,#fff,#f8faff); }
.portfolio-category > span { width:42px; height:42px; display:grid; place-items:center; margin-bottom:30px; border-radius:12px; color:#fff; background:var(--gradient); box-shadow:0 10px 24px rgba(39,108,250,.18); }
.portfolio-category svg { width:20px; height:20px; }
.portfolio-category h3 { font-size:1.08rem; color:var(--navy-900); margin-bottom:9px; }
.portfolio-category p { color:#66758d; font-size:.84rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* === TajirNova UI refinement v2: icons, motion and contrast fixes === */
:focus-visible { outline: 3px solid rgba(18,200,244,.55); outline-offset: 3px; border-radius: 8px; }

.icon-box { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.icon-box-soft { color: var(--violet); background: linear-gradient(145deg,#f1edff,#e9faff); box-shadow: none; }
.icon-box-dark { color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.card.hover:hover .icon-box, .service-card:hover .icon-box, .feature-card:hover .icon-box { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 14px 34px rgba(91,76,255,.22); }

.pillar-top { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:20px; }
.pillar-top .eyebrow { margin:0; }
.pillar-top .icon-box { margin:0; flex:0 0 auto; }
.pillar-card { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(8,20,49,.11); }

.solution-mini { position:relative; overflow:hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.solution-mini::after { content:""; position:absolute; width:110px; height:110px; border-radius:50%; right:-55px; top:-55px; background:radial-gradient(circle,rgba(18,200,244,.13),transparent 68%); pointer-events:none; }
.solution-mini-top { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.mini-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; color:var(--violet); background:linear-gradient(145deg,#f0ecff,#e7faff); }
.mini-icon svg { width:19px; height:19px; }
.solution-mini h3 { margin-top:14px; }
.solution-mini:hover { transform:translateY(-5px); box-shadow:0 22px 50px rgba(8,20,49,.10); border-color:#cad6e8; }
.solution-mini:hover .mini-icon { color:#fff; background:var(--gradient); }

.logo-pill { transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.logo-pill::before { display:none; }
.logo-pill-icon { width:36px; height:36px; display:grid; place-items:center; flex:0 0 auto; border-radius:10px; color:var(--violet); background:#f4f6fb; border:1px solid #e7ebf3; }
.logo-pill-icon img { width:22px; height:22px; object-fit:contain; }
.logo-pill:hover { transform:translateY(-2px); border-color:#c7d2e5; box-shadow:var(--shadow-sm); }

.process-step { position:relative; overflow:hidden; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.process-step::after { content:""; position:absolute; height:3px; left:0; right:100%; bottom:0; background:var(--gradient); transition:right .3s ease; }
.process-step:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); border-color:#cad5e5; }
.process-step:hover::after { right:0; }
.process-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.process-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:var(--violet); background:#f0edff; }
.process-icon svg { width:18px; height:18px; }
.process-step h3 { margin-top:24px; }

/* Critical contrast fix: white industry cards inside dark sections must use dark text. */
.industry-card { color:var(--ink); position:relative; overflow:hidden; transition:transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.industry-card h3 { color:var(--navy-900); }
.section-dark .industry-card { color:var(--ink); border-color:rgba(255,255,255,.15); box-shadow:0 16px 38px rgba(0,0,0,.10); }
.section-dark .industry-card h3 { color:var(--navy-900); }
.industry-card .industry-icon { display:grid; place-items:center; color:var(--violet); transition:transform .28s ease, color .28s ease, background .28s ease; }
.industry-card .industry-icon::after { display:none; }
.industry-card .industry-icon svg { width:20px; height:20px; }
.industry-card::after { content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--gradient); transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.industry-card:hover { transform:translateY(-5px); box-shadow:0 24px 56px rgba(8,20,49,.12); border-color:#c5d2e5; }
.industry-card:hover::after { transform:scaleX(1); }
.industry-card:hover .industry-icon { transform:translateY(-2px) rotate(-3deg); color:#fff; background:var(--gradient); }
.industry-card:nth-child(3n+2) .industry-icon { color:var(--blue); background:#eaf1ff; }
.industry-card:nth-child(3n+3) .industry-icon { color:#008bb8; background:#e7faff; }

.feature-card { position:relative; overflow:hidden; }
.feature-card::after { content:""; position:absolute; width:120px; height:120px; border-radius:50%; right:-65px; bottom:-65px; background:radial-gradient(circle,rgba(109,74,255,.12),transparent 70%); pointer-events:none; }
.market-card { min-height:220px; }

.capability, .outcome, .related-link { transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.capability:hover, .outcome:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:#c8d4e6; }
.capability::before { transition:transform .2s ease; }
.capability:hover::before { transform:scale(1.08) rotate(-5deg); }

/* Scroll reveal with lightweight stagger timing. */
.reveal { opacity:0; transform:translateY(22px) scale(.985); transition:opacity .62s cubic-bezier(.2,.8,.2,1), transform .62s cubic-bezier(.2,.8,.2,1); transition-delay:var(--reveal-delay,0ms); }
.reveal.visible { opacity:1; transform:none; }

/* Premium ambient hero motion — uses translate so existing dashboard perspective stays intact. */
.dashboard { animation:dashboardFloat 7s ease-in-out infinite; }
.floating-card.a { animation:floatCard 5.8s ease-in-out infinite .2s; }
.floating-card.b { animation:floatCard 6.6s ease-in-out infinite 1s; }
.visual-orb { animation:orbPulse 7s ease-in-out infinite; }
.page-hero::after { animation:heroGlow 9s ease-in-out infinite; }
.hero .gradient-text { background-size:180% 180%; animation:gradientShift 6s ease-in-out infinite; }
.metric .bar::after { transform-origin:left; animation:barGrow 1.1s .35s both cubic-bezier(.2,.8,.2,1); }

@keyframes dashboardFloat { 0%,100%{translate:0 0} 50%{translate:0 -9px} }
@keyframes floatCard { 0%,100%{translate:0 0} 50%{translate:0 -8px} }
@keyframes orbPulse { 0%,100%{scale:1; opacity:.78} 50%{scale:1.08; opacity:1} }
@keyframes heroGlow { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(-24px,18px,0)} }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes barGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

/* Mobile polish */
@media (max-width: 640px) {
  .industry-card { min-height:165px; }
  .industry-card .industry-icon { margin-bottom:18px; }
  .pillar-top { align-items:flex-start; }
  .logo-pill { min-height:44px; padding:0 12px; font-size:.82rem; }
  .process-top { align-items:flex-start; }
}


/* Stable hover corridor between Services trigger and mega menu. */
.nav-service-trigger::before { content:""; position:absolute; left:0; right:0; top:calc(100% - 2px); height:22px; }
.mega-menu::before { content:""; position:absolute; left:0; right:0; top:-14px; height:14px; }
.mega-group { min-width:0; }

/* Product extension cards */
.product-extension-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.product-extension { display:flex; flex-direction:column; min-height:100%; padding:26px; border:1px solid var(--line); border-radius:20px; background:#fff; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-extension:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); border-color:#c9d4e5; }
.product-extension .icon-box { margin-bottom:20px; }
.product-extension h3 { margin-bottom:10px; color:var(--navy-900); }
.product-extension p { color:#65738a; }
.product-extension .tag-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.product-extension .tag-row span { padding:7px 10px; border-radius:999px; background:#f2f5fa; color:#41516d; font-size:.76rem; font-weight:600; }
.product-extension .btn-link { align-self:flex-start; margin-top:auto; padding-top:22px; }
.icon-box-whatsapp { background: #eaf8f1; color: #159b68; box-shadow: none; }
.icon-box-whatsapp img { width: 25px; height: 25px; }

/* Testimonials remain absent in production until verified feedback is configured. */
.testimonial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.testimonial-card { padding:28px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 12px 32px rgba(4,16,68,.06); }
.testimonial-stars { color:#f0a52a; letter-spacing:.12em; }
.testimonial-card blockquote { margin:18px 0 24px; color:#44536b; font-size:1rem; line-height:1.68; }
.testimonial-card footer { display:grid; gap:4px; }
.testimonial-card footer strong { color:var(--navy-900); }
.testimonial-card footer span { color:#77859b; font-size:.8rem; }
.testimonial-card { position:relative; }
.demo-data-badge { position:absolute; top:16px; right:16px; padding:6px 9px; border-radius:999px; color:#5b43e8; background:#f0ecff; font-size:.64rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.testimonial-avatar { width:48px; height:48px; margin-bottom:16px; border-radius:50%; object-fit:cover; }
.testimonial-demo { background:#fffaf0; }
.availability-dot { display:inline-block; width:8px; height:8px; margin-right:9px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(32,180,134,.11); vertical-align:middle; }

/* Service packages */
.pricing-section { scroll-margin-top:calc(var(--header-h) + 20px); overflow:hidden; }
.package-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:stretch; }
.package-card { position:relative; display:flex; flex-direction:column; min-width:0; min-height:100%; padding:28px; border:1px solid var(--line); border-radius:26px; background:#fff; box-shadow:0 12px 34px rgba(8,20,49,.055); transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease; overflow:hidden; }
.package-card::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,#6d4aff,#12c8f4); opacity:.2; }
.package-card:hover { transform:translateY(-6px); border-color:#bfcae0; box-shadow:0 26px 60px rgba(8,20,49,.12); }
.package-card.featured { border-color:rgba(109,74,255,.48); box-shadow:0 24px 60px rgba(72,57,196,.13); }
.package-card.featured::before { opacity:1; }
.package-card.custom-package { background:linear-gradient(155deg,#ffffff,#f6f3ff); border-color:#cfc4ff; }
.package-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:20px; }
.package-badge { align-self:flex-start; padding:7px 10px; border-radius:999px; color:#5b43e8; background:#f0ecff; font-size:.66rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.package-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 auto; border-radius:12px; color:#fff; background:var(--gradient); box-shadow:0 10px 24px rgba(73,78,237,.2); }
.package-icon svg { width:19px; height:19px; }
.package-card h3 { min-height:2.2em; font-size:1.38rem; color:var(--navy-900); }
.package-best { min-height:5.2em; margin-top:12px; color:#66758c; font-size:.84rem; line-height:1.5; }
.package-best strong { color:#34435b; }
.package-price { display:grid; align-content:start; min-height:82px; margin:22px 0 18px; color:var(--navy-900); }
.package-price span { font-size:1.22rem; line-height:1.25; font-weight:800; letter-spacing:-.025em; }
.package-price small { margin-top:5px; color:#6b7890; font-size:.76rem; font-weight:700; }
.package-list { display:grid; gap:11px; margin:0 0 22px; padding:0; list-style:none; }
.package-list li { display:grid; grid-template-columns:20px 1fr; gap:10px; color:#4f5f78; font-size:.91rem; line-height:1.45; }
.package-list li::before { content:"✓"; width:20px; height:20px; display:grid; place-items:center; border-radius:6px; color:#fff; background:linear-gradient(145deg,#6d4aff,#12c8f4); font-size:.7rem; font-weight:800; }
.package-details { margin:-2px 0 20px; border-top:1px solid #e6ebf3; border-bottom:1px solid #e6ebf3; }
.package-details summary { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 0; color:#4e40cf; font-size:.82rem; font-weight:800; cursor:pointer; list-style:none; }
.package-details summary::-webkit-details-marker { display:none; }
.package-details summary::after { content:"+"; font-size:1.1rem; }
.package-details[open] summary::after { content:"−"; }
.package-details .package-list { padding:2px 0 16px; margin:0; }
.package-note { margin-top:auto; padding-top:4px; color:#6b7890; font-size:.82rem; line-height:1.5; }
.package-card .btn { margin-top:22px; width:100%; }
.package-card .package-details + .btn, .package-card .package-list + .btn { margin-top:auto; }
.package-disclaimer { max-width:1020px; margin:26px auto 0; padding:17px 20px; border:1px solid #dce4ef; border-radius:16px; background:rgba(248,250,253,.9); color:#607087; text-align:center; font-size:.84rem; line-height:1.6; }
.package-disclaimer strong { color:#34435b; }
.package-disclaimer span { display:inline; }

.custom-scope-section { padding:76px 0; color:#fff; background:radial-gradient(circle at 84% 10%,rgba(0,195,251,.2),transparent 30%),linear-gradient(135deg,var(--navy-950),#11145f 55%,#064970); }
.custom-scope-panel { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:26px; align-items:center; }
.custom-scope-panel .eyebrow { color:#c7d4ef; margin-bottom:12px; }
.custom-scope-panel h2 { font-size:clamp(1.8rem,3vw,2.8rem); }
.custom-scope-panel p { max-width:760px; margin-top:12px; color:#c3cee3; }
.custom-scope-icon { display:grid; place-items:center; width:62px; height:62px; border-radius:20px; background:var(--gradient); box-shadow:var(--shadow-glow); }
.custom-scope-icon svg { width:30px; height:30px; }

.commerce-ecosystem-section { background:linear-gradient(180deg,#fff,#f4f7ff); }
.commerce-ecosystem-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.ecosystem-card { display:flex; flex-direction:column; padding:34px; border:1px solid #d9e2f0; border-radius:28px; background:#fff; box-shadow:var(--shadow-sm); }
.ecosystem-card-dark { color:#fff; border-color:rgba(255,255,255,.12); background:radial-gradient(circle at 90% 0,rgba(0,195,251,.18),transparent 34%),linear-gradient(145deg,var(--navy-950),var(--navy-800)); box-shadow:var(--shadow-md); }
.ecosystem-card .eyebrow { margin:22px 0 12px; }
.ecosystem-card-dark .eyebrow { color:#b9c7e1; }
.ecosystem-card h3 { font-size:clamp(1.7rem,2.8vw,2.35rem); color:var(--navy-900); }
.ecosystem-card-dark h3 { color:#fff; }
.ecosystem-card > p { margin-top:14px; color:#5c6b82; }
.ecosystem-card-dark > p { color:#c4cfe3; }
.ecosystem-card .tag-row { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0; }
.ecosystem-card .tag-row span { padding:7px 10px; border-radius:999px; color:#41516d; background:#eef3fa; font-size:.73rem; font-weight:700; }
.ecosystem-card-dark .tag-row span { color:#dce8ff; background:rgba(255,255,255,.08); }
.ecosystem-note { margin-top:auto; padding:15px 16px; border-radius:15px; color:#596980; background:#f6f8fc; font-size:.82rem; line-height:1.55; }
.ecosystem-card-dark .ecosystem-note { color:#c7d3e9; background:rgba(255,255,255,.07); }
.ecosystem-card .btn { align-self:flex-start; margin-top:22px; }

.form-prefill-note { margin-bottom:24px; padding:15px 17px; border:1px solid #cfc4ff; border-radius:15px; color:#4d3ed3; background:#f5f2ff; font-size:.88rem; }
.package-help { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px; margin-top:22px; color:#5a6880; font-size:.92rem; }
.section-dark .package-help { color:#c3cfe6; }
.field.is-hidden { display: none; }
.package-selection input[readonly] { color:#251b78; border-color:#cfc4ff; background:#f7f5ff; font-weight:700; }
.online-only-note { margin-top:18px; padding:14px 16px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:rgba(255,255,255,.07); color:#dce7fb; font-size:.88rem; line-height:1.55; }

/* Responsive */
@media (max-width: 1080px) {
  .brand-logo-frame { width:190px; }
  .desktop-nav { gap: 13px; }
  .desktop-nav > a, .nav-service-trigger { font-size: .84rem; }
  .header-cta { padding-inline: 13px; font-size: .84rem; }
  .header-cta span { display: none; }
  .process-step { max-width: calc(33.333% - 11px); }
  .product-extension-grid { grid-template-columns: repeat(2,1fr); }
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: inline-block; }
  .mobile-nav { position: fixed; z-index: 99; top: var(--header-h); left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow: auto; overscroll-behavior:contain; padding: 16px 20px 26px; border-bottom: 1px solid rgba(255,255,255,.1); background:radial-gradient(circle at 100% 0,rgba(0,195,251,.14),transparent 30%),linear-gradient(145deg,#01051b,#071445); box-shadow: var(--shadow-md); transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .24s ease,opacity .24s ease; display: block; }
  .mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a { display: flex; min-height: 46px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); color: #dbe5f7; font-weight: 600; }
  .mobile-nav .mobile-cta { margin-top: 14px; justify-content: center; border-bottom: 0; color: #fff; }
  .mobile-nav-brand { display:flex; align-items:center; gap:12px; padding:0 0 14px; margin-bottom:4px; border-bottom:1px solid rgba(255,255,255,.1); }
  .mobile-nav-brand img { width:42px; height:42px; border-radius:11px; }
  .mobile-nav-brand strong,.mobile-nav-brand small { display:block; }
  .mobile-nav-brand strong { color:#fff; }
  .mobile-nav-brand small { color:#93a6c8; font-size:.68rem; }
  .mobile-services { display:block; color:#fff; border-bottom:1px solid rgba(255,255,255,.08); }
  .mobile-services > summary { display:flex; min-height:48px; align-items:center; justify-content:space-between; color:#fff; font-weight:700; cursor:pointer; list-style:none; }
  .mobile-services > summary::-webkit-details-marker { display:none; }
  .mobile-services > summary span { color:var(--cyan); font-size:1.4rem; transition:transform .2s ease; }
  .mobile-services[open] > summary span { transform:rotate(45deg); }
  .mobile-services-panel { padding:0 0 10px 12px; }
  .mobile-services-panel .mobile-all-services { color:#fff; }
  .mobile-service-group { display:block; padding:0; border-bottom:1px solid rgba(255,255,255,.055); }
  .mobile-service-group > summary { display:flex; min-height:42px; align-items:center; justify-content:space-between; color:#83dfff; font-size:.68rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; cursor:pointer; list-style:none; }
  .mobile-service-group > summary::-webkit-details-marker { display:none; }
  .mobile-service-group > summary span { color:var(--cyan); font-size:1.15rem; transition:transform .2s ease; }
  .mobile-service-group[open] > summary span { transform:rotate(45deg); }
  .mobile-service-group a { min-height:38px; color:#aebbd2; font-size:.78rem; border-bottom-color:rgba(255,255,255,.055); }
  .hero { padding: 76px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { min-height: 500px; }
  .dashboard { max-width: 540px; transform: none; }
  .floating-card.a { right: 2%; }
  .floating-card.b { left: 2%; }
  .section { padding: 82px 0; }
  .section-head.row { grid-template-columns: 1fr; }
  .section-head.row .lead { justify-self: start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .software-showcase, .service-intro, .about-split, .contact-layout { grid-template-columns: 1fr; }
  .package-grid, .product-extension-grid, .testimonial-grid { grid-template-columns:1fr 1fr; }
  .contact-panel { position: relative; top: auto; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .platform-cloud { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .portfolio-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .custom-scope-panel { grid-template-columns:auto minmax(0,1fr); }
  .custom-scope-panel .btn { grid-column:1 / -1; justify-self:start; }
  .commerce-ecosystem-grid { grid-template-columns:1fr; }
}

@media (max-width: 640px) {
  .container, .container.narrow { width: min(calc(100% - 28px), var(--max)); }
  .brand-logo-frame { width:174px; }
  h2 { letter-spacing: -.018em; }
  .hero { padding-top: 60px; }
  .hero .lead { font-size: 1rem; }
  .hero-visual { min-height: 410px; padding: 34px 0; }
  .dashboard { padding: 12px; border-radius: 20px; }
  .dashboard-body { grid-template-columns: 88px 1fr; gap: 8px; }
  .dash-side { padding: 8px; }
  .dash-side span { padding: 7px 5px; font-size: .55rem; }
  .dash-metrics { gap: 5px; }
  .metric { min-height: 70px; padding: 8px; }
  .metric small { font-size: .51rem; margin-bottom: 8px; }
  .metric strong { font-size: .6rem; }
  .workflow-panel { padding: 10px; }
  .flow-step { font-size: .48rem; padding: 8px 2px; }
  .hero .btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
  .hero .btn-row .btn { width: 100%; }
  .floating-card.a { width: 148px; top: 0; right: 0; }
  .floating-card.b { width: 158px; bottom: 0; left: 0; }
  .floating-card.light-brand-card { width:176px; }
  .floating-card.light-brand-card > img { width:34px; height:34px; }
  .grid-2, .grid-3, .grid-4, .solution-stack, .outcome-grid, .industry-grid, .blog-grid, .package-grid, .product-extension-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .process-step { max-width: calc(50% - 8px); }
  .capability-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-sm { padding: 54px 0; }
  .section-head { margin-bottom: 34px; }
  .card, .software-copy, .contact-form, .contact-panel { padding: 22px; }
  .page-hero { padding: 60px 0 54px; }
  .portfolio-visual { padding: 18px; min-height: 320px; }
  .portfolio-copy { padding: 28px 22px; }
  .cta-band { padding: 30px 22px; border-radius: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-top { padding-top: 58px; }
  .footer-identity { align-items:flex-start; flex-direction:column; gap:18px; }
  .footer-identity .brand-logo-frame { width:220px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .platform-cloud { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .logo-pill { min-height:58px; padding:0 12px; font-size:.77rem; }
  .portfolio-category-grid { grid-template-columns:1fr; }
  .whatsapp-fab { right:14px; bottom:14px; min-width:48px; padding:0 13px; }
  .whatsapp-fab span { display:none; }
  .package-card { padding:24px; }
  .package-card h3, .package-best, .package-price { min-height:auto; }
  .package-price { margin:18px 0; }
  .custom-scope-panel { grid-template-columns:1fr; }
  .custom-scope-panel .btn { grid-column:auto; width:100%; }
  .ecosystem-card { padding:26px 22px; }
}

@media (max-width: 390px) {
  .brand-logo-frame { width:158px; }
  .platform-cloud { grid-template-columns:1fr; }
  .footer-links { grid-template-columns:1fr; }
  .process-step { max-width: 100%; }
  .floating-card.light-brand-card { width:176px; }
  .eyebrow { max-width:100%; line-height:1.45; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   PRODUCT SYSTEM
   Components for the four software product pages, the products index and the
   homepage showcase. Uses the existing tokens — no new colours introduced
   except the per-product accents, which tint the card edge only.
   ========================================================================= */

/* --- Products menu (header) --------------------------------------------- */
.product-menu { width: min(560px, calc(100vw - 32px)); display: grid; gap: 4px; padding: 14px; }
.product-menu > a {
  display: flex; align-items: center; gap: 13px; padding: 11px 12px;
  border-radius: 13px; transition: background .18s ease;
}
.product-menu > a:hover, .product-menu > a:focus-visible { background: #f0f3fb; }
.product-menu-icon {
  width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 11px; color: #fff; background: var(--gradient);
  box-shadow: 0 8px 20px rgba(39,108,250,.18);
}
.product-menu-icon svg { width: 19px; height: 19px; }
.product-menu > a strong { display: block; font-size: .9rem; color: var(--navy-900); }
.product-menu > a small { display: block; margin-top: 1px; font-size: .76rem; color: var(--muted); }
.product-menu-all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px; padding: 12px; border-top: 1px solid var(--line);
  font-size: .84rem; font-weight: 700; color: var(--violet);
}

/* --- Screenshot frame ---------------------------------------------------- */
.shot { margin: 0; min-width: 0; }
.shot-frame {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(4,16,68,.10);
  box-shadow: 0 30px 70px rgba(4,16,68,.16);
}
.shot-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #f2f4f9; border-bottom: 1px solid rgba(4,16,68,.07);
}
.shot-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d3d9e6; flex: 0 0 auto; }
.shot-url {
  margin-left: 12px; padding: 3px 14px; border-radius: 99px;
  background: #fff; border: 1px solid rgba(4,16,68,.08);
  font-size: .68rem; color: #7b879e; letter-spacing: .01em;
}
.shot-body { position: relative; background: #fbfcfe; }
.shot-body img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; }
/* --muted is a light-ground value; on the navy hero and dark bands it drops
   below AA, so lift it where the surface is dark. */
.product-hero .shot figcaption,
.section-dark .shot figcaption,
.section-dark .shot-mobile figcaption { color: #b7c4dc; }

/* Placeholder — describes the shot that belongs here rather than faking one. */
.shot-placeholder {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 7px; text-align: center;
  padding: 26px 22px;
  background:
    repeating-linear-gradient(135deg, rgba(107,45,248,.04) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #f7f9ff, #eef2fb);
}
.shot-placeholder-icon { color: var(--violet); opacity: .5; }
.shot-placeholder-icon svg { width: 30px; height: 30px; }
.shot-placeholder strong { font-size: .96rem; color: var(--navy-900); }
.shot-placeholder .shot-spec { font-size: .78rem; color: #5d6b85; max-width: 42ch; line-height: 1.5; }
.shot-placeholder .shot-size {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet); font-weight: 700;
}
.shot-placeholder .shot-spec {
  display: block;
  max-width: 34ch;
  color: #687792;
  font-size: .74rem;
  line-height: 1.45;
}
.shot-placeholder-sm { aspect-ratio: 9 / 16; padding: 20px 14px; }
.shot-placeholder-sm strong { font-size: .82rem; }
.shot-placeholder-sm .shot-spec { font-size: .7rem; }

.shot-dark .shot-frame { border-color: rgba(255,255,255,.14); box-shadow: 0 30px 70px rgba(0,0,0,.34); }
.shot-card .shot-frame { border-radius: 12px; box-shadow: 0 14px 34px rgba(4,16,68,.10); }
.shot-card .shot-chrome { padding: 7px 10px; }
.shot-card .shot-chrome i { width: 6px; height: 6px; }
.shot-card .shot-url { display: none; }
.shot-card .shot-placeholder { gap: 5px; padding: 18px 14px; }
.shot-card .shot-placeholder strong { font-size: .82rem; }
.shot-card .shot-placeholder .shot-spec { display: none; }

/* --- Mobile frame -------------------------------------------------------- */
.shot-mobile { margin: 0; display: flex; flex-direction: column; align-items: center; }
.phone-frame {
  width: 268px; max-width: 100%; padding: 11px; border-radius: 34px;
  background: linear-gradient(160deg, #1d2540, #0b1128);
  box-shadow: 0 34px 70px rgba(4,16,68,.30);
}
.phone-body { border-radius: 24px; overflow: hidden; background: #fff; }
.phone-body img { display: block; width: 100%; height: auto; }
.shot-mobile figcaption { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.shot-mobile .shot-placeholder { min-height: 320px; }

/* --- Product hero -------------------------------------------------------- */
.product-hero {
  position: relative; padding: 46px 0 78px; color: #fff; overflow: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(0,195,251,.20), transparent 42%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 55%, #1b1f6e 100%);
}
.product-hero .breadcrumbs, .product-hero .breadcrumbs a { color: #9fb0d2; }
.product-hero .eyebrow { color: #9ad9ff; }
.product-hero .lead { color: #c3d0e8; }
.product-hero-inner {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px;
  align-items: center; margin-top: 22px;
}
.product-hero-inner.no-product-media {
  grid-template-columns: minmax(0, 900px);
}
.product-hero-copy h1 { margin-bottom: 18px; }
.product-hero-copy .lead { margin-bottom: 26px; }

/* --- Proof strip --------------------------------------------------------- */
.proof-strip { border-bottom: 1px solid var(--line); background: #fff; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 26px 20px 26px 0; }
.proof-item + .proof-item { padding-left: 24px; border-left: 1px solid var(--line); }
.proof-item strong {
  display: block; font-size: 1.9rem; line-height: 1;
  letter-spacing: -.03em; color: var(--navy-900); margin-bottom: 7px;
}
.proof-item span { font-size: .84rem; color: var(--muted); line-height: 1.45; }

/* --- Problem section ----------------------------------------------------- */
.problem-section .eyebrow { color: #c0392b; }
.problem-copy { margin-top: 20px; display: grid; gap: 15px; }
.problem-copy p { color: #4d5b73; font-size: 1.04rem; }

/* --- Differentiator ------------------------------------------------------ */
.differentiator-grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center;
}
.differentiator-grid.no-product-media {
  grid-template-columns: minmax(0, 880px);
}
.differentiator-copy .lead { margin-bottom: 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-list li {
  position: relative; padding-left: 30px; color: #c9d5ea; font-size: .95rem; line-height: 1.55;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .38em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--gradient) center/9px 9px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center/10px 10px no-repeat;
}

/* --- Feature rows -------------------------------------------------------- */
.feature-rows { display: grid; gap: 62px; }
.feature-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.feature-row.reversed .feature-copy { order: 2; }
/* The visual is the first grid item on a reversed row, so the column ratio has
   to flip too — otherwise the visual lands in the narrower track and drops
   below the width where it keeps its sidebar. */
.feature-row.reversed { grid-template-columns: 1.05fr 1fr; }
.feature-row.no-product-media,
.feature-row.no-product-media.reversed {
  grid-template-columns: minmax(0, 900px);
}
.feature-row.no-product-media .feature-copy { max-width: 860px; }
.feature-copy h3 { margin-bottom: 13px; font-size: 1.42rem; }
.feature-copy p { color: #55637c; font-size: 1rem; }

/* --- Module groups ------------------------------------------------------- */
.module-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.module-group {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.module-group h3 {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 15px;
}
.module-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.module-chips span {
  padding: 6px 11px; border-radius: 9px; background: #f4f6fc;
  border: 1px solid #e6ebf6; font-size: .79rem; color: #45536e; font-weight: 600;
}

/* --- Mobile split -------------------------------------------------------- */
.mobile-split { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.mobile-split.no-product-media { grid-template-columns: minmax(0, 820px); }

/* --- FAQ ----------------------------------------------------------------- */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--violet); font-size: 1.35rem; transition: transform .2s ease; flex: 0 0 auto; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: #55637c; font-size: .95rem; max-width: 72ch; }

/* --- Product cards ------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.product-grid-index { gap: 30px; }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  box-shadow: 0 8px 28px rgba(4,16,68,.05);
  transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s ease, border-color .26s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 26px 58px rgba(8,20,49,.12); border-color: #cbd6e7; }
.product-card.no-product-media .product-card-body { padding-top: 30px; }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.product-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-card-icon {
  width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 12px; color: #fff; background: var(--gradient);
}
.product-card-icon svg { width: 20px; height: 20px; }
.product-card-head strong { display: block; font-size: .95rem; color: var(--navy-900); }
.product-card-head small { display: block; font-size: .78rem; color: var(--muted); margin-top: 1px; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 11px; }
.product-card p { color: #66758d; font-size: .93rem; margin-bottom: 15px; }
/* .tag-row was only ever styled inside .product-extension and .ecosystem-card.
   Now that product cards use it too, promote it to a base component; the two
   existing scoped rules still win where they set their own values. */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span {
  padding: 6px 11px; border-radius: 999px; background: #f2f5fa;
  color: #41516d; font-size: .76rem; font-weight: 600;
}
.product-card .tag-row { margin-bottom: 16px; }
.product-card .btn-link { margin-top: auto; align-self: flex-start; }

.product-card.accent-emerald { border-top: 3px solid #1a9c6e; }
.product-card.accent-green   { border-top: 3px solid #23a55a; }
.product-card.accent-teal    { border-top: 3px solid #12a4b8; }
.product-card.accent-violet  { border-top: 3px solid var(--violet); }

/* --- Comparison ---------------------------------------------------------- */
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.comparison-item {
  padding: 26px 24px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.05);
}
.comparison-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 17px;
  border-radius: 13px; color: #fff; background: var(--gradient);
}
.comparison-icon svg { width: 21px; height: 21px; }
.comparison-item h3 { font-size: 1.08rem; margin-bottom: 9px; color: #fff; }
.comparison-item p { color: #bdc8de; font-size: .9rem; }

/* --- Capability funnel panel --------------------------------------------- */
.funnel-panel {
  padding: 40px; border-radius: var(--radius-lg); text-align: center;
  border: 1px solid var(--line); background: linear-gradient(160deg,#fff,#f7f9ff);
  box-shadow: var(--shadow-sm);
}
.funnel-icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; color: #fff; background: var(--gradient);
}
.funnel-icon svg { width: 26px; height: 26px; }
.funnel-panel .eyebrow { justify-content: center; }
.funnel-panel .lead { margin: 14px auto 26px; }
.funnel-panel .btn-row { justify-content: center; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .product-menu { width: min(500px, calc(100vw - 32px)); }
}
@media (max-width: 1180px) {
  .product-hero-inner,
  .differentiator-grid,
  .feature-row,
  .feature-row.reversed { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.reversed .feature-copy { order: 0; }
}
@media (max-width: 900px) {
  .mobile-split { grid-template-columns: 1fr; gap: 34px; }
  .proof-row { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { padding-left: 0; border-left: none; }
  .product-grid { grid-template-columns: 1fr; }
  .mobile-split { justify-items: center; }
}
@media (max-width: 640px) {
  .product-hero { padding: 34px 0 56px; }
  .proof-item strong { font-size: 1.55rem; }
  .module-group { padding: 20px; }
  .funnel-panel { padding: 28px 22px; }
  .feature-rows { gap: 44px; }
  .phone-frame { width: 232px; }
}

/* ===========================================================================
   PRODUCT INTERFACE VISUALS
   Renderings of the real software, drawn as markup rather than captured as
   bitmaps: text stays crisp at any size, secondary detail can be shed on
   narrow containers, and no client data or third-party branding can leak.

   The whole visual scales from one root font-size in `cqw`, so a single
   definition serves the hero, the feature rows and the phone frame. Every
   dimension below is `em` against that root.
   ========================================================================= */

.shot-ui {
  container-type: inline-size;
  background: #eff2f7;
  overflow: hidden;
}

.mock {
  --a: #0e7350;                 /* product accent              */
  --a2: #14a172;                /* accent, lighter             */
  --ink: #0b1220;
  --mid: #414d64;
  --dim: #78849a;
  --line: #e4e9f1;
  --line2: #eef1f6;
  --card: #fff;
  --bg: #f4f6fa;
  --nav: #0d1424;               /* sidebar ground              */
  --nav2: #131c30;
  --navdim: #7d89a0;
  --pos: #0e9a62;
  --neg: #d4453f;
  --warn: #bf7c14;
  --info: #2c66d4;
  --r: 0.7em;
  --sh: 0 1px 1px rgba(11,18,32,.04), 0 8px 20px -14px rgba(11,18,32,.28);
  display: grid;
  grid-template-columns: 12.2em 1fr;
  font-size: 1.46cqw;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.mock-emerald { --a: #0e7350; --a2: #14a172; }
.mock-green   { --a: #15804a; --a2: #1fa85e; }
.mock-teal    { --a: #0a7891; --a2: #109fbb; }
.mock-violet  { --a: #5322cc; --a2: #7847f5; }
.mock svg { display: block; }

/* ── sidebar ────────────────────────────────────────────────────────────── */
.mock-rail {
  background: var(--nav);
  color: var(--navdim);
  display: flex; flex-direction: column;
  padding: 0.95em 0.6em 0.8em;
  min-width: 0;
}
.mock-brand { display: flex; align-items: center; gap: 0.55em; padding: 0.1em 0.45em 0.2em; }
.mock-brand .bmark {
  width: 1.85em; height: 1.85em; border-radius: 0.5em; flex: none;
  background: linear-gradient(140deg, var(--a2), var(--a));
  display: grid; place-items: center;
  box-shadow: 0 0.15em 0.5em -0.1em color-mix(in srgb, var(--a2) 60%, transparent);
}
.mock-brand .bmark svg { width: 1.05em; height: 1.05em; stroke: #fff; }
.mock-brand b { color: #fff; font-size: 0.95em; letter-spacing: -0.02em; line-height: 1.2; display: block; }
.mock-brand em { font-style: normal; display: block; font-size: 0.68em; color: #6a7691; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

.mock-switch {
  display: flex; align-items: center; gap: 0.5em;
  margin: 0.8em 0 0.2em; padding: 0.45em 0.55em;
  background: var(--nav2); border: 1px solid #1e2740; border-radius: 0.5em;
}
.mock-switch .st { width: 1.35em; height: 1.35em; border-radius: 0.35em; background: #26314d; display: grid; place-items: center; flex: none; }
.mock-switch .st svg { width: 0.8em; height: 0.8em; stroke: #96a2ba; }
.mock-switch b { color: #dfe5ef; font-size: 0.76em; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-switch .cv { margin-left: auto; }
.mock-switch .cv svg { width: 0.8em; height: 0.8em; stroke: #5f6b83; }

.mock-navgroup {
  font-size: 0.65em; text-transform: uppercase; letter-spacing: 0.11em;
  color: #55617c; padding: 1.15em 0.75em 0.35em; font-weight: 700;
}
.mock-rail-item {
  display: flex; align-items: center; gap: 0.6em;
  padding: 0.45em 0.65em; border-radius: 0.45em;
  font-size: 0.84em; white-space: nowrap; overflow: hidden; margin-bottom: 0.08em;
}
.mock-rail-item svg { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; opacity: .72; }
.mock-rail-item .badge {
  margin-left: auto; font-size: 0.76em; background: #232d47; color: #b9c3d6;
  border-radius: 99px; padding: 0.05em 0.42em; font-weight: 700;
}
.mock-rail-item.on {
  background: linear-gradient(90deg, color-mix(in srgb, var(--a2) 24%, transparent), color-mix(in srgb, var(--a2) 4%, transparent));
  box-shadow: inset 0.16em 0 0 var(--a2);
  color: #fff; font-weight: 650;
}
.mock-rail-item.on svg { opacity: 1; color: var(--a2); }
.mock-rail-item.on .badge { background: var(--a2); color: #04231a; }

.mock-user {
  margin-top: auto; display: flex; align-items: center; gap: 0.55em;
  padding: 0.65em 0.5em 0.05em; border-top: 1px solid #1b2338;
}
.mock-user .av {
  width: 1.65em; height: 1.65em; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #4a5877, #29324c);
  display: grid; place-items: center; color: #fff; font-size: 0.78em; font-weight: 700;
}
.mock-user b { color: #e6eaf2; font-size: 0.8em; display: block; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-user em { font-style: normal; color: #66718a; font-size: 0.7em; }

/* ── top bar ────────────────────────────────────────────────────────────── */
.mock-main { display: flex; flex-direction: column; min-width: 0; }
.mock-bar {
  display: flex; align-items: center; gap: 0.55em;
  padding: 0.7em 1em; background: var(--card);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.mock-bar-title { flex: none; }
.mock-crumb { font-size: 0.7em; color: var(--dim); font-weight: 550; margin-bottom: 0.1em; }
.mock-crumb b { color: var(--mid); font-weight: 600; }
.mock-bar-title strong { display: block; font-size: 1.2em; letter-spacing: -0.025em; line-height: 1.15; white-space: nowrap; }
.mock-bar .spacer { margin-left: auto; }
.mock-search {
  display: flex; align-items: center; gap: 0.4em;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 0.45em; padding: 0.38em 0.6em;
  font-size: 0.78em; color: var(--dim); white-space: nowrap;
  flex: 0 1 auto; min-width: 0; overflow: hidden;
}
.mock-search svg { width: 0.95em; height: 0.95em; stroke: var(--dim); flex: none; }
.mock-search .txt { overflow: hidden; text-overflow: ellipsis; }
.mock-search .kbd { margin-left: auto; border: 1px solid var(--line); border-radius: 0.25em; padding: 0 0.25em; font-size: 0.85em; }
.mock-chip {
  flex: none; display: flex; align-items: center; gap: 0.35em;
  border: 1px solid var(--line); border-radius: 0.45em;
  padding: 0.38em 0.6em; font-size: 0.78em; color: var(--mid); background: var(--card);
  white-space: nowrap; font-weight: 550;
}
.mock-chip svg { width: 0.9em; height: 0.9em; stroke: var(--dim); flex: none; }
.mock-btn {
  flex: none; display: flex; align-items: center; gap: 0.35em;
  border: 1px solid var(--line); border-radius: 0.45em;
  padding: 0.4em 0.7em; font-size: 0.78em; font-weight: 650; color: var(--mid);
  background: var(--card); white-space: nowrap;
}
.mock-btn svg { width: 0.9em; height: 0.9em; stroke: currentColor; flex: none; }
.mock-btn.solid {
  background: var(--a); border-color: var(--a); color: #fff;
  box-shadow: 0 0.1em 0.35em -0.1em color-mix(in srgb, var(--a) 70%, transparent);
}
.mock-body { padding: 0.85em 1em 1em; display: grid; gap: 0.7em; align-content: start; min-width: 0; }

/* ── KPI cards ──────────────────────────────────────────────────────────── */
.mock-kpis { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0.6em; }
.mock-kpi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.65em 0.72em 0.6em; box-shadow: var(--sh); min-width: 0;
  display: flex; flex-direction: column;
}
.mock-kpi { position: relative; }
.mock-kpi .k-top { display: block; margin-bottom: 0.3em; min-width: 0; padding-right: 1.55em; }
.mock-kpi .k-ico {
  position: absolute; top: 0.55em; right: 0.6em;
  width: 1.35em; height: 1.35em; border-radius: 0.36em; display: grid; place-items: center;
  background: color-mix(in srgb, var(--a) 9%, #fff);
}
.mock-kpi .k-ico svg { width: 0.8em; height: 0.8em; stroke: var(--a); }
.mock-kpi .k-label {
  display: block; font-size: 0.74em; color: var(--dim); font-weight: 600;
  letter-spacing: 0.005em; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-kpi .k-value {
  display: block; font-size: 1.26em; font-weight: 700; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap;
}
.mock-kpi .k-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2em 0.35em; margin-top: 0.32em; min-width: 0; }
.mock-kpi .k-foot .k-meta { flex: 1 0 100%; }
.mock-kpi .k-delta {
  font-size: 0.7em; font-weight: 700; border-radius: 99px; padding: 0.08em 0.38em;
  display: inline-flex; align-items: center; gap: 0.15em; flex: none;
}
.mock-kpi .k-delta svg { width: 0.75em; height: 0.75em; stroke: currentColor; stroke-width: 2.6; }
.mock-kpi .k-delta.up { background: #e4f6ed; color: #0a7549; }
.mock-kpi .k-delta.down { background: #fdebea; color: #b02f29; }
.mock-kpi .k-delta.flat { background: #edf0f6; color: #56617a; }
.mock-kpi .k-meta { font-size: 0.7em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-kpi .k-spark { display: block; width: 100%; height: 1.5em; margin-top: 0.4em; overflow: visible; }
.mock-kpi.tone-pos  .k-ico { background: #e4f6ed; } .mock-kpi.tone-pos  .k-ico svg { stroke: var(--pos); }
.mock-kpi.tone-neg  .k-ico { background: #fdebea; } .mock-kpi.tone-neg  .k-ico svg { stroke: var(--neg); }
.mock-kpi.tone-warn .k-ico { background: #fdf2e0; } .mock-kpi.tone-warn .k-ico svg { stroke: var(--warn); }
.mock-kpi.tone-info .k-ico { background: #e8effc; } .mock-kpi.tone-info .k-ico svg { stroke: var(--info); }
.mock-kpi.k-lead {
  background: linear-gradient(150deg, color-mix(in srgb, var(--a) 7%, #fff), #fff 60%);
  border-color: color-mix(in srgb, var(--a) 26%, var(--line));
}
.mock-kpi.k-lead .k-value { color: var(--a); }

/* ── cards ──────────────────────────────────────────────────────────────── */
.mock-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh); overflow: hidden; min-width: 0;
  display: flex; flex-direction: column;
}
.mock-card-head {
  display: flex; align-items: center; gap: 0.45em;
  padding: 0.62em 0.8em; border-bottom: 1px solid var(--line2);
}
.mock-card-head strong { font-size: 0.88em; font-weight: 650; letter-spacing: -0.015em; white-space: nowrap; }
.mock-card-head .sub { font-size: 0.72em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-card-head .right { margin-left: auto; display: flex; align-items: center; gap: 0.35em; flex: none; }
.mock-tab {
  font-size: 0.72em; font-weight: 600; color: var(--dim);
  padding: 0.18em 0.45em; border-radius: 0.3em; white-space: nowrap;
}
.mock-tab.on { background: color-mix(in srgb, var(--a) 10%, #fff); color: var(--a); }
.mock-cols { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 0.6em; align-items: stretch; }
.mock-cols.top { align-items: start; }
.mock-cols.w6040 { grid-template-columns: 1.6fr 1fr; }
.mock-cols.w4060 { grid-template-columns: 1fr 1.6fr; }
.mock-cols.w7030 { grid-template-columns: 2.2fr 1fr; }

/* ── tables ─────────────────────────────────────────────────────────────── */
.mock-tr {
  display: grid; grid-template-columns: var(--g, repeat(var(--n, 5), minmax(0, 1fr)));
  gap: 0.6em; align-items: center;
  padding: 0.46em 0.8em; font-size: 0.8em;
  border-top: 1px solid var(--line2);
}
.mock-th {
  background: #fafbfd; font-size: 0.68em; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  padding-top: 0.55em; padding-bottom: 0.55em; border-top: 0;
}
.mock-card .mock-tr:first-child, .mock-card-head + .mock-tr { border-top: 0; }
.mock-tr > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mock-tr .num { text-align: right; font-variant-numeric: tabular-nums; }
.mock-tr .strong { font-weight: 700; }
.mock-tr .foot { background: #fafbfd; font-weight: 700; }
.mock-cell { display: flex; align-items: center; gap: 0.45em; min-width: 0; }
.mock-cell .sq {
  width: 1.5em; height: 1.5em; border-radius: 0.35em; flex: none;
  display: grid; place-items: center; font-size: 0.8em; font-weight: 700;
  background: color-mix(in srgb, var(--c, #ccd4e2) 20%, #fff);
  color: color-mix(in srgb, var(--c, #4d5872) 82%, #141b28);
  letter-spacing: -0.02em;
}
.mock-cell .sq svg { width: 0.9em; height: 0.9em; stroke: currentColor; }
.mock-cell .two { min-width: 0; }
.mock-cell .two b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-cell .two i { display: block; font-style: normal; font-size: 0.84em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-pill {
  font-style: normal; display: inline-flex; align-items: center; gap: 0.28em;
  font-size: 0.84em; font-weight: 650; border-radius: 99px; padding: 0.12em 0.5em;
  background: #edf0f6; color: #4a5570; white-space: nowrap;
}
.mock-pill::before { content: ""; width: 0.4em; height: 0.4em; border-radius: 50%; background: currentColor; flex: none; }
.mock-pill.ok   { background: #e4f6ed; color: #0a7549; }
.mock-pill.info { background: #e8effc; color: #2255b0; }
.mock-pill.warn { background: #fdf2e0; color: #8f5c0d; }
.mock-pill.bad  { background: #fdebea; color: #b02f29; }
.mock-pill.plain::before { display: none; }

/* inline mini progress bar inside a table cell */
.mock-mini { display: grid; gap: 0.18em; min-width: 0; }
.mock-mini .t { height: 0.32em; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.mock-mini .f { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--a2), var(--a)); }
.mock-mini .f.alt { background: #c0cadb; }
.mock-mini em { font-style: normal; font-size: 0.82em; color: var(--dim); font-variant-numeric: tabular-nums; }

/* ── charts ─────────────────────────────────────────────────────────────── */
.mock-plot { padding: 0.7em 0.8em 0.55em; flex: 1; }
.mock-plot svg { width: 100%; overflow: visible; }
.mock-plot .grid { stroke: #edf0f6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mock-plot .base { stroke: #dde3ee; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mock-plot .lbl { fill: #8b96aa; font-size: 6.4px; font-weight: 600; letter-spacing: .02em; }
.mock-plot .lineA { fill: none; stroke: #1f3d78; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mock-plot .dot { fill: #fff; stroke: #1f3d78; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mock-plot .barA { fill: color-mix(in srgb, var(--a) 82%, #fff); }
.mock-plot .barB { fill: color-mix(in srgb, var(--a) 30%, #fff); }
.mock-plot .barC { fill: #dde3ee; }
.mock-plot .flagline { stroke: var(--neg); stroke-width: 1; stroke-dasharray: 3 2.5; vector-effect: non-scaling-stroke; }
.mock-legend { display: flex; flex-wrap: wrap; gap: 0.75em; padding: 0 0.8em 0.65em; font-size: 0.72em; color: var(--mid); font-weight: 550; }
.mock-legend span { display: inline-flex; align-items: center; gap: 0.3em; }
.mock-legend i { width: 0.58em; height: 0.58em; border-radius: 0.14em; background: var(--a); flex: none; }
.mock-legend i.b { background: color-mix(in srgb, var(--a) 30%, #fff); }
.mock-legend i.c { background: #dde3ee; }
.mock-legend i.d { background: var(--neg); border-radius: 0; height: 0.16em; width: 0.8em; }
.mock-legend i.line { background: #1f3d78; border-radius: 99px; height: 0.2em; width: 0.85em; }

.mock-donut { display: flex; align-items: center; gap: 0.85em; padding: 0.75em 0.8em; flex: 1; }
.mock-donut > svg { width: 5.7em; height: 5.7em; flex: none; }
.mock-donut .dv { fill: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: -0.04em; }
.mock-donut .dl { fill: #8b96aa; font-size: 6.2px; font-weight: 600; letter-spacing: .08em; }
.mock-donut-key { display: grid; gap: 0.42em; min-width: 0; flex: 1; }
.mock-donut-key > div { display: flex; align-items: center; gap: 0.45em; font-size: 0.78em; min-width: 0; }
.mock-donut-key i { width: 0.58em; height: 0.58em; border-radius: 0.15em; flex: none; }
.mock-donut-key span { color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-donut-key b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 650; flex: none; }
.mock-donut-key em { font-style: normal; color: var(--dim); font-size: 0.9em; flex: none; width: 2.1em; text-align: right; }

/* reconciliation ledger strip -------------------------------------------- */
.mock-eq { display: flex; align-items: stretch; padding: 0.7em 0.8em; gap: 0.5em; flex-wrap: wrap; }
.mock-eq .t { min-width: 0; }
.mock-eq .t span { display: block; font-size: 0.7em; color: var(--dim); font-weight: 600; white-space: nowrap; }
.mock-eq .t b { display: block; font-size: 0.95em; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.mock-eq .t b.neg { color: var(--neg); }
.mock-eq .op { align-self: center; color: #b6c0d1; font-size: 0.95em; font-weight: 700; }
.mock-eq .t.res { margin-left: auto; text-align: right; }
.mock-eq .t.res b { color: var(--a); font-size: 1.1em; }

/* ── statement ──────────────────────────────────────────────────────────── */
.mock-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.8em;
  padding: 0.46em 0.8em; font-size: 0.82em; border-top: 1px solid var(--line2);
}
.mock-card .mock-line:first-child, .mock-card-head + .mock-line { border-top: 0; }
.mock-line span { color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-line b { font-variant-numeric: tabular-nums; font-weight: 650; flex: none; }
.mock-line b.neg { color: var(--neg); }
.mock-line b.pos { color: var(--pos); }
.mock-line.sub span { padding-left: 0.7em; color: var(--dim); font-size: 0.95em; }
.mock-line.total {
  background: color-mix(in srgb, var(--a) 6%, #fff);
  border-top: 1px solid color-mix(in srgb, var(--a) 22%, var(--line));
  padding-top: 0.58em; padding-bottom: 0.58em; margin-top: auto;
}
.mock-line.total span { color: var(--ink); font-weight: 650; }
.mock-line.total b { font-size: 1.2em; color: var(--a); letter-spacing: -0.025em; }

/* ── activity feed ──────────────────────────────────────────────────────── */
.mock-feed { padding: 0.6em 0.8em 0.7em; display: grid; gap: 0.5em; flex: 1; align-content: start; }
.mock-fitem { display: grid; grid-template-columns: 1.35em 1fr; gap: 0.5em; align-items: start; font-size: 0.78em; }
.mock-fitem .fi { width: 1.35em; height: 1.35em; border-radius: 0.35em; display: grid; place-items: center; background: #eef1f6; flex: none; }
.mock-fitem .fi svg { width: 0.8em; height: 0.8em; stroke: var(--mid); }
.mock-fitem.ok  .fi { background: #e4f6ed; } .mock-fitem.ok  .fi svg { stroke: var(--pos); }
.mock-fitem.warn .fi { background: #fdf2e0; } .mock-fitem.warn .fi svg { stroke: var(--warn); }
.mock-fitem.info .fi { background: #e8effc; } .mock-fitem.info .fi svg { stroke: var(--info); }
.mock-fitem .fb { min-width: 0; }
.mock-fitem .fb b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-fitem .fb em { font-style: normal; color: var(--dim); font-size: 0.88em; }

/* ── tiles ──────────────────────────────────────────────────────────────── */
.mock-tiles { display: grid; grid-template-columns: repeat(var(--t, 6), minmax(0, 1fr)); gap: 0.5em; }
.mock-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 0.55em;
  padding: 0.6em 0.5em; text-align: center; box-shadow: var(--sh); min-width: 0;
}
.mock-tile i { display: grid; place-items: center; width: 1.75em; height: 1.75em; margin: 0 auto 0.38em; border-radius: 0.45em; background: color-mix(in srgb, var(--a) 9%, #fff); }
.mock-tile svg { width: 0.95em; height: 0.95em; stroke: var(--a); }
.mock-tile span { display: block; font-size: 0.72em; font-weight: 600; color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── retail product grid ────────────────────────────────────────────────── */
.mock-grid { display: grid; grid-template-columns: repeat(var(--pc, 4), minmax(0, 1fr)); gap: 0.55em; }
.mock-prod { background: var(--card); border: 1px solid var(--line); border-radius: 0.6em; overflow: hidden; box-shadow: var(--sh); min-width: 0; }
.mock-prod.on { border-color: var(--a); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--a) 22%, transparent), var(--sh); }
.mock-prod-img {
  position: relative; height: 3.1em;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c, #ccd3e0) 28%, #fff), color-mix(in srgb, var(--c, #ccd3e0) 10%, #fff));
  display: grid; place-items: center;
}
.mock-prod-img svg { width: 1.4em; height: 1.4em; stroke: color-mix(in srgb, var(--c, #8b95a8) 72%, #222b3a); }
.mock-badge { position: absolute; top: 0.28em; right: 0.28em; font-style: normal; font-size: 0.64em; background: rgba(11,18,32,.8); color: #fff; padding: 0.1em 0.4em; border-radius: 99px; font-weight: 650; }
.mock-prod-b { padding: 0.45em 0.55em 0.55em; }
.mock-prod-name { font-size: 0.8em; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-prod-name .ur { font-weight: 700; }
.mock-prod-cat { font-size: 0.68em; color: var(--dim); margin-top: 0.08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-prod-foot { display: flex; align-items: baseline; gap: 0.3em; margin-top: 0.3em; }
.mock-prod-price { font-size: 0.88em; font-weight: 700; letter-spacing: -0.025em; }
.mock-prod-unit { font-size: 0.66em; color: var(--dim); }
.mock-prod-stk { margin-left: auto; font-size: 0.66em; color: var(--dim); white-space: nowrap; }

/* ── POS cart ───────────────────────────────────────────────────────────── */
.mock-cart { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); display: flex; flex-direction: column; overflow: hidden; }
.mock-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 0.6em 0.7em; border-bottom: 1px solid var(--line2); }
.mock-cart-head strong { font-size: 0.86em; font-weight: 650; }
.mock-cart-head b { font-size: 0.74em; color: var(--dim); font-weight: 650; }
.mock-cart-line { display: grid; grid-template-columns: 1.5em 1fr auto auto; gap: 0.45em; align-items: center; padding: 0.44em 0.7em; border-top: 1px solid var(--line2); font-size: 0.8em; }
.mock-cart-line .ci { width: 1.5em; height: 1.5em; border-radius: 0.35em; background: color-mix(in srgb, var(--c, #ccd3e0) 24%, #fff); display: grid; place-items: center; }
.mock-cart-line .ci svg { width: 0.8em; height: 0.8em; stroke: color-mix(in srgb, var(--c, #8b95a8) 75%, #222b3a); }
.mock-cart-line .cn { min-width: 0; }
.mock-cart-line .cn b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-cart-line .cn i { display: block; font-style: normal; font-size: 0.82em; color: var(--dim); }
.mock-cart-line .cq { border: 1px solid var(--line); border-radius: 0.3em; padding: 0.02em 0.38em; font-size: 0.84em; font-weight: 650; color: var(--mid); }
.mock-cart-line .cv { font-weight: 700; font-variant-numeric: tabular-nums; }
.mock-cart-foot { margin-top: auto; border-top: 1px solid var(--line); }
.mock-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; padding: 0.6em 0.7em 0.7em; }
.mock-pay .pay { display: flex; align-items: center; justify-content: center; gap: 0.3em; padding: 0.55em; border-radius: 0.45em; font-size: 0.82em; font-weight: 700; color: #fff; }
.mock-pay .pay svg { width: 0.9em; height: 0.9em; stroke: #fff; }
.mock-pay .cash { background: var(--a); }
.mock-pay .khata { background: #a85f18; }

/* ── phone ──────────────────────────────────────────────────────────────── */
.mock-phone { grid-template-columns: 1fr; display: flex; flex-direction: column; font-size: 3.5cqw; background: var(--bg); min-height: 178cqw; }
.mock-phone-bar { display: flex; align-items: center; gap: 0.55em; padding: 0.95em 0.85em 0.8em; background: var(--nav); }
.mock-phone-bar .bmark { width: 1.55em; height: 1.55em; border-radius: 0.42em; background: linear-gradient(140deg, var(--a2), var(--a)); display: grid; place-items: center; flex: none; }
.mock-phone-bar .bmark svg { width: 0.9em; height: 0.9em; stroke: #fff; }
.mock-phone-bar strong { color: #fff; font-size: 0.92em; letter-spacing: -0.015em; display: block; }
.mock-phone-bar em { font-style: normal; display: block; color: var(--navdim); font-size: 0.66em; font-weight: 600; }
.mock-phone-body { padding: 0.75em; display: grid; gap: 0.6em; align-content: start; }
.mock-phone .mock-kpis { gap: 0.5em; }
.mock-phone .mock-kpi { padding: 0.55em 0.6em; border-radius: 0.55em; }
.mock-phone .mock-kpi .k-value { font-size: 1.2em; }
.mock-phone-nav { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-top: 1px solid var(--line); padding: 0.5em 0 0.7em; }
.mock-phone-nav span { text-align: center; font-size: 0.6em; color: var(--dim); font-weight: 600; }
.mock-phone-nav span.on { color: var(--a); font-weight: 700; }
.mock-phone-nav svg { width: 1.2em; height: 1.2em; margin: 0 auto 0.25em; stroke: var(--dim); }
.mock-phone-nav span.on svg { stroke: var(--a); }

/* ── narrow containers: shed secondary detail, keep it readable ─────────── */
@container (max-width: 560px) {
  .mock-secondary { display: none !important; }
  .mock-tr { grid-template-columns: var(--gn, var(--g, repeat(var(--n, 5), minmax(0, 1fr)))); }
  .mock-rail { display: none; }
  .mock { grid-template-columns: 1fr; font-size: 2.6cqw; }
  .mock-cols, .mock-cols.w6040, .mock-cols.w4060, .mock-cols.w7030 { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .mock-tiles { --t: 3; }
  .mock-grid { --pc: 3; }
  .mock-search, .mock-chip { display: none; }
  .mock-donut { flex-direction: column; align-items: stretch; }
  .mock-donut > svg { width: 5.6em; height: 5.6em; margin: 0 auto; }
}
@container (max-width: 340px) {
  .mock-kpis { grid-template-columns: 1fr !important; }
  .mock-grid { --pc: 2; }
  .mock-tiles { --t: 2; }
}

/* ---------------------------------------------------------------------------
   Showcase components
   Used by the marketing hero visuals: bigger headline tiles, gradient area
   charts, progress rings and the settlement pipeline. These are demo
   compositions built to sell the product, not reproductions of a live screen.
   ------------------------------------------------------------------------- */

/* headline tiles ---------------------------------------------------------- */
.mock-hkpis { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0.65em; }
.mock-hkpi {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 0.85em; padding: 0.85em 0.9em 0.8em; box-shadow: var(--sh); min-width: 0;
}
.mock-hkpi .h-top { display: flex; align-items: center; gap: 0.45em; margin-bottom: 0.55em; }
.mock-hkpi .h-ico {
  width: 1.6em; height: 1.6em; border-radius: 0.45em; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--a) 10%, #fff);
}
.mock-hkpi .h-ico svg { width: 0.92em; height: 0.92em; stroke: var(--a); }
.mock-hkpi .h-label {
  font-size: 0.76em; color: var(--dim); font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-hkpi .h-value {
  display: block; font-size: 1.72em; font-weight: 700; letter-spacing: -0.045em;
  line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.mock-hkpi .h-foot { display: flex; align-items: center; gap: 0.4em; margin-top: 0.45em; }
.mock-hkpi .h-delta {
  font-size: 0.74em; font-weight: 700; border-radius: 99px; padding: 0.1em 0.42em;
  display: inline-flex; align-items: center; gap: 0.18em; flex: none;
}
.mock-hkpi .h-delta svg { width: 0.78em; height: 0.78em; stroke: currentColor; stroke-width: 2.6; }
.mock-hkpi .h-delta.up { background: #e4f6ed; color: #0a7549; }
.mock-hkpi .h-delta.down { background: #fdebea; color: #b02f29; }
.mock-hkpi .h-delta.flat { background: #edf0f6; color: #56617a; }
.mock-hkpi .h-meta { font-size: 0.74em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the one tile that carries the headline number */
.mock-hkpi.feature {
  background: linear-gradient(152deg, var(--nav) 0%, #17224a 58%, color-mix(in srgb, var(--a) 46%, #17224a) 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 0.15em 0.5em -0.2em rgba(11,18,32,.5), 0 1.1em 2em -1em color-mix(in srgb, var(--a) 65%, transparent);
}
.mock-hkpi.feature .h-ico { background: rgba(255,255,255,.13); }
.mock-hkpi.feature .h-ico svg { stroke: #fff; }
.mock-hkpi.feature .h-label { color: #b3c0d8; }
.mock-hkpi.feature .h-value { color: #fff; }
.mock-hkpi.feature .h-meta { color: #93a2be; }
.mock-hkpi.feature .h-delta.up { background: rgba(255,255,255,.16); color: #7ff0bd; }

/* gradient area chart ----------------------------------------------------- */
.mock-area { padding: 0.75em 0.85em 0.6em; flex: 1; }
.mock-area svg { width: 100%; overflow: visible; }
.mock-area .grid { stroke: #eef1f6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mock-area .lbl { fill: #97a2b6; font-size: 6.2px; font-weight: 600; }
.mock-area .l1 { fill: none; stroke: var(--a); stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mock-area .l2 { fill: none; stroke: #4a7bd8; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.mock-area .pk { fill: var(--a); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.mock-area .rule { stroke: color-mix(in srgb, var(--a) 40%, #fff); stroke-width: 1; stroke-dasharray: 2.5 2.5; vector-effect: non-scaling-stroke; }
.mock-area .tipbox { fill: var(--nav); }
.mock-area .tipv { fill: #fff; font-size: 7px; font-weight: 700; }
.mock-area .tipl { fill: #93a2be; font-size: 5.4px; font-weight: 600; }

/* courier partner rows with a delivery-rate ring -------------------------- */
.mock-partners { padding: 0.35em 0.2em 0; display: grid; flex: 1; align-content: start; }
.mock-partners-foot {
  margin-top: auto; display: flex; align-items: baseline; justify-content: space-between;
  gap: 0.6em; padding: 0.6em 0.85em; border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--a) 5%, #fff); font-size: 0.8em;
}
.mock-partners-foot span { color: var(--mid); font-weight: 600; }
.mock-partners-foot b { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mock-partner {
  display: grid; grid-template-columns: 2.7em 1fr auto; gap: 0.6em; align-items: center;
  padding: 0.52em 0.85em;
}
.mock-partner + .mock-partner { border-top: 1px solid var(--line2); }
.mock-ring { position: relative; width: 2.7em; height: 2.7em; }
.mock-ring svg { width: 100%; height: 100%; }
.mock-ring .trk { fill: none; stroke: #edf1f7; stroke-width: 9; }
.mock-ring .val { fill: none; stroke: var(--a); stroke-width: 9; stroke-linecap: round; }
.mock-ring b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 0.66em; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.mock-partner .pn { min-width: 0; }
.mock-partner .pn b { display: block; font-size: 0.85em; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-partner .pn em { font-style: normal; display: block; font-size: 0.74em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-partner .pv { text-align: right; flex: none; }
.mock-partner .pv b { display: block; font-size: 0.9em; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mock-partner .pv em { font-style: normal; font-size: 0.72em; color: var(--dim); }

/* settlement pipeline ----------------------------------------------------- */
.mock-pipe { padding: 0.85em 0.9em 0.9em; }
.mock-pipe-bar { display: flex; gap: 0.22em; margin-bottom: 0.45em; }
.mock-pipe-bar i { height: 0.55em; border-radius: 99px; flex: none; }
.mock-pipe-key { display: flex; flex-wrap: wrap; gap: 0.8em; margin-bottom: 0.8em; font-size: 0.72em; color: var(--mid); font-weight: 550; }
.mock-pipe-key span { display: inline-flex; align-items: center; gap: 0.32em; }
.mock-pipe-key i { width: 0.55em; height: 0.55em; border-radius: 0.14em; flex: none; }
.mock-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6em; }
.mock-stage { min-width: 0; padding-left: 0.6em; border-left: 0.2em solid var(--sc, #dde3ee); }
.mock-stage span { display: block; font-size: 0.74em; color: var(--dim); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-stage b { display: block; font-size: 1.05em; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock-stage em { font-style: normal; display: block; font-size: 0.72em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-note {
  display: flex; align-items: center; gap: 0.5em; margin-top: 0.85em;
  padding: 0.55em 0.7em; border-radius: 0.5em;
  background: color-mix(in srgb, var(--a) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--a) 18%, var(--line));
  font-size: 0.78em; min-width: 0;
}
.mock-note svg { width: 1em; height: 1em; stroke: var(--a); flex: none; }
.mock-note b { font-weight: 650; }
.mock-note span { color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-note .tail { margin-left: auto; color: var(--a); font-weight: 650; flex: none; }

/* avatar stack in the top bar --------------------------------------------- */
.mock-avs { display: flex; align-items: center; flex: none; }
.mock-avs i {
  width: 1.6em; height: 1.6em; border-radius: 50%; border: 0.14em solid #fff;
  display: grid; place-items: center; font-style: normal;
  font-size: 0.72em; font-weight: 700; color: #fff; margin-left: -0.42em;
}
.mock-avs i:first-child { margin-left: 0; }

@container (max-width: 560px) {
  .mock-hkpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .mock-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7em; }
  .mock-avs { display: none; }
}
@container (max-width: 340px) {
  .mock-hkpis { grid-template-columns: 1fr !important; }
}
/* The phone frame is narrow by design, not by accident: it keeps its two-up
   tile grid rather than collapsing the way a squeezed desktop visual does. */
.mock-phone .mock-hkpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* timeline ---------------------------------------------------------------- */
.mock-tl { padding: 0.75em 0.85em 0.8em; display: grid; gap: 0.15em; flex: 1; align-content: start; }
.mock-tl-step { position: relative; display: grid; grid-template-columns: 1.35em 1fr auto; gap: 0.55em; align-items: start; padding-bottom: 0.55em; }
.mock-tl-step:last-child { padding-bottom: 0; }
.mock-tl-step::before {
  content: ""; position: absolute; left: 0.63em; top: 1.5em; bottom: 0;
  border-left: 1px dashed #d7deea;
}
.mock-tl-step:last-child::before { display: none; }
.mock-tl .tl-dot {
  width: 1.35em; height: 1.35em; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--a) 12%, #fff); position: relative; z-index: 1;
}
.mock-tl .tl-dot svg { width: 0.8em; height: 0.8em; stroke: var(--a); stroke-width: 2.4; }
.mock-tl-step.pending .tl-dot { background: #fff; border: 1.5px dashed #c3ccdb; }
.mock-tl .tl-body { min-width: 0; }
.mock-tl .tl-body b { display: block; font-size: 0.82em; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-tl .tl-body em { display: block; font-style: normal; font-size: 0.74em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-tl .tl-date { font-size: 0.74em; color: var(--dim); font-weight: 600; white-space: nowrap; flex: none; }
.mock-tl-step.pending .tl-body b { color: var(--mid); }

/* statement --------------------------------------------------------------- */
.mock-stmt { display: flex; flex-direction: column; flex: 1; }

/* share bars -------------------------------------------------------------- */
.mock-bars { padding: 0.8em 0.85em; display: grid; gap: 0.7em; flex: 1; align-content: start; }
.mock-barrow { display: grid; grid-template-columns: 1fr auto; gap: 0.25em 0.6em; font-size: 0.82em; }
.mock-barrow > span:first-child { color: var(--mid); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-barrow > b { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -0.02em; }
.mock-barrow .track { grid-column: 1 / -1; height: 0.42em; border-radius: 99px; background: #eef1f6; overflow: hidden; }
.mock-barrow .fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--a2), var(--a)); }
.mock-barrow em { grid-column: 1 / -1; font-style: normal; font-size: 0.85em; color: var(--dim); }

/* alerts ------------------------------------------------------------------ */
.mock-alerts { padding: 0.55em 0.2em 0.6em; display: grid; flex: 1; align-content: start; }
.mock-alert { display: grid; grid-template-columns: 1.5em 1fr auto; gap: 0.55em; align-items: center; padding: 0.5em 0.85em; }
.mock-alert + .mock-alert { border-top: 1px solid var(--line2); }
.mock-alert .al-ic { width: 1.5em; height: 1.5em; border-radius: 0.4em; display: grid; place-items: center; background: #fdf2e0; }
.mock-alert .al-ic svg { width: 0.85em; height: 0.85em; stroke: var(--warn); }
.mock-alert.bad .al-ic { background: #fdebea; } .mock-alert.bad .al-ic svg { stroke: var(--neg); }
.mock-alert.info .al-ic { background: #e8effc; } .mock-alert.info .al-ic svg { stroke: var(--info); }
.mock-alert .al-b { min-width: 0; }
.mock-alert .al-b b { display: block; font-size: 0.82em; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-alert .al-b em { display: block; font-style: normal; font-size: 0.74em; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-alert .al-act {
  font-size: 0.72em; font-weight: 700; color: var(--a); white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--a) 26%, var(--line));
  border-radius: 0.4em; padding: 0.2em 0.5em; background: color-mix(in srgb, var(--a) 6%, #fff);
}

/* quick actions ----------------------------------------------------------- */
.mock-qa { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45em; }
.mock-qa-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 0.55em;
  padding: 0.55em 0.3em; text-align: center; box-shadow: var(--sh); min-width: 0;
  display: grid; justify-items: center; gap: 0.3em;
}
.mock-qa-item svg { width: 1.05em; height: 1.05em; stroke: var(--a); }
.mock-qa-item em { font-style: normal; font-size: 0.68em; font-weight: 600; color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* phone list -------------------------------------------------------------- */
.mock-plist { display: grid; }
.mock-plist-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.7em; padding: 0.45em 0.8em; font-size: 0.8em; border-top: 1px solid var(--line2); }
.mock-plist-row:first-child { border-top: 0; }
.mock-plist-row span { color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-plist-row b { font-variant-numeric: tabular-nums; font-weight: 700; flex: none; }

.mock-inset { padding: 0.75em 0.85em; }

/* ===========================================================================
   MOBILE SHOWCASE — device frame + phone app screen
   A marketing asset, not a shrunken desktop. The screen uses its own class
   namespace (.app-*) so no desktop mockup rule can leak into it: no sidebar,
   no data table, no dense grid.

   The frame is iPhone-15-Pro-Max proportioned. Everything scales from one
   root font-size in cqw against the device width, so the whole asset shrinks
   proportionally on a narrow viewport without reflowing.
   ========================================================================= */

.device { container-type: inline-size; width: 320px; max-width: 100%; }

.device-frame {
  position: relative;
  padding: 3.4cqw;
  border-radius: 17cqw;
  /* brushed titanium rail */
  background: linear-gradient(148deg,
    #e8ecf2 0%, #a7b0be 12%, #767f8e 26%, #d6dce5 44%,
    #848d9c 62%, #b6bec9 78%, #6e7787 90%, #dfe4ec 100%);
  box-shadow:
    0 0 0 0.3cqw rgba(9,14,26,.55),
    0 12cqw 24cqw -6cqw rgba(4,12,40,.45),
    0 2cqw 6cqw -2cqw rgba(4,12,40,.35),
    inset 0 0 0 0.3cqw rgba(255,255,255,.42);
}
.device-screen {
  position: relative;
  border-radius: 13.6cqw;
  overflow: hidden;
  background: #f1f4f9;
  box-shadow: inset 0 0 0 0.3cqw rgba(9,14,26,.85);
}
/* Dynamic Island */
.device-island {
  position: absolute; z-index: 6;
  top: 2.6cqw; left: 50%; transform: translateX(-50%);
  width: 27cqw; height: 7.8cqw; border-radius: 99px;
  background: #06080d;
}
.device-island::after {
  content: ""; position: absolute; right: 1.9cqw; top: 50%; transform: translateY(-50%);
  width: 2.1cqw; height: 2.1cqw; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #24304a 0%, #0b0f18 62%);
}
/* home indicator */
.device-home {
  position: absolute; z-index: 6;
  bottom: 1.7cqw; left: 50%; transform: translateX(-50%);
  width: 33cqw; height: 1.2cqw; border-radius: 99px;
  background: rgba(11,18,32,.30);
}
/* side rails */
.device-btn { position: absolute; background: linear-gradient(180deg, #9aa3b1, #6d7686); border-radius: 1cqw; }
.device-btn.silent { left: -0.5cqw; top: 21cqw; width: 1cqw; height: 5cqw; }
.device-btn.up     { left: -0.6cqw; top: 30cqw; width: 1.1cqw; height: 9.5cqw; }
.device-btn.down   { left: -0.6cqw; top: 42cqw; width: 1.1cqw; height: 9.5cqw; }
.device-btn.power  { right: -0.6cqw; top: 34cqw; width: 1.1cqw; height: 15cqw; }

/* ── the screen ─────────────────────────────────────────────────────────── */
.app {
  --a: #0e7350;
  --a2: #14a172;
  --ink: #0b1220;
  --mid: #46536b;
  --dim: #7c8698;
  --line: #e6eaf1;
  --card: #fff;
  --warn: #c1780f;
  --pos: #0e9a62;
  font-size: 3.7cqw;            /* ~11.8px at a 320px device */
  line-height: 1.35;
  color: var(--ink);
  background: #f1f4f9;
  display: flex; flex-direction: column;
  min-height: 196cqw;           /* 19.5:9 */
  -webkit-font-smoothing: antialiased;
}
.app svg { display: block; }

/* status bar */
.app-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9em 1.35em 0.1em; font-size: 0.85em; font-weight: 650;
  letter-spacing: -0.01em;
}
.app-status .sig { display: flex; align-items: center; gap: 0.35em; }
.app-status svg { width: 1.25em; height: 0.85em; }

/* app header */
.app-head { display: flex; align-items: center; gap: 0.6em; padding: 0.6em 1.1em 0.6em; }
.app-head .mark {
  width: 2.4em; height: 2.4em; border-radius: 0.72em; flex: none;
  background: linear-gradient(140deg, var(--a2), var(--a));
  display: grid; place-items: center;
  box-shadow: 0 0.25em 0.6em -0.15em color-mix(in srgb, var(--a) 55%, transparent);
}
.app-head .mark svg { width: 1.35em; height: 1.35em; stroke: #fff; }
.app-head .ht { min-width: 0; flex: 1; }
.app-head .ht b { display: block; font-size: 1.08em; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.app-head .ht em { display: block; font-style: normal; font-size: 0.82em; color: var(--dim); font-weight: 550; }
.app-head .bell {
  position: relative; width: 2.3em; height: 2.3em; border-radius: 50%; flex: none;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
}
.app-head .bell svg { width: 1.15em; height: 1.15em; stroke: var(--mid); }
.app-head .bell i { position: absolute; top: 0.42em; right: 0.42em; width: 0.55em; height: 0.55em; border-radius: 50%; background: #e4483f; border: 0.14em solid #fff; }

.app-body { padding: 0 1.1em 0.6em; display: grid; gap: 0.52em; align-content: start; }

/* headline revenue card */
.app-hero {
  border-radius: 1.25em; padding: 0.85em 1em 0.72em; color: #fff;
  background: linear-gradient(150deg, #0d1424 0%, #16214a 55%, color-mix(in srgb, var(--a) 52%, #16214a) 100%);
  box-shadow: 0 0.8em 1.8em -0.7em rgba(11,18,32,.55);
  position: relative; overflow: hidden;
}
.app-hero .lbl { font-size: 0.85em; color: #a9b6d0; font-weight: 600; }
.app-hero .val { display: block; margin-top: 0.15em; font-size: 2em; font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.app-hero .row { display: flex; align-items: center; gap: 0.5em; margin-top: 0.5em; }
.app-hero .chip {
  display: inline-flex; align-items: center; gap: 0.22em;
  background: rgba(255,255,255,.16); color: #7ff0bd;
  border-radius: 99px; padding: 0.16em 0.5em; font-size: 0.8em; font-weight: 700;
}
.app-hero .chip svg { width: 0.85em; height: 0.85em; stroke: currentColor; stroke-width: 2.6; }
.app-hero .sub { font-size: 0.82em; color: #93a2be; }
.app-hero .spark { margin-top: 0.4em; width: 100%; height: 1.8em; }

/* two-up tiles */
.app-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; }
.app-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.15em;
  padding: 0.72em 0.85em; min-width: 0;
  box-shadow: 0 0.15em 0.5em -0.25em rgba(11,18,32,.16);
}
.app-tile .lbl { font-size: 0.82em; color: var(--dim); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tile .val { display: block; margin-top: 0.15em; font-size: 1.5em; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.app-tile .chip {
  display: inline-flex; align-items: center; gap: 0.2em; margin-top: 0.3em;
  border-radius: 99px; padding: 0.12em 0.44em; font-size: 0.78em; font-weight: 700;
  background: #e4f6ed; color: #0a7549;
}
.app-tile .chip svg { width: 0.82em; height: 0.82em; stroke: currentColor; stroke-width: 2.6; }

/* COD & settlement card */
.app-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.25em;
  box-shadow: 0 0.15em 0.5em -0.25em rgba(11,18,32,.16); overflow: hidden;
}
.app-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6em; padding: 0.7em 0.95em 0.55em; }
.app-card-head b { font-size: 0.98em; font-weight: 700; letter-spacing: -0.02em; }
.app-card-head span { font-size: 0.8em; color: var(--dim); font-weight: 600; white-space: nowrap; }
.app-seg { display: flex; gap: 0.22em; margin: 0 0.95em 0.6em; }
.app-seg i { height: 0.6em; border-radius: 99px; }
.app-split { display: grid; }
.app-split-row {
  display: grid; grid-template-columns: 0.7em 1fr auto; gap: 0.65em; align-items: center;
  padding: 0.45em 0.95em; border-top: 1px solid #f0f3f8;
}
.app-split-row i { width: 0.7em; height: 0.7em; border-radius: 0.2em; }
.app-split-row .n { min-width: 0; }
.app-split-row .n b { display: block; font-size: 0.9em; font-weight: 600; }
.app-split-row .n em { display: block; font-style: normal; font-size: 0.8em; color: var(--dim); }
.app-split-row .v { font-size: 1em; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }

/* alert */
.app-alert {
  display: grid; grid-template-columns: 2.2em 1fr 0.9em; gap: 0.7em; align-items: center;
  background: #fff8ec; border: 1px solid #f4dfb6; border-left: 0.32em solid #e0951c;
  border-radius: 0.95em; padding: 0.6em 0.8em;
}
.app-alert .ai { width: 2.2em; height: 2.2em; border-radius: 0.65em; background: #fceecf; display: grid; place-items: center; }
.app-alert .ai svg { width: 1.15em; height: 1.15em; stroke: #a8690b; }
.app-alert .ab { min-width: 0; }
.app-alert .ab b { display: block; font-size: 0.94em; font-weight: 700; letter-spacing: -0.015em; }
.app-alert .ab em { display: block; font-style: normal; font-size: 0.8em; color: #8b6a2c; }
.app-alert > svg { width: 0.9em; height: 0.9em; stroke: #b08333; }

/* quick actions */
.app-qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6em; }
.app-qa-item { display: grid; justify-items: center; gap: 0.4em; min-width: 0; }
.app-qa-item .qi {
  width: 2.5em; height: 2.5em; border-radius: 0.85em; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 0.2em 0.5em -0.25em rgba(11,18,32,.2);
}
.app-qa-item .qi svg { width: 1.35em; height: 1.35em; stroke: var(--a); }
.app-qa-item em { font-style: normal; font-size: 0.76em; font-weight: 600; color: var(--mid); text-align: center; line-height: 1.25; }

/* summary list */
.app-list { display: grid; }
.app-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.7em;
  padding: 0.66em 1em; border-top: 1px solid #f0f3f8; font-size: 0.92em;
}
.app-list-row span { color: var(--mid); font-weight: 550; }
.app-list-row b { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.app-list-row b.pos { color: var(--pos); }
.app-list-row b.warn { color: var(--warn); }

/* compact business summary */
.app-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #f0f3f8; }
.app-stats > div { padding: 0.5em 0.4em 0.6em; text-align: center; min-width: 0; }
.app-stats > div + div { border-left: 1px solid #f0f3f8; }
.app-stats b { display: block; font-size: 1.3em; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.app-stats b.pos { color: var(--pos); }
.app-stats b.warn { color: var(--warn); }
.app-stats span { display: block; margin-top: 0.15em; font-size: 0.76em; color: var(--dim); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tab bar */
.app-tabs {
  margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.45em 0 1.05em;
}
.app-tab { display: grid; justify-items: center; gap: 0.28em; font-size: 0.72em; font-weight: 600; color: #98a2b3; }
.app-tab svg { width: 1.55em; height: 1.55em; stroke: #98a2b3; stroke-width: 1.8; }
.app-tab.on { color: var(--a); font-weight: 700; }
.app-tab.on svg { stroke: var(--a); }

/* Homepage direction: a bright, editorial first impression inspired by the
   supplied reference layout. The brand gradient remains the accent; the
   dark product dashboard is intentionally not part of the hero anymore. */
.hero.hero-light {
  color: var(--ink);
  padding: 108px 0 92px;
  background:
    radial-gradient(circle at 50% -20%, rgba(107,45,248,.08), transparent 36%),
    linear-gradient(180deg, #fff 0%, #fff 76%, #f7f9ff 100%);
}
.hero.hero-light::before {
  opacity: .45;
  background-image: linear-gradient(rgba(4,16,68,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(4,16,68,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 68%);
}
.hero.hero-light::after { display: none; }
.hero-light-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(39,108,250,.26);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(39,108,250,.08);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-badge span { color: var(--violet); font-size: 1.05rem; line-height: 1; }
.hero-light h1 {
  max-width: 930px;
  margin-top: 26px;
  color: var(--navy-900);
  font-size: clamp(2.65rem, 6vw, 5.3rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.hero-light h1 .gradient-text { display: inline; }
.hero-light .lead {
  max-width: 790px;
  margin-top: 26px;
  color: #516079;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}
.hero-actions { justify-content: center; margin-top: 32px; }
.hero-light .btn-outline { box-shadow: 0 8px 22px rgba(4,16,68,.06); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #dfe6f0;
  border-radius: 999px;
  color: #42516b;
  background: rgba(255,255,255,.86);
  font-size: .78rem;
  font-weight: 700;
}
.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}
.hero-light .hero-market-note { margin-top: 17px; color: #7a879c; font-size: .8rem; }

/* The product mega-menu is a two-column panel. Explicit min-widths prevent
   long product descriptions from creating the horizontal scrollbar visible
   in the previous desktop header. */
.mega-menu.product-menu {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-x: hidden;
  overflow-y: auto;
}
.product-menu > a { min-width: 0; }
.product-menu > a > span:last-child { min-width: 0; }
.product-menu > a small { overflow-wrap: anywhere; }
.product-menu .product-menu-all { grid-column: 1 / -1; }

/* Honest review state shown until source-verified testimonials are approved. */
.review-ready-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #dce5f2;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7f9ff 0%, #fff 65%, #effbff 100%);
  box-shadow: 0 18px 46px rgba(9, 31, 82, .07);
}
.review-ready-card h2 { margin: 10px 0 12px; }
.review-ready-card p { max-width: 700px; margin: 0; color: #586780; line-height: 1.7; }
.review-ready-card .btn-row { margin: 0; flex: 0 0 auto; }
@media (max-width: 760px) {
  .review-ready-card { align-items: flex-start; flex-direction: column; gap: 22px; }
  .review-ready-card .btn-row { width: 100%; }
}

@media (max-width: 700px) {
  .hero.hero-light { padding: 76px 0 70px; }
  .hero-light h1 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .hero-light .lead { font-size: 1rem; }
  .hero-proof { gap: 8px; }
  .hero-proof span { font-size: .74rem; }
}

/* Shared light presentation. Legacy "dark" component names are retained for
   route compatibility; every public surface now uses the homepage palette. */
:root {
  --surface-tint: linear-gradient(135deg, #f6f4ff, #ffffff 58%, #effaff);
  --hero-surface: radial-gradient(ellipse at 50% 0, #f5f2ff, transparent 65%), linear-gradient(#ffffff 65%, #f8faff);
  --copy-secondary: #536580;
}
.section-head, .section-head.row {
  max-width: 860px; margin-inline: auto; text-align: center;
  justify-items: center; grid-template-columns: 1fr; align-items: center;
}
.section-head h2 { max-width: 800px; font-size: clamp(1.9rem, 3.2vw, 3.1rem); line-height: 1.15; }
.section-head .lead, .section-head.row .lead { max-width: 760px; margin-inline: auto; justify-self: center; }
.section-dark, .custom-scope-section { background: var(--surface-tint); color: var(--navy-900); }
.section-dark .eyebrow, .custom-scope-panel .eyebrow, .ecosystem-card-dark .eyebrow { color: var(--violet); }
.section-dark .lead, .section-dark .package-help, .custom-scope-panel p { color: var(--copy-secondary); }
.card.dark, .comparison-item { background: #fff; color: var(--navy-900); border-color: var(--line); }
.card.dark p, .comparison-item p, .check-list li { color: var(--copy-secondary); }
.comparison-item h3 { color: var(--navy-900); }
.card.dark.hover:hover { border-color: #cbd6e7; box-shadow: var(--shadow-sm); }
.icon-box-dark { color: var(--violet); background: #eeeaff; border-color: #e2dcff; }
.section-dark .industry-card { border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost, .btn-light { color: var(--navy-900); border-color: #ccd6e6; background: #fff; }
.btn-ghost:hover, .btn-light:hover { border-color: #9b8aff; background: #f8f6ff; }
.software-copy, .ecosystem-card-dark, .about-mark, .contact-panel {
  color: var(--navy-900); background: var(--surface-tint); border: 1px solid var(--line); box-shadow: none;
}
.software-copy p, .ecosystem-card-dark > p, .contact-panel p { color: var(--copy-secondary); }
.software-copy blockquote, .contact-method { border-color: var(--line); }
.software-detail-list span, .ecosystem-card-dark .tag-row span, .ecosystem-card-dark .ecosystem-note, .online-only-note {
  color: #41516d; background: #fff; border-color: var(--line);
}
.ecosystem-card-dark h3 { color: var(--navy-900); }
.about-mark::after { opacity: .2; }
.about-mark img { filter: none; }
.contact-panel { position: relative; top: auto; }
.contact-method span { color: var(--violet); background: #eeeaff; }
.contact-method small { color: #5b6a82; }
.custom-scope-icon { color: #fff; }
.cta-band { background: var(--surface-tint); color: var(--navy-900); border-color: #dce3f3; box-shadow: 0 16px 44px rgba(4,16,68,.06); }
.cta-band::after { opacity: .18; }
.cta-band p { color: var(--copy-secondary); }
.cta-band .btn-light, .custom-scope-section .btn-light { color: #fff; background: var(--gradient); border-color: transparent; }
.page-hero, .product-hero {
  color: var(--navy-900); background: var(--hero-surface); text-align: center;
  padding: 40px 0 76px; border-bottom: 1px solid #e8edf6;
}
.page-hero::before, .page-hero::after { display: none; }
.page-hero h1, .product-hero h1 { max-width: 980px; margin-inline: auto; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.08; }
.page-hero .lead, .product-hero .lead { color: var(--copy-secondary); max-width: 780px; margin-inline: auto; }
.page-hero .eyebrow, .product-hero .eyebrow { color: var(--violet); margin-bottom: 22px; }
.page-hero .btn-row, .product-hero .btn-row, .page-hero .market-row { justify-content: center; }
.product-hero-inner, .product-hero-inner.no-product-media { grid-template-columns: minmax(0, 980px); justify-content: center; }
.breadcrumbs { display: none !important; }
.market-row span { color: #40516e; background: #fff; border-color: #dce5f2; }
.market-note { color: #5d7091; }
.page-hero .market-note { margin-inline: auto; }
.article-header { background: var(--hero-surface); text-align: center; }
.differentiator-grid.no-product-media, .mobile-split.no-product-media { justify-content: center; }

/* Short footer: one brand block, three useful link groups, one legal row. */
@media (min-width: 901px) and (max-width: 1180px) {
  .header-cta { display: none; }
}
.site-footer { color: var(--navy-900); background: #f8faff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.65fr; gap: 64px; padding-block: 46px 34px; }
.footer-intro .brand-logo-frame { width: 204px; }
.footer-intro p { margin: 16px 0; color: var(--copy-secondary); font-size: .86rem; line-height: 1.65; }
.footer-reach { display: grid; gap: 3px; }
.footer-reach a { display: flex; align-items: center; gap: 9px; min-height: 32px; font-size: .83rem; }
.footer-reach svg { width: 17px; height: 17px; color: var(--violet); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 8px; }
.footer-group h3 { margin-bottom: 14px; font-size: .92rem; letter-spacing: 0; }
.footer-group a { display: block; padding-block: 7px; font-size: .83rem; color: #52617b; line-height: 1.4; }
.site-footer a:hover { color: var(--violet); }
.footer-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid var(--line); padding-block: 18px 24px; font-size: .75rem; color: #5b6a82; }
.footer-base nav { display: flex; gap: 22px; }
.footer-base > span:last-child { margin-right: 140px; }
.footer-base nav a { padding-block: 5px; }

/* Native disclosures: two independent columns on desktop, two compact groups
   on mobile. No question content is removed from the page or its schema. */
.faq-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px; }
.faq-group { min-width: 0; }
.faq-group-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 18px; cursor: pointer; list-style: none; color: var(--navy-900); font-size: 1.12rem; font-weight: 700; }
.faq-group-title::-webkit-details-marker { display: none; }
.faq-group-title small { display: block; margin-top: 5px; font-size: .76rem; font-weight: 500; color: #62708a; }
.faq-group-toggle { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #eeeaff; color: var(--violet); }
.faq-group[open] > .faq-group-title .faq-group-toggle { transform: rotate(45deg); }
.faq-item summary { padding: 16px 18px; font-size: .92rem; line-height: 1.5; }
.faq-item p { padding: 0 18px 18px; font-size: .9rem; line-height: 1.65; }
.faq-group-title:focus-visible, .faq-item summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 8px; }

@media (max-width: 900px) {
  .mobile-nav { position: absolute; top: 100%; background: #fff; border-color: var(--line); transform: translateY(-8px); visibility: hidden; }
  .mobile-nav.open { visibility: visible; }
  .mobile-nav a, .mobile-services > summary, .mobile-nav-brand strong, .mobile-services-panel .mobile-all-services { color: var(--navy-900); }
  .mobile-nav a, .mobile-services, .mobile-service-group, .mobile-nav-brand { border-color: var(--line); }
  .mobile-nav-brand small, .mobile-service-group a { color: var(--copy-secondary); }
  .mobile-service-group > summary { color: var(--violet); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; align-items: center; }
  .footer-intro p { margin: 0; }
  .footer-reach { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 700px) {
  .page-hero, .product-hero { padding: 24px 0 46px; }
  .page-hero h1, .product-hero h1 { font-size: clamp(2rem, 8.5vw, 3.2rem); }
  .page-hero .lead, .product-hero .lead { font-size: 1rem; }
  .page-hero .breadcrumbs, .product-hero .breadcrumbs { margin-bottom: 28px; font-size: .72rem; }
  .page-hero .eyebrow, .product-hero .eyebrow { font-size: .8rem; line-height: 1.6; margin-bottom: 16px; }
  .faq-columns { grid-template-columns: 1fr; gap: 12px; }
  .faq-group { border: 1px solid var(--line); border-radius: 16px; background: #f8faff; }
  .faq-group-title { padding: 18px; font-size: 1rem; }
  .faq-group .faq-list { padding: 0 10px 10px; }
  .faq-item summary { font-size: .88rem; padding: 14px; gap: 12px; }
  .faq-item p { padding: 0 14px 16px; }
  .footer-grid { gap: 24px; padding-block: 32px 24px; }
  .footer-intro { display: block; }
  .footer-intro p { margin: 12px 0; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-group:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .footer-group:last-child h3 { grid-column: 1 / -1; margin-bottom: 4px; }
  .footer-group h3 { margin-bottom: 8px; }
  .footer-group a { min-height: 38px; padding-block: 9px; }
  .footer-base { gap: 8px; padding-bottom: 84px; }
  .footer-base > span { width: 100%; }
  .footer-base > span:last-child { display: none; }
}
