/* Палитра: крем-фон + deep-forest контраст */
:root {
  --bg: #F5EDD9;
  --bg-alt: #EFE4CC;
  --forest: #2F3B24;
  --forest-dark: #243021;
  --fg: #2F3B24;
  --fg-dim: rgba(47, 59, 36, 0.7);
  --cream: #E8DCC4;
  --accent: #C9A26A;
  --accent-dark: #A87F44;
  --hairline: rgba(47, 59, 36, 0.12);
  --shadow-soft: 0 8px 32px rgba(47, 59, 36, 0.08);
  --shadow-strong: 0 20px 60px rgba(47, 59, 36, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Плавающие blob'ы на фоне всей страницы */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(47,59,36,0.06) 1px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}
.bg-blobs .blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(201,162,106,0.55), transparent 70%);
  top: 8%; left: -8%;
  animation: blob-move-1 22s ease-in-out infinite alternate;
}
.bg-blobs .blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(47,59,36,0.35), transparent 70%);
  top: 45%; right: -6%;
  animation: blob-move-2 26s ease-in-out infinite alternate;
}
.bg-blobs .blob-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,162,106,0.35), transparent 70%);
  bottom: 5%; left: 30%;
  animation: blob-move-3 30s ease-in-out infinite alternate;
}
.bg-blobs .blob-4 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(168,127,68,0.30), transparent 70%);
  top: 25%; right: 25%;
  animation: blob-move-4 18s ease-in-out infinite alternate;
}
@keyframes blob-move-1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(140px, 90px) scale(1.15); }
}
@keyframes blob-move-2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-120px, -80px) scale(0.9); }
}
@keyframes blob-move-3 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(90px, -110px) scale(1.1); }
}
@keyframes blob-move-4 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(0.85); }
}

/* Секции должны быть выше фона */
.topnav, .hero, .intro, .regalia, .test-widget, .points-head,
#points, .cta-final, .footer { position: relative; z-index: 1; }

/* KICKER — оставим лёгкое word-fade без сильного перемещения */
.kicker .word {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.kicker.in .word.in { opacity: 1; }

/* TEST-BUTTON pulse */
.test-card .btn {
  position: relative;
}
.test-card .btn::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 100px;
  background: var(--accent);
  opacity: 0;
  z-index: -1;
  animation: btn-pulse 2.6s ease-out infinite;
}
@keyframes btn-pulse {
  0% { transform: scale(0.95); opacity: 0.35; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* POINT — glow при hover */
.point {
  position: relative;
  transition: transform 0.3s ease;
}
.point::before {
  content: "";
  position: absolute;
  left: -20px; right: -20px;
  top: 20px; bottom: 20px;
  background: radial-gradient(circle at center, rgba(201,162,106,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  border-radius: 24px;
  pointer-events: none;
}
.point:hover::before { opacity: 1; }

/* Иконка пункта — bounce при hover блока */
.point:hover .point-icon {
  animation: icon-bounce 0.6s ease;
}
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0) scale(1) rotate(0); }
  30% { transform: translateY(-8px) scale(1.1) rotate(-6deg); }
  60% { transform: translateY(0) scale(1.05) rotate(3deg); }
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  z-index: 200;
  transition: width 0.05s ease-out;
  box-shadow: 0 0 12px rgba(201,162,106,0.5);
}

/* HERO — волнистое подчёркивание х10 */
.hero h1 .num {
  position: relative;
  display: inline-block;
}
.hero h1 .num::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.08em;
  height: 0.18em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'><path d='M0 6 Q 15 0 30 6 T 60 6 T 90 6 T 120 6' fill='none' stroke='%23C9A26A' stroke-width='2.5'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: draw-wave 1.8s ease-out forwards;
  transform-origin: left center;
  transform: scaleX(0);
}
@keyframes draw-wave {
  to { transform: scaleX(1); }
}

