:root {
  --bg: #171d27;
  --bg-2: #1d2633;
  --surface: rgba(245, 248, 252, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(196, 210, 228, 0.14);
  --line-strong: rgba(196, 210, 228, 0.24);
  --text: #eff4fb;
  --muted: #9eafc3;
  --accent: #89dbc9;
  --accent-strong: #9ab6ff;
  --accent-soft: rgba(137, 219, 201, 0.11);
  --shadow-lg: 0 28px 80px rgba(4, 8, 14, 0.34);
  --shadow-md: 0 16px 42px rgba(4, 8, 14, 0.24);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, rgba(154, 182, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(137, 219, 201, 0.1), transparent 24%),
    linear-gradient(180deg, #202938 0%, var(--bg) 42%, var(--bg-2) 100%);
  overflow-x: hidden;
}

a,
button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-cat {
  --cat-size: clamp(82px, 8vw, 112px);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 8px;
  height: calc(var(--cat-size) + 22px);
  pointer-events: none;
  z-index: 9;
}

.site-cat__runner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--cat-size);
  transform-origin: center bottom;
  will-change: left, transform;
  pointer-events: auto;
  cursor: pointer;
  animation: cat-run-across 18s linear infinite alternate, cat-bob 0.82s ease-in-out infinite;
}

.site-cat__runner.is-returning {
  transform: scaleX(-1);
}

.site-cat__art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(4, 8, 14, 0.34));
}

.site-cat__shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2px;
  height: 11px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(4, 8, 14, 0.3), transparent 72%);
  transform-origin: center;
  animation: cat-shadow 0.82s ease-in-out infinite;
}

.site-cat__bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 210, 228, 0.18);
  background: rgba(23, 29, 39, 0.92);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-cat__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(196, 210, 228, 0.18);
  border-bottom: 1px solid rgba(196, 210, 228, 0.18);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.site-cat__runner.is-meowing .site-cat__bubble {
  opacity: 1;
  transform: translate(-50%, -4px) scale(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 29, 39, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(79, 110, 247, 0.18);
}

.brand-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  line-height: 1;
  transform: translateY(1px);
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

.btn-primary {
  color: #16212c;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 38px rgba(154, 182, 255, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.92rem;
}

.w-full {
  width: 100%;
}

.hero,
.pricing {
  padding: 88px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d5e5f6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-copy h1,
.section-head h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
}

.hero-lead,
.section-head p {
  color: var(--muted);
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin: 18px 0 0;
  color: #c3d3e5;
  font-size: 0.96rem;
}

.hero-meta,
.pricing-card,
.checkout-sheet {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(243, 247, 252, 0.05));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-meta {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 8px 0;
  border-radius: var(--radius-xl);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}

.meta-row + .meta-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-row span {
  color: var(--muted);
}

.meta-row strong {
  max-width: 60%;
  text-align: right;
}

.meta-row--apps {
  align-items: flex-start;
}

.meta-apps {
  display: grid;
  justify-items: end;
  gap: 10px;
  max-width: 65%;
}

.meta-apps strong {
  max-width: none;
  text-align: right;
}

.meta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.meta-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.meta-links a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.store-link--apple {
  background: linear-gradient(135deg, #f5f5f7, #cfd3da);
  border-color: rgba(255, 255, 255, 0.45);
  color: #111111;
}

.store-link--google {
  background: linear-gradient(135deg, #34a853, #4285f4);
  border-color: rgba(121, 188, 255, 0.35);
  color: #ffffff;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

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

.pricing-card {
  padding: 22px 20px;
  text-align: left;
  color: var(--text);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pricing-card.is-featured,
.pricing-card.is-selected {
  border-color: var(--line-strong);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(120, 214, 201, 0.08) inset;
}

.pricing-card.is-featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(243, 247, 252, 0.07));
}

.pricing-label {
  display: block;
  color: var(--muted);
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(137, 219, 201, 0.12);
  border: 1px solid rgba(137, 219, 201, 0.26);
  color: #d8fbf4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.checkout-sheet {
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.checkout-caption {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.checkout-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input {
  min-height: 54px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.field input::placeholder {
  color: #8293a7;
}

.field input:focus {
  border-color: rgba(154, 182, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(154, 182, 255, 0.08);
}

.checkout-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer {
  padding: 22px 0 36px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes cat-run-across {
  from {
    left: calc(var(--cat-size) * -1.05);
  }
  to {
    left: calc(100vw - var(--cat-size) * 0.1);
  }
}

@keyframes cat-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes cat-shadow {
  0%,
  100% {
    opacity: 0.36;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.18;
    transform: scaleX(0.84);
  }
}

@media (max-width: 920px) {
  .hero,
  .pricing {
    padding: 72px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .hero-meta {
    max-width: none;
    margin-left: 0;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-cat {
    --cat-size: 78px;
    bottom: 10px;
  }

  .header-inner,
  .footer-inner,
  .checkout-head,
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-row strong,
  .checkout-head strong,
  .meta-apps,
  .meta-apps strong {
    max-width: none;
    text-align: left;
  }

  .meta-links {
    justify-content: flex-start;
  }

  .hero-copy h1 {
    max-width: 7ch;
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .btn-sm {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cat {
    display: none;
  }
}
