:root {
  --bg: #fff6f8;
  --bg-warm: #fffaf4;
  --surface: #fffefe;
  --surface-soft: rgba(255, 255, 255, 0.84);
  --pink-50: #fff0f4;
  --pink-100: #ffe1e8;
  --pink-200: #ffc8d4;
  --pink-300: #ff9caf;
  --pink-500: #ee5575;
  --pink-600: #d83f64;
  --brown-700: #5a281d;
  --ink: #3b2624;
  --muted: #7f6664;
  --line: #f7ccd4;
  --mint: #75d996;
  --mint-soft: #ecfff2;
  --warning: #f0aa33;
  --radius-card: 8px;
  --shadow-soft: 0 18px 45px rgba(224, 92, 116, 0.16);
  --shadow-tight: 0 10px 26px rgba(224, 92, 116, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 246, 248, 0.96) 0%, rgba(255, 255, 255, 0.96) 43%, rgba(255, 236, 242, 0.96) 100%),
    url("data:image/svg+xml,%3Csvg width='96' height='96' viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ee5575' fill-opacity='0.055'%3E%3Ccircle cx='24' cy='28' r='5'/%3E%3Ccircle cx='38' cy='24' r='5'/%3E%3Ccircle cx='50' cy='32' r='5'/%3E%3Cpath d='M28 45c2-8 17-8 20 0 2 6-2 12-10 12s-12-6-10-12z'/%3E%3Cpath d='M70 20c6-8 18 2 8 11l-8 7-8-7c-10-9 2-19 8-11z'/%3E%3C/g%3E%3C/svg%3E");
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 9px, rgba(238, 85, 117, 0.025) 10px);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(238, 85, 117, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--pink-600);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.motion-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.motion-token {
  position: absolute;
  width: 28px;
  height: 28px;
  color: var(--pink-300);
  opacity: 0.36;
  animation: tokenDrift 12s ease-in-out infinite;
}

.token-paw {
  background:
    radial-gradient(circle at 50% 78%, currentColor 0 6px, transparent 7px),
    radial-gradient(circle at 24% 30%, currentColor 0 4px, transparent 5px),
    radial-gradient(circle at 52% 18%, currentColor 0 4px, transparent 5px),
    radial-gradient(circle at 78% 34%, currentColor 0 4px, transparent 5px);
}

.token-heart::before {
  position: absolute;
  inset: 7px 5px 5px;
  content: "";
  background: currentColor;
  transform: rotate(-45deg);
}

.token-heart::after {
  position: absolute;
  inset: 2px 0 0;
  content: "";
  background:
    radial-gradient(circle at 35% 35%, currentColor 0 8px, transparent 9px),
    radial-gradient(circle at 65% 35%, currentColor 0 8px, transparent 9px);
}

.token-a {
  top: 19%;
  left: 5%;
  animation-delay: -1s;
}

.token-b {
  top: 27%;
  right: 9%;
  width: 22px;
  height: 22px;
  color: var(--pink-500);
  animation-delay: -4s;
}

.token-c {
  bottom: 28%;
  left: 51%;
  width: 22px;
  height: 22px;
  animation-delay: -7s;
}

.token-d {
  bottom: 16%;
  right: 22%;
  color: #f7a7b8;
  animation-delay: -10s;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  right: 0;
  left: 0;
  z-index: 100;
  padding: 0 24px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(247, 204, 212, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(14px);
  animation: navDrop 420ms ease-out both;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--pink-600);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(238, 85, 117, 0.12);
}

.brand-mark img {
  width: 38px;
  max-width: none;
}

.brand-text {
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  min-width: 64px;
  padding: 9px 13px;
  text-align: center;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--pink-600);
  background: var(--pink-50);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  cursor: pointer;
  user-select: none;
}

