:root {
  --ivory: #F7F4EF;
  --paper: #FFFDF9;
  --espresso: #16120F;
  --ink: #221C17;
  --muted: #5E554C;
  --gold: #8A6A3C;
  --champagne: #D8C09A;
  --line: #E4DDD2;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Rubik", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

/* Шапка */
.top { padding: 28px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: 0.01em; }
.brand img { width: 34px; height: 34px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 22px; }
.top nav a:hover { color: var(--ink); }

/* Первый экран */
.hero { padding: 40px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  text-wrap: balance;
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  max-width: 13ch;
}
.hero p.lead { font-size: 21px; color: var(--muted); max-width: 34ch; margin: 0 0 34px; }
.pearl-stage { position: relative; aspect-ratio: 1; }
.pearl-stage::before {
  content: ""; position: absolute; inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 192, 154, 0.45), rgba(247, 244, 239, 0) 68%);
}
.pearl-stage img { position: relative; width: 100%; height: auto; animation: drift 14s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .pearl-stage img { animation: none; } }

.button {
  display: inline-block;
  background: var(--espresso);
  color: var(--ivory);
  text-decoration: none;
  font-weight: 400;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
}
.button:hover { background: #2b2420; }
.note { font-size: 15px; color: var(--muted); margin-top: 14px; }

/* Разговоры — главный элемент */
.talks { background: var(--espresso); color: var(--ivory); padding: 96px 0; }
.talks h2, .section h2 {
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 18ch;
}
.talks .intro { color: #BFB3A3; max-width: 46ch; margin: 0 0 56px; }
.talk { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 34px 0; border-top: 1px solid rgba(216, 192, 154, 0.22); }
.talk h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; margin: 0; color: var(--champagne); }
.talk .what { color: #BFB3A3; font-size: 16px; margin: 8px 0 0; }
.lines { display: grid; gap: 10px; align-content: start; }
.line { margin: 0; width: fit-content; max-width: min(560px, 100%); justify-self: start; padding: 12px 16px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.line.you { justify-self: end; background: var(--ivory); color: var(--ink); border-bottom-right-radius: 6px; }
.line.dana { background: #2A231E; color: var(--ivory); border-bottom-left-radius: 6px; }
.line.them { background: transparent; color: #BFB3A3; border: 1px solid rgba(216, 192, 154, 0.3); border-bottom-left-radius: 6px; }
.line small { display: block; font-size: 12px; color: var(--champagne); margin-bottom: 2px; }
.line.you small { color: var(--gold); }
.line.done { background: transparent; color: var(--champagne); padding-left: 0; font-size: 15px; }

/* Обещание */
.promise { padding: 104px 0; text-align: center; }
.promise p {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
  margin: 0 auto;
  max-width: 20ch;
}
.promise span { display: block; font-family: var(--sans); font-size: 18px; color: var(--muted); margin-top: 22px; }

/* Для бизнеса */
.section { padding: 0 0 104px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; border-top: 1px solid var(--line); padding-top: 64px; }
.split p { color: var(--muted); margin: 0 0 18px; max-width: 46ch; }
.split ul { list-style: none; margin: 0; padding: 0; }
.split li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.split li strong { font-weight: 500; color: var(--ink); }

/* Подвал */
footer { background: var(--paper); border-top: 1px solid var(--line); padding: 44px 0; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
footer nav a { color: var(--muted); margin-right: 20px; }

/* Юридические страницы */
.doc { padding: 24px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 24px 0; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .pearl-stage { max-width: 320px; margin: 0 auto; order: -1; }
  .talk { grid-template-columns: 1fr; gap: 18px; }
  .top nav a { margin-left: 14px; }
  body { font-size: 17px; }
}
