/* ==========================================================================
   ARCO — brand website styles
   Colours are taken from the ARCO logo: deep navy wordmark + indigo dot.
   ========================================================================== */

:root {
  --navy: #0a0f1f;
  --navy-2: #121a33;
  --navy-3: #1c2647;
  --indigo: #4338ff;
  --indigo-2: #6a61ff;
  --indigo-soft: #eceaff;
  --ink: #0a0f1f;
  --ink-2: #3b4257;
  --ink-3: #6b7288;
  --line: #e4e6ee;
  --bg: #fafafc;
  --surface: #ffffff;
  --surface-2: #f3f4f8;
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #e11d48;
  --wa: #25d366;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 15, 31, .05), 0 12px 32px -12px rgba(10, 15, 31, .14);
  --shadow-lg: 0 30px 70px -30px rgba(10, 15, 31, .35);
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 34px; height: 28px; }
.logo-word { font-family: "Unbounded", var(--display); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.logo-sub { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: 10px; margin-left: 2px; }
.mark-stroke { stroke: var(--navy); }
.on-dark .mark-stroke, .site-footer .mark-stroke { stroke: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 252, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10,15,31,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.active { color: var(--ink); background: var(--surface-2); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.has-menu:hover .chev, .has-menu.open .chev { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  width: 360px; padding: 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .menu, .has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s; }
.menu a:hover { background: var(--surface-2); }
.menu-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); }
.menu-icon svg { width: 20px; height: 20px; }
.menu strong { display: block; font-size: 15px; }
.menu span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 24px; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-link { width: 100%; justify-content: space-between; border-radius: 12px; padding: 14px; }
  .menu { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; opacity: 1; visibility: visible; }
  .has-menu.open .menu { display: block; transform: none; }
  .has-menu:hover .menu, .has-menu:focus-within .menu { transform: none; }
  .has-menu:not(.open):hover .menu { display: none; }
  .nav-links .mobile-cta { display: block; padding-top: 12px; }
}
@media (min-width: 961px) { .nav-links .mobile-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(67,56,255,.7); }
.btn-primary:hover { background: #3a2ff0; box-shadow: 0 14px 30px -10px rgba(67,56,255,.8); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9ccd8; }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-wa { background: var(--wa); color: #06331a; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--indigo); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Section scaffolding ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-sm { padding: 52px 0; } }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .lead, .section-dark .muted { color: #aab1c7; }
.section-tint { background: var(--surface-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo);
}
.eyebrow .num { font-family: var(--display); color: var(--ink-3); }
.section-dark .eyebrow { color: #9d97ff; }
.section-dark .eyebrow .num { color: #6f7896; }
.eyebrow-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 4px rgba(67,56,255,.15); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 16px; }
.section-head .lead { margin-top: 18px; }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--ink-3); }
.accent { color: var(--indigo); }
.section-dark .accent { color: #8c85ff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(67,56,255,.18), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.035em; margin-top: 20px; }
.hero .lead { margin-top: 22px; max-width: 560px; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-3); }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 80px; } }

