/* Layout: светлая «жемчужная» страница; калькулятор — первый экран, октаграмма — главный мотив,
   портрет Марины в арке; после расчёта — схема, выводы и большая кнопка «Хочу подробнее!». */
:root {
  --bg: #F1F3F1;          /* жемчужный с шалфейным оттенком, как фон фотографии */
  --surface: #FCFCFB;
  --ink: #2A2230;         /* чернильно-сливовый */
  --muted: #6B6573;
  --line: #D9DCD8;
  --gold: #A9854E;
  --gold-deep: #7C5C2E;
  --plum: #5A3B70;
  --plum-deep: #432A55;
  --pearl-on-plum: #F4EEF6;

  /* цвета чакр на схеме */
  --violet: #7E57B5;
  --indigo: #3F5FB8;
  --sky: #2A8CC2;
  --green: #3E9A66;
  --yellow: #E7BE45;
  --orange: #D9712C;
  --red: #C94A4F;

  --font-display: "Prata", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(42, 34, 48, .05), 0 12px 32px -12px rgba(42, 34, 48, .16);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--muted); }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(241, 243, 241, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(169, 133, 78, .22);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 19px; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; opacity: .8; }
.nav a:hover { opacity: 1; color: var(--gold-deep); }
.topbar-phone { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Первый экран ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--plum); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }

.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden;
  aspect-ratio: 4 / 5.2; background: #DDE2DE; box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-photo::before {
  content: ""; position: absolute; inset: -14px -14px 28px; border: 1px solid var(--gold);
  border-radius: 999px 999px 34px 34px; opacity: .55; pointer-events: none;
}
.photo-caption {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; white-space: nowrap; box-shadow: var(--shadow); text-align: center;
}
.photo-caption b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 18px; }
.photo-caption span { font-size: 13px; color: var(--muted); }