/* HERO PHOTO — gradient blob позади */
.hero-photo { position: relative; z-index: 1; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(201,162,106,0.55), transparent 55%),
              radial-gradient(circle at 70% 70%, rgba(47,59,36,0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
  animation: blob-drift 12s ease-in-out infinite alternate;
}
@keyframes blob-drift {
  0% { transform: translate(-4%, -3%) scale(1); }
  50% { transform: translate(4%, 2%) scale(1.08); }
  100% { transform: translate(-2%, 4%) scale(0.96); }
}

/* HOVER LIFT для регалий */
.regalia-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.regalia-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(47,59,36,0.12);
}
.regalia-item.highlight:hover {
  box-shadow: 0 16px 40px rgba(47,59,36,0.35);
}

/* SCROLL REVEAL для счётчиков */
.reg-num.animating { display: inline-flex; align-items: baseline; }

/* STICKY TOC (только десктоп) */
.toc-sticky {
  position: fixed; left: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
}
@media (min-width: 1280px) {
  .toc-sticky { display: block; }
}
.toc-sticky ul { list-style: none; padding: 0; }
.toc-sticky li {
  margin: 6px 0;
  position: relative;
  padding-left: 18px;
  cursor: pointer;
}
.toc-sticky li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 8px; height: 2px;
  background: var(--fg);
  opacity: 0.3;
  transform: translateY(-50%);
  transition: all 0.2s;
}
.toc-sticky li.active::before {
  width: 22px;
  background: var(--accent-dark);
  opacity: 1;
}
.toc-sticky li a {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg); opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s;
}
.toc-sticky li.active a { opacity: 1; color: var(--accent-dark); }
.toc-sticky li:hover a { opacity: 0.85; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }

.accent { color: var(--accent-dark); font-weight: 800; }
b, strong { color: var(--fg); font-weight: 800; }

/* HEADER */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 237, 217, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
}
.topnav .row {
  display: flex; align-items: center; justify-content: space-between;
}
.topnav .logo {
  font-size: 15px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg);
}
.topnav .logo .dot { color: var(--accent-dark); }
.topnav .cta-mini {
  padding: 12px 22px;
  background: var(--forest);
  color: var(--cream);
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s;
}
.topnav .cta-mini:hover { transform: translateY(-1px); }

/* HERO */
.hero {
  padding: 60px 0 80px;
  position: relative;
}
.hero .row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero .tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 100px;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 32px;
}
.hero .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--fg);
}
.hero h1 .num { color: var(--accent-dark); }
.hero .sub {
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500; line-height: 1.4;
  max-width: 560px;
  opacity: 0.85;
  margin-bottom: 32px;
}
.hero .who {
  display: flex; gap: 20px; align-items: center;
  padding: 20px 26px;
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid var(--hairline);
  max-width: 480px;
}
.hero .who-txt { font-size: 15px; opacity: 0.85; }
.hero .who-txt b { font-size: 16px; color: var(--fg); }
.hero .who-badge {
  min-width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
}
.hero-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 32px;
  overflow: hidden;
  background: var(--forest);
  box-shadow: var(--shadow-strong);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.hero-photo .badge {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--accent);
  color: var(--forest);
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* REGALIA */
.regalia {
  padding: 60px 0 80px;
  background: var(--bg);
}
.regalia-head { margin-bottom: 40px; max-width: 820px; }
.regalia-head .tag {
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 14px;
}
.regalia-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.regalia-head h2 .role {
  color: var(--fg); opacity: 0.6; font-weight: 700;
  font-size: 0.65em;
  display: block; margin-top: 6px;
}
.regalia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.regalia-item {
  background: var(--cream);
  border-radius: 20px;
  padding: 28px 26px;
  border: 1px solid var(--hairline);
  transition: transform 0.15s;
}
.regalia-item:hover { transform: translateY(-2px); }
.regalia-item.highlight {
  background: var(--forest);
  color: var(--cream);
}
.regalia-item.highlight .reg-label { color: var(--cream); opacity: 0.8; }
.regalia-item.highlight .reg-num { color: var(--accent); }
.regalia-item .reg-num {
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 900;
  color: var(--accent-dark);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 10px;
}
.regalia-item .reg-unit {
  font-size: 0.34em;
  opacity: 0.7;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.regalia-item .reg-label {
  font-size: 15px; font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  opacity: 0.85;
}
.regalia-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-radius: 20px;
}
.regalia-list .reg-line {
  display: flex; gap: 12px;
  font-size: 15px; line-height: 1.5;
  color: var(--fg); opacity: 0.9;
}
.regalia-list .dot {
  color: var(--accent-dark); font-size: 12px;
  padding-top: 4px;
}

