:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-soft: #eaf2ff;
  --ink: #102033;
  --text-1: #102033;
  --text-2: #4a5d78;
  --text-3: #7d8ea6;
  --line: #d5e3f4;
  --brand-1: #2f7bff;
  --brand-2: #1d5fe0;
  --brand-mid: #3d86ff;
  --brand-deep: #1a4fbf;
  --gradient-brand: linear-gradient(135deg, #4c94ff 0%, #1d5fe0 100%);
  --font-display: "Manrope", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --fs-brand: clamp(3.4rem, 9vw, 6.4rem);
  --fs-h1: clamp(1.7rem, 3.4vw, 2.5rem);
  --fs-h2: clamp(1.55rem, 2.8vw, 2.25rem);
  --fs-h3: 1.12rem;
  --fs-body: 1rem;
  --fs-small: 0.9rem;
  --container: 1120px;
  --section-y: 100px;
  --section-y-mobile: 72px;
  --r-pill: 999px;
  --shadow-brand: 0 14px 32px rgba(47, 123, 255, 0.28);
  --shadow-soft: 0 18px 40px rgba(16, 32, 51, 0.08);
  --dur: 220ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-1);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(47, 123, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(29, 95, 224, 0.07), transparent 50%),
    linear-gradient(180deg, #f4f8ff 0%, #f7faff 40%, #f4f8ff 100%);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(244, 248, 255, 0.82);
  border-bottom: 1px solid rgba(213, 227, 244, 0.9);
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(47, 123, 255, 0.22);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.menu {
  display: inline-flex;
  gap: 26px;
  color: var(--text-2);
  font-size: 0.95rem;
}

.menu a:hover {
  color: var(--brand-1);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.motion-toggle {
  height: 34px;
  padding: 0 10px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.motion-toggle:hover {
  border-color: #9ec4ff;
  color: var(--brand-1);
}

.motion-toggle-track {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #d3e2f4;
  position: relative;
}

.motion-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(16, 32, 51, 0.24);
  transition: transform 220ms var(--ease);
}

.motion-toggle-text {
  min-width: 56px;
}

.motion-toggle[aria-pressed="false"] .motion-toggle-track {
  background: var(--gradient-brand);
}

.motion-toggle[aria-pressed="false"] .motion-toggle-knob {
  transform: translateX(16px);
}

/* Buttons */
.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
}

.btn-secondary {
  color: var(--brand-deep);
  background: #e8f1ff;
  border: 1px solid #c9dcfa;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 1rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero — one composition, brand-first, full-bleed plane */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(155deg, #7eb6ff 0%, #3d8cff 38%, #1f6fe8 72%, #1548b8 100%);
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 255, 255, 0.22), transparent 38%),
    radial-gradient(circle at 18% 80%, rgba(0, 0, 0, 0.12), transparent 42%);
  animation: planeGlow 10s ease-in-out infinite alternate;
}

.hero-mark {
  position: absolute;
  right: 9%;
  top: 16%;
  width: min(30vw, 280px);
  height: auto;
  border-radius: 28%;
  opacity: 1;
  box-shadow:
    0 28px 70px rgba(10, 40, 110, 0.28),
    0 0 0 12px rgba(255, 255, 255, 0.14);
  animation: markFloat 12s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(42vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: orbitPulse 8s ease-in-out infinite;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 88px;
  max-width: 720px;
  margin-left: max(24px, calc((100% - var(--container)) / 2));
  margin-right: auto;
  width: min(var(--container), calc(100% - 48px));
}

.hero-brand {
  font-family: var(--font-display);
  font-size: var(--fs-brand);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  animation: brandIn 700ms var(--ease) both;
}

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 16ch;
  animation: brandIn 700ms var(--ease) 80ms both;
}

.hero-sub {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  animation: brandIn 700ms var(--ease) 140ms both;
}

