:root {
  --orange: #f97316;
  --orange-d: #ea580c;
  --blue: #5d87ff;
  --blue-d: #3b6ef5;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --bg: #f3f5fa;
  --green: #22c55e;
  --red: #ef4444;
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --phone-w: 300px;
  --phone-h: 640px;
  --font: "Noto Sans SC", sans-serif;
  --display: "Outfit", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }

.wrap { width: min(100% - 2rem, 1240px); margin-inline: auto; }

.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 245, 250, 0.8);
  border-bottom: 1px solid transparent;
  transition: .25s;
}
.site-nav.scrolled {
  border-color: var(--line);
  background: rgba(243, 245, 250, 0.95);
}
.nav-row {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), #7aa2ff);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 8px;
  border: 2px solid #fff; border-radius: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 1.25rem;
  color: var(--muted); font-size: .92rem; font-weight: 500;
}
.nav-links a:hover { color: var(--blue-d); }
.nav-cta {
  padding: .5rem .95rem; border-radius: 999px;
  background: var(--orange); color: #fff !important; font-weight: 700;
}
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { width: 16px; height: 2px; background: var(--ink); display: block; }

.hero {
  padding: 7rem 0 2.5rem;
  color: #fff;
  background:
    radial-gradient(800px 380px at 90% 10%, rgba(249,115,22,.35), transparent 55%),
    radial-gradient(700px 360px at 10% 80%, rgba(93,135,255,.28), transparent 50%),
    linear-gradient(120deg, #0b1224, #172554 55%, #1e3a5f);
}
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: end;
}
.eyebrow {
  font-size: .75rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #fdba74; margin-bottom: .65rem;
}
.eyebrow.dark { color: var(--orange-d); }
.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05; letter-spacing: -.04em;
}
.hero-sub {
  font-family: var(--display); font-weight: 700;
  color: #fdba74; margin: .35rem 0 .8rem; font-size: 1.2rem;
}
.hero-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .7rem; }
.lead { color: rgba(226,232,240,.88); max-width: 38rem; margin-bottom: 1.4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700;
  transition: transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.28); color: #fff;
  background: rgba(255,255,255,.08);
}
.hero-points {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end;
}
.hero-points span {
  padding: .45rem .8rem; border-radius: 999px; font-size: .84rem; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
}

.proto-section { padding: 3.2rem 0 2rem; }
.section-head { max-width: 42rem; margin-bottom: 1.4rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -.03em; line-height: 1.15; margin-bottom: .5rem;
}
.section-head p { color: var(--muted); }

