:root {
  --ink: #111827;
  --muted: #667085;
  --line: #dde8f6;
  --brand: #087dff;
  --brand-dark: #005fd0;
  --soft: #f5f9ff;
  --gold: #f3bf37;
  --green: #0f9f67;
  --red: #c73939;
  --shadow: 0 22px 60px rgba(20, 35, 68, .11);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 4%, rgba(8, 125, 255, .16), transparent 30%),
    radial-gradient(circle at 92% 6%, rgba(243, 191, 55, .18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf6ff 48%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

select {
  font: inherit;
}

button,
.primary-link,
.ghost-link,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

button,
.primary-link,
.pill {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(8, 125, 255, .24);
}

button:hover,
.primary-link:hover,
.pill:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.ghost-link {
  border: 1px solid rgba(8, 125, 255, .22);
  background: rgba(255, 255, 255, .72);
  color: var(--brand);
}

.pill.gold {
  background: linear-gradient(135deg, #f7cf5e, #f0ad24);
  color: #382200;
  box-shadow: 0 12px 28px rgba(243, 191, 55, .22);
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 15px;
  outline: none;
  background: #f8fbff;
  color: var(--ink);
}

select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  background: #f8fbff;
  color: var(--ink);
}

input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(8, 125, 255, .11);
}

.landing-body {
  background:
    linear-gradient(115deg, rgba(8, 125, 255, .10), transparent 38%),
    radial-gradient(circle at 82% 8%, rgba(243, 191, 55, .22), transparent 25%),
    #f8fbff;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  border: 1px solid rgba(221, 232, 246, .88);
  border-radius: 28px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 40px rgba(18, 38, 68, .09);
  backdrop-filter: blur(18px);
}

.landing-nav nav,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-nav nav a:not(.pill) {
  color: #475467;
  font-weight: 850;
}

.landing {
  width: min(1560px, 80vw);
  margin: 0 auto;
  padding: 52px 0 70px;
}

.landing-nav.wide {
  width: min(1560px, 80vw);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.landing-copy h1 {
  max-width: 760px;
  margin: 16px 0;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.landing-copy p {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(8, 125, 255, .10);
  color: var(--brand);
  font-weight: 900;
}

.mock-window {
  border: 1px solid rgba(221, 232, 246, .92);
  border-radius: 34px;
  padding: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mock-title {
  display: flex;
  gap: 8px;
  padding: 6px 6px 18px;
}

.mock-title span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d8e4f4;
}

.mock-title span:first-child {
  background: #ff6b6b;
}

.mock-title span:nth-child(2) {
  background: #f7c948;
}

.mock-title span:nth-child(3) {
  background: #2bd67b;
}

.mock-content {
  display: grid;
  gap: 14px;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(145deg, #ffffff, #eef7ff);
}

.mock-content b {
  font-size: 24px;
}

.mock-content p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.mock-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: #fff;
}

.mock-card span {
  font-weight: 900;
}

.mock-card em {
  border-radius: 999px;
  padding: 5px 10px;
  background: #edf4ff;
  color: var(--brand);
  font-style: normal;
  font-weight: 900;
}

.mock-card.active {
  border-color: rgba(8, 125, 255, .28);
  box-shadow: 0 12px 26px rgba(8, 125, 255, .10);
}

.latency-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 110px;
  border-radius: 22px;
  padding: 14px;
  background: #f7fbff;
}

.latency-chart i {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #087dff, #65b7ff);
}

.latency-chart i:nth-child(1) { height: 38%; }
.latency-chart i:nth-child(2) { height: 64%; }
.latency-chart i:nth-child(3) { height: 44%; }
.latency-chart i:nth-child(4) { height: 78%; }
.latency-chart i:nth-child(5) { height: 52%; }
.latency-chart i:nth-child(6) { height: 68%; }

.landing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.landing-grid article,
.plans,
.agent-band {
  border: 1px solid rgba(221, 232, 246, .92);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 40px rgba(18, 38, 68, .07);
}

.landing-grid article {
  padding: 22px;
}

.landing-grid b,
.landing-grid span {
  display: block;
}

.landing-grid b {
  margin-bottom: 10px;
  font-size: 18px;
}

.landing-grid span,
.plans p {
  color: var(--muted);
  line-height: 1.75;
}

.agent-band {
  margin: 16px 0;
  padding: 18px;
}

.agent-band div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.agent-band span,
.agent-pills span {
  border-radius: 999px;
  padding: 10px 14px;
  background: #e8f3ff;
  color: #0064d9;
  font-weight: 900;
}

.plans {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.plans h2 {
  margin: 0 0 8px;
}

.plans p {
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 34px;
}

.pricing-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border: 1px solid rgba(221, 232, 246, .96);
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 44px rgba(18, 38, 68, .08);
}

.price-card.featured {
  border-color: rgba(8, 125, 255, .34);
  background: linear-gradient(145deg, #ffffff 0%, #ecf6ff 100%);
  box-shadow: 0 22px 60px rgba(8, 125, 255, .14);
}

.price-card.disabled {
  opacity: .76;
}

.price-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.price-head span {
  color: var(--brand);
  font-size: 20px;
  font-weight: 950;
}

.price-head b {
  color: var(--ink);
  font-size: 24px;
  text-align: right;
}

.price-card p {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.65;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding-left: 18px;
  color: #344055;
  line-height: 1.5;
}

.price-card .primary-link,
.price-card .ghost-link {
  margin-top: auto;
}

.app-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  min-height: 100vh;
  padding: 18px;
}

.app-shell.page-wide {
  padding-left: max(18px, 5vw);
  padding-right: max(18px, 5vw);
}

.side {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  background: linear-gradient(145deg, #f8fbff 0%, #e9f4ff 100%);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side .brand {
  padding: 6px 4px 24px;
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand span,
.side-note span,
.muted {
  color: var(--muted);
}

.logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: linear-gradient(135deg, #087dff, #64b5ff);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 12px 22px rgba(8, 125, 255, .28);
}

.logo.big {
  width: 74px;
  height: 74px;
  border-radius: 26px;
  margin: 0 auto 18px;
  font-size: 24px;
}

.side nav {
  display: grid;
  gap: 10px;
}

.side nav a {
  padding: 14px 16px;
  border-radius: 16px;
  color: #41506a;
  font-weight: 900;
}

.side nav a:hover {
  color: var(--brand);
  background: #e5f1ff;
}

.side-note {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
}

.side-note b,
.side-note span {
  display: block;
}

main {
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  margin-bottom: 18px;
  padding: 0 6px;
}

.topbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.topbar h1 {
  margin: 2px 0 0;
  font-size: 30px;
}

.account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  flex-wrap: wrap;
}

.ghost-pill {
  background: #edf4ff;
  color: var(--brand);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 150px 150px;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero.single {
  grid-template-columns: 1fr;
}

.hero > div:first-child,
.hero-stat,
.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
}

.hero > div:first-child {
  padding: 24px;
  background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
}

.hero h2,
.panel h3 {
  margin: 0;
}

.hero p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-stat {
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
}

.hero-stat b {
  max-width: 100%;
  color: var(--brand);
  font-size: 32px;
  overflow-wrap: anywhere;
}

.hero-stat span {
  color: var(--muted);
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.panel {
  margin-bottom: 18px;
  padding: 22px;
}

.panel h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.device-list {
  display: grid;
  gap: 12px;
}

.device-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  background: #f8fbff;
}

.device-card b {
  display: block;
  padding-right: 74px;
  font-size: 18px;
}

.device-card span,
.device-card p,
.command-list small {
  color: var(--muted);
}

.device-card p {
  margin: 8px 0;
  word-break: break-all;
}

.device-card em {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 5px 10px;
  font-style: normal;
  font-weight: 900;
}

.online {
  color: #087a4d;
  background: #dff9ec;
}

.offline {
  color: #8a4f00;
  background: #fff1cf;
}

.command-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.command-list li {
  display: grid;
  grid-template-columns: 110px 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 12px;
  background: #f8fbff;
}

.command-list span {
  color: var(--brand);
  font-weight: 900;
}

.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty {
  border: 1px dashed #bfd4ee;
  border-radius: 18px;
  padding: 24px;
  color: var(--muted);
  background: #f8fbff;
}

.login-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--shadow);
}

.login-card h1,
.login-card p {
  text-align: center;
}

.login-card h1 {
  margin: 0;
}

.login-card p {
  margin: 10px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.login-card label {
  display: block;
  margin: 14px 0 8px;
  color: var(--muted);
  font-weight: 900;
}

.login-card button {
  width: 100%;
  margin: 20px 0 12px;
}

.login-card small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.error {
  margin-bottom: 14px;
  border-radius: 16px;
  padding: 12px;
  color: #9b1c1c;
  background: #fff0f0;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #42526c;
  font-size: 13px;
  white-space: nowrap;
}

td {
  color: #344055;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-weight: 900;
  background: #edf4ff;
  color: var(--brand);
}

.inline-form {
  display: grid;
  grid-template-columns: 110px 82px 108px 140px minmax(160px, 1fr) 72px;
  gap: 8px;
  align-items: center;
  min-width: 720px;
}

.inline-form input {
  min-height: 40px;
  border-radius: 14px;
  padding: 9px 11px;
}

.actions {
  white-space: nowrap;
}

.actions form {
  display: inline-flex;
  margin-right: 6px;
}

button.danger {
  background: #c73939;
  box-shadow: 0 12px 28px rgba(199, 57, 57, .16);
}

button.danger:hover {
  background: #a92f2f;
}

code {
  display: block;
  border-radius: 16px;
  padding: 14px;
  background: #132037;
  color: #d8ecff;
  line-height: 1.7;
  overflow-x: auto;
}

.orbital-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(8, 125, 255, .16), transparent 38%),
    radial-gradient(circle at 76% 14%, rgba(243, 191, 55, .26), transparent 24%),
    radial-gradient(circle at 16% 82%, rgba(15, 159, 103, .14), transparent 24%);
}