.nav-cta {
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(180deg, #f77b94 0%, var(--pink-600) 100%);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(216, 63, 100, 0.28);
}

.paw-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.paw-icon::before,
.paw-icon::after {
  position: absolute;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.paw-icon::before {
  right: 3px;
  bottom: 2px;
  width: 10px;
  height: 8px;
}

.paw-icon::after {
  top: 2px;
  left: 2px;
  width: 5px;
  height: 5px;
  box-shadow: 7px -1px 0 currentColor, 11px 5px 0 currentColor, 2px 9px 0 currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: 42px;
  align-items: center;
  min-height: 720px;
  padding: 126px 0 54px;
}

.cat-runner-track {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 6;
  height: 122px;
  pointer-events: none;
}

.cat-runner {
  position: absolute;
  bottom: 0;
  left: -230px;
  width: 176px;
  height: 133px;
  background-image: url("assets/cat-sprite.png");
  background-repeat: no-repeat;
  background-size: 1056px 133px;
  filter: drop-shadow(0 10px 12px rgba(216, 63, 100, 0.14));
  animation:
    catSprite 720ms steps(6) infinite,
    catTravel 16s linear 2.2s infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 18px;
}

.hero-badge,
.system-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 16px;
  color: var(--brown-700);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(238, 85, 117, 0.08);
}

.bell-dot {
  width: 17px;
  height: 17px;
  background:
    radial-gradient(circle at 50% 83%, var(--warning) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 52%, #ffd36c 0 7px, transparent 8px);
  border: 1px solid rgba(184, 114, 18, 0.24);
  border-radius: 999px 999px 6px 6px;
}

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

.hero h1 {
  max-width: 580px;
  margin-bottom: 22px;
  color: var(--pink-600);
  font-size: 58px;
  font-weight: 900;
  line-height: 1.16;
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.76);
}

.hero h1 span {
  display: block;
  color: var(--brown-700);
}

.hero-lede {
  max-width: 540px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 18px;
}

.hero-lede strong {
  color: var(--brown-700);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.btn {
  min-width: 150px;
  padding: 0 26px;
  font-weight: 900;
  border-radius: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #f77b94 0%, var(--pink-600) 100%);
  box-shadow: 0 14px 24px rgba(216, 63, 100, 0.3);
}

.btn-secondary {
  color: var(--pink-600);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 22px rgba(238, 85, 117, 0.08);
}

.system-pill {
  color: var(--muted);
  font-size: 13px;
}

.online-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(117, 217, 150, 0.18), 0 0 12px rgba(117, 217, 150, 0.86);
}

.hero-cat-yarn {
  position: absolute;
  bottom: -168px;
  left: -96px;
  display: none;
  width: 230px;
  transform: rotate(-3deg);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.console-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid rgba(255, 195, 209, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 102px;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(255, 247, 249, 0.98), rgba(255, 255, 255, 0.82));
  border-bottom: 1px solid var(--line);
}

.console-brand {
  flex: 1 1 auto;
  display: block;
  height: 78px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.console-brand img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  object-position: center 52%;
}

.api-chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--pink-600);
  font-size: 12px;
  font-weight: 900;
  background: var(--pink-50);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.console-body {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-height: 410px;
}

.console-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
  background: linear-gradient(180deg, rgba(255, 240, 244, 0.8), rgba(255, 255, 255, 0.68));
  border-right: 1px solid var(--line);
}

.console-menu a {
  padding: 9px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  border-radius: 8px;
}

.console-menu a:hover,
.console-menu a.is-selected {
  color: var(--pink-600);
  background: #fff;
}

.console-menu img {
  width: 100%;
  margin-top: auto;
}

.console-content {
  min-width: 0;
  padding: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metric-tile,
.chart-panel,
.node-panel,
.console-notice,
.feature-card,
.plan-card,
.docs-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 24px rgba(224, 92, 116, 0.08);
}

.metric-tile {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 13px;
}

.metric-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.72) 48%, transparent 58%);
  transform: translateX(-135%);
  animation: tileGlint 6s ease-in-out infinite;
}

.metric-tile span,
.metric-tile small,
.panel-title span,
.panel-title a,
.section-kicker,
.plan-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.metric-tile strong {
  display: block;
  margin: 7px 0 2px;
  color: var(--brown-700);
  font-size: 22px;
  line-height: 1.2;
}

