/* ============================================================
   Allingo — Section styles
   ============================================================ */

/* ===== HERO ===== */
.hero { padding: 64px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 75% 4%, rgba(37,99,235,.10), transparent 72%),
    radial-gradient(70% 55% at 8% 0%, rgba(91,139,255,.09), transparent 72%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr);
  gap: 56px; align-items: center;
}
.hero-copy { max-width: 580px; }
.scroll-cue { display: none; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 19.5px; line-height: 1.55; color: var(--text-sec); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-mut); }
.hero-note svg { width: 15px; height: 15px; color: var(--pos); flex:none; }

.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 34px; }
.trust-item { display: inline-flex; align-items: baseline; gap: 7px; font-size: 14px; color: var(--text-sec); white-space: nowrap; }
.trust-item b { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
.trust-break { flex-basis: 100%; height: 0; }

/* ===== DASHBOARD MOCKUP (shared shell) ===== */
.mock {
  position: relative;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3d7e0; }
.mock-url { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--text-mut); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 3px 12px; display:flex; align-items:center; gap:7px; }
.mock-url svg { width: 11px; height: 11px; color: var(--pos); }

.hero-mock-wrap { position: relative; z-index: 1; }
.app { display: grid; grid-template-columns: 60px 1fr; min-height: 478px; background: var(--surface); }
.app-side { background: #0d1526; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-side .logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(140deg, var(--accent), #5b8bff); display:grid; place-items:center; margin-bottom: 10px; }
.app-side .logo svg { width: 16px; height: 16px; }
.app-side .nav-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #6b7690; transition: .15s; }
.app-side .nav-ic svg { width: 17px; height: 17px; }
.app-side .nav-ic.on { background: rgba(37,99,235,.18); color: #9bbcff; }
.app-side .grow { flex: 1; }

.app-main { padding: 0; display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
.app-burger { display: none; align-items: center; justify-content: center; color: var(--text-sec); flex: none; }
.app-burger svg { width: 19px; height: 19px; }
.app-top .crumb { font-size: 13px; color: var(--text-mut); font-weight: 500; }
.app-top .crumb b { color: var(--text); font-weight: 600; }
.app-search { margin-left: 8px; flex: 1; max-width: 230px; display:flex; align-items:center; gap:7px; height:30px; padding:0 11px; background: var(--bg-subtle); border:1px solid var(--border); border-radius: 8px; color: var(--text-faint); font-size:12.5px; }
.app-search svg { width: 13px; height: 13px; }
.app-top .av { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#fcb045,#fd7c4d); display:grid; place-items:center; color:#fff; font-size:12px; font-weight:700; }
.app-pill-btn { display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 12px; background: var(--surface); color: var(--text-sec); border:1px solid var(--border-strong); border-radius:8px; font-size:12.5px; font-weight:600; }
.app-pill-btn svg { width: 13px; height: 13px; color: var(--text-mut); }

.app-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.kpi { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 14px; background: var(--surface); }
.kpi .lbl { font-size: 11.5px; color: var(--text-mut); font-weight: 500; margin-bottom: 7px; display:flex; align-items:center; gap:6px; }
.kpi .lbl svg { width: 13px; height: 13px; color: var(--text-faint); }
.kpi .val { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .chg { font-size: 11.5px; font-weight: 600; font-family: var(--mono); display:inline-flex; align-items:center; gap:3px; margin-top:4px; }
.kpi .chg.up { color: var(--pos); }
.kpi .chg.down { color: var(--pos); }
.kpi .chg.bad { color: var(--warn); }

.app-card { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.app-card .head { display:flex; align-items:center; justify-content:space-between; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.app-card .head h5 { margin:0; font-size: 13.5px; font-weight: 650; }
.app-card .head .more { font-size: 12px; color: var(--accent); font-weight: 600; }

.otable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.otable th { text-align: left; font-weight: 500; color: var(--text-mut); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 9px 14px; background: var(--bg-subtle); }
.otable td { padding: 10px 14px; border-top: 1px solid var(--border); vertical-align: middle; }
.otable td.oid { font-family: var(--mono); color: var(--text-sec); font-weight:500; }
.otable tr.hot td { background: var(--accent-soft); }
.otable tr.hot { position: relative; }

.carrier-chip { display:inline-flex; align-items:center; gap:7px; font-weight:600; font-size:12px; }
.cmono { width:20px; height:20px; border-radius:6px; display:grid; place-items:center; color:#fff; font-size:10px; font-weight:800; font-family: var(--mono); flex:none; }
/* real partner logo tiles (square brand logos drop straight into the cmono box) */
.cmono.has-logo { background:#fff; padding:0; overflow:hidden; box-shadow: inset 0 0 0 1px rgba(15,23,42,.08); }
.cmono.has-logo img { width:100%; height:100%; object-fit:contain; display:block; }
.best-flag { font-family: var(--mono); font-size:9.5px; font-weight:700; color: var(--pos); background: var(--pos-soft); padding: 2px 6px; border-radius: 5px; letter-spacing:.02em; }

.status { display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:600; }
.status .d { width:7px; height:7px; border-radius:50%; }
.status.transit .d { background: var(--accent); }
.status.match .d { background: var(--pos); }
.status.pick .d { background: #d8a200; }

/* floating annotations */
.anno { position: absolute; z-index: 4; display:flex; align-items:center; gap:8px; background: #0b1220; color:#fff; font-size:12px; font-weight:600; padding: 8px 12px; border-radius: 10px; box-shadow: var(--shadow-md); white-space: nowrap; animation: annoPop .6s cubic-bezier(.34,1.56,.64,1) both; }
.anno .k { font-family: var(--mono); font-size:10px; color:#9bbcff; }
.anno::after { content:""; position:absolute; width:9px; height:9px; background:#0b1220; transform: rotate(45deg); }
/* anno-a → GHN row (points in from the left) */
.anno-a { top: calc(70% + 6px); left: 122px; right: auto; transform-origin: right center; animation: annoPop .6s cubic-bezier(.34,1.56,.64,1) .7s both, annoFloatA 4.2s ease-in-out 1.5s infinite; }
.anno-a::after { right: -4px; left: auto; top: 50%; margin-top:-4px; }
/* anno-b → attached above the COD collected KPI box (pops down) */
.kpi-cod { position: relative; z-index: 5; }
.anno-b { bottom: calc(100% + 1px); top: auto; left: 50%; transform-origin: bottom center; animation: annoPopB .6s cubic-bezier(.34,1.56,.64,1) .95s both, annoFloatB 4.8s ease-in-out 1.8s infinite; }
.anno-b::after { left: 50%; margin-left: -4px; bottom: -4px; top: auto; }
@keyframes annoPop {
  0%   { transform: scale(.5); }
  68%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes annoPopB {
  0%   { transform: translateX(-50%) scale(.5); }
  68%  { transform: translateX(-50%) scale(1.06); }
  100% { transform: translateX(-50%) scale(1); }
}
@keyframes annoFloatA {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes annoFloatB {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}
@media (prefers-reduced-motion: reduce){ .anno { animation: none; opacity: 1; } .anno-b { transform: translateX(-50%); } }
@media (max-width: 1080px){ .anno { display:none; } }

/* ===== LOGO BAR ===== */
.logobar { padding: 46px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.logobar p { text-align:center; font-size: 13px; color: var(--text-mut); font-weight:500; margin-bottom: 26px; letter-spacing: .01em; }
.logo-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: logoScroll 32s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }
.cust-logo { display:inline-flex; align-items:center; gap:9px; color: var(--text-faint); font-weight:700; font-size:17px; letter-spacing:-.02em; filter: grayscale(1); opacity:.72; transition:.2s; white-space: nowrap; flex: none; }
.cust-logo:hover { opacity:1; filter:grayscale(0); color: var(--text-sec); }
.cust-logo .glyph { width:26px; height:26px; border-radius:7px; background: currentColor; display:grid; place-items:center; flex:none; }
.cust-logo .glyph svg { width:15px; height:15px; color:#fff; }

/* ===== PROBLEM ===== */
.problem-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; margin-top: 8px; }
.pain-list { display:flex; flex-direction:column; gap: 14px; }
.pain {
  display:flex; gap: 16px; padding: 20px; border:1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-xs); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pain:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.pain .pn { width:42px; height:42px; border-radius: 11px; flex:none; display:grid; place-items:center; background: var(--warn-soft); color: var(--warn); }
.pain .pn svg { width:21px; height:21px; }
.pain h3 { font-size: 17px; margin-bottom: 5px; }
.pain p { font-size: 14.5px; color: var(--text-mut); line-height:1.5; }

/* before/after — one big box with looping cross-fade animation */
.compare { position: relative; max-width: 900px; margin: 0 auto; height: 380px; display: grid; grid-template-columns: 1fr 76px 1fr; background: transparent; border: none; box-shadow: none; overflow: visible; }
.ba-side { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; }
.ba-after { background: transparent; }
.ba-connector { position: relative; display: flex; align-items: center; justify-content: center; }
.ba-flow { width: 64px; height: 40px; overflow: visible; }
.ba-flow-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 5 5; animation: baFlow .8s linear infinite; }
.ba-flow-head { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes baFlow { to { stroke-dashoffset: -10; } }
.ba-orb { position: absolute; top: 50%; left: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--accent) 60%, transparent); animation: baOrb 1.9s ease-in-out infinite; }
@keyframes baOrb { 0% { left: 6px; transform: translateY(-50%) scale(.5); opacity: 0; } 22% { opacity: 1; } 75% { opacity: 1; } 100% { left: 58px; transform: translateY(-50%) scale(.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ba-flow-line, .ba-orb { animation: none; } }
.ba-tag { align-self:flex-start; white-space:nowrap; font-family:var(--mono); font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:6px; }
.ba-tag.warn { color:var(--warn); background:var(--warn-soft); }
.ba-tag.pos { color:var(--pos); background:var(--pos-soft); }
.ba-before .messy { background:#fff; }
.ba-dash { flex:1; background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:14px; display:flex; flex-direction:column; gap:12px; }
.ba-dash-top { display:flex; align-items:center; justify-content:space-between; }
.ba-logo { width:26px; height:26px; border-radius:7px; background:linear-gradient(140deg,var(--accent),#5b8bff); display:grid; place-items:center; }
.ba-logo svg { width:15px; height:15px; }
.ba-bars { display:flex; gap:4px; }
.ba-bars i { width:18px; height:6px; border-radius:3px; background:var(--bg-sunken); }
.ba-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.ba-kpi { border:1px solid var(--border); border-radius:10px; padding:10px 11px; }
.ba-kpi b { display:block; font-size:18px; font-weight:800; letter-spacing:-.02em; }
.ba-kpi span { font-size:10.5px; color:var(--text-mut); }
.ba-kpi.accent b { color:var(--accent); }
.ba-list { display:flex; flex-direction:column; gap:9px; margin-top:2px; }
.ba-li { display:flex; align-items:center; gap:10px; }
.ba-mono { width:22px; height:22px; border-radius:6px; color:#fff; font-size:10px; font-weight:800; font-family:var(--mono); display:grid; place-items:center; flex:none; }
.ba-ln { flex:1; height:8px; border-radius:4px; background:var(--bg-sunken); }
.ba-ok { color:var(--pos); font-size:12px; font-weight:700; font-family:var(--mono); }
.messy {
  position: relative; flex:1; min-height: 188px; border-radius: var(--radius); border:1px dashed var(--border-strong);
  background: var(--bg-subtle); overflow: hidden; padding: 14px;
}
.messy-win { position:absolute; width:150px; background:#fff; border:1px solid var(--border); border-radius:11px; box-shadow: var(--shadow-md); overflow:hidden; }
.messy-win .mw-bar { height:26px; display:flex; align-items:center; padding:0 10px; }
.messy-win .mw-bar .tg { font-family:var(--mono); font-size:9.5px; font-weight:800; color:#fff; letter-spacing:.03em; white-space:nowrap; }
.messy-win .mw-body { padding:11px; display:flex; flex-direction:column; gap:7px; }
.messy-win .l { height:7px; background: var(--bg-sunken); border-radius:3px; }
.messy-win .l.s { width: 62%; }
.messy-win .l.xs { width:46%; height:6px; }
.messy-win .mw-row { display:flex; align-items:center; gap:7px; }
.messy-win .mw-row .d { width:14px; height:14px; border-radius:4px; background:var(--bg-sunken); flex:none; }
.messy-win .mw-btn { margin-top:3px; width:58px; height:17px; border-radius:5px; opacity:.88; }
/* distinct window interiors — each portal looks different */
.mw-form { gap:6px; }
.mw-lbl { height:5px; width:42%; background:var(--bg-sunken); border-radius:3px; }
.mw-lbl.s { width:30%; }
.mw-input { height:13px; border-radius:4px; border:1px solid var(--border); background:#fafbfc; }
.mw-btn.full { width:100%; margin-top:5px; }
.mw-btn.sm { width:42px; height:14px; margin:0; }
.mw-map { position:relative; height:64px; margin:11px 11px 0; border-radius:6px; background:linear-gradient(135deg,#e8f5ee,#d4ecdd); background-image:radial-gradient(circle, rgba(0,177,79,.16) 1px, transparent 1.4px); background-size:11px 11px; overflow:hidden; }
.mw-route { position:absolute; left:16%; top:60%; width:62%; height:3px; background:#00b14f; border-radius:2px; transform:rotate(-22deg); opacity:.85; }
.mw-pin { position:absolute; right:24%; top:24%; width:11px; height:11px; border-radius:50% 50% 50% 0; background:#00b14f; transform:rotate(-45deg); border:2px solid #fff; box-shadow:var(--shadow-xs); }
.mw-mapfoot { display:flex; align-items:center; justify-content:space-between; padding:9px 11px 11px; }
.mw-mapfoot .l.xs { margin:0; }
.mw-table { gap:5px; }
.mw-th { height:10px; background:#d6ecdc; border-radius:3px; }
.mw-tr { display:flex; gap:6px; align-items:center; }
.mw-tr span { height:6px; border-radius:3px; background:var(--bg-sunken); }
.mw-tr span:first-child { width:44%; }
.mw-tr span:last-child { flex:1; }
.mw-tr.alt span { background:#eef0f4; }
.mw-login { align-items:center; gap:7px; padding-top:14px; }
.mw-ava { width:26px; height:26px; border-radius:50%; background:var(--bg-sunken); margin-bottom:2px; }
.mw-login .mw-input { width:100%; }
.mw-chart { justify-content:flex-end; padding-top:14px; }
.mw-bars { display:flex; align-items:flex-end; gap:6px; height:60px; }
.mw-bars i { flex:1; border-radius:3px 3px 0 0; opacity:.82; }
.m1 { top:12px; left:4px; transform:rotate(-4deg); z-index:1; width:146px; }
.m2 { top:36px; left:120px; transform:rotate(3deg); z-index:4; width:164px; }
.m3 { top:150px; left:22px; transform:rotate(2deg); z-index:2; width:154px; }
.m4 { top:124px; left:150px; transform:rotate(-3deg); z-index:3; width:134px; }
.m5 { top:58px; left:206px; transform:rotate(4deg); z-index:5; width:126px; }
@media (max-width:720px){
  .compare { grid-template-columns: 1fr; height:auto; }
  .ba-side { min-height: 280px; }
  .ba-connector { border:none; height:56px; }
  .ba-flow { transform: rotate(90deg); }
  .ba-orb { display:none; }
}
.clean {
  flex:1; min-height: 188px; border-radius: var(--radius); border:1px solid var(--accent-soft-2);
  background: linear-gradient(160deg,#fff,var(--accent-soft)); box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap: 12px; padding: 22px;
}
.clean .ic { width:44px; height:44px; border-radius:12px; background:var(--accent); display:grid; place-items:center; box-shadow: var(--shadow-accent); flex:none; }
.clean .ic svg { width:22px; height:22px; color:#fff; }
.clean b { font-size: 16px; display:block; }
.clean span { font-size: 13px; color: var(--text-mut); }
@media (max-width: 600px) {
  .compare { grid-template-columns: 1fr; }
  .cmp-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* ===== HOW IT WORKS / STEPPER ===== */
.stepper { display:grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 12px; position: relative; }
.step { padding: 0 22px; position: relative; }
.step:not(:last-child)::after { content:""; position:absolute; top: 23px; right: -2px; width: 4px; }
.step-top { display:flex; align-items:center; gap: 12px; margin-bottom: 18px; }
.step-num { width:46px; height:46px; border-radius:13px; flex:none; display:grid; place-items:center; background: var(--surface); border:1px solid var(--border); font-family:var(--mono); font-weight:700; font-size:15px; color:var(--accent); box-shadow: var(--shadow-xs); position:relative; z-index:1; }
.step-line { flex:1; height:2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px); }
.step:last-child .step-line { display:none; }
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--text-mut); line-height:1.5; margin-bottom: 14px; }
.step-shot { height: 96px; border-radius: var(--radius-sm); border:1px solid var(--border); background: #fff; overflow:hidden; padding: 10px; display:flex; flex-direction:column; gap:7px; }
.howit-banner { margin-top: 44px; display:flex; align-items:center; justify-content:center; gap:12px; padding: 16px; border-radius: var(--radius); background: var(--accent-soft); border:1px solid var(--accent-soft-2); }
.howit-banner svg { width:20px; height:20px; color:var(--accent); }
.howit-banner b { color: var(--accent-ink); font-size: 16px; font-weight: 700; }

/* mini shot bits reused */
.mini-bar { height:8px; border-radius:4px; background: var(--bg-sunken); }
.mini-bar.accent { background: var(--accent-soft-2); }
.mini-row { display:flex; align-items:center; gap:6px; }
.mini-dot { width:14px; height:14px; border-radius:5px; flex:none; }

/* ===== PRODUCT TABS ===== */
.tabs-head { display:flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 26px; padding: 5px; background: var(--bg-subtle); border:1px solid var(--border); border-radius: var(--radius); width: fit-content; max-width: 100%; }
.tab-btn {
  display:inline-flex; align-items:center; gap:9px; padding: 11px 17px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--text-mut); background: transparent; border:1px solid transparent; transition:.18s;
}
.tab-btn svg { width:16px; height:16px; }
.tab-btn:hover { color: var(--text); }
.tab-btn.on { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-xs); }
.tab-btn.on svg { color: var(--accent); }

.tab-stage { display:grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items:center; }
.tab-panel { display:none; }
.tab-panel.on { display:grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items:center; animation: fadeUp .5s cubic-bezier(.16,1,.3,1); }
@keyframes fadeUp { from { transform: translateY(12px); } to { transform:none; } }
@media (prefers-reduced-motion: reduce){ .tab-panel.on { animation: none; } }
.tab-info .tag { background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px; display:inline-block; }
.tab-info h3 { font-size: 27px; letter-spacing: -.025em; margin-bottom: 14px; }
.tab-info p { color: var(--text-sec); font-size: 16.5px; line-height: 1.55; margin-bottom: 20px; }
.tab-feats { display:flex; flex-direction:column; gap: 11px; margin-bottom: 24px; }
.tab-feat { display:flex; gap:11px; align-items:flex-start; font-size: 15px; color: var(--text-sec); }
.tab-feat svg { width:19px; height:19px; color: var(--pos); flex:none; margin-top:1px; }
.tab-visual { min-width: 0; order: 1; }
.tab-info { order: 2; }

/* comparison mock */
.cmp-list { display:flex; flex-direction:column; }
.cmp-row { display:grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 10px; align-items:center; padding: 12px 14px; border-top:1px solid var(--border); font-size: 13px; }
.cmp-row.best { background: var(--pos-soft); }
.cmp-row .price { font-weight:700; font-variant-numeric: tabular-nums; }
.cmp-row .eta { color: var(--text-mut); font-size:12.5px; }
.cmp-row .pickbtn { font-family:var(--mono); font-size:10.5px; font-weight:700; padding:4px 9px; border-radius:6px; }
.cmp-row.best .pickbtn { background: var(--pos); color:#fff; }
.cmp-row .pickbtn.ghost { background: var(--bg-subtle); color: var(--text-mut); border:1px solid var(--border); }
/* batch order preview */
.cmp-list.batch .cmp-row { grid-template-columns: 1.5fr 1.35fr .55fr .95fr; }
.cmp-row.head { background: var(--bg-subtle); border-top:none; padding: 9px 14px; font-family: var(--mono); font-size:10px; text-transform:uppercase; letter-spacing:.04em; color: var(--text-mut); }
.cmp-row.head span:last-child, .cmp-row .cod { text-align:right; }
.cmp-row .ord { display:flex; flex-direction:column; min-width:0; gap:1px; }
.cmp-row .ord b { font-family: var(--mono); font-size:11.5px; font-weight:600; }
.cmp-row .ord i { font-style:normal; font-size:11px; color: var(--text-mut); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cmp-row .cod { font-weight:700; font-variant-numeric:tabular-nums; font-size:12.5px; }
/* carrier-change popover (demonstrates switching the auto-matched carrier) */
.cmp-row.has-pop { z-index: 6; }
.carrier-chip.cc-active { box-shadow: 0 0 0 2px var(--accent); background: var(--accent-soft); border-radius: 7px; padding: 3px 7px; margin: -3px 0 -3px -7px; width: max-content; justify-self: start; }
.carrier-pop { position: absolute; right: 44px; bottom: 98px; top: auto; left: auto; z-index: 9; width: 212px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.97); transform-origin: bottom right;
  transition: opacity .24s ease, transform .26s cubic-bezier(.16,1,.3,1), visibility .24s; }
.carrier-pop.open { opacity: 1; visibility: visible; transform: none; }
.manual-flag { font-family: var(--mono); font-size:9.5px; font-weight:700; color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; letter-spacing:.02em; }
.demo-cursor { position: absolute; top: 0; left: 0; z-index: 30; width: 24px; height: 24px; pointer-events: none; opacity: 0;
  transition: transform .72s cubic-bezier(.45,0,.22,1), opacity .3s ease; will-change: transform; }
.demo-cursor svg { width: 24px; height: 24px; filter: drop-shadow(0 2px 3px rgba(8,15,30,.4)); transition: transform .12s ease; }
.demo-cursor.tap svg { transform: scale(.76); }
.demo-cursor .ring { position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.demo-cursor.tap .ring { animation: tapring .45s ease-out; }
@keyframes tapring { 0% { opacity:.55; transform: scale(.3); } 100% { opacity:0; transform: scale(1.5); } }
.cp-head { display:flex; align-items:center; justify-content:space-between; padding:10px 13px; border-bottom:1px solid var(--border); font-size:12.5px; font-weight:700; }
.cp-head span { font-family:var(--mono); font-size:9.5px; font-weight:500; color:var(--text-mut); text-transform:uppercase; letter-spacing:.04em; }
.cp-list { padding:5px; }
.cp-row { display:grid; grid-template-columns: auto 1fr auto auto; gap:7px; align-items:center; padding:8px 8px; border-radius:8px; font-size:12px; }
.cp-row .cmono { width:22px; height:22px; border-radius:6px; font-size:10px; }
.cp-name { font-weight:600; }
.cp-eta { font-size:11px; color:var(--text-mut); font-family:var(--mono); white-space:nowrap; }
.cp-price { font-weight:700; font-variant-numeric:tabular-nums; font-size:12px; }
.cp-row.sel { background: var(--accent-soft); }
.cp-row.sel .cp-price { color: var(--accent-ink); }

/* tracking page mock */
.track-mock { padding: 16px; }
.track-hd { display:flex; align-items:center; gap:10px; padding-bottom:14px; border-bottom:1px solid var(--border); margin-bottom:14px; }
.track-hd .brandbox { width:34px; height:34px; border-radius:9px; background: linear-gradient(140deg,#7c3aed,#a855f7); }
.track-steps { display:flex; gap:0; margin: 18px 0; }
.tstep { flex:1; text-align:center; position:relative; }
.tstep .pt { width:18px; height:18px; border-radius:50%; background: var(--border-strong); margin: 0 auto 8px; display:grid; place-items:center; position:relative; z-index:1; }
.tstep.done .pt { background: var(--pos); }
.tstep.now .pt { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tstep .pt svg { width:10px; height:10px; color:#fff; }
.tstep::before { content:""; position:absolute; top:9px; left:-50%; width:100%; height:2px; background: var(--border-strong); z-index:0; }
.tstep.done::before, .tstep.now::before { background: var(--pos); }
.tstep:first-child::before { display:none; }
.tstep span { font-size:11px; color: var(--text-mut); font-weight:500; }
.tstep.now span { color: var(--accent); font-weight:600; }

/* wallet mock */
.wallet-bal { background: linear-gradient(135deg,#0d1526,#1a2740); border-radius: var(--radius); padding:18px; color:#fff; margin-bottom:14px; }
.wallet-bal .lbl { font-size:12px; color:#9bbcff; font-weight:500; margin-bottom:6px; }
.wallet-bal .amt { font-size:30px; font-weight:800; letter-spacing:-.02em; font-variant-numeric: tabular-nums; }
.wallet-bal .sub { font-size:12.5px; color:#aeb6c6; margin-top:4px; }
.wtx { display:flex; align-items:center; gap:12px; padding:11px 0; border-top:1px solid var(--border); font-size:13.5px; }
.wtx .wic { width:32px; height:32px; border-radius:9px; display:grid; place-items:center; flex:none; }
.wtx .wic.in { background: var(--pos-soft); color: var(--pos); }
.wtx .wic.out { background: var(--accent-soft); color: var(--accent); }
.wtx .wic svg { width:15px; height:15px; }
.wtx .grow { flex:1; }
.wtx .amt { font-weight:700; font-variant-numeric:tabular-nums; }
.wtx .amt.pos { color: var(--pos); }

/* postpaid invoice mock */
.inv-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; background:linear-gradient(135deg,#0d1526,#1a2740); border-radius:var(--radius); padding:18px; color:#fff; margin-bottom:14px; }
.inv-k { font-size:12px; color:#9bbcff; font-weight:500; margin-bottom:6px; }
.inv-amt { font-size:30px; font-weight:800; letter-spacing:-.02em; line-height:1; }
.inv-sub { font-size:12px; color:#aeb6c6; margin-top:6px; }
.inv-due { flex:none; font-family:var(--mono); font-size:10px; font-weight:700; letter-spacing:.04em; color:#9bffc7; background:rgba(52,211,153,.16); border:1px solid rgba(52,211,153,.3); padding:5px 9px; border-radius:7px; white-space:nowrap; }
.inv-rows { display:flex; flex-direction:column; }
.inv-row { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:12px; padding:10px 2px; border-top:1px solid var(--border); font-size:13px; }
.inv-row:first-child { border-top:none; }
.inv-ct { font-size:11.5px; color:var(--text-mut); font-family:var(--mono); }
.inv-amt-s { font-weight:700; font-variant-numeric:tabular-nums; }
.inv-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; padding-top:14px; border-top:2px solid var(--border); font-size:12.5px; color:var(--text-mut); }
.inv-foot b { color:var(--text); font-weight:700; }
.inv-pay { font-size:12.5px; font-weight:700; color:var(--text); background:var(--surface); border:1px solid var(--border-strong); box-shadow:var(--shadow-xs); padding:7px 15px; border-radius:8px; }

/* ===== FEATURE GRID ===== */
.feature-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 12px; }
.fcard { padding: 26px 24px 0; border:1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); transition:.22s; display:flex; flex-direction:column; overflow:hidden; }
.fcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }
.fcard .fic { width:46px; height:46px; border-radius:12px; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; margin-bottom:18px; }
.fcard .fic svg { width:23px; height:23px; }
.fcard h3 { font-size: 18px; margin-bottom: 8px; }
.fcard p { font-size: 14.5px; color: var(--text-mut); line-height:1.5; margin-bottom: 20px; }
.fcard .savings { display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); font-size:12px; font-weight:600; color: var(--pos); background: var(--pos-soft); padding: 4px 9px; border-radius:7px; margin-bottom: 18px; width:fit-content; }
.fcard .savings-float { position:absolute; top:12px; right:12px; z-index:2; margin-bottom:0; white-space:nowrap; background:#fff; border:1px solid var(--pos-soft); box-shadow: var(--shadow-sm); }
.fcard-shot { position: relative; margin-top:auto; height: 112px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; border:1px solid var(--border); border-bottom:none; background: var(--bg-subtle); overflow:hidden; padding: 12px; display:flex; flex-direction:column; gap:8px; }

/* ===== PARTNER NETWORK ===== */
.partner-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom: 26px; }
.filter-chips { display:flex; gap:9px; flex-wrap:wrap; }
.chip {
  display:inline-flex; align-items:center; gap:7px; height:38px; padding:0 16px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--text-sec); background: var(--surface); border:1px solid var(--border); transition:.16s;
}
.chip:hover { border-color: var(--border-strong); }
.chip.on { background: var(--accent); color:#fff; border-color: var(--accent); box-shadow: var(--shadow-accent); }
.chip .ct { font-family:var(--mono); font-size:11px; opacity:.7; }
.carrier-grid { display:grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
/* auto-scrolling carousel */
.carrier-marquee { overflow: hidden; position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.carrier-track { display: flex; gap: 14px; width: max-content; animation: carriermove 38s linear infinite; }
.carrier-marquee .ccard { width: 232px; flex: none; }
@keyframes carriermove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .carrier-track { animation: none; flex-wrap: wrap; justify-content: center; } }
.ccard {
  display:flex; align-items:center; gap:12px; padding: 16px; border:1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-xs); transition:.18s;
}
.ccard:hover { box-shadow: var(--shadow-sm); border-color: var(--border-strong); transform: translateY(-2px); }
.ccard .cmono { width:38px; height:38px; border-radius:10px; font-size:14px; }
.ccard { min-height:72px; }
.ccard > div:last-child { display:flex; flex-direction:column; justify-content:center; min-width:0; }
.ccard .cname { font-weight:700; font-size:14px; letter-spacing:-.01em; line-height:1.18; }
.ccard .ctype { font-family:var(--mono); font-size:10.5px; color:var(--text-mut); text-transform:uppercase; letter-spacing:.04em; margin-top:3px; white-space:nowrap; }
.ccard.hide { display:none; }
.partner-foot { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-top:28px; }
.partner-foot .big { font-size:20px; font-weight:700; letter-spacing:-.02em; }
.partner-foot .big span { color: var(--accent); }

/* ===== CONTACT METHODS ===== */
.contact-row { display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.contact-method {
  display:flex; flex-direction:column; align-items:flex-start; padding: 24px;
  border:1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-xs); transition: box-shadow .18s, transform .18s, border-color .18s;
}
.contact-method:hover { box-shadow: var(--shadow-sm); border-color: var(--accent-soft-2); transform: translateY(-2px); }
.contact-method .cm-ic { width:46px; height:46px; border-radius:12px; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; margin-bottom:16px; }
.contact-method .cm-ic svg { width:22px; height:22px; }
.contact-method .cm-lbl { font-family: var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color: var(--text-mut); margin-bottom:6px; }
.contact-method .cm-val { font-size:17px; font-weight:700; letter-spacing:-.01em; color: var(--text); margin-bottom:5px; }
.contact-method .cm-sub { font-size:13.5px; color: var(--text-mut); }
/* trim the gap before the final CTA */
#contact { padding-bottom: 0; }

/* ===== COVERAGE ===== */
.coverage-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.map-panel {
  position: relative; aspect-ratio: 1 / 1.04; border-radius: var(--radius-lg); border:1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--accent-soft) 0%, transparent 55%),
    var(--bg-subtle);
  overflow: hidden; box-shadow: var(--shadow-sm);
  background-image:
    radial-gradient(circle, rgba(37,99,235,.16) 1.1px, transparent 1.4px);
  background-size: 18px 18px;
}
.map-route { position:absolute; left:50%; top:8%; bottom:8%; width:2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--accent), var(--accent), transparent); }
.map-pin { position:absolute; transform: translate(-50%,-50%); width:16px; height:16px; }
.map-pin .pin { width:16px; height:16px; border-radius:50%; background: var(--accent); border:3px solid #fff; box-shadow: var(--shadow-sm); }
.map-pin .pin.glow { box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow-sm); }
.map-pin .lbl { position:absolute; top:50%; transform:translateY(-50%); background:#fff; border:1px solid var(--border); border-radius:8px; padding:5px 10px; font-size:12px; font-weight:600; box-shadow: var(--shadow-xs); white-space:nowrap; }
.map-pin .lbl span { font-family:var(--mono); color:var(--text-mut); font-weight:500; font-size:10.5px; display:block; }
.map-pin .lbl.right { left:26px; }
.map-pin .lbl.left { right:26px; text-align:right; }
.mp-eu { left: 27%; top: 20%; }
.mp-vn { left: 51%; top: 51%; }
.mp-sea { left: 72%; top: 80%; }
.map-pin.soon .pin { background: var(--accent); }
.map-pin.future .pin { background: var(--text-faint); }
.map-panel.map-ph { background: repeating-linear-gradient(135deg, var(--bg-sunken) 0 11px, var(--bg-subtle) 11px 22px); display:grid; place-items:center; }
.map-ph-label { font-family: var(--mono); font-size: 12px; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; color: var(--text-mut); background: var(--surface); border:1px solid var(--border); padding: 9px 15px; border-radius: 8px; box-shadow: var(--shadow-xs); }
.map-arcs .arc { fill:none; stroke: var(--accent); stroke-width:0.5; stroke-dasharray: 2 2.4; stroke-linecap:round; opacity:.55; animation: dashflow 1.3s linear infinite; }
@media (prefers-reduced-motion: reduce) { .map-arcs .arc { animation: none; } }
@keyframes dashflow { to { stroke-dashoffset: -8.8; } }

/* ===== live dot-matrix world map — dark, dissolves into the coverage section ===== */
.map-panel--world {
  aspect-ratio: 1 / 1.04 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.map-panel--world::after { content: none !important; }
.map-svg { position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.map-panel--world .map-flowarc { stroke:#5b9bff; opacity:.9; filter: drop-shadow(0 0 2.5px rgba(70,135,255,.75)); }
.map-svg .map-flowarc { fill:none; stroke:var(--accent); stroke-width:.7; stroke-dasharray:2.6 2.8; stroke-linecap:round; opacity:.7; animation: mapdash 1.1s linear infinite; }
@keyframes mapdash { to { stroke-dashoffset:-10.8; } }
@media (prefers-reduced-motion: reduce) { .map-svg .map-flowarc { animation:none; } }
.map-panel--world .map-pin .pin { border-color:#0a0f1e; box-shadow: 0 0 0 4px rgba(37,99,235,.18), 0 0 13px 2px rgba(45,110,255,.55); }
.map-panel--world .map-pin .pin.glow { box-shadow: 0 0 0 6px rgba(37,99,235,.24), 0 0 18px 4px rgba(55,120,255,.7); }
.map-panel--world .map-pin .lbl { background: rgba(16,24,46,.74); border-color: rgba(120,142,195,.26); color:#e9eef8; backdrop-filter: blur(7px); box-shadow: 0 8px 22px -10px rgba(0,0,0,.7); }
.map-panel--world .map-pin .lbl span { color:#94a6cc; }
/* coverage section goes dark so the map dissolves into it */
#coverage.section--sunken {
  background:
    radial-gradient(64% 52% at 26% -6%, rgba(37,99,235,.20) 0%, transparent 60%),
    radial-gradient(circle, rgba(132,158,238,.06) 1px, transparent 1.4px),
    linear-gradient(180deg, #0b1120 0%, #090d1a 100%);
  background-size: auto, 22px 22px, auto;
  color: #d7e0f0;
  border-top: 1px solid #131b30;
  border-bottom: 1px solid #131b30;
}
#coverage h2 { color: #f3f6fc; }
#coverage .lead { color: #9fb0cf; }
#coverage .cstat { background: rgba(255,255,255,.035); border-color: rgba(140,162,210,.16); }
#coverage .cstat b { color: #f3f6fc; }
#coverage .cstat span { color: #93a3c5; }
#coverage .rm-item b { color: #e9eef8; }
#coverage .rm-item .muted { color: #8597b8 !important; }
#coverage .rm-item.future .rt { background: rgba(255,255,255,.06); color: #a9b8d6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); }
#coverage .rm-item.live .rt { background: rgba(16,185,129,.15); color: #4ade80; box-shadow: inset 0 0 0 1px rgba(16,185,129,.26); }
#coverage .rm-item.soon .rt { background: rgba(59,130,246,.18); color: #82b1ff; box-shadow: inset 0 0 0 1px rgba(59,130,246,.30); }
#coverage .rm-item.live .rd { background: #34d399; box-shadow: 0 0 9px 1px rgba(52,211,153,.55); }
#coverage .rm-item.soon .rd { background: #4d8bff; box-shadow: 0 0 9px 1px rgba(77,139,255,.5); }
#coverage .rm-item.future .rd { background: #5b6781; }
.map-badge { position:absolute; bottom:16px; left:16px; right:16px; display:flex; gap:10px; }
.map-badge .mb { flex:1; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); border:1px solid var(--border); border-radius:11px; padding:11px 13px; }
.map-badge .mb b { display:block; font-size:21px; font-weight:800; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.map-badge .mb span { font-size:11px; color:var(--text-mut); }

.coverage-stats { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 28px; }
.cstat { padding: 18px 20px; border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cstat b { font-size: 32px; font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums; display:block; }
.cstat span { font-size: 13.5px; color: var(--text-mut); }
.coverage-roadmap { display:flex; flex-direction:column; gap:10px; }
.rm-item { display:flex; align-items:center; gap:13px; font-size:15px; }
.rm-item .rd { width:11px; height:11px; border-radius:50%; flex:none; }
.rm-item.live .rd { background: var(--pos); box-shadow: 0 0 0 4px var(--pos-soft); }
.rm-item.soon .rd { background: var(--accent); }
.rm-item.future .rd { background: var(--border-strong); }
.rm-item b { font-weight:650; }
.rm-item .muted { margin-left:auto; text-align:right; }
/* FAQ load-more (mobile only) */
.faq-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.faq-more { display: none; }
.rm-item .rt { font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.04em; padding:3px 9px; border-radius:6px; min-width:74px; text-align:center; flex:none; }
.rm-item.live .rt { background: var(--pos-soft); color: var(--pos); }
.rm-item.soon .rt { background: var(--accent-soft); color: var(--accent); }
.rm-item.future .rt { background: var(--bg-sunken); color: var(--text-mut); }

/* ===== USE CASES ===== */
.usecase-grid { display:grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 12px; }
.uc { padding: 22px; border:1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); transition:.2s; }
.uc:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }
.uc .uic { width:44px; height:44px; border-radius:12px; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; margin-bottom:16px; }
.uc .uic svg { width:22px; height:22px; }
.uc h3 { font-size: 16px; margin-bottom: 8px; }
.uc .out { font-size: 13.5px; color: var(--text-mut); line-height:1.45; }
.uc .out b { color: var(--pos); font-weight:700; }
@media (max-width: 1080px){ .usecase-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== ROI CALCULATOR ===== */
.roi-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items:center; }
.roi-grid:has(.roi-control:only-child), .roi-grid.solo { display:block; max-width: 560px; margin: 0 auto; }
.roi-headline { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.roi-control { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.roi-card { max-width: 620px; margin: 0 auto; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-sm); }
.roi-ctl-label { display:flex; align-items:baseline; justify-content:space-between; margin-bottom: 20px; }
.roi-ctl-k { font-size:13px; font-weight:600; color: var(--text-sec); letter-spacing:.01em; white-space:nowrap; }
.roi-stats3 { display:grid; grid-template-columns: repeat(3,1fr); margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); }
.roi-stat { display:flex; flex-direction:column; gap:8px; padding: 2px 20px; }
.roi-stat + .roi-stat { border-left: 1px solid var(--border); }
.roi-stat .rk { font-size:12.5px; color: var(--text-mut); font-weight:500; }
.roi-stat .rv { font-size: 27px; font-weight:800; letter-spacing:-.025em; line-height:1; }
.roi-stat.primary .rv { color: var(--accent); }
@media (max-width:560px){ .roi-stats3 { grid-template-columns:1fr; gap:18px; } .roi-stat { padding:0; } .roi-stat + .roi-stat { border-left:none; border-top:1px solid var(--border); padding-top:16px; } }
.roi-val { font-family:var(--mono); font-size: 26px; font-weight:700; color: var(--text); letter-spacing:-.02em; }
.roi-slider { -webkit-appearance:none; appearance:none; width:100%; height:8px; border-radius:999px; background: var(--bg-sunken); outline:none; }
.roi-slider::-webkit-slider-thumb { -webkit-appearance:none; width:26px; height:26px; border-radius:50%; background:#fff; border:none; box-shadow: 0 2px 8px rgba(15,23,42,.25), 0 0 0 6px var(--accent); cursor:pointer; transition: box-shadow .15s; }
.roi-slider::-moz-range-thumb { width:22px; height:22px; border-radius:50%; background:#fff; border:none; box-shadow: 0 2px 8px rgba(15,23,42,.25), 0 0 0 6px var(--accent); cursor:pointer; }
.roi-slider::-webkit-slider-thumb:hover { box-shadow: 0 2px 8px rgba(15,23,42,.25), 0 0 0 8px var(--accent); }
.roi-ticks { display:flex; justify-content:space-between; font-family:var(--mono); font-size:11px; color: var(--text-faint); margin-top:12px; }
.roi-assume { margin-top: 24px; padding-top:20px; border-top:1px solid var(--border); font-size:12.5px; color: var(--text-mut); line-height:1.55; }

/* ===== CASE STUDY ===== */
.case-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 0; border:1px solid var(--border); border-radius: var(--radius-xl); overflow:hidden; box-shadow: var(--shadow-md); background: var(--surface); }
.case-left { padding: 48px; display:flex; flex-direction:column; }
.case-logo { display:inline-flex; align-items:center; gap:10px; font-weight:800; font-size:19px; letter-spacing:-.02em; margin-bottom: 26px; }
.case-logo .cmono { width:34px; height:34px; border-radius:9px; font-size:13px; }
.case-quote { font-size: 23px; line-height:1.4; font-weight:600; letter-spacing:-.02em; margin-bottom: 26px; }
.case-quote .hl { background: linear-gradient(transparent 62%, var(--accent-soft-2) 62%); padding: 0 2px; }
.case-author { display:flex; align-items:center; gap:12px; margin-top:auto; }
.case-author .av { width:44px; height:44px; border-radius:50%; background: linear-gradient(135deg,#34d399,#10b981); display:grid; place-items:center; color:#fff; font-weight:700; }
.case-author b { display:block; font-size:14.5px; }
.case-author span { font-size:13px; color: var(--text-mut); }
.case-right { background: linear-gradient(170deg,#0d1526,#16203a); padding: 48px; color:#fff; display:flex; flex-direction:column; justify-content:center; gap: 26px; }
.case-metric .v { font-size: 44px; font-weight:800; letter-spacing:-.03em; line-height:1; font-variant-numeric:tabular-nums; }
.case-metric .v .arrow { color: #34d399; }
.case-metric .k { font-size:14px; color:#aeb6c6; margin-top:8px; }
.case-metric .ba { font-family:var(--mono); font-size:11.5px; color:#7d8aa3; margin-top:6px; }
.case-metric .ba b { color: #34d399; }
.case-divider { height:1px; background: rgba(255,255,255,.1); }

/* ===== CASE STUDY SLIDER ===== */
.case-slider { position: relative; }
.case-slider .case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border:1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface); }
.case-slider .case-left, .case-slider .case-right { min-height: 360px; }
.case-fade { display: contents; }
.case-left .case-fade, .case-right .case-fade { display: flex; flex-direction: column; width: 100%; }
.case-right .case-fade { justify-content: center; gap: 26px; }
.case-fade > * { transition: opacity .34s ease, transform .34s ease; }
.case-slider.swapping .case-fade > * { opacity: 0; transform: translateY(10px); }
.case-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.case-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-sec); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.case-arrow:hover { background: var(--bg-sunken); color: var(--ink); border-color: var(--ink); }
.case-arrow svg { width: 18px; height: 18px; }
.case-dots { display: flex; gap: 9px; }
.case-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; background: var(--border-strong); cursor: pointer; transition: .25s; }
.case-dot.on { background: var(--accent); width: 26px; border-radius: 5px; }

/* ===== TESTIMONIALS ===== */
.testi-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 12px; }
.testi { padding: 26px; border:1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs); display:flex; flex-direction:column; transition:.2s; }
.testi:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.testi .metric { font-size: 30px; font-weight:800; letter-spacing:-.03em; color: var(--accent); margin-bottom:12px; font-variant-numeric:tabular-nums; }
.testi p { font-size: 15px; color: var(--text-sec); line-height:1.55; margin-bottom: 22px; }
.testi .who { display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:18px; border-top:1px solid var(--border); }
.testi .who .av { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:#fff; font-weight:700; font-size:15px; flex:none; }
.testi .who b { display:block; font-size:14px; }
.testi .who span { font-size:12.5px; color: var(--text-mut); }

/* ===== PRICING ===== */
.pricing-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 12px; align-items:start; }
.price-card { padding: 30px; border:1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-xs); display:flex; flex-direction:column; transition:.2s; }
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); position:relative; }
.price-card.featured::before { content:"Most popular"; position:absolute; top:-12px; left:50%; transform:translateX(-50%); background: var(--accent); color:#fff; font-size:11.5px; font-weight:700; font-family:var(--mono); letter-spacing:.03em; padding:5px 14px; border-radius:999px; box-shadow: var(--shadow-accent); }
.price-card .pname { font-size:15px; font-weight:700; margin-bottom:6px; }
.price-card .pdesc { font-size:13.5px; color: var(--text-mut); margin-bottom:20px; min-height:38px; }
.price-card .pamt { display:flex; align-items:baseline; gap:6px; margin-bottom:22px; }
.price-card .pamt b { font-size: 40px; font-weight:800; letter-spacing:-.03em; }
.price-card .pamt span { font-size:14px; color: var(--text-mut); }
.price-card .pfeats { display:flex; flex-direction:column; gap:12px; margin: 4px 0 26px; }
.price-card .pfeat { display:flex; gap:10px; align-items:flex-start; font-size:14px; color: var(--text-sec); }
.price-card .pfeat svg { width:18px; height:18px; color: var(--accent); flex:none; margin-top:1px; }
.price-card .btn { margin-top:auto; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 840px; margin: 12px auto 0; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-q { width:100%; text-align:left; display:flex; align-items:center; gap:18px; padding: 22px 4px; background:transparent; border:none; font-size:17px; font-weight:600; color: var(--text); letter-spacing:-.01em; }
.faq-q .qx { margin-left:auto; width:24px; height:24px; flex:none; position:relative; transition: transform .25s; }
.faq-q .qx::before, .faq-q .qx::after { content:""; position:absolute; top:50%; left:50%; width:13px; height:2px; border-radius:2px; background: var(--text-mut); transform: translate(-50%,-50%); transition: .25s; }
.faq-q .qx::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .qx::after { transform: translate(-50%,-50%) rotate(0); opacity:0; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-a { overflow:hidden; max-height:0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 4px 24px; font-size: 15.5px; color: var(--text-mut); line-height:1.6; max-width: 680px; }

/* ===== FINAL CTA ===== */
.cta-band { position: relative; overflow:hidden; border-radius: var(--radius-xl); padding: 64px; text-align:center;
  background: linear-gradient(150deg,#0c1424,#16234a 70%,#1e3a8a); color:#fff; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 22px 22px; opacity:.5; }
.cta-band::after { content:""; position:absolute; top:-40%; right:-10%; width:420px; height:420px; border-radius:50%; background: radial-gradient(circle, rgba(91,139,255,.5), transparent 65%); filter: blur(20px); }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; font-size: clamp(32px,4.4vw,48px); margin-bottom: 16px; }
.cta-band p { color: #c8d2e8; font-size: 18px; max-width: 540px; margin: 0 auto 30px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta-risk { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; margin-top:26px; }
.cta-risk span { display:inline-flex; align-items:center; gap:8px; font-size:14px; color:#aeb9d4; }
.cta-risk svg { width:16px; height:16px; color:#34d399; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px){
  .section { padding: 88px 0; }
  .hero-grid, .problem-grid, .coverage-grid, .roi-grid, .case-grid, .tab-stage, .tab-panel.on { grid-template-columns: 1fr; }
  .hero-mock-wrap { order: 1; }
  .hero-copy { order: 2; }
  .hero { padding: 40px 0 72px; }
  .feature-grid, .testi-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .carrier-grid { grid-template-columns: repeat(3,1fr); }
  .stepper { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .case-left, .case-right { padding: 36px; }
}
@media (max-width: 720px){
  :root { --gut: 18px; }
  .section { padding: 64px 0; }
  body { font-size: 16px; }
  .main-nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-grid; }
  .feature-grid, .testi-grid, .pricing-grid, .stepper, .carrier-grid, .contact-row { grid-template-columns: 1fr; }
  /* case study: keep only the first two metrics */
  .case-right .case-metric:last-child,
  .case-right .case-divider:last-of-type { display: none; }
  /* FAQ: collapse to first 3 + show-all button */
  #faqWrap.faq-collapsed .faq-item:nth-child(n+4) { display: none; }
  .faq-more { display: inline-flex; }
  .usecase-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .roi-headline { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .hero-mock-wrap .app { grid-template-columns: 1fr; }
  /* strip the outer mock frame so only the Recent-orders card shows */
  .hero-mock-wrap .mock { border: none; box-shadow: none; border-radius: 0; background: transparent; overflow: visible; }
  .hero-mock-wrap .app { background: transparent; }
  .hero-mock-wrap .app-body { padding: 0; }
  .hero-mock-wrap .app-card { background: #fff; }
  .hero-mock-wrap .mock-bar { display: none; }
  .hero-mock-wrap .app-side { display: none; }
  .hero-mock-wrap .app-burger { display: inline-flex; }
  .app-side { flex-direction: row; height: 48px; padding: 0 12px; }
  .app-side .grow, .app-side .logo { display:none; }
  .cta-band { padding: 40px 24px; }
  .case-right { gap: 18px; }
  .logo-track { gap: 36px; }
}

/* ---------- "From the blog" teaser (landing) ---------- */
.blog-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.bt-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.bt-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }
.bt-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #0d1526; }
.bt-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.bt-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.bt-cat { font-family: var(--mono); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.bt-card h3 { font-size: 17px; line-height: 1.32; letter-spacing: -.012em; color: var(--text); margin: 0; }
.bt-meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--text-mut); }
@media (max-width: 860px) {
  .blog-teaser-grid {
    grid-template-columns: none;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 20px;
    margin: 34px -20px 0;
    padding: 4px 20px 16px;
    scrollbar-width: none;
  }
  .blog-teaser-grid::-webkit-scrollbar { display: none; }
  .bt-card { flex: 0 0 82%; scroll-snap-align: start; }
}