.hero-dark { background: var(--navy); color: #fff; }
.hero-dark::before { background: radial-gradient(closest-side, rgba(67,56,255,.45), transparent 70%); }
.hero-dark .lead { color: #b6bdd3; }
.hero-dark .hero-note { color: #97a0bb; }
.hero-dark .eyebrow { color: #a49fff; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pill b { background: var(--indigo); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.hero-dark .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #d6daea; }

/* Big brand mark in home hero */
.brand-stage { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-left: auto; width: 100%; }
.brand-stage .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #cfd2e0; animation: spin 60s linear infinite; }
.brand-stage .orbit.o2 { inset: 12%; border-style: solid; border-color: #e6e7f0; animation-duration: 90s; animation-direction: reverse; }
.brand-stage .big-mark { position: absolute; inset: 27%; filter: drop-shadow(0 30px 40px rgba(10,15,31,.18)); }
.brand-stage .big-mark .dot { animation: pulse 3.2s ease-in-out infinite; transform-origin: 50px 60px; }
.orbit-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; font-size: 14px; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.orbit-chip small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.orbit-chip i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); }
.orbit-chip i svg { width: 18px; height: 18px; }
.orbit-chip.c1 { top: 6%; left: 0; }
.orbit-chip.c2 { top: 30%; right: -4%; animation-delay: -1.5s; }
.orbit-chip.c3 { bottom: 18%; left: -6%; animation-delay: -3s; }
.orbit-chip.c4 { bottom: 2%; right: 8%; animation-delay: -4.5s; }
.orbit-chip.c4 i { background: #dcfce7; color: var(--green); }
@media (max-width: 960px) { .brand-stage { margin: 12px auto 0; max-width: 440px; } }
@media (max-width: 480px) { .orbit-chip { font-size: 12.5px; padding: 8px 10px; } .orbit-chip small { display: none; } .orbit-chip i { width: 28px; height: 28px; } .orbit-chip.c2 { right: 0; } .orbit-chip.c3 { left: 0; } }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Division cards (home) ---------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .divisions { grid-template-columns: 1fr; } }
.division {
  position: relative; border-radius: 28px; padding: 44px; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.division.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.division.dark .muted { color: #a3abc4; }
.division h3 { font-size: clamp(28px, 3vw, 38px); margin: 14px 0 12px; }
.division .tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.division.dark .tag { color: #9d97ff; }
.division-list { margin: 28px 0 32px; display: grid; gap: 10px; }
.division-list a {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--surface-2);
  border: 1px solid transparent; transition: border-color .15s, transform .15s, background .15s;
}
.division-list a:hover { border-color: var(--indigo); transform: translateX(4px); background: #fff; }
.division-list strong { display: block; font-size: 16px; }
.division-list span { display: block; font-size: 13.5px; color: var(--ink-3); }
.division-list .arrow { margin-left: auto; width: 18px; height: 18px; color: var(--indigo); flex: none; }
.division .menu-icon { width: 44px; height: 44px; }
.division-foot { margin-top: auto; }
.division.dark .feature-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 32px; }
.feature-mini div { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 14px; font-weight: 600; }
.feature-mini div svg { width: 20px; height: 20px; color: #8c85ff; margin-bottom: 10px; }
.feature-mini div span { display: block; font-weight: 400; color: #a3abc4; font-size: 13px; margin-top: 2px; }
@media (max-width: 520px) { .division { padding: 28px 22px; } .division.dark .feature-mini { grid-template-columns: 1fr; } }

/* ---------- Chain diagram (home) ---------- */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.chain-node { position: relative; text-align: center; padding: 0 14px; }
.chain-node .node-icon {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 24px; display: grid; place-items: center;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); color: #fff; position: relative; z-index: 1;
}
.chain-node .node-icon svg { width: 34px; height: 34px; }
.chain-node.hl .node-icon { background: var(--indigo); border-color: var(--indigo); box-shadow: 0 16px 40px -12px rgba(67,56,255,.8); }
.chain-node:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; left: calc(50% + 50px); right: calc(-50% + 50px); height: 2px;
  background: repeating-linear-gradient(90deg, #4c56a0 0 8px, transparent 8px 14px);
}
.chain-node h4 { font-size: 18px; }
.chain-node p { font-size: 14px; color: #a3abc4; margin-top: 6px; }
.chain-node .by { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(67,56,255,.2); color: #b9b4ff; }
.chain-layer {
  margin-top: 44px; padding: 20px 24px; border-radius: 18px; border: 1px dashed rgba(157,151,255,.5);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; color: #cfd3e6;
  background: rgba(67,56,255,.08);
}
.chain-layer svg { width: 22px; height: 22px; color: var(--wa); }
@media (max-width: 820px) {
  .chain { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .chain-node::after { display: none; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat { background: var(--surface); padding: 30px 26px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1; }
.stat b em { font-style: normal; color: var(--indigo); }
.stat span { display: block; margin-top: 10px; color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Feature cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6d8e3; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); margin-bottom: 20px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card ul.ticks { margin-top: 14px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--indigo-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.section-dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section-dark .card:hover { border-color: rgba(157,151,255,.4); box-shadow: none; }
.section-dark .card p, .section-dark .ticks li { color: #b0b7cd; }
.section-dark .card .ic { background: rgba(67,56,255,.2); color: #aaa5ff; }
.section-dark .ticks li::before { background-color: rgba(67,56,255,.25); }

.card-num { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- Showcase (brochure "See it at work") ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .showcase { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.show-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.show-card .screen { background: linear-gradient(160deg, #eef0ff, #f6f7fb); padding: 22px; border-bottom: 1px solid var(--line); }
.show-card .body { padding: 26px; }
.show-card .step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; margin-right: 10px; }
.show-card .kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.show-card h3 { font-size: 20px; margin: 12px 0 14px; }

/* Mini UI mockups */
.ui { color: var(--ink); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px -14px rgba(10,15,31,.3); border: 1px solid #e7e8f0; overflow: hidden; font-size: 11.5px; }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid #eef0f5; background: #fbfbfd; }
.ui-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e2e4ec; }
.ui-bar b { margin-left: 6px; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.ui-pad { padding: 12px; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-kpi { background: #f5f6fa; border-radius: 8px; padding: 8px; }
.ui-kpi small { display: block; color: var(--ink-3); font-size: 9.5px; }
.ui-kpi b { font-size: 14px; font-family: var(--display); }
.ui-rows { margin-top: 10px; display: grid; gap: 6px; }
.ui-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; background: #fafbfd; border: 1px solid #f0f1f6; }
.ui-row .grow { flex: 1; height: 6px; border-radius: 3px; background: #e9eaf2; overflow: hidden; }
.ui-row .grow span { display: block; height: 100%; background: var(--indigo); border-radius: 3px; }
.badge { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 700; }
.b-ok { background: #dcfce7; color: #15803d; }
.b-low { background: #fef3c7; color: #b45309; }
.b-out { background: #ffe4e6; color: #be123c; }
.b-ind { background: var(--indigo-soft); color: var(--indigo); }
.ui table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.ui th, .ui td { padding: 5px 4px; text-align: center; border-bottom: 1px solid #f0f1f6; }
.ui th { color: var(--ink-3); font-weight: 600; font-size: 9.5px; }
.ui td:first-child, .ui th:first-child { text-align: left; font-weight: 700; }
.ui .total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e2e4ec; font-weight: 700; }
.ui .flow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ui .flow span { padding: 5px 8px; border-radius: 6px; background: #f5f6fa; font-weight: 600; }
.ui .flow span.on { background: var(--indigo); color: #fff; }
.ui .flow em { color: var(--ink-3); font-style: normal; }
.ui .bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.ui .bars span { flex: 1; background: #d9d7ff; border-radius: 4px 4px 0 0; }
.ui .bars span.hi { background: var(--indigo); }
.power-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.power-grid span { aspect-ratio: 1; border-radius: 3px; background: #dcfce7; }
.power-grid span.l { background: #fef3c7; }
.power-grid span.o { background: #ffe4e6; }
.power-grid span.x { background: #dbeafe; }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 0; counter-reset: step; }
.pipe-step { position: relative; text-align: center; padding: 0 6px; }
.pipe-step .dot {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--indigo); color: var(--indigo); font-family: var(--display); font-weight: 700; font-size: 18px;
  position: relative; z-index: 1;
}
.pipe-step:last-child .dot { background: var(--indigo); color: #fff; }
.pipe-step:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: calc(50% + 30px); right: calc(-50% + 30px); height: 2px; background: linear-gradient(90deg, var(--indigo), #b8b3ff); }
.pipe-step b { display: block; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; }
.pipe-step small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; line-height: 1.4; }
.section-dark .pipe-step .dot { background: var(--navy); }
.section-dark .pipe-step:last-child .dot { background: var(--indigo); }
.section-dark .pipe-step small { color: #97a0bb; }
@media (max-width: 860px) {
  .pipeline { grid-template-columns: 1fr; gap: 0; max-width: 420px; margin: 0 auto; }
  .pipe-step { display: grid; grid-template-columns: 54px 1fr; gap: 0 16px; text-align: left; padding: 0 0 22px; align-items: center; }
  .pipe-step .dot { margin: 0; grid-row: span 2; }
  .pipe-step small { margin-top: 0; }
  .pipe-step:not(:last-child)::after { top: 54px; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; }
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }
.split h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 16px 0 18px; }
.split .ticks { margin-top: 24px; display: grid; gap: 12px; }
.split .ticks li { font-size: 16px; }

/* ---------- Product lines ---------- */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .lines { grid-template-columns: 1fr; } }
.line { padding: 26px; border-radius: 18px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.line .n { font-family: var(--display); font-size: 40px; font-weight: 700; color: #3a4371; line-height: 1; }
.line h3 { font-size: 20px; margin: 16px 0 8px; }
.line p { color: #a3abc4; font-size: 14.5px; }

/* ---------- Doc pipelines (wholesale) ---------- */
.doc-pipes { display: grid; gap: 14px; }
.doc-pipe { display: grid; grid-template-columns: 120px repeat(4, 1fr); gap: 10px; align-items: center; }
.doc-pipe > b { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.doc-pipe > span { position: relative; padding: 14px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 14.5px; }
.doc-pipe > span:not(:last-child)::after { content: "›"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: var(--indigo); font-weight: 700; z-index: 1; }
@media (max-width: 760px) { .doc-pipe { grid-template-columns: 1fr 1fr; } .doc-pipe > b { grid-column: 1 / -1; } .doc-pipe > span::after { display: none; } }

/* ---------- Reports block ---------- */
.reports { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
@media (max-width: 860px) { .reports { grid-template-columns: 1fr; } }
.reports-count { border-radius: 22px; padding: 34px; background: var(--indigo); color: #fff; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; }
.reports-count b { font-family: var(--display); font-size: 88px; line-height: .9; letter-spacing: -0.04em; }
.reports-count span { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .reports-grid { grid-template-columns: 1fr; } }
.reports-grid .card h3 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); font-family: var(--font); font-weight: 800; }

/* ---------- Tech chips ---------- */
.tech { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tech .lbl { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-right: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.section-dark .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #d3d7e6; }

/* ---------- Phone mockup (retail / communication) ---------- */
.phone {
  width: 290px; max-width: 100%; margin: 0 auto; border-radius: 40px; padding: 12px; background: var(--navy);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #283156;
}
.phone-screen { color: var(--ink); border-radius: 30px; overflow: hidden; background: #f4f5f9; min-height: 470px; display: flex; flex-direction: column; }
.phone-top { background: var(--navy-2); color: #fff; padding: 22px 18px 16px; }
.phone-top small { color: #97a0bb; font-size: 11px; }
.phone-top b { display: block; font-family: var(--display); font-size: 17px; }
.phone-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.phone-tiles div { background: #fff; border-radius: 14px; padding: 12px; font-size: 12px; font-weight: 700; border: 1px solid #eceef4; }
.phone-tiles div i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--indigo-soft); color: var(--indigo); margin-bottom: 8px; }
.phone-tiles div i svg { width: 16px; height: 16px; }
.phone-job { margin: 0 14px; background: #fff; border-radius: 14px; padding: 12px; border: 1px solid #eceef4; font-size: 11.5px; }
.phone-job .jt { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.phone-job .track { display: flex; gap: 4px; }
.phone-job .track span { flex: 1; height: 5px; border-radius: 3px; background: #e5e7f0; }
.phone-job .track span.on { background: var(--indigo); }
.phone-job .tl { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 9.5px; margin-top: 6px; }

/* WhatsApp chat mock */
.wa-head { background: #075e54; color: #fff; padding: 18px 16px 12px; display: flex; align-items: center; gap: 10px; }
.wa-head .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.wa-head .av svg { width: 20px; height: 18px; }
.wa-head b { font-size: 14px; display: block; }
.wa-head small { font-size: 11px; opacity: .8; }
.wa-body { flex: 1; background: #ece5dd; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.bubble { max-width: 85%; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); line-height: 1.45; }
.bubble.out { align-self: flex-end; background: #dcf8c6; }
.bubble .meta { display: block; text-align: right; font-size: 9.5px; color: #7a8a80; margin-top: 3px; }
.bubble .cta-btn { display: block; margin: 8px -10px -8px; padding: 8px; border-top: 1px solid #eee; text-align: center; color: #0a7cff; font-weight: 700; }
.bubble b { font-weight: 700; }

/* ---------- Inbox mock (communication) ---------- */
.inbox { display: grid; grid-template-columns: 200px 1fr 230px; min-height: 380px; font-size: 12px; }
.inbox-list { border-right: 1px solid #eef0f5; }
.inbox-list div { padding: 10px 12px; border-bottom: 1px solid #f3f4f8; display: flex; gap: 8px; align-items: center; }
.inbox-list div.on { background: var(--indigo-soft); }
.inbox-list .av { width: 28px; height: 28px; border-radius: 50%; background: #d9dcef; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: var(--navy); }
.inbox-list small { display: block; color: var(--ink-3); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.inbox-list .un { margin-left: auto; background: var(--wa); color: #fff; border-radius: 999px; font-size: 9.5px; padding: 1px 6px; font-weight: 700; }
.inbox-chat { background: #f4f1ec; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.inbox-drawer { border-left: 1px solid #eef0f5; padding: 12px; display: grid; gap: 10px; align-content: start; }
.drawer-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.drawer-kpis div { background: #f5f6fa; border-radius: 8px; padding: 7px; }
.drawer-kpis small { display: block; color: var(--ink-3); font-size: 9.5px; }
.drawer-kpis b { font-family: var(--display); font-size: 13px; }
.drawer-card { border: 1px solid #eceef4; border-radius: 10px; padding: 10px; }
.drawer-card h5 { margin: 0 0 6px; font-size: 11px; }
.drawer-card .acts { display: flex; gap: 6px; margin-top: 8px; }
.drawer-card .acts span { flex: 1; text-align: center; padding: 5px; border-radius: 6px; font-weight: 700; font-size: 10px; background: var(--indigo); color: #fff; }
.drawer-card .acts span + span { background: #f0f1f6; color: var(--ink); }
@media (max-width: 900px) { .inbox { grid-template-columns: 1fr 1fr; } .inbox-list { display: none; } }
@media (max-width: 560px) { .inbox { grid-template-columns: 1fr; } .inbox-drawer { border-left: 0; border-top: 1px solid #eef0f5; } }

/* ---------- Template table (communication) ---------- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--surface-2); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 560px) { .tbl th, .tbl td { padding: 12px; font-size: 14px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--indigo); margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Callout ---------- */
.callout { display: flex; gap: 20px; padding: 28px; border-radius: 20px; background: var(--indigo-soft); border: 1px solid #d8d5ff; }
.callout .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--indigo); color: #fff; display: grid; place-items: center; }
.callout .ic svg { width: 24px; height: 24px; }
.callout h3 { font-size: 20px; margin-bottom: 8px; }
.callout p { color: var(--ink-2); }
@media (max-width: 560px) { .callout { flex-direction: column; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 56px; background: var(--navy); color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(67,56,255,.55), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band p { color: #b6bdd3; margin-top: 14px; font-size: 17px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 48px 28px; } .cta-actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; margin-top: 32px; }
.contact-info a, .contact-info div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.contact-info i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); flex: none; }
.contact-info i svg { width: 20px; height: 20px; }
.contact-info small { display: block; color: var(--ink-3); font-size: 13px; }
.contact-info b { font-size: 15.5px; word-break: break-word; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form { padding: 24px 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #d9dce6; background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(67,56,255,.14); }
.interest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
@media (max-width: 420px) { .interest { grid-template-columns: 1fr; } }
.interest label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9dce6; cursor: pointer; font-weight: 600; font-size: 14px; transition: .15s; }
.interest input { accent-color: var(--indigo); width: 16px; height: 16px; }
.interest label:has(input:checked) { border-color: var(--indigo); background: var(--indigo-soft); }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.form-success { display: none; padding: 16px; border-radius: 12px; background: #dcfce7; color: #14532d; font-weight: 600; margin-top: 16px; }
.form.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3c9dc; padding: 80px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-sub { color: #8790ad; border-color: #2a3358; }
.site-footer p { margin-top: 18px; max-width: 340px; font-size: 15px; color: #97a0bb; }
.site-footer h4 { font-family: var(--font); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer li + li { margin-top: 10px; }
.site-footer li a { font-size: 15px; transition: color .15s; }
.site-footer li a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid #1f2849; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #7982a1; }

/* ---------- Page hero breadcrumb ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.crumbs a:hover { color: var(--indigo); }
.hero-dark .crumbs { color: #8790ad; }
.hero-dark .crumbs a:hover { color: #fff; }

/* Division sub-nav (Labs / Wholesale / Retail) */
.subnav { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-top: 26px; flex-wrap: wrap; }
.subnav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--navy); color: #fff; }
.hero-dark .subnav { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.hero-dark .subnav a { color: #c3c9dc; }
.hero-dark .subnav a[aria-current="page"] { background: #fff; color: var(--navy); }

/* Hero product panel */
.hero-panel { position: relative; }
.hero-panel .ui { font-size: 12.5px; box-shadow: var(--shadow-lg); }
.hero-panel .float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; animation: float 6s ease-in-out infinite;
}
.hero-panel .float-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.hero-panel .float-card i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #dcfce7; color: var(--green); flex: none; }
.hero-panel .float-card i svg { width: 18px; height: 18px; }
.hero-panel .fc1 { left: -28px; bottom: -22px; }
.hero-panel .fc2 { right: -20px; top: -24px; animation-delay: -3s; }
.hero-panel .fc2 i { background: var(--indigo-soft); color: var(--indigo); }
@media (max-width: 600px) { .hero-panel .fc1 { left: 8px; } .hero-panel .fc2 { right: 8px; } }

/* ---------- Real product screenshots ---------- */
.hero-shot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transition: transform .3s; }
.hero-shot:hover { transform: translateY(-4px); }
.hero-shot img { width: 100%; height: auto; }

.feature-rows { display: grid; gap: 88px; }
@media (max-width: 760px) { .feature-rows { gap: 64px; } }
.feature-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; }
.feature-row.reverse > .shot { order: 2; }
@media (max-width: 960px) { .feature-row { grid-template-columns: 1fr; gap: 28px; } .feature-row.reverse > .shot { order: 0; } }
.shot {
  position: relative; display: block; width: 100%; padding: 0; text-align: left; cursor: zoom-in; font: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(10,15,31,.35); transition: transform .25s, box-shadow .25s;
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -28px rgba(67,56,255,.35); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d9e3; }
.shot-bar i:first-child { background: #ff6b6b; } .shot-bar i:nth-child(2) { background: #ffc94d; } .shot-bar i:nth-child(3) { background: #3ecf6e; }
.shot-bar span { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; }
.shot-zoom {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  background: rgba(10,15,31,.85); color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: .2s;
}
.shot-zoom svg { width: 14px; height: 14px; }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }
@media (hover: none) { .shot-zoom { opacity: 1; transform: none; } }
.feature-text .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.feature-text .step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; letter-spacing: 0; }
.feature-text h3 { font-size: clamp(26px, 3vw, 34px); margin: 16px 0 12px; }
.feature-text .ticks { margin-top: 20px; display: grid; gap: 11px; }
.feature-text .ticks li { font-size: 15.5px; }

/* Tabbed product tour ("A glimpse inside") */
.glimpse-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
.glimpse-tabs::-webkit-scrollbar { display: none; }
.glimpse-tabs button {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 11px;
  background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.glimpse-tabs button svg { width: 17px; height: 17px; }
.glimpse-tabs button:hover { background: var(--surface-2); color: var(--ink); }
.glimpse-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.glimpse-panel[hidden] { display: none; }
.glimpse-panel .shot img { background: #f6f7fb; }
.glimpse-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; align-items: start; margin-top: 30px; }
.glimpse-caption h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.glimpse-caption .ticks { display: grid; gap: 10px; }
.glimpse-caption .ticks li { font-size: 15.5px; }
.no-js .glimpse-panel + .glimpse-panel { margin-top: 56px; }
@media (max-width: 760px) { .glimpse-caption { grid-template-columns: 1fr; margin-top: 22px; } .glimpse-tabs button { flex: 0 0 auto; } }

/* Real phone screenshots (images already have rounded, transparent corners) */
.device {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 14% / 6.3%; box-shadow: 0 0 0 7px var(--navy), 0 0 0 8px #2a3358, 0 40px 70px -30px rgba(10,15,31,.55);
  transition: transform .25s, box-shadow .25s;
}
.device img { width: 100%; height: auto; }
.device:hover { transform: translateY(-6px); }

.phone-duo { position: relative; max-width: 470px; margin: 0 auto; aspect-ratio: 470 / 560; width: 100%; }
.phone-duo .device { position: absolute; width: 53%; }
.phone-duo .front { left: 4%; top: 0; z-index: 2; }
.phone-duo .back { right: 2%; top: 9%; transform: rotate(5deg); opacity: .96; }
.phone-duo .back:hover { transform: rotate(5deg) translateY(-6px); }
.phone-duo .float-card { z-index: 3; }
.phone-duo .fc-duo { right: 0; bottom: 4%; position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; animation: float 6s ease-in-out infinite; }
.phone-duo .fc-duo small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.phone-duo .fc-duo i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo-soft); color: var(--indigo); flex: none; }
.phone-duo .fc-duo i svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .phone-duo { max-width: 400px; margin-top: 16px; } }

.phone-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
@media (max-width: 1100px) { .phone-gallery { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; } }
.phone-card .device { margin: 0 auto 30px; max-width: 260px; }
.swipe-hint { display: none; }
/* Phones: a swipeable row of smaller screens, with the next one peeking in */
@media (max-width: 620px) {
  .phone-gallery {
    display: flex; gap: 18px; max-width: none; margin: 0 -16px; padding: 12px 16px 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .phone-gallery::-webkit-scrollbar { display: none; }
  .phone-card { flex: 0 0 74%; scroll-snap-align: start; }
  .phone-card .device { max-width: 200px; margin: 0 0 24px 7px; }
  .phone-card h3 { font-size: 19px; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
  .swipe-hint svg { width: 16px; height: 16px; color: var(--indigo); }
}
.phone-card .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.phone-card .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; letter-spacing: 0; }
.phone-card h3 { font-size: 21px; margin: 12px 0 8px; }
.phone-card p { font-size: 15px; }
.phone-card .ticks { margin-top: 14px; display: grid; gap: 8px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(6,9,20,.88); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: .2s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 96px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.8); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox-close svg { width: 20px; height: 20px; }
body.lightbox-open { overflow: hidden; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