.metric-ip strong {
  font-size: 18px;
  white-space: nowrap;
}

.metric-tile small {
  color: #67bd80;
}

.monitor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, 0.75fr);
  gap: 12px;
}

.chart-panel,
.node-panel {
  min-height: 214px;
  padding: 15px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.panel-title h2 {
  margin-bottom: 0;
  color: var(--brown-700);
  font-size: 15px;
}

.panel-title a {
  color: var(--pink-600);
}

.traffic-chart {
  width: 100%;
  height: 168px;
}

.chart-area {
  fill: url(#chartFill);
  opacity: 1;
  animation: chartBreathe 3.4s ease-in-out infinite;
}

.chart-line {
  fill: none;
  stroke: var(--pink-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  animation: lineGlow 2.8s ease-in-out infinite;
}

.chart-points circle {
  fill: #fff;
  stroke: var(--pink-500);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: pointPulse 2.2s ease-in-out infinite;
}

.chart-points circle:nth-child(2) {
  animation-delay: 120ms;
}

.chart-points circle:nth-child(3) {
  animation-delay: 240ms;
}

.chart-points circle:nth-child(4) {
  animation-delay: 360ms;
}

.chart-points circle:nth-child(5) {
  animation-delay: 480ms;
}

.chart-points circle:nth-child(6) {
  animation-delay: 600ms;
}

.chart-points circle:nth-child(7) {
  animation-delay: 720ms;
}

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

.node-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  color: var(--muted);
  font-size: 12px;
}

.node-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.node-list strong {
  padding: 3px 8px;
  color: #56b96f;
  font-size: 12px;
  background: var(--mint-soft);
  border-radius: 999px;
}

.console-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 9px 14px;
  color: var(--brown-700);
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(255, 238, 242, 0.98), rgba(255, 255, 255, 0.9));
}

.console-notice img {
  width: 54px;
  flex: 0 0 auto;
}

.sleeping-cat {
  position: absolute;
  top: -70px;
  right: 92px;
  z-index: 3;
  width: 156px;
  animation: catFloat 4.5s ease-in-out infinite;
}

.cat-tower {
  position: absolute;
  right: -148px;
  bottom: -28px;
  z-index: 1;
  width: 172px;
  animation: catFloat 5.2s ease-in-out infinite;
}

.features {
  padding: 36px 0 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--pink-600);
}

.section-kicker::before {
  width: 18px;
  height: 18px;
  content: "";
  background:
    radial-gradient(circle at 50% 82%, currentColor 0 4px, transparent 5px),
    radial-gradient(circle at 25% 28%, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 54% 18%, currentColor 0 3px, transparent 4px),
    radial-gradient(circle at 75% 35%, currentColor 0 3px, transparent 4px);
}

.section-heading h2,
.ops-intro h2,
.docs-card h2 {
  margin-bottom: 0;
  color: var(--brown-700);
  font-size: 32px;
  line-height: 1.25;
}

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

.feature-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 17px;
  transition: transform 160ms ease, box-shadow 160ms ease;
  transform: translateY(0) rotate(var(--feature-tilt, 0deg));
}

.feature-card:nth-child(1) {
  --feature-tilt: -0.35deg;
}

.feature-card:nth-child(2) {
  --feature-tilt: 0.25deg;
}

.feature-card:nth-child(3) {
  --feature-tilt: -0.2deg;
}

.feature-card:nth-child(4) {
  --feature-tilt: 0.35deg;
}

.feature-card:hover,
.plan-card:hover {
  transform: translateY(-4px) rotate(0deg);
  box-shadow: var(--shadow-soft);
}

