:root {
  color-scheme: light;
  --ink: #261a22;
  --muted: #705f69;
  --brand: #a9165d;
  --brand-dark: #821047;
  --soft: #fbe8f1;
  --line: #eadde4;
  --surface: #fff;
  --background: #fff9fc;
  font-family: Inter, 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(--background); line-height: 1.6; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 850; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, #c72575, #8f0f50); box-shadow: 0 8px 24px rgba(169, 22, 93, .22); }
.brand-mark svg { width: 22px; height: 22px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; padding: 72px 0 80px; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 6.5vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.lede { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.pills li { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; }

.phone { width: min(100%, 360px); margin: 0 auto; padding: 15px; border: 1px solid #dfced7; border-radius: 42px; background: #21171d; box-shadow: 0 30px 80px rgba(60, 22, 43, .18); }
.screen { min-height: 530px; padding: 24px 18px; border-radius: 30px; background: linear-gradient(180deg, #fff 0%, #fff6fa 100%); }
.screen-top { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-weight: 800; }
.avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #d84a8c, #9c1457); }
.bubble { width: 86%; margin-top: 22px; padding: 14px 16px; border-radius: 18px 18px 18px 5px; color: #513e49; background: var(--soft); }
.bubble.user { width: 77%; margin-left: auto; border-radius: 18px 18px 5px 18px; color: white; background: var(--brand); }
.composer { margin-top: 64px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 999px; color: #9a8692; background: white; font-size: 14px; }

.section { padding: 78px 0; border-top: 1px solid var(--line); }
.section h2, .document h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.section-intro { max-width: 680px; margin: 16px 0 34px; color: var(--muted); font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 30px rgba(66, 32, 50, .05); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card-icon { display: grid; width: 42px; height: 42px; margin-bottom: 18px; place-items: center; border-radius: 13px; color: var(--brand); background: var(--soft); font-weight: 900; }

.document { width: min(760px, calc(100% - 40px)); margin: 48px auto 80px; padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: 0 18px 50px rgba(66, 32, 50, .07); }
.document .eyebrow { margin-bottom: 10px; }
.document h1 { margin-bottom: 34px; }
.document h2 { margin: 34px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.document p, .document li { color: var(--muted); }
.document ul, .document ol { padding-left: 22px; }
.document .action { display: inline-flex; margin-top: 10px; padding: 12px 18px; border-radius: 999px; color: white; background: var(--brand); font-weight: 800; text-decoration: none; }
.note { padding: 16px 18px; border-left: 4px solid var(--brand); border-radius: 8px; background: var(--soft); }

.site-footer { padding: 30px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; }
  .nav { gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-top: 48px; }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 28px, 1080px); }
  .site-header { flex-direction: column; }
  .nav { justify-content: flex-start; }
  .hero { padding-bottom: 60px; }
  .document { width: min(100% - 28px, 760px); margin-top: 28px; padding: 24px; border-radius: 22px; }
}
