:root {
  color-scheme: light;
  --ink: #242621;
  --muted: #66685f;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #d8d4c9;
  --line-strong: #bdb7aa;
  --accent: #7b633f;
  --accent-dark: #4a3a23;
  --action: #2f3529;
  --action-hover: #1f241b;
  --mascot-ink: #24313f;
  --mascot-face: #75d6b6;
  --mascot-ear: #ffd76d;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  background: #f9faf8;
}
    inset -4px -4px 0 #d8dcd6,
    inset 0 4px 0 #ffffff,
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(520px, calc(100svh - 120px), 720px);
  display: grid;
  align-items: center;
  padding: 64px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.mascot-runner {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 118px;
  pointer-events: none;
  overflow: visible;
}

.mascot-bunny {
  position: absolute;
  bottom: 8px;
  left: -148px;
  width: 132px;
  height: 96px;
  image-rendering: pixelated;
  transform: translateX(0);
  will-change: transform, bottom;
  animation:
    bunny-traverse 11.4s linear infinite,
    bunny-bounce 760ms cubic-bezier(0.44, 0, 0.56, 1) infinite;
}

.mascot-bunny span {
  position: absolute;
  display: block;
  border-radius: 2px;
}

.bunny-body {
  right: 40px;
  bottom: 16px;
  width: 64px;
  height: 42px;
  border: 3px solid #3f546f;
  border-radius: 30px 32px 24px 24px;
  background:
    linear-gradient(180deg, #ffffff 0 62%, #e9ece6 62% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 2px, rgba(233, 236, 230, 0.2) 2px 4px);
  box-shadow:
    inset -3px -3px 0 #d3d8cf,
    inset 0 3px 0 #f9faf7,
    -6px 7px 0 -4px rgba(36, 49, 63, 0.26);
  z-index: 1;
}

.bunny-head {
  right: 14px;
  bottom: 34px;
  width: 44px;
  height: 40px;
  border: 3px solid #3f546f;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #ffffff 0 58%, #e6eae3 58% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, rgba(230, 234, 227, 0.18) 2px 4px);
  z-index: 3;
}

.bunny-ear {
  width: 16px;
  height: 44px;
  border: 3px solid #3f546f;
  border-radius: 12px 12px 8px 8px;
  background:
    linear-gradient(180deg, #ffffff 0 48%, #eceee8 48% 100%),
    radial-gradient(circle at 50% 64%, #f2c2cb 0 34%, rgba(242, 194, 203, 0) 35%);
}

.bunny-ear-left {
  right: 46px;
  bottom: 62px;
  transform: rotate(-18deg);
}

.bunny-ear-right {
  right: 20px;
  bottom: 64px;
  transform: rotate(13deg);
}

.bunny-eye {
  top: 11px;
  width: 7px;
  height: 10px;
  border-radius: 5px;
  background: #2e3f54;
}

.bunny-eye-left {
  right: 24px;
}

.bunny-eye-right {
  right: 8px;
}

.bunny-nose {
  right: 2px;
  top: 24px;
  width: 6px;
  height: 4px;
  border-radius: 2px;
  background: #efb0b9;
  box-shadow:
    -8px 6px 0 -2px #2e3f54,
    -14px 11px 0 -3px rgba(46, 63, 84, 0.7);
}

.bunny-tail {
  left: 20px;
  bottom: 32px;
  width: 18px;
  height: 18px;
  border: 3px solid #3f546f;
  border-radius: 50%;
  background: #f7f8f5;
  box-shadow: -3px 1px 0 rgba(63, 84, 111, 0.2);
}

.bunny-leg {
  bottom: 8px;
  width: 22px;
  height: 12px;
  border: 3px solid #3f546f;
  border-radius: 7px;
  background: #f0f3ed;
  transform-origin: center top;
  animation: bunny-feet 300ms steps(2, end) infinite alternate;
}

.bunny-leg-front {
  right: 22px;
}

.bunny-leg-back {
  left: 48px;
  animation-delay: 150ms;
}

@keyframes bunny-traverse {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100vw + 340px));
  }
}

@keyframes bunny-bounce {
  0%,
  100% {
    bottom: 8px;
  }

  24% {
    bottom: 5px;
  }

  54% {
    bottom: 18px;
  }

  76% {
    bottom: 10px;
  }
}

@keyframes bunny-feet {
  from {
    transform: scaleX(0.78) translateY(1px);
  }

  to {
    transform: scaleX(1.16) translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.hero-copy-block {
  max-width: 620px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: #44463f;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.35;
}

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

.assistant-preview {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.preview-toolbar b {
  font-size: 15px;
}

.preview-toolbar em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.preview-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.user-line,
.helper-line {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.user-line {
  justify-self: end;
  max-width: 78%;
  background: #f1eee6;
  color: var(--ink);
}

.helper-line {
  max-width: 92%;
  background: #ffffff;
  color: var(--muted);
}

.assistant-preview figcaption {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  border-color: var(--ink);
}

.button.primary {
  color: #ffffff;
  border-color: var(--action);
  background: var(--action);
}

.button.primary:hover {
  border-color: var(--action-hover);
  background: var(--action-hover);
}

.button.secondary {
  color: var(--ink);
  background: var(--paper);
}

.intro-section,
.split-section,
.safety-section,
.audience-section,
.download-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 48px;
  align-items: start;
}

.intro-section p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 72px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-card p,
.split-copy p,
.safety-copy p,
.download-section p,
.audience-grid p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-copy p {
  max-width: 560px;
  margin: 20px 0 0;
}

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

.steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  min-height: 68px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.steps strong {
  color: var(--accent-dark);
}

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

.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.safety-copy p {
  max-width: 620px;
}

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

.safety-list p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--panel);
}

.audience-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.audience-grid p {
  min-height: 140px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.download-section h2 {
  max-width: 660px;
}

.download-section p {
  max-width: 680px;
}

.download-button {
  min-width: 220px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 850px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 20px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: min(700px, calc(100svh - 96px));
    padding: 56px 20px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-section,
  .split-section,
  .safety-section,
  .download-section {
    grid-template-columns: 1fr;
    padding: 56px 20px;
  }

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

  .feature-grid {
    padding: 0 20px 56px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .download-button {
    width: 100%;
  }

  .site-footer {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

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

  .button {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .mascot-bunny,
  .bunny-leg {
    animation: none;
  }

  .mascot-bunny {
    right: 20px;
    left: auto;
    bottom: 6px;
    transform: none;
  }
}