/* INTRO */
.intro {
  padding: 80px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.intro p { font-size: 19px; line-height: 1.6; margin-bottom: 20px; }
.intro .lead {
  font-size: 26px; font-weight: 700;
  line-height: 1.35; margin-bottom: 28px;
  color: var(--fg);
}
.intro .hl-block {
  background: var(--forest);
  color: var(--cream);
  border-radius: 16px;
  padding: 30px 34px;
  font-size: 20px; line-height: 1.5;
  margin: 32px 0;
}
.intro .hl-block b { color: var(--accent); }
.intro .dash { list-style: none; padding: 0; }
.intro .dash li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 18px;
}
.intro .dash li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--accent-dark); font-weight: 800;
}
.intro .motto {
  margin-top: 40px;
  padding: 28px 34px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-size: 20px; font-weight: 700;
  color: var(--fg);
}

/* TEST WIDGET (главный CTA-виджет) */
.test-widget {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.test-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: 32px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.test-card::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,106,0.35), transparent 70%);
}
.test-card .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(232,220,196,0.14);
  border-radius: 100px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.test-card h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900; line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 20px;
  max-width: 720px;
  position: relative;
}
.test-card .desc {
  font-size: 19px; opacity: 0.85;
  margin-bottom: 36px; max-width: 640px;
  position: relative;
}
.test-card .btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 22px 36px;
  background: var(--accent);
  color: var(--forest);
  font-size: 18px; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.test-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,162,106,0.4);
}
.test-card .btn .arrow { font-size: 22px; }

/* POINTS SECTION HEADER */
.points-head {
  padding: 80px 0 40px;
  text-align: left;
}
.points-head .tag {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.points-head h2 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
}

/* POINT CARDS */
.point {
  padding: 60px 0;
  border-top: 1px solid var(--hairline);
}
.point-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}
.point-num {
  display: flex; align-items: baseline; gap: 16px;
  flex-wrap: wrap;
  flex: 1 1 auto; min-width: 0;
}
.point-num .key-fact { flex-shrink: 1; }
.point-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.point:hover .point-icon { transform: rotate(-6deg) scale(1.05); }
.point-num .n {
  font-size: 74px; font-weight: 900;
  color: var(--accent-dark);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.point-num .label {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.5;
}
.key-fact {
  padding: 12px 20px;
  background: var(--forest);
  color: var(--accent);
  border-radius: 100px;
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.highlight-quote {
  position: relative;
  margin: 32px 0;
  padding: 32px 44px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--cream) 100%);
  border-radius: 20px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.01em;
  border-left: 5px solid var(--accent);
}
.highlight-quote .q-mark {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 76px; font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.highlight-quote .q-mark:not(.right) { top: 12px; left: 20px; }
.highlight-quote .q-mark.right { bottom: -18px; right: 20px; }
.point h3.kicker {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900; line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 780px;
}
.point-body { max-width: 780px; }
.point-body p {
  font-size: 18px; line-height: 1.6;
  margin-bottom: 18px; color: var(--fg); opacity: 0.9;
}
.point-body h4 {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 36px; margin-bottom: 14px;
}
.point-body ul {
  list-style: none; padding: 0;
  margin: 6px 0 20px;
}
.point-body ul li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 18px; line-height: 1.55;
  color: var(--fg); opacity: 0.9;
}
.point-body ul li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--accent-dark); font-weight: 800;
}
.point-body .diag-q {
  background: var(--forest);
  color: var(--cream);
  border-radius: 16px;
  padding: 24px 28px;
  font-size: 20px; font-weight: 700;
  line-height: 1.35;
  margin-top: 8px;
}
.point-body .risk {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 22px 26px;
  font-size: 17px;
  color: var(--fg); opacity: 0.9;
  line-height: 1.55;
}
.point-body .action {
  background: transparent;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  padding: 22px 26px;
  font-size: 17px;
  color: var(--fg); opacity: 0.95;
  line-height: 1.55;
}
.point-body .action b { color: var(--accent-dark); }

