/* =========================================================
   EQUAL System website
   Brand: blue #0D57B4 + cyan #35D0E8 (cyan only on dark bg)
   ========================================================= */

/* Fonts (self-hosted, SIL OFL): Archivo variable (wght + wdth), IBM Plex Mono */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-variable.woff2?v=e3a28eade2") 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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.woff2?v=01d2854474") 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: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-600.woff2?v=0d1f0b8d07") 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;
}

:root {
  --blue: #0D57B4;
  --blue-600: #0A4896;
  --blue-50: #EEF4FB;
  --navy: #10294F;
  --navy-900: #081E3D;
  --navy-700: #0B4A97;
  --cyan: #35D0E8;
  --cyan-text: #0B7C91;
  --body: #44586C;
  --muted: #5E748A;
  --muted-dark: #A9C8E0;
  --panel: #EEF4FB;
  --line: #D7E3EF;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --soft: #F5F8FC;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-stretch: 118%;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 41, 79, .06), 0 2px 8px rgba(16, 41, 79, .05);
  --shadow: 0 10px 30px -12px rgba(16, 41, 79, .22), 0 2px 6px rgba(16, 41, 79, .06);
  --shadow-lg: 0 30px 60px -24px rgba(8, 30, 61, .45);

  --header-h: 72px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
h1, h2 { font-stretch: var(--display-stretch); font-weight: 800; line-height: 1.08; letter-spacing: -.012em; }
h1 { font-size: clamp(2.2rem, 4.9vw, 3.6rem); color: var(--blue); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); color: var(--blue); }
h3, h4 { font-stretch: 104%; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 26px; height: 26px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan-text); margin-bottom: .9em;
}
.kicker-cyan { color: var(--cyan); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; }
.lead-sm { font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(13, 87, 180, .7); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); background: #fff; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16,41,79,.5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 148px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
  color: var(--navy); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px;
}
.main-nav a:not(.btn):hover { background: var(--panel); text-decoration: none; }
.main-nav a.is-active:not(.btn) { color: var(--blue); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #F2F6FB 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("https://assets.equalsystem.io/img/bg-light.127cbca639.webp") center / cover no-repeat; opacity: .55; pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  min-height: min(680px, calc(100vh - var(--header-h)));
  padding-top: 56px; padding-bottom: 72px;
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.2rem, 4.3vw, 3.25rem); }
.hero .lead { color: var(--body); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--blue); width: 18px; height: 18px; }
.hero-visual { position: relative; align-self: stretch; }
.hero-emblem {
  position: absolute; top: 50%; right: -28%; transform: translateY(-50%);
  width: 175%; max-width: none; object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 42% 50% at 68% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 42% 50% at 68% 50%, #000 62%, transparent 100%);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 10px)); } }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff; padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 2px solid rgba(53, 208, 232, .45); }
.stat-num { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--cyan); line-height: 1; letter-spacing: -.02em; }
.stat-label { color: var(--muted-dark); font-size: .95rem; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p:last-child { margin-bottom: 0; font-size: 1.06rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-reverse .split-media { order: -1; }
.rounded-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.feature-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.mini-card {
  background: var(--panel); border-radius: var(--radius); padding: 18px 18px 16px;
  border: 1px solid transparent; transition: border-color .2s, transform .2s;
}
.mini-card:hover { border-color: var(--line); transform: translateY(-2px); }
.mini-card .icon { color: var(--blue); margin-bottom: 10px; }
.mini-card h3 { font-size: 1.02rem; margin-bottom: .3em; }
.mini-card p { font-size: .93rem; margin: 0; }

/* ---------- Challenges ---------- */
.challenge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.challenge {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 22px 22px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.challenge:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.challenge img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 auto 8px; }
.challenge h3 { font-size: 1.08rem; }
.challenge p { font-size: .95rem; }
.challenge .answer {
  margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line);
  display: flex; gap: 8px; align-items: flex-start; color: var(--navy); font-weight: 600;
}
.challenge .answer .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Modules ---------- */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.module-card {
  position: relative; display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 20px; color: var(--body);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #B9CFE7; text-decoration: none; }
.module-card h3 { font-size: 1.1rem; margin: 14px 0 .3em; }
.module-card p { margin: 0; font-size: .95rem; }
.module-meta {
  position: absolute; top: 22px; right: 18px; font-size: .78rem; font-weight: 700; color: var(--cyan-text);
  background: #E6F7FA; padding: 3px 10px; border-radius: 999px;
}
.module-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; background: var(--panel); color: var(--blue);
}

/* ---------- Tabs ---------- */
.tab-list {
  display: flex; gap: 6px; padding: 6px; background: var(--panel); border-radius: 999px;
  width: fit-content; max-width: 100%; margin: 0 auto 32px; overflow-x: auto; scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button {
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--navy);
  background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.tab-list button:hover { background: rgba(255,255,255,.7); }
.tab-list button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(13,87,180,.8); }
.tab-panel { animation: fadeUp .4s ease both; }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.module-tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.panel-head { text-align: center; margin-bottom: 24px; }
.panel-head h3 { font-size: 1.45rem; color: var(--blue); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.list-card { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.list-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--blue); }
.list-card-head h4 { margin: 0; font-size: 1.15rem; color: var(--blue); }
.list-card-head .pill { margin-left: auto; }
.pill {
  display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; background: #fff; color: var(--blue); border: 1px solid var(--line); white-space: nowrap;
}
.pill-solid { background: var(--blue); color: #fff; border-color: var(--blue); }

.num-list { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.num-list li { counter-increment: n; position: relative; padding-left: 44px; display: flex; flex-direction: column; }
.num-list li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
}
.num-list strong { color: var(--navy); }
.num-list span { font-size: .95rem; }

.support-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.support-label { font-weight: 700; color: var(--navy); font-size: .9rem; margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 600; font-size: .85rem;
}
.chip .icon { width: 16px; height: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-dark { background: rgba(255,255,255,.1); border-color: rgba(78,127,191,.8); color: #fff; }

.browser-inline { margin-top: 24px; }

.inv-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.inv-groups { display: grid; gap: 14px; }
.group-card { background: var(--soft); border-radius: var(--radius); padding: 18px 20px; }
.group-card h4 { color: var(--blue); margin-bottom: 10px; }
.group-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.group-card dt { font-weight: 700; color: var(--navy); }
.group-card dd { margin: 0; font-size: .93rem; }

.fin-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; }
.fin-rows { display: grid; gap: 12px; }
.fin-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; background: var(--soft); border-radius: var(--radius); padding: 16px 18px; }
.fin-row h4 { margin: 0; color: var(--blue); font-size: 1rem; }
.fin-row strong { color: var(--navy); display: block; margin-bottom: 2px; font-size: .95rem; }
.fin-row p { margin: 0; font-size: .93rem; }

.other-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.other-cards { display: grid; gap: 14px; align-content: start; }
.icon-card { display: flex; gap: 14px; background: var(--soft); border-radius: var(--radius); padding: 18px; }
.icon-card h4 { margin-bottom: .25em; }
.icon-card p { margin: 0; font-size: .93rem; }
.setup-box { background: var(--panel); border-radius: var(--radius); padding: 22px; }
.setup-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.setup-head h4 { margin: 0; color: var(--blue); font-size: 1.15rem; }
.setup-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.setup-grid li { background: #fff; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; font-size: .85rem; line-height: 1.45; }
.setup-grid strong { color: var(--navy); font-size: .98rem; margin: 2px 0 2px; }
.setup-grid .count { font-size: .75rem; font-weight: 700; color: var(--cyan-text); }
.setup-grid .setup-note { background: var(--blue); color: #fff; font-weight: 600; font-size: .9rem; justify-content: center; }

/* ---------- Browser mockup ---------- */
.browser { margin: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F5FA; border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D3DDE8; }
.browser-bar span:nth-child(1) { background: #F0776F; }
.browser-bar span:nth-child(2) { background: #F4C04E; }
.browser-bar span:nth-child(3) { background: #5DCB72; }
.browser-bar em {
  font-style: normal; font-size: .78rem; color: var(--muted); background: #fff; border-radius: 6px;
  padding: 3px 12px; margin-left: 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser figcaption { padding: 12px 16px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.zoomable img { width: 100%; }
.zoomable::after {
  content: "Perbesar"; position: absolute; right: 12px; bottom: 12px;
  background: rgba(8,30,61,.82); color: #fff; font: 600 .78rem var(--font); padding: 6px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Dark tour ---------- */
.section-dark {
  background: radial-gradient(1200px 500px at 85% 0%, rgba(53,208,232,.16), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, #0A3A78 100%);
  color: var(--muted-dark);
}
.section-dark h2 { color: #fff; }
.section-dark .kicker { color: var(--cyan); }
.tab-list-dark { background: rgba(255,255,255,.08); }
.tab-list-dark button { color: #DCEAF7; }
.tab-list-dark button:hover { background: rgba(255,255,255,.1); }
.tab-list-dark button[aria-selected="true"] { background: #fff; color: var(--blue); }
.browser-dark { border-color: rgba(78,127,191,.6); max-width: 1040px; margin: 0 auto; }

/* ---------- Screenshot gallery & mobile app ---------- */
.shot-tabs .tab-list {
  flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; background: transparent;
  border-radius: 0; width: auto; overflow: visible;
}
.shot-tabs .tab-list button { border: 1px solid var(--line); background: #fff; padding: 9px 16px; }
.shot-tabs .tab-list button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.shot-tabs .tab-list button small {
  font-family: var(--font-mono); font-weight: 500; font-size: .75rem; margin-left: 8px; opacity: .65;
}
.shot-tabs .tab-list-dark button { border-color: rgba(169,200,224,.28); background: transparent; color: #DCEAF7; }
.shot-tabs .tab-list-dark button:hover { background: rgba(255,255,255,.08); }
.shot-tabs .tab-list-dark button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--blue); box-shadow: none; }
.shot-group-text { max-width: 720px; margin: -8px auto 28px; text-align: center; }

.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.shot-card { margin: 0; }
.shot-card .zoomable {
  border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgba(78,127,191,.6);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); transition: transform .25s ease, box-shadow .25s ease;
}
.shot-card .zoomable:hover, .shot-card .zoomable:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.7); }
.shot-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot-card figcaption, .phone-card figcaption { padding-top: 12px; font-size: .9rem; line-height: 1.5; }
.shot-card figcaption strong, .phone-card figcaption strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.shot-card figcaption strong { color: #fff; }

.phone-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 168px)); justify-content: center; gap: 32px 20px;
}
.phone-card { margin: 0; }
.phone-card .zoomable {
  border-radius: 26px; overflow: hidden; border: 7px solid var(--navy-900); background: var(--navy-900);
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.phone-card .zoomable:hover, .phone-card .zoomable:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.phone-card img { aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 19px; }
.phone-card .zoomable::after { right: 50%; transform: translate(50%, 4px); }
.phone-card .zoomable:hover::after, .phone-card .zoomable:focus-visible::after { transform: translate(50%, 0); }
.phone-card figcaption { text-align: center; color: var(--muted); }
.phone-card figcaption strong { color: var(--navy); }

/* ---------- Report ---------- */
.report-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 48px; }
.report-grid li {
  display: flex; align-items: center; gap: 14px; background: var(--panel); border-radius: var(--radius);
  padding: 16px 18px; font-weight: 700; color: var(--navy); line-height: 1.25;
}
.report-grid span { font-size: 1.9rem; font-weight: 800; color: var(--blue); min-width: 1.4em; letter-spacing: -.02em; }
.report-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.report-popular h3 { font-size: 1.3rem; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E2EEFB; color: var(--blue); stroke-width: 3; margin-top: 1px;
}

/* ---------- Add-on intro ---------- */
.addon-intro {
  position: relative; overflow: hidden; color: var(--muted-dark);
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  min-height: 460px; display: flex; align-items: center;
}
.addon-art {
  position: absolute; inset: 0 0 0 auto; width: 58%;
  background: url("https://assets.equalsystem.io/img/bg-waves.e8564472ac.webp") 30% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.addon-intro-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
.addon-copy { max-width: 560px; }
.addon-copy h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.addon-copy .lead { margin-bottom: 26px; }

.benefit-list { display: grid; gap: 14px; margin-top: 26px; }
.benefit { display: flex; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .2em; }
.benefit p { margin: 0; font-size: .95rem; }

/* ---------- Roles ---------- */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.role-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.role-card h3 { font-size: 1.1rem; }
.role-card ul { list-style: none; display: grid; gap: 8px; font-size: .93rem; }
.role-card li { position: relative; padding-left: 16px; }
.role-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Activity ---------- */
.checkin-cards { display: grid; gap: 14px; margin-top: 24px; }
.checkin { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.checkin h3 { color: var(--blue); }
.checkin-soft { background: var(--panel); border-color: transparent; box-shadow: none; }
.checkin-soft p { margin: 0; }

/* ---------- Flow ---------- */
.tab-list-steps { background: transparent; gap: 12px; padding: 0; border-radius: 0; }
.tab-list-steps button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 22px; min-width: 180px; font-size: 1.05rem;
}
.tab-list-steps button small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-text); font-weight: 700; }
.tab-list-steps button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); }
.tab-list-steps button[aria-selected="true"] small { color: var(--cyan); }

.flow-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.steps { list-style: none; display: grid; gap: 10px; }
.steps li {
  display: grid; grid-template-columns: 40px 118px 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.step-no {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: .92rem;
}
.roles { display: flex; flex-direction: column; gap: 4px; padding-top: 5px; }
.role { display: inline-block; width: fit-content; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.r-admin { background: var(--navy); }
.r-sales { background: var(--blue); }
.r-driver { background: var(--cyan-text); }
.r-cust { background: #E6F7FA; color: var(--cyan-text); }
.steps p { margin: 0; padding-top: 5px; font-size: .96rem; }
.flow-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.flow-side img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.outcome { background: var(--navy); color: var(--muted-dark); border-radius: var(--radius); padding: 18px 20px; }
.outcome h4 { color: var(--cyan); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.outcome p { margin: 0; color: #fff; }

/* ---------- Supporting ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.img-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.img-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.img-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.img-card-body { padding: 20px 22px 24px; }
.img-card h3 { display: flex; align-items: center; gap: 10px; }
.img-card h3 .icon { color: var(--blue); }
.img-card p { margin: 0; font-size: .96rem; }

/* ---------- Warehouse ---------- */
.warehouse { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.wh-intro img { margin-top: 24px; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.wh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wh-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.wh-card h3 { color: var(--blue); font-size: 1.08rem; margin-bottom: .1em; }
.wh-shot { margin: -8px -8px 16px; }
.wh-shot .zoomable { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.wh-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.wh-sub { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.wh-card ol { list-style: none; counter-reset: s; display: grid; gap: 10px; font-size: .93rem; }
.wh-card li { counter-increment: s; position: relative; padding-left: 32px; }
.wh-card li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--blue); color: var(--blue); font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Pricing ---------- */
.price-group-title { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-text); margin: 0 0 16px; }
.price-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-col { display: grid; gap: 16px; align-content: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.price-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.price-head h4 { margin: 0; font-size: 1.05rem; }
.price-head p { margin: 2px 0 0; font-size: .88rem; }
.price-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--panel); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.price { text-align: right; }
.price strong { display: block; color: var(--blue); font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.price small { font-size: .8rem; color: var(--muted); }
.price-card .check-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .93rem; gap: 10px; }
.price-card .check-list + .price-sub { margin-top: 14px; }
.price-sub { font-weight: 700; color: var(--navy); font-size: .9rem; margin: 0; }
.price-sub + .check-list { margin-top: 10px; padding-top: 0; border-top: 0; }
.check-cols { grid-template-columns: 1fr 1fr; }
.check-cols .icon { width: 20px; height: 20px; padding: 3px; }
.price-card-feature { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.price-card-feature h4, .price-card-feature .price strong { color: #fff; }
.price-card-feature p { color: var(--muted-dark); }
.price-card-feature .price-icon, .price-card-dark .price-icon { background: rgba(255,255,255,.12); color: var(--cyan); }
.price-card-dark { background: var(--blue); border-color: var(--blue); color: #E3EEFA; }
.price-card-dark h4, .price-card-dark .price strong { color: #fff; }
.price-card-dark .dot-list li::before { background: var(--cyan); }
.footnote { font-size: .88rem; color: var(--muted); margin: 14px 0 48px; }
.optional-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.optional-grid .price-head { grid-template-columns: auto 1fr; }
.optional-grid .price { grid-column: 1 / -1; text-align: left; padding-top: 6px; border-top: 1px solid var(--line); }
.optional-grid .price strong { display: inline; font-size: 1.35rem; }
.optional-grid .price small { margin-left: 6px; }
.price-card-dark .price { border-color: rgba(255,255,255,.2); }
.price-card-dark .price small { color: var(--muted-dark); }
.dot-list { list-style: none; display: grid; gap: 8px; margin-top: 16px; font-size: .93rem; }
.dot-list li { position: relative; padding-left: 16px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Contact ---------- */
.contact {
  position: relative; color: var(--muted-dark); padding: clamp(64px, 9vw, 112px) 0;
  background: url("https://assets.equalsystem.io/img/bg-cobalt.c028bfab08.webp") center / cover no-repeat, var(--navy-900);
}
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { color: #fff; }
.contact .lead { margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 12px; max-width: 420px; }
.contact-list a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(78,127,191,.7); color: #fff; font-weight: 700;
  transition: background .2s;
}
.contact-list a:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.contact-list small { display: block; font-weight: 400; color: var(--muted-dark); font-size: .8rem; }
.contact-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--cyan); display: inline-flex; align-items: center; justify-content: center; }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); color: var(--body); }
.contact-form h3 { font-size: 1.4rem; color: var(--blue); margin-bottom: .2em; }
.form-hint { font-size: .9rem; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--navy); background: var(--soft);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(13,87,180,.12); }
.field .is-invalid { border-color: #D6453F; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin: 4px 0 18px; cursor: pointer; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.form-error { color: #D6453F; font-size: .9rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--muted-dark); padding: 44px 0 36px; font-size: .92rem; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start;
  grid-template-areas: "brand contact" "nav nav" "copy copy";
}
.footer-brand { grid-area: brand; }
.footer-contact { grid-area: contact; justify-self: end; }
.footer-nav { grid-area: nav; }
.copyright { grid-area: copy; }
.footer-brand img { width: 150px; margin-bottom: 12px; }
.footer-brand p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #DCEAF7; font-weight: 600; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(169,200,224,.18); font-size: .85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(5, 18, 38, .86); backdrop-filter: blur(4px); }
.lightbox-stage { position: relative; display: flex; justify-content: center; align-items: center; }
.lightbox img {
  width: auto; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px);
  border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff;
}
.lightbox-caption { color: #DCEAF7; text-align: center; margin: 14px auto 0; max-width: 820px; }
.lightbox-caption strong { color: #fff; margin-right: .4em; }
.lightbox-caption strong:empty { display: none; }
.lightbox-count { font-family: var(--font-mono); font-size: .8rem; color: var(--cyan); margin-right: .8em; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.94); color: var(--navy); cursor: pointer; box-shadow: var(--shadow);
  display: inline-flex; align-items: center; justify-content: center;
}
.lightbox-nav[hidden] { display: none; }
.lightbox-nav:hover { background: #fff; color: var(--blue); }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-close {
  position: fixed; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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



/* ---------- Links ---------- */
.text-link { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.section-link { margin: 28px 0 0; }

/* ---------- Challenges: comparison list ---------- */
.compare { margin-top: clamp(40px, 5vw, 56px); }
.compare-title { font-size: 1.25rem; margin-bottom: 14px; }
.compare-head, .compare-list li { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px 32px; }
.compare-head {
  font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 0 0 10px; border-bottom: 1.5px solid var(--navy);
}
.compare-head span:last-child { color: var(--cyan-text); }
.compare-list { list-style: none; }
.compare-list li { padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.compare-list p { margin: 0; }
.compare-problem { color: var(--muted); }
.compare-solution { display: flex; gap: 10px; color: var(--navy); font-weight: 600; }
.compare-solution .icon { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: #E2EEFB; color: var(--blue); stroke-width: 3; }

/* ---------- Advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.section-soft .adv-card { background: #fff; }
.adv-card h3 { font-size: 1.2rem; margin: 10px 0 2px; }
.adv-card p { margin: 0 0 .6em; }
.adv-card .text-link { margin-top: auto; padding-top: 6px; }
.adv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.adv-feature {
  grid-column: span 2; background: linear-gradient(150deg, var(--blue) 0%, var(--navy-700) 100%); border-color: transparent; color: #DCEAF7;
  padding: 32px; justify-content: flex-end; min-height: 260px;
}
.section-soft .adv-feature { background: linear-gradient(150deg, var(--blue) 0%, var(--navy-700) 100%); }
.adv-feature h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.adv-feature p { font-size: 1.04rem; max-width: 38em; }
.adv-feature .module-icon { background: rgba(255,255,255,.14); color: #fff; }
.adv-feature .pill { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.adv-feature .text-link { color: #fff; }
.adv-span-2 { grid-column: span 2; }
.adv-span-3 { grid-column: 1 / -1; }

/* ---------- One transaction flow ---------- */
.flow-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 52px); }
.flow-head h2 { margin-bottom: 0; }
.flow-head p:last-child { margin-bottom: 0; }
.txn-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.txn-flow::before {
  content: ""; position: absolute; top: 19px; left: 20px; right: calc((100% - 72px) / 4 - 20px); height: 2px; background: var(--line);
}
.txn-flow::after {
  content: ""; position: absolute; top: 19px; left: 20px; height: 2px; width: calc((100% - 72px) * .75 + 72px);
  background: var(--blue); transform-origin: left; transition: transform 2.4s ease .2s;
}
.js .txn-flow:not(.is-visible)::after { transform: scaleX(0); }
.txn-step { position: relative; display: flex; flex-direction: column; }
.txn-no {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); border: 2px solid var(--blue); color: #fff;
  font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px; transition: background .4s, border-color .4s, color .4s;
  transition-delay: calc(var(--i) * .7s + .2s);
}
.js .txn-flow:not(.is-visible) .txn-no { background: #fff; border-color: var(--line); color: var(--muted); }
.txn-step h3 { font-size: 1.08rem; margin-bottom: .3em; }
.txn-step > p { font-size: .94rem; color: var(--muted); }
.txn-card {
  margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  font-size: .88rem; box-shadow: var(--shadow-sm);
  transition: opacity .5s, transform .5s; transition-delay: calc(var(--i) * .7s + .35s);
}
.js .txn-flow:not(.is-visible) .txn-card { opacity: .45; transform: translateY(6px); }
.txn-card-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.txn-card dl { margin: 0; display: grid; gap: 6px; }
.txn-card dl div { display: flex; justify-content: space-between; gap: 12px; }
.txn-card dt { color: var(--body); }
.txn-card dd { margin: 0; font-family: var(--font-mono); font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.txn-badge {
  display: flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 10px; border-radius: 8px;
  background: #E3F5EC; color: #1C7A50; font-weight: 650; font-size: .84rem;
}
.txn-badge .icon { width: 16px; height: 16px; stroke-width: 3; }
.txn-note { margin: 22px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Who it fits ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fit-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.fit-item h3 { font-size: 1.1rem; margin-bottom: .3em; }
.fit-item p { margin: 0; }
.fit-facts { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 36px; background: var(--panel); border-radius: var(--radius); padding: 16px 20px; }
.fit-facts div { display: flex; gap: 8px; flex-wrap: wrap; }
.fit-facts dt { font-weight: 700; color: var(--navy); }
.fit-facts dd { margin: 0; }
.fit-foot { margin: 20px 0 0; }

/* ---------- Pricing explanation (cta with points) ---------- */
.cta-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.cta-split .cta-actions { justify-content: flex-start; }
.cta-actions .btn { max-width: 100%; white-space: normal; text-align: center; }
.cta-split .lead { font-size: 1.06rem; }
.cta-points { list-style: none; margin: 0; }
.cta-points li {
  padding: 16px 0 16px 26px; border-top: 1px solid rgba(169,200,224,.25); position: relative;
  font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #fff; line-height: 1.35;
}
.cta-points li:last-child { border-bottom: 1px solid rgba(169,200,224,.25); }
.cta-points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 10px; border-radius: 2px; background: var(--cyan); }
.cta-included { margin-top: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(169,200,224,.22); border-radius: var(--radius); padding: 20px 22px; }
.cta-included h3 { color: #fff; font-size: 1.02rem; margin-bottom: 12px; }
.cta-included .check-list { gap: 10px; color: #DCEAF7; }
.cta-included .check-list .icon { background: rgba(53,208,232,.16); color: var(--cyan); }
.cta-note { margin: 14px 0 0; font-size: .86rem; }
.cta-section:not(.cta-dark) .cta-points li { color: var(--navy); border-color: var(--line); }
.cta-section:not(.cta-dark) .cta-included { background: var(--panel); border-color: var(--line); }
.cta-section:not(.cta-dark) .cta-included h3 { color: var(--navy); }
.cta-section:not(.cta-dark) .cta-included .check-list { color: var(--body); }

/* ---------- Working together ---------- */
.proc-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.proc-steps li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.proc-no { font-family: var(--font-mono); font-weight: 600; font-size: 1.6rem; color: var(--blue); line-height: 1; min-width: 1.2em; }
.proc-steps h3 { font-size: 1.06rem; margin-bottom: .3em; }
.proc-steps p { margin: 0; font-size: .95rem; }
.proc-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.proc-service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.proc-service h3 { font-size: 1.04rem; margin: 12px 0 .3em; }
.proc-service p { margin: 0; font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 32px 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 44px 16px 0; }
.faq-answer p { margin: 0 0 .7em; }

/* ---------- Footer contact ---------- */
.footer-contact { font-style: normal; display: grid; gap: 4px; line-height: 1.5; }
.footer-contact strong { color: #fff; }
.footer-contact a { color: #DCEAF7; }

/* ---------- WhatsApp: floating button and mobile bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); text-decoration: none; }
.wa-tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--navy-900); color: #fff; font-size: .86rem; font-weight: 600; padding: 8px 12px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; }
.btn-wa { background: #25D366; color: #0B3D22; }
.btn-wa:hover { background: #1FBE5B; }
.mobile-bar { display: none; }

/* ---------- Typography: monospace for numbers and labels ---------- */
.kicker, .module-meta, .setup-grid .count, .browser-bar em, .tab-list-steps button small,
.outcome h4, .price-group-title, .pill, .role, .footnote {
  font-family: var(--font-mono); font-weight: 500;
}
.kicker { font-size: .76rem; letter-spacing: .14em; }
.stat-num, .report-grid span, .price strong, .step-no, .num-list li::before, .wh-card li::before {
  font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.stat-num { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.report-grid span { font-size: 1.7rem; }
.price strong { font-size: 1.12rem; letter-spacing: -.01em; }
.optional-grid .price strong { font-size: 1.25rem; }
.btn, .main-nav a, .tab-list button { letter-spacing: .005em; }
.btn { font-weight: 650; }
.lead, .lead-sm { letter-spacing: -.003em; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex; flex: none; gap: 2px; padding: 3px; margin-left: 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.lang-switch a {
  font-family: var(--font-mono); font-weight: 600; font-size: .78rem; letter-spacing: .06em;
  color: var(--muted); padding: 5px 10px; border-radius: 999px; line-height: 1;
}
.lang-switch a:hover { color: var(--blue); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--blue); color: #fff; }
:lang(en) .zoomable::after { content: "Zoom"; }

/* ---------- Responsive safety ---------- */
/* Grid/flex children may shrink below their content width; long words wrap instead of widening the page */
.hero-inner > *, .split > *, .contact-inner > *, .warehouse > *, .report-split > *, .flow-layout > *,
.block-grid > *, .inv-layout > *, .fin-layout > *, .other-layout > *, .two-col > *, .price-col, .footer-inner > * { min-width: 0; }
h1, h2, h3, h4, p, li, dd, dt, .btn, .stat-label { overflow-wrap: break-word; }
h1, h2 { text-wrap: balance; }
.lead, .lead-sm, .section-head p { text-wrap: pretty; }

/* ---------- CMS-driven layouts ---------- */
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.block-full { grid-column: 1 / -1; }
.block-media { align-self: center; }
.block .list-card { height: 100%; }
.block-full .other-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.block-full .setup-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.price-group + .price-group { margin-top: 8px; }
.price-masonry { columns: 2; column-gap: 16px; }
.price-masonry .price-card { break-inside: avoid; margin-bottom: 16px; display: block; }
.price-stack { display: grid; gap: 16px; max-width: 760px; }
.price-group .footnote { margin: 0 0 48px; }
.price-group:last-child .footnote { margin-bottom: 0; }

.report-single { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.flow-single { grid-template-columns: 1fr; }
.contact-single { grid-template-columns: 1fr; }

.cta-section { padding: clamp(64px, 9vw, 104px) 0; }
.cta-dark {
  color: var(--muted-dark);
  background: url("https://assets.equalsystem.io/img/bg-cobalt.c028bfab08.webp") center / cover no-repeat, var(--navy-900);
}
.cta-dark h2 { color: #fff; }
.cta-inner { max-width: 820px; text-align: center; }
.cta-inner .lead { margin-left: auto; margin-right: auto; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.text-section { max-width: 820px; }
.text-center { text-align: center; }
.text-section p { font-size: 1.06rem; }

.preview-bar {
  position: sticky; top: 0; z-index: 60; display: flex; gap: 12px; justify-content: center; align-items: center;
  background: #E08A0C; color: #fff; font-weight: 700; font-size: .9rem; padding: 8px 16px;
}
.preview-bar a { color: #fff; text-decoration: underline; }
.preview-bar + .skip-link + .site-header { top: 37px; }

@media (max-width: 960px) {
  .block-grid { grid-template-columns: 1fr; }
  .price-masonry { columns: 1; }
}

/* =========================================================
   Responsive
   ========================================================= */
/* Hamburger menu once the links no longer fit on one line */
@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .lang-switch { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(16,41,79,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 12px 10px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
}

@media (max-width: 1100px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .setup-grid { grid-template-columns: repeat(3, 1fr); }
  .report-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-span-3, .adv-span-2 { grid-column: 1 / -1; }
  .flow-head, .cta-split, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .txn-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .txn-flow::before, .txn-flow::after { display: none; }
  .fit-grid { grid-template-columns: 1fr; }
  .proc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 0; }
  .hero-visual { height: clamp(240px, 58vw, 420px); margin: 0 calc(var(--gutter) * -1); }
  .hero-emblem { right: 50%; width: 140%; transform: translate(50%, -50%); animation: none;
    -webkit-mask-image: radial-gradient(ellipse 38% 48% at 68% 50%, #000 60%, transparent 100%);
            mask-image: radial-gradient(ellipse 38% 48% at 68% 50%, #000 60%, transparent 100%); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .split, .report-split, .warehouse, .contact-inner, .fin-layout, .inv-layout, .other-layout, .flow-layout { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .price-layout { grid-template-columns: 1fr; }
  .optional-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .flow-side { position: static; grid-template-columns: 1fr 1fr; align-items: center; }
  .addon-art { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .tab-list { margin-left: 0; }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-feature, .adv-span-2, .adv-span-3 { grid-column: auto; }
  .adv-feature { min-height: 0; padding: 26px; }
  .txn-flow, .proc-steps, .proc-services { grid-template-columns: 1fr; }
  .compare-head { display: none; }
  .compare-list li { grid-template-columns: 1fr; gap: 6px; }
  .faq-answer, .faq-item summary { padding-right: 32px; }
  .fit-facts { flex-direction: column; }
  body:has(.mobile-bar) .wa-float { display: none; }
  .mobile-bar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(8,30,61,.3);
  }
  .mobile-bar[hidden] { display: none; }
  .mobile-bar .btn { flex: 1 1 0; padding: 12px 10px; font-size: .95rem; min-height: 46px; }
  .site-footer.has-mobile-bar { padding-bottom: 96px; }
  :root { --gutter: 16px; --display-stretch: 108%; }
  h1, .hero h1 { font-size: clamp(1.85rem, 8.6vw, 2.4rem); }
  h2 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  .addon-copy h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .kicker { letter-spacing: .1em; }
  body { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .challenge-grid, .module-grid, .role-grid, .optional-grid, .support-grid, .wh-grid, .feature-mini-grid { grid-template-columns: 1fr; }
  .module-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .module-card .module-icon { grid-row: 1 / 4; }
  .module-meta { position: static; justify-self: start; grid-column: 2; padding: 2px 8px; font-size: .72rem; }
  .module-card h3 { grid-column: 2; margin: 4px 0 .2em; }
  .module-card p { grid-column: 2; }
  .module-grid { gap: 10px; }
  .module-tabs { padding: 16px; border-radius: var(--radius); }
  .tab-list { border-radius: 14px; width: 100%; }
  .tab-list-steps { overflow-x: auto; }
  .tab-list-steps button { min-width: 150px; padding: 10px 16px; }
  .group-card dl { grid-template-columns: 1fr; }
  .fin-row { grid-template-columns: 1fr; gap: 6px; }
  .setup-grid { grid-template-columns: 1fr 1fr; }
  .setup-grid .setup-note { grid-column: 1 / -1; }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-grid li { min-width: 0; }
  .report-grid li { padding: 14px; gap: 10px; font-size: .92rem; }
  .report-grid span { font-size: 1.5rem; }
  .steps li { grid-template-columns: 36px 1fr; }
  .steps p { grid-column: 1 / -1; padding-top: 0; }
  .roles { flex-direction: row; flex-wrap: wrap; padding-top: 6px; }
  .flow-side { grid-template-columns: 1fr; }
  .price-head { grid-template-columns: auto 1fr; }
  .price { grid-column: 1 / -1; text-align: left; padding-left: 56px; }
  .price strong, .price small { display: inline; }
  .price small { margin-left: 6px; }
  .check-cols { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "contact" "nav" "copy"; }
  .footer-contact { justify-self: start; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .browser-bar em { display: none; }
  .zoomable::after { display: none; }
  .lightbox { max-width: 100vw; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  /* Gallery and phones become swipeable rows */
  .shot-grid, .phone-grid {
    grid-template-columns: none; grid-auto-flow: column; justify-content: start; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .shot-grid::-webkit-scrollbar, .phone-grid::-webkit-scrollbar { display: none; }
  .shot-grid { grid-auto-columns: 84%; }
  .phone-grid { grid-auto-columns: 56%; }
  .shot-card, .phone-card { scroll-snap-align: start; }
  .shot-tabs .tab-list button { padding: 7px 13px; font-size: .9rem; }
}

@media (max-width: 359px) {
  .report-grid, .setup-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js .txn-flow:not(.is-visible)::after { transform: none; }
  .js .txn-flow:not(.is-visible) .txn-card { opacity: 1; transform: none; }
  .js .txn-flow:not(.is-visible) .txn-no { background: var(--blue); border-color: var(--blue); color: #fff; }
}