.rich-hero {
  grid-template-columns: minmax(0, 1fr) minmax(460px, .82fr);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  border: 1px solid rgba(8, 125, 255, .16);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, .74);
  color: #314056;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(18, 38, 68, .06);
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 212, 238, .92);
  border-radius: 34px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,246,255,.9));
  box-shadow: 0 28px 80px rgba(18, 38, 68, .15);
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 90deg, transparent, rgba(8, 125, 255, .16), transparent, rgba(243, 191, 55, .18), transparent);
  animation: spinGlow 12s linear infinite;
}

.hero-console > * {
  position: relative;
}

.console-head {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 22px 22px 0 0;
  padding: 8px 8px 18px;
}

.console-head span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d6e2f2;
}

.console-head span:first-child { background: #ff6b6b; }
.console-head span:nth-child(2) { background: #f7c948; }
.console-head span:nth-child(3) { background: #21d07a; }
.console-head b { margin-left: 8px; color: #40516a; }

.console-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(135deg, #12203a, #0a5ed7);
  color: #fff;
}

.console-status small,
.console-status em {
  display: block;
  opacity: .78;
  font-style: normal;
  font-weight: 800;
}

.console-status strong {
  display: block;
  margin: 6px 0;
  font-size: 28px;
}

.pulse-ring {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}

.pulse-ring i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #37f29a;
  box-shadow: 0 0 0 12px rgba(55,242,154,.16);
  animation: pulse 1.8s ease-in-out infinite;
}

.route-map {
  display: grid;
  grid-template-columns: 1fr 60px 1.2fr 60px 1fr;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

.node {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255,255,255,.86);
  color: #344055;
  font-weight: 950;
  text-align: center;
}

.node.active {
  color: #0064d9;
  background: #eaf4ff;
}

.node.relay {
  color: #382200;
  background: linear-gradient(135deg, #fff, #fff1bf);
}

.route-line {
  overflow: hidden;
  height: 3px;
  border-radius: 999px;
  background: #d8e6f6;
}

.route-line i {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: flow 1.6s ease-in-out infinite;
}

.agent-stack {
  display: grid;
  gap: 12px;
}

.agent-stack article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 15px;
  background: rgba(255,255,255,.88);
}

.agent-stack b {
  font-size: 18px;
}

.agent-stack span {
  border-radius: 999px;
  padding: 6px 10px;
  background: #edf4ff;
  color: var(--brand);
  font-weight: 900;
}

.section-head {
  max-width: 860px;
  margin: 34px auto 20px;
  text-align: center;
}

.section-head span {
  color: var(--brand);
  font-weight: 950;
}

.section-head h2 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 48px);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(221, 232, 246, .92);
  border-radius: 30px;
  margin: 18px 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(236,246,255,.88));
  box-shadow: 0 18px 56px rgba(18, 38, 68, .08);
}

