/* ═══════════════════════════════════════════════════════════
   EmberNestAI — Front Desk System (homepage section + system.html)
   Builds on css/style.css tokens
   ═══════════════════════════════════════════════════════════ */

.ic { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* pills */
.pill-core, .pill-add {
  display: inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 50px; vertical-align: middle; white-space: nowrap;
}
.pill-core { background: var(--grad); color: #fff; }
.pill-add  { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); color: #CBD5E1; }

/* ═══════════ HUB & SPOKES ═══════════ */
.hub-wrap {
  position: relative; border-radius: 28px; padding: 28px 24px 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(249,115,22,0.10) 0%, transparent 45%),
    linear-gradient(180deg, #0D1221 0%, #0A0E1A 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
  overflow: hidden;
}
.hub-wrap::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.hub-stage { position: relative; width: 100%; aspect-ratio: 1100 / 740; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-orbit { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 1.5; stroke-dasharray: 4 8; vector-effect: non-scaling-stroke; }
.hub-line { stroke-width: 3; stroke-dasharray: 8 8; opacity: .8; vector-effect: non-scaling-stroke; animation: hubDash 1.1s linear infinite; }
@keyframes hubDash { to { stroke-dashoffset: -32; } }

.hub-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 22%; aspect-ratio: 1; z-index: 2;
}
.hub-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FDBA74 0%, #F97316 40%, #C2410C 100%);
  box-shadow: 0 0 0 6px rgba(249,115,22,0.18), 0 0 80px rgba(249,115,22,0.55), inset 0 -10px 30px rgba(0,0,0,0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
  padding: 10%;
}
.hub-core .ic { margin-bottom: 6px; }
.hub-k { font-size: clamp(0.6rem, 1vw, 0.75rem); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; opacity: .9; }
.hub-big { font-size: clamp(1.1rem, 2.5vw, 1.9rem); font-weight: 900; letter-spacing: -1px; line-height: 1.05; margin: 2px 0 6px; }
.hub-sub { font-size: clamp(0.6rem, 0.95vw, 0.75rem); opacity: .92; line-height: 1.4; }
.hub-ring { position: absolute; inset: -14%; border-radius: 50%; border: 2px solid rgba(249,115,22,0.35); animation: ringPulse 3s ease-out infinite; }
.hub-ring.r2 { animation-delay: 1.5s; }
@keyframes ringPulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }

.hub-tile {
  position: absolute; transform: translate(-50%,-50%); z-index: 3;
  width: 25%; min-width: 220px; max-width: 272px;
  background: linear-gradient(160deg, rgba(var(--rgb),0.16) 0%, #111827 55%);
  border: 1.5px solid rgba(var(--rgb),0.55);
  border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 0 0 rgba(var(--rgb),0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  color: var(--text);
}
.hub-tile:hover { transform: translate(-50%,-50%) translateY(-4px) scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(var(--rgb),0.35); border-color: var(--c); }
.hub-tile.core { border-width: 2px; border-color: var(--c); box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 44px rgba(var(--rgb),0.35); }
.ht-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ht-ic {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--c); color: #fff; box-shadow: 0 6px 18px rgba(var(--rgb),0.45);
}
.ht-name { font-size: 1rem; font-weight: 900; letter-spacing: -0.3px; flex: 1; line-height: 1.15; white-space: nowrap; }
.ht-label { font-size: 0.6rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #64748B; }
.ht-catch { font-size: 0.95rem; font-weight: 700; color: #F8FAFC; line-height: 1.3; margin-bottom: 10px; }
.ht-result {
  display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--c);
  background: rgba(var(--rgb),0.12); border-radius: 8px; padding: 6px 9px;
}

.hub-loop {
  position: relative; z-index: 3; margin: 18px auto 0; max-width: 760px;
  display: flex; align-items: center; gap: 12px; justify-content: center;
  background: rgba(234,179,8,0.07); border: 1px dashed rgba(234,179,8,0.45); border-radius: 14px;
  padding: 12px 18px; font-size: 0.9rem; color: #CBD5E1;
}
.hub-loop .ic { color: #EAB308; }
.hub-loop b { color: #FDE047; }

.sys-home-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.sys-home-note { color: var(--muted); font-size: 0.95rem; }
.sys-home-note b { color: var(--text); }

@media (max-width: 1000px) {
  .hub-tile { min-width: 190px; padding: 12px; }
  .ht-ic { width: 34px; height: 34px; }
  .ht-name { font-size: 0.9rem; }
  .ht-catch { font-size: 0.82rem; }
  .ht-result { font-size: 0.72rem; }
}
/* mobile: center first, tiles stacked */
@media (max-width: 820px) {
  .hub-wrap { padding: 28px 16px 18px; }
  .hub-stage { aspect-ratio: auto; display: flex; flex-direction: column; gap: 12px; }
  .hub-lines { display: none; }
  .hub-center { position: relative; left: auto; top: auto; transform: none; width: 210px; margin: 16px auto 34px; }
  .hub-k { font-size: 0.7rem; } .hub-big { font-size: 1.6rem; } .hub-sub { font-size: 0.7rem; }
  .hub-tile { position: relative; left: auto !important; top: auto !important; transform: none; width: 100%; max-width: none; min-width: 0; padding: 16px; }
  .hub-tile:hover { transform: none; }
  .hub-center + .hub-tile { order: 0; }
  .ht-name { font-size: 1rem; } .ht-catch { font-size: 0.95rem; } .ht-result { font-size: 0.8rem; }
  .hub-loop { font-size: 0.85rem; text-align: left; }
}

/* ═══════════ SYSTEM PAGE ═══════════ */
.sys-hero { padding: 150px 0 80px; position: relative; overflow: hidden; }
.sys-hero .hero-glow {
  position: absolute; width: 900px; height: 600px; left: 50%; top: -200px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(249,115,22,0.16) 0%, transparent 65%); pointer-events: none;
}
.sys-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin-bottom: 20px; }
.sys-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }
.sys-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.sys-tagline { text-align: center; margin-top: 32px; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.4px; }

/* module chips row (jump links) */
.mod-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.mod-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 50px;
  background: rgba(var(--rgb),0.1); border: 1px solid rgba(var(--rgb),0.4); color: var(--text);
  font-size: 0.85rem; font-weight: 700; transition: background .2s, transform .2s;
}
.mod-chip:hover { background: rgba(var(--rgb),0.2); transform: translateY(-2px); }
.mod-chip .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ── BEFORE / AFTER SPLIT ── */
.ba { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0; align-items: stretch; }
.ba-col { border-radius: 22px; padding: 22px; }
.ba-without { background: #0B0F19; border: 1px solid rgba(255,255,255,0.07); }
.ba-with { background: linear-gradient(160deg, rgba(249,115,22,0.10), #111827 60%); border: 1px solid rgba(249,115,22,0.4); box-shadow: 0 0 60px rgba(249,115,22,0.12); }
.ba-head { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.05rem; margin-bottom: 16px; }
.ba-head .badge { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ba-without .ba-head { color: #94A3B8; }
.ba-without .badge { background: rgba(239,68,68,0.15); color: #F87171; }
.ba-with .badge { background: var(--grad); color: #fff; }
.ba-row {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border-radius: 14px; margin-bottom: 10px;
}
.ba-without .ba-row { background: rgba(255,255,255,0.025); }
.ba-with .ba-row { background: rgba(var(--rgb),0.08); border: 1px solid rgba(var(--rgb),0.3); }
.ba-row .ri { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ba-without .ri { background: rgba(255,255,255,0.05); color: #64748B; }
.ba-with .ri { background: var(--c); color: #fff; box-shadow: 0 4px 14px rgba(var(--rgb),0.4); }
.ba-row .rt { font-size: 0.9rem; line-height: 1.35; }
.ba-row .rt b { display: block; font-size: 0.95rem; }
.ba-without .rt { color: #64748B; } .ba-without .rt b { color: #94A3B8; text-decoration: line-through; text-decoration-color: rgba(239,68,68,0.7); }
.ba-with .rt { color: #CBD5E1; } .ba-with .rt b { color: #fff; }
.ba-row .mark { margin-left: auto; }
.ba-without .mark { color: #EF4444; } .ba-with .mark { color: var(--c); }
.ba-foot { margin-top: 6px; border-radius: 14px; padding: 14px; text-align: center; font-weight: 900; font-size: 1.05rem; }
.ba-without .ba-foot { background: rgba(239,68,68,0.08); color: #F87171; border: 1px dashed rgba(239,68,68,0.35); }
.ba-with .ba-foot { background: rgba(16,185,129,0.1); color: #34D399; border: 1px dashed rgba(16,185,129,0.45); }
.ba-mid { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.ba-mid .arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(249,115,22,0.5); }

/* ── MODULE BLOCKS ── */
.mod-block {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  margin-top: 40px; padding: 44px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(var(--rgb),0.09) 0%, rgba(17,24,39,0.6) 45%, #0B0F19 100%);
  border: 1px solid rgba(var(--rgb),0.28); overflow: hidden;
}
.mod-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c); }
.mod-block.flip .mod-text { order: 2; }
.mod-block.flip .mod-visual { order: 1; }
.mod-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mod-head .mi {
  width: 56px; height: 56px; border-radius: 16px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(var(--rgb),0.45); flex-shrink: 0;
}
.mod-head .mn { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--c); margin-bottom: 3px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mod-head .mt { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.3px; }
.mod-text h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 18px; }
.mod-problem {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.25); border-radius: 12px;
  padding: 11px 14px; font-size: 0.9rem; color: #FECACA; margin-bottom: 20px; line-height: 1.5;
}
.mod-problem .ic { color: #F87171; margin-top: 1px; }
.flow3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; margin-bottom: 18px; }
.f3 {
  background: #0B0F19; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px 12px; text-align: center;
}
.f3 .fi { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 50%; background: rgba(var(--rgb),0.15); color: var(--c); display: flex; align-items: center; justify-content: center; position: relative; }
.f3 .fi span { position: absolute; top: -6px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-size: 0.68rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.f3 b { display: block; font-size: 0.85rem; color: #fff; margin-bottom: 3px; line-height: 1.25; }
.f3 small { display: block; font-size: 0.74rem; color: #94A3B8; line-height: 1.4; }
.f3-arrow { display: flex; align-items: center; color: var(--c); opacity: .8; }
.mod-result {
  display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 0.95rem; color: #fff;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.4); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.mod-result .ic { color: #34D399; }
.mod-fit { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-fit span { font-size: 0.76rem; color: var(--muted); background: #0B0F19; border: 1px solid var(--border-2); border-radius: 50px; padding: 5px 12px; }
.mod-fit span b { color: var(--text); }

/* ── DEVICE MOCKUPS ── */
.mock-stage { position: relative; display: flex; justify-content: center; }
.mock-stage::before {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(var(--rgb),0.22) 0%, transparent 65%); pointer-events: none;
}
.phone {
  position: relative; width: 290px; max-width: 100%; background: #05070d; border-radius: 40px; padding: 11px;
  border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 0 0 2px #1a2030;
}
.phone-screen { background: #0B1020; border-radius: 30px; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; }
.phone-notch { width: 96px; height: 24px; background: #05070d; border-radius: 0 0 14px 14px; margin: 0 auto; }
.phone-head { text-align: center; padding: 14px 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.phone-avatar { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; background: var(--c); color: #fff; }
.phone-head .nm { font-weight: 800; font-size: 0.9rem; }
.phone-head .st { font-size: 0.7rem; color: #34D399; font-weight: 600; }
.phone-body { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bub { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: 0.78rem; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.play .bub { opacity: 1; transform: none; }
.bub.in  { background: #1E293B; color: #E2E8F0; align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.out { background: var(--c); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bub.sys { align-self: center; background: transparent; color: #64748B; font-size: 0.68rem; font-weight: 600; padding: 2px; }
.bub .who { display: block; font-size: 0.62rem; font-weight: 800; opacity: .75; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .8px; }
.bub-ok { align-self: stretch; max-width: 100%; text-align: center; background: rgba(16,185,129,0.14); border: 1px solid rgba(16,185,129,0.5); color: #6EE7B7; font-weight: 700; }
.play .bub:nth-child(1) { transition-delay: .1s; } .play .bub:nth-child(2) { transition-delay: .6s; }
.play .bub:nth-child(3) { transition-delay: 1.1s; } .play .bub:nth-child(4) { transition-delay: 1.6s; }
.play .bub:nth-child(5) { transition-delay: 2.1s; } .play .bub:nth-child(6) { transition-delay: 2.6s; }
.play .bub:nth-child(7) { transition-delay: 3.1s; }
.call-wave { display: flex; gap: 3px; justify-content: center; align-items: center; height: 18px; margin-top: 6px; }
.call-wave i { width: 3px; background: var(--c); border-radius: 2px; animation: sysWave 1s ease-in-out infinite; }
.call-wave i:nth-child(2){animation-delay:.1s}.call-wave i:nth-child(3){animation-delay:.2s}.call-wave i:nth-child(4){animation-delay:.3s}.call-wave i:nth-child(5){animation-delay:.4s}.call-wave i:nth-child(6){animation-delay:.5s}.call-wave i:nth-child(7){animation-delay:.6s}
@keyframes sysWave { 0%,100% { height: 4px; } 50% { height: 18px; } }
.float-card {
  position: absolute; background: #111827; border: 1px solid rgba(var(--rgb),0.55); border-radius: 14px;
  padding: 10px 14px; font-size: 0.74rem; box-shadow: 0 16px 40px rgba(0,0,0,0.5); max-width: 190px; line-height: 1.45;
  opacity: 0; transform: translateY(10px); transition: opacity .5s ease 3.2s, transform .5s ease 3.2s; z-index: 2;
}
.play .float-card { opacity: 1; transform: none; }
.float-card b { color: var(--c); }
.float-card .fc-k { font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #94A3B8; }

.browser { position: relative; width: 100%; max-width: 460px; background: #0B1020; border-radius: 16px; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 30px 80px rgba(0,0,0,0.55); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #111827; border-bottom: 1px solid rgba(255,255,255,0.06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar i:nth-child(1){background:#EF4444}.browser-bar i:nth-child(2){background:#F59E0B}.browser-bar i:nth-child(3){background:#10B981}
.browser-url { margin-left: 10px; flex: 1; background: #0B1020; border-radius: 6px; font-size: 0.68rem; color: #64748B; padding: 4px 10px; }
.browser-page { position: relative; height: 420px; padding: 20px; }
.skel { background: #1B2437; border-radius: 6px; margin-bottom: 10px; }
.chat-widget { position: absolute; right: 16px; bottom: 16px; width: 270px; background: #111827; border: 1px solid rgba(var(--rgb),0.55); border-radius: 16px; overflow: hidden; box-shadow: 0 16px 50px rgba(0,0,0,0.6); }
.chat-head { background: var(--c); padding: 10px 14px; font-size: 0.8rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 8px; }
.chat-head small { font-weight: 500; opacity: .9; display: block; font-size: 0.65rem; }
.chat-body { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.slot-row { display: flex; gap: 6px; flex-wrap: wrap; }
.slot { font-size: 0.68rem; font-weight: 700; border: 1px solid rgba(var(--rgb),0.6); color: #93C5FD; border-radius: 50px; padding: 4px 10px; }
.slot.sel { background: var(--c); color: #fff; border-color: transparent; }

.speed-card { width: 100%; max-width: 460px; background: #111827; border: 1px solid rgba(var(--rgb),0.4); border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); position: relative; }
.ad-mini { display: flex; gap: 12px; align-items: center; background: #0D1221; border: 1px solid var(--border-2); border-radius: 12px; padding: 12px; margin-bottom: 18px; }
.ad-mini .ad-img { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, #334155, #1E293B); display: flex; align-items: center; justify-content: center; color: #CBD5E1; flex-shrink: 0; }
.ad-mini .sp { font-size: 0.6rem; color: #64748B; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ad-mini .ttl { font-size: 0.85rem; font-weight: 800; }
.ad-mini .btnx { margin-left: auto; font-size: 0.7rem; font-weight: 800; background: #2563EB; color: #fff; border-radius: 6px; padding: 6px 10px; white-space: nowrap; }
.race { display: flex; flex-direction: column; gap: 16px; }
.race-lbl { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: flex; justify-content: space-between; }
.race-track { position: relative; height: 12px; border-radius: 6px; background: #0D1221; border: 1px solid var(--border); overflow: hidden; }
.race-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.race-you .race-fill { background: var(--c); }
.race-them .race-fill { background: #475569; transition-duration: 4s; }
.play .race-you .race-fill { width: 8%; }
.play .race-them .race-fill { width: 100%; }
.race-you .race-lbl { color: #D8B4FE; }
.race-them .race-lbl { color: #94A3B8; }
.race-events { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.race-ev { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: #CBD5E1; opacity: 0; transform: translateX(-8px); transition: all .45s ease; }
.play .race-ev { opacity: 1; transform: none; }
.play .race-ev:nth-child(1){transition-delay:.3s}.play .race-ev:nth-child(2){transition-delay:1s}.play .race-ev:nth-child(3){transition-delay:1.7s}.play .race-ev:nth-child(4){transition-delay:2.6s}
.race-ev time { font-size: 0.7rem; font-weight: 800; color: #D8B4FE; background: rgba(var(--rgb),0.15); border-radius: 6px; padding: 3px 7px; min-width: 50px; text-align: center; }
.race-ev.bad time { color: #FCA5A5; background: rgba(239,68,68,0.12); }

.review-g { background: #fff; color: #1F2937; border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.45); font-size: 0.76rem; line-height: 1.5; font-weight: 500; }
.review-g .rg-top { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.review-g .rg-av { width: 30px; height: 30px; border-radius: 50%; background: #6366F1; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.review-g .rg-nm { font-weight: 800; font-size: 0.8rem; }
.review-g .rg-st { color: #F59E0B; letter-spacing: 1px; font-size: 0.85rem; }
.review-g .rg-src { font-size: 0.62rem; color: #6B7280; margin-top: 4px; }
.mock-note { text-align: center; color: #64748B; font-size: 0.75rem; margin-top: 28px; font-style: italic; }

/* ── JOURNEY ── */
.journey { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.journey::before { content: ''; position: absolute; left: 6%; right: 6%; top: 29px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #A855F7, #3B82F6, #64748B, #EAB308, #10B981, #F97316); opacity: .6; }
.j-step { position: relative; text-align: center; }
.j-dot { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 0 6px #0D1221, 0 0 30px rgba(var(--rgb),0.55); }
.j-time { font-size: 0.68rem; font-weight: 800; color: var(--c); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.j-card { background: #111827; border: 1px solid rgba(var(--rgb),0.3); border-top: 3px solid var(--c); border-radius: 14px; padding: 14px 12px; text-align: left; }
.j-card p { font-size: 0.82rem; color: #E2E8F0; line-height: 1.45; margin-bottom: 10px; font-weight: 600; }
.j-card .j-by { font-size: 0.72rem; font-weight: 800; color: var(--c); display: flex; gap: 6px; align-items: flex-start; }
.j-note { text-align: center; color: #64748B; font-size: 0.78rem; margin-top: 22px; font-style: italic; }

/* ── BUILDING BLOCKS ── */
.blocks-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.blocks { display: flex; flex-direction: column; gap: 10px; }
.blocks-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.blk { border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; background: rgba(var(--rgb),0.08); border: 1.5px dashed rgba(var(--rgb),0.55); font-weight: 800; font-size: 0.88rem; }
.blk .bi { width: 36px; height: 36px; border-radius: 10px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.blk small { display: block; font-size: 0.62rem; color: var(--c); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.blk-base { background: linear-gradient(135deg, rgba(249,115,22,0.28), rgba(245,158,11,0.08)); border: 2px solid #F97316; padding: 22px; box-shadow: 0 0 40px rgba(249,115,22,0.25); }
.blk-base .bi { width: 48px; height: 48px; }
.blk-base .bt { font-size: 1.05rem; font-weight: 900; }
.blk-base .bp { margin-left: auto; font-size: 1.6rem; font-weight: 900; letter-spacing: -1px; }
.blk-base .bp span { font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.blocks-cap { text-align: center; font-size: 0.72rem; color: #64748B; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 10px; font-size: 0.95rem; color: #CBD5E1; align-items: flex-start; }
.check-list li .ic { color: #34D399; margin-top: 2px; }

.sys-cta { text-align: center; padding: 80px 24px; border-radius: 28px; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(249,115,22,0.14), rgba(245,158,11,0.05)); border: 1px solid rgba(249,115,22,0.35); }
.sys-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.sys-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

@media (max-width: 1000px) {
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .journey::before { display: none; }
}
@media (max-width: 900px) {
  .mod-block, .blocks-wrap { grid-template-columns: 1fr; gap: 32px; }
  .mod-block { padding: 28px 20px; }
  .mod-block.flip .mod-text { order: 1; } .mod-block.flip .mod-visual { order: 2; }
  .ba { grid-template-columns: 1fr; gap: 14px; }
  .ba-mid .arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .sys-hero { padding: 120px 0 56px; }
  .journey { grid-template-columns: 1fr; }
  .j-step { display: grid; grid-template-columns: 60px 1fr; gap: 14px; text-align: left; }
  .j-dot { margin: 0; }
  .flow3 { grid-template-columns: 1fr; }
  .f3 { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 12px 14px; }
  .f3 .fi { margin: 0; grid-row: span 2; }
  .f3-arrow { justify-content: center; transform: rotate(90deg); height: 18px; }
  .float-card { position: relative; inset: auto !important; margin: 14px auto 0; max-width: 290px; }
  .mock-stage { flex-direction: column; align-items: center; }
  .blocks-row { grid-template-columns: 1fr; }
  .sys-cta { padding: 56px 18px; }
  .ba-col { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-line, .hub-ring, .call-wave i { animation: none; }
  .hub-lines circle { display: none; }
}
.check-list li::before { content: none !important; display: none !important; }
.ht-top { gap: 8px; }

/* ── Homepage pricing: add-on strip ── */
.addon-strip { max-width: 680px; margin: -20px auto 48px; }
.addon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.addon-row .blk { flex-direction: column; text-align: center; gap: 8px; padding: 14px 10px; font-size: 0.82rem; }
.addon-strip .blocks-cap { margin-bottom: 12px; }
.addon-link { display: block; text-align: center; margin-top: 16px; font-size: 0.88rem; font-weight: 700; color: #FB923C; }
.addon-link:hover { color: #FDBA74; }
@media (max-width: 640px) { .addon-row { grid-template-columns: 1fr 1fr; } }

/* ═══════════ COMPACT DESKTOP (Sept 2026) ═══════════ */
@media (min-width: 821px) {
  /* keep the whole hub inside one screen: stage height <= viewport minus nav */
  .hub-wrap { max-width: min(100%, calc((100vh - 120px) * 1.486 + 48px)); margin-left: auto; margin-right: auto; padding: 18px 24px 18px; }
  .hub-loop { margin-top: 10px; padding: 10px 16px; font-size: 0.85rem; }
}
@media (min-width: 1025px) {
  .sys-hero { padding: 110px 0 56px; }
  .sys-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
  .sys-hero .lead { margin-bottom: 24px; }
  .sys-hero-btns { margin-bottom: 32px; }
  .sys-tagline { margin-top: 22px; font-size: 1.2rem; }
  .mod-block { padding: 32px 40px; gap: 48px; margin-top: 28px; }
  .mod-text h3 { margin-bottom: 14px; }
  .mod-problem { margin-bottom: 16px; }
  .flow3 { margin-bottom: 14px; }
  .f3 { padding: 12px 10px; }
  .phone { width: 270px; }
  .phone-screen { min-height: 460px; }
  .browser-page { height: 390px; }
  .ba-col { padding: 18px; }
  .ba-row { min-height: 56px; margin-bottom: 8px; padding: 8px 12px; }
  .sys-cta { padding: 60px 24px; }
  .sys-home-foot { margin-top: 24px; }
  .addon-strip { margin-bottom: 32px; }
}

/* ═══════════ AI DISPATCHER label ═══════════ */
.ht-name small { display: block; font-size: 0.66rem; font-weight: 700; color: var(--c); letter-spacing: .3px; margin-top: 1px; }
.hub-mini { display: none; }
.ba-tabs { display: none; }

/* ═══════════ MOBILE REDESIGN (Sept 2026) ═══════════ */
@media (max-width: 820px) {
  /* hub: orbit visual + compact rows on a colored spine */
  .hub-wrap { padding: 20px 14px 16px; border-radius: 22px; }
  .hub-center { width: 150px; margin: 34px auto 44px; }
  .hub-core { padding: 14%; box-shadow: 0 0 0 5px rgba(249,115,22,0.18), 0 0 60px rgba(249,115,22,0.5); }
  .hub-core .ic { width: 26px; height: 26px; margin-bottom: 2px; }
  .hub-k { font-size: 0.55rem; letter-spacing: 1.5px; }
  .hub-big { font-size: 1.25rem; margin: 1px 0 3px; }
  .hub-sub { font-size: 0.55rem; }
  .hub-ring { inset: -10%; }
  .hub-mini { display: block; position: absolute; inset: -34px; pointer-events: none; }
  .hm-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,0.14); animation: hmSpin 40s linear infinite; }
  .hm-b {
    position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 4px #0B0F19, 0 0 18px rgba(var(--rgb),0.6);
  }
  /* 5 bubbles evenly around the orbit (radius 50% of the box) */
  .hm-0 { left: 50%;    top: 0%; }
  .hm-1 { left: 97.6%;  top: 34.5%; }
  .hm-2 { left: 79.4%;  top: 90.5%; }
  .hm-3 { left: 20.6%;  top: 90.5%; }
  .hm-4 { left: 2.4%;   top: 34.5%; }
  @keyframes hmSpin { to { transform: rotate(360deg); } }

  .hub-stage { gap: 10px; position: relative; }
  .hub-stage::after {
    content: ''; position: absolute; left: 33px; top: 250px; bottom: 30px; width: 2px; z-index: 0;
    background: linear-gradient(180deg, #F97316, #10B981, #A855F7, #3B82F6, #EAB308); opacity: .55; border-radius: 2px;
  }
  .hub-tile {
    display: grid; grid-template-columns: 40px 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center;
    padding: 12px 12px 12px 12px; border-radius: 16px; border-width: 1px; z-index: 1;
    background: linear-gradient(90deg, rgba(var(--rgb),0.14), #111827 60%);
  }
  .hub-tile .ht-top { display: contents; }
  .hub-tile .ht-ic { grid-row: 1 / span 3; grid-column: 1; width: 40px; height: 40px; border-radius: 12px; }
  .hub-tile .ht-name { grid-column: 2; grid-row: 1; font-size: 0.98rem; white-space: normal; }
  .hub-tile .ht-name small { display: inline; margin-left: 6px; font-size: 0.7rem; }
  .hub-tile .pill-core, .hub-tile .pill-add { grid-column: 3; grid-row: 1; font-size: 0.52rem; padding: 2px 7px; }
  .hub-tile .ht-label { display: none; }
  .hub-tile .ht-catch { grid-column: 2 / span 2; grid-row: 2; font-size: 0.84rem; font-weight: 600; color: #CBD5E1; margin: 0; }
  .hub-tile .ht-result { grid-column: 2 / span 2; grid-row: 3; background: none; padding: 0; font-size: 0.76rem; }
  .hub-loop { font-size: 0.8rem; padding: 10px 12px; gap: 10px; margin-top: 14px; }

  /* before / after: tabs, one column at a time */
  .ba-tabs {
    display: flex; gap: 4px; margin: 0 auto 16px; padding: 4px; max-width: 360px;
    background: #0B0F19; border: 1px solid var(--border-2); border-radius: 50px;
  }
  .ba-tabs button { flex: 1; padding: 10px 8px; border-radius: 50px; font-size: 0.82rem; font-weight: 800; color: var(--muted); transition: all .25s; }
  .ba-tabs button.on[data-ba="without"] { background: rgba(239,68,68,0.16); color: #FCA5A5; }
  .ba-tabs button.on[data-ba="with"] { background: var(--grad); color: #fff; box-shadow: 0 4px 18px rgba(249,115,22,0.4); }
  .ba.show-without .ba-with, .ba.show-with .ba-without, .ba .ba-mid { display: none; }
  .ba-row { min-height: 0; padding: 9px 10px; gap: 10px; margin-bottom: 8px; }
  .ba-row .ri { width: 34px; height: 34px; border-radius: 10px; }
  .ba-row .rt { font-size: 0.8rem; } .ba-row .rt b { font-size: 0.88rem; }
  .ba-head { font-size: 0.95rem; margin-bottom: 12px; }
  .ba-foot { font-size: 0.95rem; padding: 12px; }

  /* tool blocks: tighter, steps in one row */
  .mod-block { padding: 22px 16px 26px; border-radius: 22px; gap: 22px; margin-top: 22px; }
  .mod-head { gap: 12px; margin-bottom: 12px; }
  .mod-head .mi { width: 44px; height: 44px; border-radius: 13px; }
  .mod-head .mi .ic { width: 22px; height: 22px; }
  .mod-head .mt { font-size: 1.05rem; }
  .mod-text h3 { font-size: 1.3rem; letter-spacing: -0.5px; margin-bottom: 12px; }
  .mod-problem { font-size: 0.82rem; padding: 10px 12px; margin-bottom: 14px; }
  .flow3 { grid-template-columns: 1fr 14px 1fr 14px 1fr; gap: 4px; margin-bottom: 14px; }
  .f3 { display: block; text-align: center; padding: 10px 6px; border-radius: 12px; }
  .f3 .fi { margin: 0 auto 6px; width: 32px; height: 32px; grid-row: auto; }
  .f3 .fi .ic { width: 15px; height: 15px; }
  .f3 .fi span { width: 16px; height: 16px; font-size: 0.6rem; top: -4px; right: -6px; }
  .f3 b { font-size: 0.72rem; }
  .f3 small { display: none; }
  .f3-arrow { transform: none; height: auto; justify-content: center; }
  .f3-arrow .ic { width: 12px; height: 12px; }
  .mod-result { font-size: 0.84rem; padding: 10px 12px; }
  .mod-fit span { font-size: 0.7rem; }

  /* smaller device mockups */
  .mock-stage::before { width: 260px; height: 260px; }
  .phone { width: 236px; border-radius: 32px; padding: 8px; }
  .phone-screen { min-height: 0; border-radius: 25px; }
  .phone-notch { width: 70px; height: 18px; }
  .phone-head { padding: 8px 12px 8px; }
  .phone-avatar { width: 34px; height: 34px; margin-bottom: 4px; }
  .phone-avatar .ic { width: 16px; height: 16px; }
  .phone-head .nm { font-size: 0.78rem; }
  .phone-head .st { font-size: 0.62rem; }
  .call-wave { height: 12px; margin-top: 3px; }
  .phone-body { padding: 10px 8px; gap: 6px; }
  .bub { font-size: 0.68rem; padding: 7px 9px; border-radius: 13px; }
  .bub .who { font-size: 0.55rem; }
  .float-card { font-size: 0.68rem; padding: 8px 12px; max-width: 250px; }
  .browser { max-width: 320px; border-radius: 14px; }
  .browser-page { height: 330px; padding: 14px; }
  .chat-widget { width: 230px; right: 10px; bottom: 10px; }
  .chat-body { padding: 9px; gap: 6px; }
  .speed-card { padding: 16px; max-width: 330px; }
  .ad-mini { padding: 9px; margin-bottom: 14px; }
  .ad-mini .ad-img { width: 42px; height: 42px; }
  .ad-mini .ttl { font-size: 0.75rem; }
  .race-ev { font-size: 0.74rem; }
  .review-g { font-size: 0.68rem; padding: 9px 10px; }

  /* journey: vertical timeline */
  .journey { gap: 14px; }
  .journey::before { display: block; left: 29px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto;
    background: linear-gradient(180deg, #A855F7, #3B82F6, #64748B, #EAB308, #10B981, #F97316); }
  .j-dot { width: 46px; height: 46px; margin-left: 6px; box-shadow: 0 0 0 5px #0D1221, 0 0 20px rgba(var(--rgb),0.5); }
  .j-dot .ic { width: 20px; height: 20px; }
  .j-step { grid-template-columns: 58px 1fr; }
  .j-time { margin-bottom: 4px; font-size: 0.62rem; }
  .j-card { padding: 10px 12px; }
  .j-card p { font-size: 0.8rem; margin-bottom: 6px; }
  .j-card .j-by { font-size: 0.7rem; }

  .sys-hero h1 { letter-spacing: -1px; }
  .mod-chips { gap: 7px; }
  .mod-chip { font-size: 0.75rem; padding: 6px 11px 6px 6px; }
  .mod-chip .dot { width: 22px; height: 22px; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .hm-ring { animation: none; } }
@media (max-width: 820px) {
  .hub-tile { background: linear-gradient(90deg, rgba(var(--rgb),0.14), rgba(17,24,39,0) 60%), #111827; }
  .hub-tile .ht-name small { display: block; margin: 1px 0 0; }
  .phone { width: 224px; }
  .bub { font-size: 0.65rem; }
}

/* ═══════════ MOBILE MOCKUPS: compact "live chat" phones (Sept 2026) ═══════════
   Phone is a small fixed-height device. New messages grow in at the bottom and
   push older ones up behind a soft fade, like a real conversation. */
@media (max-width: 820px) {
  .mod-visual { display: flex; justify-content: center; }
  .mock-stage { width: 100%; }
  .mock-stage::before { width: 220px; height: 220px; }
  .phone { width: 212px; border-radius: 30px; padding: 7px; box-shadow: 0 18px 44px rgba(0,0,0,0.55), inset 0 0 0 2px #1a2030; }
  .phone-screen { height: 372px; border-radius: 24px; }
  .phone-notch { width: 64px; height: 16px; }
  .phone-head { padding: 6px 10px 8px; display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; text-align: left; align-items: center; }
  .phone-avatar { grid-row: span 2; width: 30px; height: 30px; margin: 0; }
  .phone-avatar .ic { width: 14px; height: 14px; }
  .phone-head .nm { font-size: 0.72rem; line-height: 1.2; }
  .phone-head .st { font-size: 0.58rem; }
  .phone-head .call-wave { display: none; }
  .phone-body {
    flex: 1; min-height: 0; overflow: hidden; justify-content: flex-end; gap: 0; padding: 8px 8px 10px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 44px);
    mask-image: linear-gradient(180deg, transparent 0, #000 44px);
  }
  .phone-body .bub {
    max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; overflow: hidden;
    transition: max-height .5s ease, padding .5s ease, margin .5s ease, opacity .4s ease .1s, transform .4s ease .1s;
  }
  .play .phone-body .bub { max-height: 170px; padding-top: 7px; padding-bottom: 7px; margin-top: 6px; }
  .play .phone-body .bub.sys { padding-top: 2px; padding-bottom: 2px; }
  .play .phone-body .bub:nth-child(1) { transition-delay: .2s; } .play .phone-body .bub:nth-child(2) { transition-delay: 1.2s; }
  .play .phone-body .bub:nth-child(3) { transition-delay: 2.2s; } .play .phone-body .bub:nth-child(4) { transition-delay: 3.2s; }
  .play .phone-body .bub:nth-child(5) { transition-delay: 4.2s; } .play .phone-body .bub:nth-child(6) { transition-delay: 5.2s; }
  .play .phone-body .bub:nth-child(7) { transition-delay: 6.2s; }
  .bub { font-size: 0.64rem; line-height: 1.4; max-width: 86%; }
  .bub .who { font-size: 0.5rem; }
  .bub-ok { font-size: 0.66rem; }
  .review-g { font-size: 0.62rem; padding: 8px 9px; }
  .review-g .rg-av { width: 22px; height: 22px; font-size: 0.65rem; }
  .float-card { margin-top: 12px; max-width: 230px; text-align: center; transition-delay: 5.8s; }

  /* browser + chat widget: shorter, chat pinned bottom-right */
  .browser { max-width: 300px; }
  .browser-bar { padding: 7px 10px; }
  .browser-page { height: 300px; padding: 12px; }
  .chat-widget { width: 214px; right: 8px; bottom: 8px; top: 34px; display: flex; flex-direction: column; }
  .chat-head { padding: 7px 10px; font-size: 0.7rem; }
  .chat-body {
    flex: 1; min-height: 0; overflow: hidden; justify-content: flex-end; gap: 0; padding: 6px 8px 8px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30px); mask-image: linear-gradient(180deg, transparent 0, #000 30px);
  }
  .chat-body .bub { max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; overflow: hidden;
    transition: max-height .5s ease, padding .5s ease, margin .5s ease, opacity .4s ease .1s, transform .4s ease .1s; }
  .play .chat-body .bub { max-height: 140px; padding-top: 6px; padding-bottom: 6px; margin-top: 5px; }
  .play .chat-body .bub.sys { padding-top: 0; padding-bottom: 0; }
  .play .chat-body .bub:nth-child(1) { transition-delay: .2s; } .play .chat-body .bub:nth-child(2) { transition-delay: 1.2s; }
  .play .chat-body .bub:nth-child(3) { transition-delay: 2.2s; } .play .chat-body .bub:nth-child(4) { transition-delay: 3.2s; }
  .play .chat-body .bub:nth-child(5) { transition-delay: 4.2s; }
  .slot { font-size: 0.58rem; padding: 3px 7px; }

  /* speed card */
  .speed-card { max-width: 300px; padding: 14px; border-radius: 16px; }
  .race { gap: 10px; }
  .race-lbl { font-size: 0.62rem; margin-bottom: 5px; }
  .race-track { height: 8px; }
  .race-events { margin-top: 12px; gap: 6px; }
  .race-ev { font-size: 0.68rem; gap: 8px; }
  .race-ev time { font-size: 0.6rem; min-width: 40px; padding: 2px 5px; }
}
@media (max-width: 820px) {
  .phone-body > *, .chat-body > * { flex-shrink: 0; }
}
@media (max-width: 820px) {
  .phone-head .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bub-ok { white-space: normal; font-size: 0.6rem; }
}

/* ═══════════ DESKTOP MOCKUPS: same compact "live chat" style, slightly larger ═══════════ */
@media (min-width: 821px) {
  .mod-block { grid-template-columns: 1.25fr 1fr; }
  .mock-stage::before { width: 300px; height: 300px; }
  .phone { width: 236px; border-radius: 32px; padding: 8px; box-shadow: 0 22px 54px rgba(0,0,0,0.55), inset 0 0 0 2px #1a2030; }
  .phone-screen { height: 410px; min-height: 0; border-radius: 26px; }
  .phone-notch { width: 70px; height: 18px; }
  .phone-head { padding: 8px 12px 10px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; text-align: left; align-items: center; }
  .phone-avatar { grid-row: span 2; width: 34px; height: 34px; margin: 0; }
  .phone-avatar .ic { width: 16px; height: 16px; }
  .phone-head .nm { font-size: 0.8rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .phone-head .st { font-size: 0.64rem; }
  .phone-head .call-wave { display: none; }
  .phone-body, .chat-body { flex: 1; min-height: 0; overflow: hidden; justify-content: flex-end; gap: 0; }
  .phone-body { padding: 8px 10px 12px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 48px); mask-image: linear-gradient(180deg, transparent 0, #000 48px); }
  .phone-body > *, .chat-body > * { flex-shrink: 0; }
  .phone-body .bub, .chat-body .bub {
    max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; overflow: hidden;
    transition: max-height .5s ease, padding .5s ease, margin .5s ease, opacity .4s ease .1s, transform .4s ease .1s;
  }
  .play .phone-body .bub { max-height: 180px; padding-top: 8px; padding-bottom: 8px; margin-top: 7px; }
  .play .phone-body .bub.sys { padding-top: 2px; padding-bottom: 2px; }
  .play .phone-body .bub:nth-child(1), .play .chat-body .bub:nth-child(1) { transition-delay: .2s; }
  .play .phone-body .bub:nth-child(2), .play .chat-body .bub:nth-child(2) { transition-delay: 1.2s; }
  .play .phone-body .bub:nth-child(3), .play .chat-body .bub:nth-child(3) { transition-delay: 2.2s; }
  .play .phone-body .bub:nth-child(4), .play .chat-body .bub:nth-child(4) { transition-delay: 3.2s; }
  .play .phone-body .bub:nth-child(5), .play .chat-body .bub:nth-child(5) { transition-delay: 4.2s; }
  .play .phone-body .bub:nth-child(6) { transition-delay: 5.2s; }
  .play .phone-body .bub:nth-child(7) { transition-delay: 6.2s; }
  .bub { font-size: 0.72rem; line-height: 1.42; }
  .bub .who { font-size: 0.55rem; }
  .bub-ok { white-space: nowrap; font-size: 0.68rem; }
  .review-g { font-size: 0.68rem; padding: 9px 10px; }
  .float-card { transition-delay: 5.8s; font-size: 0.7rem; max-width: 180px; }

  .browser { max-width: 380px; }
  .browser-page { height: 340px; padding: 16px; }
  .chat-widget { width: 240px; right: 12px; bottom: 12px; top: 40px; display: flex; flex-direction: column; }
  .chat-head { padding: 8px 12px; font-size: 0.74rem; }
  .chat-body { padding: 6px 10px 10px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px); mask-image: linear-gradient(180deg, transparent 0, #000 34px); }
  .play .chat-body .bub { max-height: 150px; padding-top: 7px; padding-bottom: 7px; margin-top: 6px; }
  .play .chat-body .bub.sys { padding-top: 0; padding-bottom: 0; }
  .slot { font-size: 0.62rem; padding: 3px 8px; }

  .speed-card { max-width: 360px; padding: 18px; }
  .ad-mini { padding: 10px; margin-bottom: 14px; }
  .ad-mini .ad-img { width: 46px; height: 46px; }
  .ad-mini .ttl { font-size: 0.8rem; }
  .race-ev { font-size: 0.76rem; }
}
@media (min-width: 821px) {
  #mod-mike .mock-stage { justify-content: flex-end; padding-right: 24px; }
  #mod-mike .float-card { top: 70px !important; left: 0 !important; }
}
.sys-hero .offer-strip { margin: -24px auto 36px; }
