:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5c6470;
  --line: #e6e0d8;
  --paper: #fffaf1;
  --panel: #ffffff;
  --mint: #d6f5ea;
  --blue: #dcecff;
  --rose: #ffe0e9;
  --gold: #ffd66b;
  --green: #2f8f70;
  --navy: #1e3a5f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--ink);
}

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

.hero {
  padding: 54px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 630px;
  color: #323842;
  font-size: 1.18rem;
  line-height: 1.62;
}

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

.phone-scene {
  position: relative;
  min-height: 560px;
}

.phone {
  width: min(360px, 100%);
  margin-left: auto;
  border: 10px solid #171717;
  border-radius: 44px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(30, 58, 95, 0.22);
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: var(--blue);
}

.phone-top img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.phone-top strong {
  display: block;
}

.phone-top span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.chat {
  display: grid;
  gap: 12px;
  padding: 18px;
  min-height: 404px;
  background: linear-gradient(#fff, #fff7ea);
}

.bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.35;
  font-size: 0.95rem;
}

.bubble.ai {
  background: #eef6ff;
}

.bubble.user {
  justify-self: end;
  background: #161616;
  color: #fff;
}

.avatar-strip {
  position: absolute;
  left: 0;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 92px);
  gap: 12px;
}

.avatar-card {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.08);
}

.avatar-card img {
  max-height: 82px;
  object-fit: contain;
}

section {
  padding: 58px 0;
}

.section-title {
  max-width: 680px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-title p,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.7;
}

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

.feature,
.persona,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.feature h3,
.persona h3,
.notice h3 {
  margin: 0 0 8px;
}

.feature p,
.persona p,
.notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.persona img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 12px;
  background: var(--mint);
  border-radius: 8px;
}

.persona:nth-child(2) img {
  background: var(--rose);
}

.persona:nth-child(3) img {
  background: var(--blue);
}

.persona:nth-child(4) img {
  background: #fff0c2;
}

.notice-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.legal {
  max-width: 850px;
  padding: 50px 0 70px;
}

.legal h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.legal h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal ul {
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: #fffdf8;
}

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

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

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .notice-row {
    grid-template-columns: 1fr;
  }

  .phone-scene {
    min-height: auto;
  }

  .phone {
    margin: 0 auto;
  }

  .avatar-strip {
    position: static;
    margin-top: 14px;
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 34px;
  }

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

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