.hero .cta-group {
  margin-top: 32px;
  animation: brandIn 700ms var(--ease) 200ms both;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes markFloat {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-18px) scale(1.04);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes planeGlow {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

/* Demo */
.demo-section {
  padding-top: 72px;
}

.demo-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.kicker {
  color: var(--brand-1);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.demo-copy h2,
.section-head h2,
.feature-copy h2,
.closing h2 {
  font-size: var(--fs-h2);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.demo-copy > p,
.section-head > p,
.feature-copy > p {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 42ch;
}

.check-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-2);
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: inset 0 0 0 3px #f4f8ff, 0 0 0 1px rgba(47, 123, 255, 0.35);
}

.demo-stage {
  position: relative;
  min-height: 420px;
}

.chat-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.chat-meta {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-3);
}

.role-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.role-chip {
  font-size: 0.74rem;
  color: var(--text-3);
  background: var(--surface-soft);
  border: 1px solid #c5daf8;
  border-radius: var(--r-pill);
  padding: 3px 8px;
  transition: background-color 320ms var(--ease), color 320ms var(--ease),
    border-color 320ms var(--ease), transform 240ms var(--ease);
}

.role-chip.active {
  color: #fff;
  border-color: var(--brand-mid);
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-1));
}

.role-chip.switching {
  transform: translateY(-1px);
}

.chat-stream {
  min-height: 128px;
}

.chat-bubble {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.chat-bubble.left {
  background: #eaf2ff;
  color: #1a4a8c;
}

.chat-bubble.right {
  background: #e3edff;
  color: #163e78;
  margin-left: 18%;
}

.chat-bubble.tip {
  background: #eef9f1;
  color: #2b6a3c;
}

.todo-tip {
  margin-top: 12px;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.86rem;
  color: #1e4b8f;
  background: #eaf3ff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease),
    box-shadow 460ms var(--ease);
}

.todo-tip.show {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(47, 123, 255, 0.28), 0 8px 16px rgba(30, 75, 143, 0.08);
  animation: tipPulse 520ms var(--ease) 1;
}

.typing-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 10px;
  color: var(--text-3);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.typing-row.show {
  opacity: 1;
  transform: translateY(0);
}

.typing-dots {
  display: inline-flex;
  gap: 3px;
}

.typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #8aa0bd;
  animation: typingBounce 600ms ease-out infinite;
}

.typing-dots i:nth-child(2) {
  animation-delay: 120ms;
}

.typing-dots i:nth-child(3) {
  animation-delay: 240ms;
}

.chat-bubble.entering {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: bubbleIn 420ms var(--ease) forwards;
}

.crm-hover-target {
  cursor: pointer;
}

.customer-card {
  position: absolute;
  right: 18px;
  top: 72px;
  width: 210px;
  background: #fff;
  border: 1px solid #d4e4fb;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.12);
  padding: 12px;
  opacity: 0;
  transform: translate(8px, 6px);
  pointer-events: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

.customer-card.show {
  opacity: 1;
  transform: translate(0, 0);
}

.customer-card h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.customer-card p {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 5px;
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@keyframes tipPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 123, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(47, 123, 255, 0);
  }
}

/* Sections */
.section-head {
  max-width: 560px;
  margin-bottom: 42px;
}

.section-head.light {
  color: #fff;
}

.section-head.light .kicker {
  color: rgba(255, 255, 255, 0.85);
}