/* CTA FINAL */
.cta-final {
  padding: 100px 0;
  background: var(--forest);
  color: var(--cream);
  margin-top: 60px;
}
.cta-final h2 {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 28px;
}
.cta-final p {
  font-size: 20px; line-height: 1.55;
  opacity: 0.85; margin-bottom: 22px;
  max-width: 720px;
}
.cta-final p b { color: var(--accent); }
.cta-final .card {
  margin-top: 44px;
  padding: 40px;
  background: rgba(232,220,196,0.06);
  border: 1px solid rgba(232,220,196,0.15);
  border-radius: 24px;
  max-width: 720px;
}
.cta-final .card h3 {
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.cta-final .card p { font-size: 19px; opacity: 1; margin-bottom: 12px; }
.cta-final .btn {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 20px;
  padding: 20px 34px;
  background: var(--accent);
  color: var(--forest);
  font-size: 18px; font-weight: 900;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s;
  white-space: nowrap;
}
.cta-final .btn:hover { transform: translateY(-2px); }

/* FOOTER */
.footer {
  padding: 40px 0 60px;
  background: var(--forest-dark);
  color: var(--cream);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7;
}
.footer .row {
  display: flex; justify-content: space-between; align-items: center;
}

/* MODAL (тест) */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(36, 48, 33, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg);
  border-radius: 32px;
  max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-strong);
  padding: 48px 44px;
}
.modal .close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  border: none; cursor: pointer;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.modal .step-tag {
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.modal h3 {
  font-size: 32px; font-weight: 900;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 12px;
}
.modal .q-desc {
  font-size: 16px; opacity: 0.8;
  margin-bottom: 32px;
}
.modal .role-btns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 20px;
}
.modal .role-btn {
  padding: 32px 24px;
  background: var(--cream);
  border: 2px solid var(--hairline);
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}
.modal .role-btn:hover {
  border-color: var(--accent);
  background: var(--bg-alt);
  transform: translateY(-2px);
}
.modal .role-btn .icon {
  font-size: 40px; margin-bottom: 12px;
}
.modal .role-btn .name {
  font-size: 20px; font-weight: 900;
  color: var(--fg);
}
.modal .role-btn .about {
  font-size: 13px; opacity: 0.7;
  margin-top: 6px;
}
.modal .yn-btns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 24px;
}
.modal .yn-btn {
  padding: 22px 20px;
  border-radius: 16px;
  font-size: 16px; font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid var(--hairline);
  background: var(--cream);
  color: var(--fg);
  transition: all 0.15s;
  font-family: inherit;
  line-height: 1.3;
  text-align: left;
}
.modal .yn-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--bg-alt);
}
.modal .progress {
  display: flex; gap: 6px; margin-bottom: 28px;
}
.modal .progress .p-dot {
  flex: 1; height: 6px;
  background: var(--hairline);
  border-radius: 100px;
  transition: background 0.3s;
}
.modal .progress .p-dot.done { background: var(--accent); }
.modal .result {
  padding: 32px 28px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 20px;
  margin: 20px 0;
}
.modal .result .res-title {
  font-size: 24px; font-weight: 900;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 12px;
}
.modal .result .res-title b { color: var(--accent); }
.modal .result p {
  font-size: 16px; opacity: 0.9;
  line-height: 1.55; margin-bottom: 10px;
}
.modal .result .action {
  margin-top: 16px; padding: 16px 20px;
  background: rgba(201,162,106,0.15);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 15px;
}
.modal .risk-card {
  display: flex;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.modal .risk-num {
  min-width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900;
  flex-shrink: 0;
}
.modal .risk-content { flex: 1; min-width: 0; }
.modal .risk-title {
  font-size: 16px; font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.25;
}
.modal .risk-text {
  font-size: 14px; opacity: 0.85;
  line-height: 1.5; margin-bottom: 10px;
  color: var(--fg);
}
.modal .risk-action {
  font-size: 14px; line-height: 1.5;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 8px;
  color: var(--fg);
}
.modal .risk-action b { color: var(--accent-dark); }

.audit-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.audit-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 800;
  color: var(--fg); opacity: 0.85;
  letter-spacing: 0.02em;
}
.audit-form input,
.audit-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--hairline);
  background: var(--cream);
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.audit-form input:focus,
.audit-form textarea:focus {
  border-color: var(--accent);
  background: var(--bg);
}
.audit-status {
  font-size: 14px; opacity: 0.85;
  margin-top: 10px;
  min-height: 20px;
}
.audit-status.error { color: #B84E20; }
.audit-status.ok { color: var(--accent-dark); }

.modal .again-btn {
  display: block; width: 100%;
  padding: 18px;
  background: transparent;
  border: 2px solid var(--forest);
  color: var(--forest);
  font-size: 15px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 20px;
  font-family: inherit;
  transition: all 0.2s;
}
.modal .again-btn:hover { transform: translateY(-2px); }
.modal .again-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--forest);
  font-size: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(201,162,106,0.25);
}
.modal .again-btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Audit success state */
.audit-success { text-align: center; padding: 20px 4px 8px; }
.audit-success .success-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--forest);
  font-size: 40px; font-weight: 800; line-height: 72px;
  margin: 0 auto 20px; box-shadow: 0 10px 28px rgba(201,162,106,0.35);
}
.audit-success h3 { font-size: 28px; margin: 0 0 12px; }
.audit-success .q-desc { margin-bottom: 24px; }
.audit-success .tg-link-btn {
  display: inline-block; text-decoration: none; text-align: center;
  width: 100%; box-sizing: border-box;
}
.audit-success .tg-hint {
  margin-top: 12px; font-size: 13px; opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .wrap, .narrow { padding: 0 24px; }
  .hero { padding: 40px 0 60px; }
  .hero .row { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .intro, .test-widget { padding: 60px 0; }
  .test-card { padding: 40px 30px; border-radius: 24px; }
  .point { padding: 40px 0; }
  .point-num .n { font-size: 54px; }
  .point-icon { width: 48px; height: 48px; font-size: 24px; }
  .point-header { flex-direction: row; align-items: center; gap: 12px; flex-wrap: nowrap; }
  .key-fact { font-size: 12px; padding: 8px 14px; }
  .key-fact { font-size: 13px; padding: 10px 16px; }
  .highlight-quote { padding: 24px 28px; font-size: 18px; margin: 24px 0; }
  .highlight-quote .q-mark { font-size: 56px; }
  .cta-final { padding: 60px 0; }
  .cta-final .card { padding: 28px; }
  .modal { padding: 32px 24px; border-radius: 24px; }
  .modal h3 { font-size: 24px; }
  .modal .role-btns, .modal .yn-btns { grid-template-columns: 1fr; }
  .regalia { padding: 40px 0 60px; }
  .regalia-grid { grid-template-columns: 1fr 1fr; }
  .regalia-list { grid-template-columns: 1fr; padding: 22px 22px; }
  .cta-final .btn {
    font-size: 14px; padding: 18px 22px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}
@media (max-width: 500px) {
  .regalia-grid { grid-template-columns: 1fr; }
}
