:root {
  color-scheme: light;
  --bg: #fff8f6;
  --paper: #ffffff;
  --ink: #271b1c;
  --muted: #746465;
  --line: #eadbd6;
  --cherry: #e84d76;
  --peach: #ffb09d;
  --lemon: #f6c85f;
  --leaf: #52a96b;
  --shadow: 0 24px 70px rgba(84, 45, 46, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 176, 157, 0.32), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(246, 200, 95, 0.26), transparent 28%),
    linear-gradient(180deg, #fff8f6 0%, #fffdfb 48%, #fff8f6 100%);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a:hover {
  color: var(--cherry);
}

.page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(232, 77, 118, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 112px);
  padding: 36px 0 72px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid transparent;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  border-color: var(--line);
}

.button.primary:hover {
  color: #fff;
  background: #3b292b;
}

.hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 241, 238, 0.74)),
    linear-gradient(150deg, rgba(232, 77, 118, 0.15), rgba(246, 200, 95, 0.17));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -32% 18%;
  height: 62%;
  background: radial-gradient(circle, rgba(255, 176, 157, 0.48), transparent 64%);
  pointer-events: none;
}

.app-icon-large {
  width: 132px;
  height: 132px;
  border-radius: 32px;
  box-shadow: 0 20px 44px rgba(232, 77, 118, 0.23);
}

.chat-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 48px;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  border-radius: 24px;
  padding: 14px 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(84, 45, 46, 0.08);
  font-size: 15px;
  line-height: 1.38;
}

.bubble:nth-child(2) {
  justify-self: end;
  background: #ffe4eb;
}

.bubble:nth-child(3) {
  background: #fff4cf;
}

.bubble strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.status {
  position: absolute;
  right: 28px;
  top: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 76px 0;
  border-top: 1px solid rgba(234, 219, 214, 0.78);
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature {
  min-height: 176px;
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(234, 219, 214, 0.82);
}

.feature h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(84, 45, 46, 0.08);
}

.privacy-callout p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 36px 0 48px;
  color: var(--muted);
  border-top: 1px solid rgba(234, 219, 214, 0.78);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  max-width: 820px;
  padding-bottom: 84px;
}

.legal-hero {
  padding: 58px 0 30px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.policy {
  display: grid;
  gap: 30px;
  margin-top: 24px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(234, 219, 214, 0.86);
}

.policy section {
  display: grid;
  gap: 10px;
}

.policy h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.policy h3 {
  margin: 14px 0 0;
  font-size: 17px;
}

.policy p,
.policy li {
  color: var(--muted);
  line-height: 1.68;
}

.policy p,
.policy ul {
  margin: 0;
}

.policy ul {
  padding-left: 20px;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 28px, 680px);
  }

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

  .nav {
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 28px 0 58px;
  }

  .hero-card {
    min-height: 420px;
    padding: 24px;
    border-radius: 30px;
  }

  .app-icon-large {
    width: 104px;
    height: 104px;
    border-radius: 26px;
  }

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

  .privacy-callout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .privacy-callout .actions,
  .privacy-callout .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .policy {
    padding: 24px;
    border-radius: 24px;
  }
}