.feature-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.feature-card h3,
.plan-card h3 {
  margin-bottom: 5px;
  color: var(--brown-700);
  font-size: 18px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.ops {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 48px 0 26px;
}

.ops-intro {
  position: relative;
  min-height: 330px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.ops-intro p {
  color: var(--muted);
  font-size: 14px;
}

.ops-intro img {
  position: absolute;
  right: 6px;
  bottom: -36px;
  width: 160px;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.plan-card-featured {
  border-color: rgba(238, 85, 117, 0.5);
  background: linear-gradient(180deg, #fff 0%, #fff2f5 100%);
  box-shadow: 0 18px 42px rgba(238, 85, 117, 0.17);
}

.plan-label {
  color: var(--pink-600);
}

.plan-price {
  margin-bottom: 16px;
  color: var(--pink-600);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 18px;
}

.plan-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--mint);
  border-radius: 50%;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  color: var(--pink-600);
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.plan-card-featured .card-action {
  color: #fff;
  background: var(--pink-600);
  border-color: var(--pink-600);
}

.docs {
  padding: 34px 0 58px;
}

.docs-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 32px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 244, 0.88));
}

.docs-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.docs-card img {
  width: 210px;
  flex: 0 0 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 8px;
  color: var(--pink-600);
  font-size: 20px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--pink-600);
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: 94px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.quick-actions a,
.quick-actions button {
  display: grid;
  place-items: center;
  width: 54px;
  min-height: 54px;
  padding: 0;
  color: var(--brown-700);
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-tight);
  cursor: pointer;
}

.quick-actions a:hover,
.quick-actions button:hover {
  color: #fff;
  background: var(--pink-600);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(340px, calc(100vw - 48px));
  padding: 12px 16px;
  color: #fff;
  font-weight: 800;
  background: var(--brown-700);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(90, 40, 29, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  transition: opacity 420ms ease, transform 420ms ease;
}

@keyframes catFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes navDrop {
  from {
    transform: translateY(-12px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes tokenDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  45% {
    transform: translate3d(10px, -18px, 0) rotate(8deg);
  }

  70% {
    transform: translate3d(-8px, -10px, 0) rotate(-6deg);
  }
}

@keyframes catSprite {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -1056px 0;
  }
}

@keyframes catTravel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(50vw + 140px));
  }
}

@keyframes tileGlint {
  0%,
  64% {
    transform: translateX(-135%);
  }

  78%,
  100% {
    transform: translateX(135%);
  }
}

@keyframes chartBreathe {
  0%,
  100% {
    opacity: 0.82;
  }

  50% {
    opacity: 1;
  }
}

@keyframes lineGlow {
  0%,
  100% {
    stroke-width: 4;
    filter: drop-shadow(0 0 0 rgba(238, 85, 117, 0));
  }

  50% {
    stroke-width: 4.8;
    filter: drop-shadow(0 0 5px rgba(238, 85, 117, 0.34));
  }
}

@keyframes pointPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.28);
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 118px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero-cat-yarn {
    right: 0;
    bottom: -116px;
    left: auto;
    width: 186px;
  }

  .cat-tower {
    right: -26px;
  }

  .cat-runner-track {
    bottom: -6px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ops-intro {
    min-height: 230px;
    padding-right: 210px;
  }
}

@media (max-width: 880px) {
  .site-header {
    top: 8px;
    padding: 0 12px;
  }

  .nav-bar {
    min-height: 60px;
    border-radius: 18px;
  }

  .brand-text {
    font-size: 19px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 15px;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-cat-yarn,
  .sleeping-cat,
  .cat-tower,
  .cat-runner-track,
  .motion-field {
    display: none;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .console-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .console-menu img {
    display: none;
  }

  .metric-grid,
  .monitor-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

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

  .docs-card,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .docs-card img {
    align-self: center;
  }

  .quick-actions {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-badge,
  .system-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .btn {
    width: 100%;
  }

  .console-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .console-brand {
    width: 100%;
    height: 50px;
  }

  .console-brand img {
    height: 50px;
  }

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

  .feature-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .feature-card img {
    width: 78px;
    height: 78px;
  }

  .ops-intro {
    min-height: auto;
    padding-right: 24px;
  }

  .ops-intro img {
    position: static;
    width: 130px;
    margin: 10px auto -12px;
  }

  .plan-price {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cat-runner-track,
  .motion-field {
    display: none;
  }

  .console-window {
    transform: none;
  }
}