/* ---------- Калькулятор ---------- */
.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); display: grid; gap: 18px;
}
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 999px; justify-self: start; }
.tab {
  border: 0; background: transparent; color: var(--muted); font: 600 15px var(--font-body);
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(42, 34, 48, .12); }
.fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input {
  width: 100%; font: 600 20px var(--font-body); letter-spacing: .04em; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font-variant-numeric: tabular-nums;
}
.field input::placeholder { color: #B3B0B8; font-weight: 500; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 133, 78, .2); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.form-error { color: var(--red); font-size: 14px; font-weight: 600; min-height: 0; }
.calc-note { font-size: 13px; color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px var(--font-body); text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 15px 26px; border: 1px solid transparent;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; width: 100%; font-size: 17px; padding-block: 17px; }
.btn-primary:hover { background: var(--plum-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }

/* Главная кнопка «Хочу подробнее!» */
.btn-more {
  position: relative; overflow: hidden;
  background: var(--plum); color: #fff; font-size: clamp(18px, 2vw, 21px); padding: 20px 34px;
  box-shadow: inset 0 0 0 1px rgba(233, 205, 150, .55), 0 14px 30px -12px rgba(67, 42, 85, .6);
}
.btn-more:hover { background: var(--plum-deep); }
.btn-more::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg); animation: shimmer 4.5s ease-in-out infinite 1.5s;
}
.btn-more svg { width: 22px; height: 22px; flex: none; }
@keyframes shimmer { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---------- Результаты ---------- */
.results { padding-block: clamp(40px, 6vw, 72px); background: var(--surface); border-block: 1px solid var(--line); scroll-margin-top: 64px; }
.results-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.results-head h2 { font-size: clamp(30px, 4vw, 44px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
}
.chip b { font-variant-numeric: tabular-nums; }
.chip-now { background: #EFE8F3; border-color: #D9CBE2; color: var(--plum-deep); }

.matrix-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.diagram-card { background: var(--bg); border-radius: var(--radius); padding: clamp(8px, 2vw, 24px); }
.diagram-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; font-size: 13px; color: var(--muted); padding: 10px 6px 4px; }
.diagram-legend i { display: inline-block; width: 22px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 6px; }
.diagram-legend .lg-male { border-color: var(--indigo); }
.diagram-legend .lg-female { border-color: var(--red); }
.diagram-legend .lg-money { border-top-style: dashed; border-color: var(--gold); }

.octagram { width: 100%; height: auto; display: block; overflow: visible; }
.g-frame { fill: none; stroke: var(--gold); stroke-width: 2; }
.g-square { fill: none; stroke: var(--ink); stroke-opacity: .45; stroke-width: 1.6; }
.g-axis { stroke: var(--ink); stroke-opacity: .25; stroke-width: 1.4; }
.g-male { stroke: var(--indigo); stroke-opacity: .55; stroke-width: 1.8; }
.g-female { stroke: var(--red); stroke-opacity: .5; stroke-width: 1.8; }
.g-money { stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 7 8; }
.g-sign { fill: var(--gold-deep); font: 700 30px var(--font-body); text-anchor: middle; }
.g-heart { fill: var(--red); }
.g-tick { fill: var(--gold); }
.g-age { fill: var(--muted); font: 700 20px var(--font-body); text-anchor: middle; }
.g-age.is-now { fill: #fff; }
.g-now { fill: var(--plum); }
.g-age-vertex { fill: var(--gold-deep); font: 700 17px var(--font-body); text-anchor: middle; letter-spacing: .03em; }
.g-age-vertex.is-now { fill: var(--plum); }

.pt { cursor: pointer; outline: none; }
.pt-halo { fill: none; stroke: var(--gold); stroke-width: 3; opacity: 0; transition: opacity .2s ease; }
.pt:hover .pt-halo, .pt:focus-visible .pt-halo { opacity: .55; }
.pt.is-selected .pt-halo { opacity: 1; stroke-width: 4; }
.pt-dot { stroke: #fff; stroke-width: 3; }
.pt-num { font-family: var(--font-body); font-weight: 700; text-anchor: middle; fill: #fff; pointer-events: none; }
.tone-plain .pt-dot { fill: var(--surface); stroke: var(--ink); stroke-opacity: .5; stroke-width: 2; }
.tone-plain .pt-num, .tone-yellow .pt-num { fill: var(--ink); }
.tone-violet .pt-dot { fill: var(--violet); }
.tone-indigo .pt-dot { fill: var(--indigo); }
.tone-sky .pt-dot { fill: var(--sky); }
.tone-green .pt-dot { fill: var(--green); }
.tone-yellow .pt-dot { fill: var(--yellow); }
.tone-orange .pt-dot { fill: var(--orange); }
.tone-red .pt-dot { fill: var(--red); }

/* Карточка выбранной точки */
.point-card {
  position: sticky; top: 84px; scroll-margin: 80px 0 104px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 14px; box-shadow: var(--shadow);
}
.point-top { display: flex; align-items: center; gap: 16px; }
.point-num {
  width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font: 400 30px var(--font-display); color: #fff; background: var(--ink);
}
.point-num.tone-plain { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.point-num.tone-yellow { background: var(--yellow); color: var(--ink); }
.point-num.tone-violet { background: var(--violet); } .point-num.tone-indigo { background: var(--indigo); }
.point-num.tone-sky { background: var(--sky); } .point-num.tone-green { background: var(--green); }
.point-num.tone-orange { background: var(--orange); } .point-num.tone-red { background: var(--red); }
.point-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.point-arcana { font-family: var(--font-display); font-size: 26px; line-height: 1.2; }
.point-pos { color: var(--muted); font-size: 15px; }
.point-text { font-size: 16px; }
.point-hint { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.point-card .btn-more { width: 100%; font-size: 18px; padding: 17px 22px; }

/* Выводы */
.res-title { font-size: clamp(26px, 3vw, 34px); margin: clamp(40px, 5vw, 64px) 0 18px; }
.insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .insights { grid-template-columns: minmax(0, 1fr); } }
.insight {
  background: var(--bg); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0;
}
.insight-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.insight-num { font-family: var(--font-display); font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.insight-num small { font-size: 20px; color: var(--muted); }
.insight-name { font-weight: 700; }
.insight-text { font-size: 15px; color: var(--muted); }
.insight-wide { grid-column: 1 / -1; background: #F2EDF4; }

/* Предназначение */
.purpose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.purpose-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.purpose-item h3 { font-size: 22px; }
.purpose-item .when { font-size: 13px; font-weight: 700; color: var(--gold-deep); letter-spacing: .06em; text-transform: uppercase; }
.purpose-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.purpose-calc b { color: var(--ink); font-size: 16px; }
.purpose-result { display: flex; align-items: baseline; gap: 10px; }
.purpose-result strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; }

/* Таблицы */
.tables { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; margin-top: clamp(32px, 4vw, 48px); align-items: start; }
.block-title { font-family: var(--font-display); font-size: 26px; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--bg); }
td { font-weight: 700; font-size: 17px; }
td.chakra { text-align: left; font-weight: 700; font-size: 15px; white-space: nowrap; }
td.chakra span { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
td.chakra i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
tr:last-child td { border-bottom: 0; }
tr.total td { background: var(--bg); }
.table-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.lineage { display: grid; gap: 12px; }
.lineage-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); }
.lineage-row b { font-size: 15px; }
.nums { display: flex; gap: 6px; }
.nums span {
  min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  font-weight: 700; background: var(--bg); border: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.nums span:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Прогноз по годам */
.forecast { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.forecast summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-display); font-size: 24px;
}
.forecast summary::-webkit-details-marker { display: none; }
.forecast summary::after { content: "+"; font-family: var(--font-body); font-size: 26px; color: var(--gold-deep); }
.forecast[open] summary::after { content: "–"; }
/* 8 колонок: каждая строка — одно десятилетие (вершина + 7 промежуточных лет) */
.forecast-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; padding: 0 22px 22px; }
@media (max-width: 1100px) { .forecast-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .forecast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 14px 16px; } }
.age-chip { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--bg); font-variant-numeric: tabular-nums; }
.age-chip span { font-size: 13px; color: var(--muted); }
.age-chip b { font-size: 17px; }
.age-chip.is-vertex { background: #EEE7D9; }
.age-chip.is-now { background: var(--plum); color: #fff; }
.age-chip.is-now span { color: var(--pearl-on-plum); }

/* Большой призыв */
.cta-band {
  margin-top: clamp(40px, 5vw, 64px); background: var(--plum-deep); color: #fff; border-radius: 28px;
  padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border: 1px solid rgba(233, 205, 150, .35); transform: rotate(22.5deg); pointer-events: none;
}
.cta-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(233, 205, 150, .7); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: var(--pearl-on-plum); margin-top: 8px; max-width: 36em; }
.cta-band .btn-more { background: #F4EEF6; color: var(--plum-deep); box-shadow: inset 0 0 0 1px rgba(169, 133, 78, .6), 0 14px 30px -12px rgba(0, 0, 0, .5); }
.cta-band .btn-more:hover { background: #fff; }

/* ---------- О Марине ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about-text { display: grid; gap: 18px; min-width: 0; }
.about-text h2 { font-size: clamp(32px, 4vw, 46px); }
.about-text p { max-width: 36em; }
.about-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.about-list li { display: flex; gap: 12px; align-items: baseline; }
.about-list li::before { content: ""; width: 8px; height: 8px; flex: none; transform: rotate(45deg); background: var(--gold); position: relative; top: -2px; }

/* Как проходит разбор */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step::before { content: counter(step); font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--gold); }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); font-size: 16px; }

/* Темы разбора */
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.topic { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }

/* ---------- Контакты ---------- */
.contacts { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--bg); min-width: 0; }
.contact-card .label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-size: 21px; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.messenger { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; }
.messenger svg { width: 18px; height: 18px; }
.m-wa { background: #1F9D55; } .m-tg { background: #2A8BC9; } .m-vb { background: #7360F2; }

.footer { padding-block: 28px; font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Окно «Хочу подробнее» ---------- */
.sheet { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.sheet::backdrop { background: rgba(42, 34, 48, .55); backdrop-filter: blur(3px); }
.sheet-inner { background: var(--surface); border-radius: 24px; padding: clamp(20px, 4vw, 30px); display: grid; gap: 16px; position: relative; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink);
}
.sheet-head { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.sheet-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.sheet-head h2 { font-size: 26px; }
.sheet-head p { color: var(--muted); font-size: 15px; }
.sheet label { font-size: 13px; font-weight: 600; color: var(--muted); }
.sheet textarea {
  width: 100%; min-height: 112px; resize: vertical; font: 500 15px/1.5 var(--font-body); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet-actions .btn { width: 100%; padding: 14px 16px; font-size: 15px; }
.sheet-actions .m-wa, .sheet-actions .m-tg { color: #fff; }
.sheet-direct { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy-row span { font-weight: 700; user-select: all; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.copy-btn { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--font-body); cursor: pointer; color: var(--ink); flex: none; }
.toast { font-size: 14px; font-weight: 600; color: var(--green); min-height: 1.4em; }

/* Плавающая кнопка на телефоне */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: linear-gradient(to top, rgba(241, 243, 241, .98) 60%, rgba(241, 243, 241, 0));
}
.sticky-cta .btn-more { width: 100%; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .matrix-layout, .tables { grid-template-columns: minmax(0, 1fr); }
  .point-card { position: static; }
  .purpose { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); text-align: left; }
}
@media (max-width: 820px) {
  .hero .wrap, .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { width: min(78%, 340px); margin-top: 18px; margin-bottom: 30px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  body.has-results .sticky-cta { display: block; }
  body.has-results { padding-bottom: 86px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 16px; white-space: nowrap; }
  .topbar-phone { font-size: 14px; }
  .brand-name small { display: none; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
  .tab { padding: 9px 10px; font-size: 14px; white-space: nowrap; }
  .sheet-inner { padding: 22px 18px; }
  .copy-row span { font-size: 14px; }
  .sheet-actions { grid-template-columns: minmax(0, 1fr); }
  .insight-num { font-size: 30px; }
  .cta-avatar { width: 80px; height: 80px; }
  th, td { padding: 9px 6px; }
  th { font-size: 10px; letter-spacing: .04em; }
  td { font-size: 16px; }
  td.chakra { white-space: normal; padding-left: 12px; font-size: 14px; }
  td.chakra i { margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-more::after { animation: none; display: none; }
  * { transition: none !important; }
}