.scene-bar {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin-bottom: 1.4rem; padding: .85rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.scene-label { font-size: .8rem; font-weight: 700; color: var(--muted); margin-right: .25rem; }
.scene-btn {
  padding: .42rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: #fff7ed; color: #9a3412; transition: .2s;
}
.scene-btn:hover, .scene-btn.active { background: var(--orange); color: #fff; }

.proto-stage {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 1.5rem;
  align-items: start;
}
.device-col { width: 100%; }
.device-col.wide { min-width: 0; }
.device-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: .7rem; gap: .75rem;
}
.device-meta h3 { font-size: 1.1rem; }
.device-meta p { color: var(--muted); font-size: .8rem; }
.device-badge {
  font-size: .7rem; font-weight: 800; padding: .28rem .55rem; border-radius: 999px;
}
.device-badge.hq { background: #eff6ff; color: #2563eb; }
.device-badge.staff { background: #fff7ed; color: #c2410c; }

/* Laptop console */
.laptop {
  background: #111827;
  border-radius: 16px;
  padding: 10px 10px 14px;
  box-shadow: 0 28px 50px rgba(15, 23, 42, .28);
}
.laptop-top {
  display: flex; align-items: center; gap: 6px;
  padding: 0 6px 8px; color: #94a3b8; font-size: .68rem;
}
.laptop-top .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #334155;
}
.laptop-top .dot:first-child { background: #f87171; }
.laptop-top .dot:nth-child(2) { background: #fbbf24; }
.laptop-top .dot:nth-child(3) { background: #34d399; }
.laptop-top .url { margin-left: 8px; opacity: .85; }
.console {
  display: grid;
  grid-template-columns: 148px 1fr;
  height: 560px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}
.sidebar {
  background: #0f172a;
  color: #cbd5e1;
  padding: 10px 8px;
  overflow: auto;
}
.side-brand {
  color: #fff; font-weight: 800; font-size: .85rem;
  padding: 8px 8px 12px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.side-item {
  width: 100%; text-align: left;
  padding: 8px 8px; border-radius: 8px;
  font-size: .72rem; font-weight: 600; color: #94a3b8;
  margin-bottom: 2px;
}
.side-item:hover { background: rgba(255,255,255,.05); color: #e2e8f0; }
.side-item.on { background: rgba(93,135,255,.2); color: #fff; }

.hq-main { position: relative; overflow: hidden; background: #f1f5f9; }
.hq-screen {
  display: none; position: absolute; inset: 0; overflow: auto;
  padding: 14px; animation: fade .2s ease;
}
.hq-screen.active { display: block; }
@keyframes fade {
  from { opacity: .4; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.hq-head {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  margin-bottom: 12px;
}
.hq-head h4 { font-size: 1.05rem; }
.hq-head p { color: var(--muted); font-size: .75rem; }
.mini-btn {
  padding: 6px 10px; border-radius: 8px; font-size: .72rem; font-weight: 700;
  background: #e2e8f0; color: #334155; white-space: nowrap;
}
.mini-btn.primary { background: var(--blue); color: #fff; }

.kpi-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px;
}
.kpi {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 10px 8px; text-align: left;
}
.kpi b { display: block; font-size: 1.25rem; color: var(--blue-d); }
.kpi span { font-size: .68rem; color: var(--muted); }
.kpi.warn b { color: var(--orange-d); }
.kpi.danger b { color: var(--red); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8px; }
.panel {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px;
}
.panel-h { display: flex; justify-content: space-between; margin-bottom: 6px; }
.panel-h h5, .panel h5, .panel h4 { font-size: .88rem; margin-bottom: 6px; }
.muted, .hint { color: var(--muted); font-size: .72rem; }
.hint { margin-top: 8px; }

.row-item {
  width: 100%; display: flex; justify-content: space-between; gap: 8px; align-items: center;
  text-align: left; padding: 8px; border-radius: 8px; margin-top: 4px;
  background: #f8fafc; border: 1px solid #eef2f7; font-size: .74rem;
}
.row-item em {
  font-style: normal; font-size: .65rem; font-weight: 800;
  padding: 2px 6px; border-radius: 999px; background: #e0e7ff; color: #3730a3;
}
.row-item em.red { background: #fee2e2; color: #b91c1c; }
.row-item em.warn { background: #ffedd5; color: #c2410c; }

.bars {
  display: flex; align-items: flex-end; gap: 5px; height: 86px; margin: 8px 0;
}
.bars i {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue), #93b4ff);
  animation: bar 2.8s ease-in-out infinite;
}
.bars i:nth-child(1) { height: 35%; }
.bars i:nth-child(2) { height: 60%; animation-delay: .1s; background: linear-gradient(180deg, var(--orange), #fdba74); }
.bars i:nth-child(3) { height: 48%; animation-delay: .2s; }
.bars i:nth-child(4) { height: 78%; animation-delay: .3s; background: linear-gradient(180deg, var(--orange), #fdba74); }
.bars i:nth-child(5) { height: 55%; animation-delay: .4s; }
.bars i:nth-child(6) { height: 42%; animation-delay: .5s; }
@keyframes bar {
  0%, 100% { transform: scaleY(1); transform-origin: bottom; }
  50% { transform: scaleY(1.08); transform-origin: bottom; }
}

.table { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.tr {
  width: 100%; display: grid; grid-template-columns: 1.2fr .8fr .6fr;
  gap: 6px; padding: 9px 10px; text-align: left; font-size: .74rem;
  border-top: 1px solid #f1f5f9; background: #fff;
}
.tr.th { background: #f8fafc; font-weight: 700; color: var(--muted); border-top: 0; }
.ok { color: var(--green); font-weight: 700; }
.mute { color: var(--muted); }
.warn { color: var(--orange-d); font-weight: 700; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.info-card {
  text-align: left; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 12px; min-height: 96px;
}
.info-card h5 { font-size: .84rem; margin-bottom: 4px; }
.info-card p { font-size: .7rem; color: var(--muted); }

.steps { padding-left: 1.1rem; font-size: .78rem; color: #334155; display: grid; gap: 4px; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.board-col {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 8px; min-height: 180px;
}
.board-col h6 { font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.ticket {
  width: 100%; text-align: left; padding: 8px; border-radius: 8px;
  background: #f8fafc; border: 1px solid #e2e8f0; font-size: .72rem; font-weight: 600;
  margin-bottom: 6px;
}
.ticket.on { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.ticket.done { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }

.alert-card {
  width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center;
  text-align: left; padding: 10px; border-radius: 10px; margin-bottom: 6px;
  background: #fef2f2; border: 1px solid #fecaca;
}
.alert-card.soft { background: #f8fafc; border-color: #e2e8f0; }
.alert-card b { display: block; font-size: .8rem; }
.alert-card p { font-size: .7rem; color: var(--muted); margin-top: 2px; }
.alert-card span {
  flex-shrink: 0; font-size: .7rem; font-weight: 800;
  color: #fff; background: var(--red); padding: 6px 8px; border-radius: 8px;
}
.alert-card.soft span { background: var(--blue); }

.checklist { display: grid; gap: 8px; }
.checklist label, .steps-check label {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 9px 10px; font-size: .78rem; font-weight: 600;
}
.rank-list { display: grid; gap: 6px; }
.rank {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px;
  font-size: .8rem;
}
.rank b {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: .7rem;
}
.rank em { font-style: normal; font-weight: 800; color: var(--blue-d); }
.rank.warn { background: #fff7ed; border-color: #fed7aa; }
.rank.warn b { background: var(--orange); }
.rank-list.compact .rank { font-size: .78rem; }

.panel.alertish .row-item { background: #fff7ed; border-color: #fed7aa; }

/* Phone */
.phone {
  width: var(--phone-w); height: var(--phone-h);
  margin: 0 auto; border-radius: 34px; background: #1c1917; padding: 9px;
  position: relative;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .28);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 20px; border-radius: 999px; background: #0c0a09; z-index: 5;
}
.phone-status {
  position: absolute; top: 12px; left: 20px; right: 20px; z-index: 4;
  display: flex; justify-content: space-between;
  font-size: .6rem; font-weight: 700; color: #e7e5e4; pointer-events: none;
}
.phone-body {
  height: 100%; border-radius: 26px; overflow: hidden;
  background: #f8fafc; position: relative;
}
.screen {
  display: none; flex-direction: column;
  position: absolute; inset: 0 0 54px 0; overflow: auto;
  background: #f8fafc; animation: fade .2s ease;
}
.screen.active { display: flex; }
.screen::-webkit-scrollbar { width: 0; }

.nav-bar, .nav-orange {
  position: sticky; top: 0; z-index: 3;
  padding: 2rem 10px .65rem;
  background: var(--orange); color: #fff;
  font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; gap: .35rem; min-height: 64px;
}
.nav-bar.green { background: var(--green); }
.nav-bar.red { background: var(--red); }
.nav-bar.indigo { background: var(--indigo); }
.nav-bar.purple { background: var(--purple); }
.nav-orange { justify-content: space-between; }
.nav-kicker { font-size: .95rem; }
.nav-sub { font-size: .65rem; font-weight: 500; opacity: .9; margin-top: 2px; }
.store-switch {
  font-size: .68rem; font-weight: 700; padding: 5px 8px; border-radius: 8px;
  background: rgba(255,255,255,.2); color: #fff;
}
.back {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(255,255,255,.18);
}

.mini-kpi {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px;
}
.mini-kpi div {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  text-align: center; padding: 8px 4px;
}
.mini-kpi b { display: block; color: var(--orange-d); font-size: .95rem; }
.mini-kpi span { font-size: .58rem; color: var(--muted); }

.phone .panel { margin: 0 8px 8px; }
.quick-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px;
}
.quick-grid.pad { padding: 0 8px 8px; }
.quick-grid button {
  padding: 9px 6px; border-radius: 10px; font-size: .7rem; font-weight: 700;
  background: #fff7ed; color: #9a3412;
}
.todo {
  width: 100%; text-align: left; padding: 9px; border-radius: 9px;
  background: #f8fafc; border: 1px solid #e2e8f0;
  font-size: .74rem; font-weight: 600; margin-top: 5px;
}

.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 4px; margin: 8px; padding: 3px; background: #e2e8f0; border-radius: 10px;
}
.seg button {
  padding: 6px 2px; border-radius: 8px; font-size: .68rem; font-weight: 700; color: var(--muted);
}
.seg button.on { background: #fff; color: var(--orange-d); }
.seg-pane { display: none; padding: 0 8px 8px; }
.seg-pane.on { display: block; }

.task-card {
  width: 100%; text-align: left; background: #fff; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 10px; margin-bottom: 6px; position: relative;
}
.task-card h4 { font-size: .82rem; margin-bottom: 2px; }
.task-card p { font-size: .68rem; color: var(--muted); }
.task-card.mute { opacity: .7; }
.tag {
  position: absolute; right: 8px; top: 8px;
  font-size: .62rem; font-weight: 800; padding: 2px 6px; border-radius: 999px;
  background: #e2e8f0; color: #475569;
}
.tag.orange { background: #ffedd5; color: #c2410c; }

.linkish {
  display: inline-block; margin: 6px 0 10px;
  color: var(--blue-d); font-size: .74rem; font-weight: 700;
}
.steps-check { display: grid; gap: 6px; margin: 8px 0; }
.primary-btn {
  width: 100%; padding: 10px; border-radius: 11px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .82rem;
}
.primary-btn.green { background: var(--green); }
.primary-btn.red { background: var(--red); }
.primary-btn.indigo { background: var(--indigo); }
.primary-btn.purple { background: var(--purple); }

.search-fake {
  margin: 8px; padding: 8px 10px; border-radius: 10px;
  background: #fff; border: 1px solid #e2e8f0; color: #94a3b8; font-size: .74rem;
}
.stock-row {
  width: calc(100% - 16px); margin: 0 8px 6px; display: flex;
  justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 11px;
  padding: 10px; font-size: .78rem; font-weight: 700;
}
.stock-row em { font-style: normal; font-size: .68rem; color: var(--muted); font-weight: 600; }

.scan-box { text-align: center; padding: 16px 10px 8px; }
.scan-frame {
  width: 140px; height: 140px; margin: 0 auto 8px; border-radius: 16px;
  border: 3px solid #0891b2; background: #ecfeff; position: relative;
}
.scan-frame::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 20%;
  height: 2px; background: rgba(8,145,178,.75);
  animation: scan 1.5s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(90px); opacity: 1; }
}
.scan-box p { font-size: .75rem; color: var(--muted); }

.field {
  display: grid; gap: 4px; font-size: .7rem; font-weight: 700; color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select {
  border: 1px solid #d1d5db; border-radius: 9px; padding: 8px 10px;
  color: var(--ink); background: #fff; font-size: .8rem;
}

.alert-mobile {
  width: calc(100% - 16px); margin: 8px; text-align: left;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 12px;
}
.alert-mobile.soft { background: #fff; border-color: #e2e8f0; }
.alert-mobile b { display: block; font-size: .84rem; }
.alert-mobile p { font-size: .72rem; color: var(--muted); margin: 4px 0 8px; }
.alert-mobile span {
  display: inline-block; font-size: .7rem; font-weight: 800;
  background: var(--red); color: #fff; padding: 5px 8px; border-radius: 8px;
}

.me-head {
  display: flex; gap: 10px; align-items: center;
  padding: 12px; background: #fff; border-bottom: 1px solid #e2e8f0;
}
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: linear-gradient(145deg, #fb923c, #ea580c);
}
.me-head h3 { font-size: .95rem; }
.me-head p { font-size: .7rem; color: var(--muted); }
.menu-list { padding: 8px; display: grid; gap: 6px; }
.menu-list button {
  width: 100%; text-align: left; padding: 11px; border-radius: 12px;
  background: #fff; border: 1px solid #e2e8f0;
  display: flex; justify-content: space-between; align-items: center;
}
.menu-list span { font-weight: 700; font-size: .82rem; }
.menu-list em { font-style: normal; font-size: .68rem; color: var(--muted); }

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 54px;
  background: #fff; border-top: 1px solid #e2e8f0;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; z-index: 6;
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: #9ca3af; font-size: .56rem; font-weight: 600;
}
.tab .ico {
  width: 18px; height: 18px; border-radius: 5px; background: #e5e7eb;
}
.tab.on { color: var(--orange); }
.tab.on .ico { background: var(--orange); }

.proto-tip {
  text-align: center; color: var(--muted); font-size: .86rem; margin-top: 1.2rem;
}

.value-section, .guide-section { padding: 3.2rem 0; }
.value-section { background: #fff; }
.value-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.value-grid article {
  padding: 1.2rem 1.1rem; border-top: 3px solid var(--orange);
  background: var(--bg); border-radius: 0 0 12px 12px;
}
.value-grid h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.value-grid p { color: var(--muted); font-size: .9rem; }

.guide-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.4rem; align-items: start;
}
.guide-list {
  margin-top: 1rem; padding-left: 1.15rem; color: var(--muted);
  display: grid; gap: .6rem;
}
.guide-card {
  background: linear-gradient(160deg, #fff7ed, #fff);
  border: 1px solid #fed7aa; border-radius: 16px; padding: 1.3rem;
}
.guide-card h3 { margin-bottom: .65rem; }
.guide-card p { color: var(--muted); font-size: .92rem; margin-bottom: .3rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.2rem;
  color: var(--muted); font-size: .86rem;
}

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: #0f172a; color: #fff; padding: .7rem 1.1rem; border-radius: 999px;
  font-size: .86rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 80; max-width: min(90vw, 380px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.laptop.pulse, .phone.pulse { animation: pulse .65s ease; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.01); }
}

@media (max-width: 1100px) {
  .proto-stage { grid-template-columns: 1fr; justify-items: center; }
  .console { height: 520px; }
  .device-col.wide { width: min(100%, 760px); }
}

@media (max-width: 900px) {
  .hero-grid, .value-grid, .guide-grid, .split, .card-grid, .board-cols, .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .hero-points { justify-content: flex-start; margin-top: 1rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(243,245,250,.98); border-bottom: 1px solid var(--line);
    padding: .5rem 1rem 1rem;
  }
  .nav-links.open a { padding: .7rem 0; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .hero-grid, .value-grid, .guide-grid, .split, .card-grid, .board-cols, .kpi-row {
    grid-template-columns: 1fr;
  }
  .console { grid-template-columns: 112px 1fr; height: 480px; }
  .side-item { font-size: .64rem; padding: 7px 6px; }
}
