:root {
  color-scheme: light;
  --ink: #211a18;
  --muted: #6d5f59;
  --line: #eadfd7;
  --paper: #fffaf7;
  --peach: #ff8f70;
  --rose: #f36f8b;
  --mint: #7bd7c5;
  --blue: #5677f2;
  --cream: #fff2d9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf7 0%, #f7fbff 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  font-size: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose), var(--blue));
}

nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(38px, 7vw, 90px) clamp(20px, 5vw, 64px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #a85161;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary {
  color: #fff;
  background: var(--ink);
}

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
  margin: 38px 0 0;
}

.signal-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.signal-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-list dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.pet-stage {
  min-height: 540px;
}

.pet-window {
  overflow: hidden;
  min-height: 540px;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 22%, rgba(123, 215, 197, 0.6), transparent 25%),
    radial-gradient(circle at 86% 16%, rgba(255, 143, 112, 0.4), transparent 24%),
    linear-gradient(145deg, #f8fbff, #fff4e6);
  box-shadow: 0 24px 70px rgba(66, 52, 42, 0.12);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.7);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.window-bar span:nth-child(2) {
  background: #f7c456;
}

.window-bar span:nth-child(3) {
  background: var(--mint);
}

.pet-canvas {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  padding: 34px;
}

.pet {
  position: relative;
  width: 210px;
  height: 270px;
  animation: float 4s ease-in-out infinite;
}

.pet-ear {
  position: absolute;
  top: 4px;
  width: 68px;
  height: 72px;
  border: 5px solid var(--ink);
  background: #f58aa0;
  transform: rotate(36deg);
}

.pet-ear.left {
  left: 26px;
}

.pet-ear.right {
  right: 26px;
  transform: rotate(-36deg);
}

.pet-face {
  position: absolute;
  top: 40px;
  left: 18px;
  width: 174px;
  height: 164px;
  border: 5px solid var(--ink);
  border-radius: 44% 44% 48% 48%;
  background: #ffe0e8;
}

.eye,
.blush,
.mouth {
  position: absolute;
}

.eye {
  top: 66px;
  width: 18px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
}

.eye.left {
  left: 48px;
}

.eye.right {
  right: 48px;
}

.blush {
  top: 96px;
  width: 32px;
  height: 14px;
  border-radius: 50%;
  background: rgba(243, 111, 139, 0.42);
}

.blush.left {
  left: 24px;
}

.blush.right {
  right: 24px;
}

.mouth {
  left: 76px;
  top: 96px;
  width: 22px;
  height: 14px;
  border-bottom: 5px solid var(--ink);
  border-radius: 0 0 20px 20px;
}

.pet-body {
  position: absolute;
  bottom: 4px;
  left: 54px;
  width: 104px;
  height: 104px;
  border: 5px solid var(--ink);
  border-radius: 44px 44px 34px 34px;
  background: var(--cream);
}

.chat-bubble {
  position: absolute;
  right: 42px;
  bottom: 58px;
  max-width: 220px;
  padding: 14px 16px;
  border: 1px solid #d9e4f2;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(66, 52, 42, 0.1);
}

.section {
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.feature-grid article,
.team-row div,
.plain-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.feature-grid p,
.plain-panel p,
.team-row span {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 5vw, 62px);
  align-items: center;
}

.team-row strong,
.team-row span {
  display: block;
}

.team-row strong {
  margin-bottom: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 860px) {
  .site-header,
  nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 14px;
  }

  .hero,
  .split,
  .feature-grid,
  .team-row,
  .signal-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .pet-stage,
  .pet-window {
    min-height: 420px;
  }

  .pet-canvas {
    min-height: 370px;
  }

  .chat-bubble {
    right: 20px;
    bottom: 22px;
  }
}