.trust-panel h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.5vw, 42px);
}

.trust-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.security-list {
  display: grid;
  gap: 10px;
}

.security-list span {
  border: 1px solid rgba(8, 125, 255, .14);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  color: #344055;
  font-weight: 950;
}

.cashier {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: 18px;
}

.pay-panel {
  text-align: center;
}

.qr-frame {
  display: grid;
  place-items: center;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 18px auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: inset 0 0 0 10px #f7fbff;
}

.qr-frame img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.status-feed {
  display: grid;
  gap: 12px;
}

.status-feed span {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: #f8fbff;
  font-weight: 900;
}

.badge.ok {
  color: #087a4d;
  background: #dff9ec;
}

.badge.warn {
  color: #8a4f00;
  background: #fff1cf;
}

@keyframes pulse {
  0%, 100% { transform: scale(.92); box-shadow: 0 0 0 10px rgba(55,242,154,.14); }
  50% { transform: scale(1); box-shadow: 0 0 0 18px rgba(55,242,154,.04); }
}

@keyframes flow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(240%); }
}

@keyframes spinGlow {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .landing-hero,
  .landing-grid,
  .app-shell,
  .grid.two,
  .hero {
    grid-template-columns: 1fr;
  }

  .rich-hero,
  .trust-panel,
  .cashier {
    grid-template-columns: 1fr;
  }

  .route-map {
    grid-template-columns: 1fr;
  }

  .route-line {
    display: none;
  }

  .landing-hero {
    min-height: auto;
  }

  .side {
    display: none;
  }

  .landing-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .plans {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .landing,
  .landing-nav {
    width: min(100% - 20px, 1180px);
  }

  .landing-copy h1 {
    font-size: 38px;
  }

  .app-shell {
    padding: 10px;
  }

  .topbar,
  .account {
    align-items: flex-start;
    flex-direction: column;
  }

  .command-list li {
    grid-template-columns: 1fr;
  }
}