.section-head.light > p {
  color: rgba(255, 255, 255, 0.82);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.capability {
  padding: 28px 22px 8px 0;
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.capability:last-child {
  border-right: 0;
  padding-right: 0;
}

.capability-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-1);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.capability-icon {
  width: 36px;
  height: 36px;
  color: var(--brand-deep);
  margin-bottom: 14px;
}

.capability-icon svg {
  width: 28px;
  height: 28px;
}

.capability h3 {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

.capability p {
  color: var(--text-2);
  font-size: 0.95rem;
}

/* Feature showcase */
.feature-showcase {
  background:
    linear-gradient(180deg, rgba(232, 242, 255, 0.85) 0%, transparent 100%);
}

.stack {
  display: grid;
  gap: 72px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-ui {
  order: 1;
}

.mock {
  min-height: 260px;
  border-radius: 20px;
  padding: 28px;
  background:
    linear-gradient(160deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9daf3;
}

.mock-line {
  height: 10px;
  width: 42%;
  border-radius: 999px;
  background: #dce8f6;
  margin-bottom: 18px;
}

.mock-bubble {
  max-width: 78%;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.mock-bubble.left {
  background: #e8f1ff;
  color: #1a4a8c;
}

.mock-bubble.right {
  margin-left: auto;
  background: var(--gradient-brand);
  color: #fff;
}

.mock-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef9f1;
  color: #2b6a3c;
  font-size: 0.8rem;
  font-weight: 600;
}

.mock-roles {
  display: grid;
  gap: 12px;
  align-content: center;
}

.mock-role {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--text-2);
}

.mock-role.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.mock-role.muted {
  opacity: 0.65;
}

.mock-note {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eaf2ff;
  color: #1a4a8c;
  font-size: 0.9rem;
}

.mock-pipeline {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-content: center;
}

.pipe-step {
  text-align: center;
  padding: 28px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-3);
}

.pipe-step.done {
  color: var(--brand-deep);
  background: #eaf2ff;
  border-color: #b9d4fb;
}

.pipe-step.current {
  color: #fff;
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
  transform: translateY(-6px);
}

/* Third-party chat explainer */
.faq-list {
  margin-top: 36px;
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.faq-list h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.faq-list p {
  color: var(--text-2);
}

/* Scenarios */
.scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.scenario {
  padding-top: 8px;
  border-top: 2px solid var(--brand-1);
}

.scenario-icon {
  width: 34px;
  height: 34px;
  color: var(--brand-1);
  margin: 18px 0 14px;
}

.scenario-icon svg {
  width: 28px;
  height: 28px;
}

.scenario h3 {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

.scenario p {
  color: var(--text-2);
}

/* Downloads */
.downloads {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #3d8cff 0%, #1f6fe8 55%, #1548b8 100%);
  color: #fff;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.download-tile {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.download-tile:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.download-os {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.download-tile strong {
  font-size: 1.35rem;
}

.download-tile > span:nth-of-type(2) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.download-cta {
  margin-top: 8px;
  font-weight: 700;
}

/* Closing */
.closing-inner {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.closing-inner p {
  margin: 16px auto 0;
  color: var(--text-2);
  max-width: 48ch;
}

.closing .cta-group {
  justify-content: center;
  margin-top: 28px;
}

.contact-mail {
  margin-top: 22px !important;
  font-size: var(--fs-small);
  color: var(--text-3) !important;
}

.contact-mail a {
  color: var(--brand-1);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 36px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin-top: 6px;
  color: var(--text-3);
  font-size: var(--fs-small);
}

.footer-grid nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-2);
}

.copyright {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
  }

  .capability {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .capability:nth-child(odd) {
    padding-right: 16px;
  }
}

@media (max-width: 960px) {
  .menu {
    display: none;
  }

  .demo-layout,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-ui {
    order: initial;
  }

  .hero-inner {
    margin-left: auto;
    margin-right: auto;
    padding: 110px 0 72px;
  }

  .hero-mark {
    right: 6%;
    top: 12%;
    width: min(42vw, 220px);
    opacity: 1;
  }

  .scenario-list,
  .download-row {
    grid-template-columns: 1fr;
  }

  .customer-card {
    position: static;
    width: 100%;
    margin-top: 10px;
    transform: translateY(6px);
  }

  .customer-card.show {
    transform: none;
  }

  .mock-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  :root {
    --section-y: var(--section-y-mobile);
  }

  .nav {
    height: 64px;
  }

  .motion-toggle {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding: 96px 0 64px;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability:nth-child(odd) {
    padding-right: 0;
  }

  .footer-grid {
    flex-direction: column;
  }
}

body.motion-off *,
body.motion-off *::before,
body.motion-off *::after {
  animation: none !important;
  transition: none !important;
}

body.motion-off .typing-row {
  display: none !important;
}

body.motion-off .chat-bubble.entering {
  opacity: 1;
  transform: none;
}

body.motion-off .todo-tip {
  opacity: 1;
  transform: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .typing-row {
    display: none !important;
  }

  .chat-bubble.entering {
    opacity: 1;
    transform: none;
  }

  .todo-tip {
    opacity: 1;
    transform: none;
    box-shadow: none;
  }
}
