﻿:root {
  color-scheme: dark;
  --accent: #6f3d73;
  --accent-strong: #9b6aa0;
  --accent-soft: rgba(111, 61, 115, .18);
  --bg: #090b10;
  --bg-2: #11131a;
  --panel: rgba(22, 24, 33, .82);
  --panel-strong: rgba(30, 32, 43, .94);
  --panel-soft: rgba(255, 255, 255, .045);
  --ink: #f4efe9;
  --muted: #a8a0a0;
  --muted-2: #78727a;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .18);
  --success: #6ed0a7;
  --warning: #e4b45f;
  --danger: #e77575;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

:root[data-theme="light"] {
  color-scheme: light;
  --accent: #6f3d73;
  --accent-strong: #7f4c82;
  --accent-soft: rgba(111, 61, 115, .12);
  --bg: #f7f1ea;
  --bg-2: #efe5dd;
  --panel: rgba(255, 252, 247, .84);
  --panel-strong: rgba(255, 252, 247, .96);
  --panel-soft: rgba(86, 54, 48, .055);
  --ink: #20181a;
  --muted: #706365;
  --muted-2: #8d7f81;
  --line: rgba(59, 39, 42, .13);
  --line-strong: rgba(59, 39, 42, .2);
  --shadow: 0 28px 80px rgba(77, 48, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  font: 18px/1.55 "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% -8%, rgba(111, 61, 115, .42), transparent 33%),
    radial-gradient(circle at 88% 12%, rgba(183, 131, 76, .14), transparent 28%),
    linear-gradient(180deg, #0b0d12 0%, #101018 42%, #090b10 100%);
}
:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 18% -8%, rgba(111, 61, 115, .2), transparent 35%),
    radial-gradient(circle at 88% 12%, rgba(183, 131, 76, .16), transparent 30%),
    linear-gradient(180deg, #fbf4ec 0%, #f1e8df 44%, #f7f2ed 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.18) 72%, transparent);
}
:root[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(74,47,45,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,47,45,.045) 1px, transparent 1px);
}

button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
em { color: var(--accent-strong); font-style: normal; font-weight: 800; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  min-height: 78px;
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: sticky;
  top: 14px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 14, 20, .78);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, .32);
}
.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: -.8px; }
.logo-mark { width: 32px; height: 32px; display: grid; place-items: center; position: relative; border-radius: 11px; background: linear-gradient(145deg, var(--accent), #4b2a52); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 28px rgba(111,61,115,.26); }
.logo-mark span { position: absolute; width: 5px; border-radius: 8px; background: #ffe9df; transform: rotate(35deg); opacity: .92; }
.logo-mark span:nth-child(1) { height: 17px; left: 9px; top: 7px; }
.logo-mark span:nth-child(2) { height: 22px; left: 15px; top: 5px; }
.logo-mark span:nth-child(3) { height: 14px; left: 21px; top: 10px; }
.nav { display: flex; align-items: center; gap: 8px; margin: auto; padding: 5px; border: 1px solid rgba(255,255,255,.06); border-radius: 999px; background: rgba(255,255,255,.035); }
.nav a, .login-link { color: #d5ced0; font-size: 15px; font-weight: 700; transition: .2s; }
.nav a { padding: 9px 15px; border-radius: 999px; }
.nav a:hover { color: white; background: rgba(255,255,255,.08); }
.login-link:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.theme-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d5ced0;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: .2s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.075); }
.theme-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 35%, transparent 0 35%, #f2d2cb 36% 100%);
  box-shadow: inset -4px -3px 0 rgba(255,255,255,.12);
}
:root[data-theme="light"] .theme-toggle { color: #4a3d3f; background: rgba(255,255,255,.56); }
:root[data-theme="light"] .theme-toggle-icon {
  background: radial-gradient(circle at 50% 50%, #6f3d73 0 34%, transparent 35%), conic-gradient(from 0deg, #6f3d73, #d7a057, #6f3d73);
  box-shadow: none;
}
.button {
  min-height: 56px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 46px; padding: 0 20px; color: #fff5ef; background: linear-gradient(135deg, var(--accent), #4b2a52); box-shadow: 0 16px 34px rgba(111,61,115,.28); }
.button-primary { color: #fff8f3; background: linear-gradient(135deg, var(--accent-strong), #5b3564); box-shadow: 0 18px 42px rgba(111,61,115,.33); }
.button-primary:hover, .button-small:hover { box-shadow: 0 22px 52px rgba(111,61,115,.42); }
.button-white { color: #210d13; background: #fff1e8; box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.045); padding: 8px; }
.menu-button span { display: block; width: 22px; height: 2px; margin: 4px; border-radius: 2px; background: var(--ink); }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 710px;
  margin: 0 auto;
  padding: 94px 0 86px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 46px;
}
.hero-copy { position: relative; }
.eyebrow, .section-label {
  color: #c4a3d0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow .eyebrow-line { width: 32px; height: 1px; flex: 0 0 auto; background: linear-gradient(90deg, var(--accent-strong), transparent); }
.audience-rotator { min-width: 230px; height: 1.4em; display: inline-flex; align-items: center; overflow: hidden; color: #f0d5d8; }
.audience-rotator span { transition: opacity .18s ease, transform .18s ease; }
.audience-rotator span.is-changing { opacity: 0; transform: translateY(7px); }
h1 { max-width: 690px; margin: 24px 0 24px; font-size: clamp(58px, 6vw, 92px); line-height: .96; letter-spacing: -5px; }
h1 em { display: block; text-shadow: 0 0 34px rgba(155, 106, 160, .22); }
.hero-text { max-width: 640px; margin: 0; color: var(--muted); font-size: 22px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #ddd2d1; font-size: 16px; font-weight: 800; }
.play { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: #ffd9d0; background: rgba(255,255,255,.06); }
.trust-row { display: flex; align-items: center; gap: 16px; margin-top: 54px; padding: 16px; width: fit-content; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.avatar-stack { display: flex; }
.avatar-stack span { width: 38px; height: 38px; margin-right: -9px; display: grid; place-items: center; border: 2px solid #151720; border-radius: 50%; color: #fff5ef; background: #493052; font-size: 11px; font-weight: 800; }
.avatar-stack span:nth-child(2) { background: #514134; }
.avatar-stack span:nth-child(3) { background: #343e55; }
.trust-row p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.trust-row strong { color: var(--ink); font-size: 14px; }
.divider { height: 34px; width: 1px; background: var(--line); margin: 0 4px; }

.hero-visual { min-height: 545px; display: grid; place-items: center; position: relative; }
.orbit { position: absolute; border: 1px solid rgba(155,106,160,.22); border-radius: 50%; opacity: .7; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 410px; height: 410px; border-color: rgba(255,255,255,.1); }
.document-card {
  width: min(100%, 520px);
  padding: 20px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(34,36,48,.96), rgba(18,20,29,.96));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.document-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 42%, rgba(111,61,115,.12));
}
.doc-top, .doc-file, .doc-score, .finding, .suggestion, .float-card, .scan-header, .export-demo { display: flex; align-items: center; }
.doc-top { justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; }
.doc-file { gap: 12px; }
.file-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff3ef; background: rgba(111,61,115,.24); border: 1px solid rgba(155,106,160,.28); font-size: 13px; font-weight: 900; }
.doc-file strong, .doc-file small { display: block; }
.doc-file strong { font-size: 16px; }
.doc-file small, .muted { margin-top: 3px; color: var(--muted-2); font-size: 12px; }
.status { padding: 7px 10px; border: 1px solid rgba(110,208,167,.22); border-radius: 999px; color: #9be3c5; background: rgba(110,208,167,.08); font-size: 12px; font-weight: 800; white-space: nowrap; }
.doc-score { gap: 16px; padding: 22px 4px 18px; position: relative; }
.score-ring { width: 72px; height: 72px; display: grid; place-content: center; text-align: center; border: 6px solid rgba(255,255,255,.09); border-top-color: var(--accent-strong); border-right-color: var(--accent-strong); border-radius: 50%; transform: rotate(25deg); }
.score-ring span, .score-ring small { transform: rotate(-25deg); }
.score-ring span { font-size: 22px; font-weight: 900; line-height: 1; }
.score-ring small { color: var(--muted); font-size: 9px; }
.doc-score strong { display: block; margin: 4px 0 3px; font-size: 16px; }
.doc-score p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.finding-list { display: grid; gap: 9px; position: relative; }
.finding { width: 100%; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; text-align: left; background: rgba(255,255,255,.045); cursor: pointer; transition: .2s; }
.finding:hover, .finding.active { border-color: rgba(155,106,160,.5); background: rgba(111,61,115,.12); box-shadow: 0 12px 28px rgba(0,0,0,.22); transform: translateX(-3px); }
.finding-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; font-size: 13px; font-weight: 900; }
.finding-icon.risk { color: #ffc7c7; background: rgba(231,117,117,.13); }
.finding-icon.warning { color: #f0ca7a; background: rgba(228,180,95,.14); }
.finding-icon.info { color: #d7b4e2; background: rgba(155,106,160,.15); }
.finding span:nth-child(2) { flex: 1; }
.finding strong, .finding small { display: block; }
.finding strong { font-size: 14px; }
.finding small { margin-top: 3px; color: var(--muted-2); font-size: 12px; }
.finding b { padding: 5px 8px; border-radius: 999px; color: #ffd1d1; background: rgba(231,117,117,.12); font-size: 11px; }
.finding:nth-child(2) b { color: #f2cd82; background: rgba(228,180,95,.13); }
.finding:nth-child(3) b { color: #d8b7e2; background: rgba(155,106,160,.13); }
.suggestion { gap: 11px; margin-top: 14px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; color: #fff6ef; background: linear-gradient(135deg, rgba(111,61,115,.95), rgba(91,29,44,.95)); box-shadow: 0 18px 36px rgba(111,61,115,.22); position: relative; }
.spark { font-size: 16px; }
.suggestion div { flex: 1; }
.suggestion small { opacity: .72; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.suggestion p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; }
.suggestion button { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; color: white; background: rgba(255,255,255,.08); cursor: pointer; }
.float-card { gap: 10px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(20,22,31,.86); box-shadow: 0 20px 42px rgba(0,0,0,.35); position: absolute; z-index: 3; animation: float 4s ease-in-out infinite; backdrop-filter: blur(14px); }
.float-card > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #082019; background: var(--success); font-size: 12px; font-weight: 900; }
.float-card strong, .float-card small { display: block; }
.float-card strong { color: #fff7f0; font-size: 14px; }
.float-card small { margin-top: 2px; color: #bdb3b4; font-size: 12px; }
.float-left { left: -8px; top: 120px; }
.float-right { right: -10px; bottom: 105px; animation-delay: -2s; }
.float-right > span { color: #fff5ef; background: var(--accent); }
@keyframes float { 50% { transform: translateY(-8px); } }

.logos {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  border-top: 1px solid var(--line);
}
.logos span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
}
.logos i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-strong);
  opacity: .6;
}

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 118px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 45px; }
.section-heading h2, .center-heading h2, .compare-copy h2, .faq-section h2, .cta-section h2 { margin: 15px 0 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -2.8px; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  min-height: 340px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 48px rgba(0,0,0,.2);
}
.feature::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,61,115,.18), transparent 65%);
}
.feature h3 { max-width: 440px; margin: 18px 0 12px; font-size: 28px; line-height: 1.2; letter-spacing: -1px; }
.feature p { max-width: 470px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.feature-number { color: #c4a3d0; font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.feature-large { grid-column: span 2; min-height: 375px; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; }
.feature-copy h3 { font-size: 36px; }
.scan-demo { width: 90%; min-height: 280px; margin-left: auto; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #151720; box-shadow: 0 24px 58px rgba(0,0,0,.32); transform: rotate(1.3deg); position: relative; overflow: hidden; }
.scan-header { justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.scan-header b { color: #d8b7e2; }
.scan-lines { display: grid; gap: 15px; margin-top: 28px; }
.scan-lines i { width: 100%; height: 7px; border-radius: 999px; background: rgba(255,255,255,.1); }
.scan-lines .marked { background: linear-gradient(90deg, rgba(255,255,255,.1) 0 25%, rgba(155,106,160,.42) 25% 75%, rgba(255,255,255,.1) 75%); }
.scan-lines .short { width: 55%; }
.scan-beam { position: absolute; inset: 0; height: 2px; background: var(--accent-strong); box-shadow: 0 0 28px 6px rgba(155,106,160,.2); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 23%; } 50% { top: 85%; } }
.scan-tag { padding: 9px 11px; border: 1px solid rgba(231,117,117,.2); border-radius: 999px; color: #ffc7c7; background: rgba(231,117,117,.12); font-size: 12px; font-weight: 800; position: absolute; right: 35px; top: 128px; }
.mini-icon { width: 58px; height: 58px; margin-top: 42px; display: grid; place-items: center; border-radius: 17px; color: #ead4f2; background: rgba(111,61,115,.18); border: 1px solid rgba(155,106,160,.22); font-size: 19px; font-weight: 900; }
.replace-demo { margin-top: 28px; display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(0,0,0,.2); font-size: 15px; }
.replace-demo del { color: #f19a9a; }
.replace-demo span { color: #9be3c5; font-weight: 800; }
.feature-blue { color: white; background: linear-gradient(135deg, rgba(111,61,115,.92), rgba(58,31,43,.92)); border-color: rgba(255,255,255,.14); }
.feature-blue .feature-number, .feature-blue p { color: rgba(255,255,255,.72); }
.feature-blue a { display: inline-flex; gap: 10px; margin-top: 28px; font-size: 15px; font-weight: 900; }
.compare-papers { width: 105px; height: 76px; margin-top: 30px; position: relative; }
.compare-papers span { width: 56px; height: 70px; padding: 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.1); position: absolute; }
.compare-papers span:nth-child(2) { left: 38px; top: 8px; background: rgba(255,255,255,.18); }
.compare-papers i { left: 39px; top: 26px; position: absolute; z-index: 2; font-size: 15px; }
.feature-wide { grid-column: span 2; min-height: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.export-demo { min-width: 350px; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.22); }
.export-demo > span { padding: 9px; border-radius: 10px; color: #ead6f2; background: rgba(111,61,115,.16); font-size: 13px; font-weight: 900; }
.export-demo div { flex: 1; }
.export-demo strong, .export-demo small { display: block; font-size: 15px; }
.export-demo small { margin-top: 3px; color: var(--success); font-size: 13px; }
.export-demo b { color: #ead6f2; }

.compare-section { padding: 118px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border-block: 1px solid var(--line); }
.compare-copy p { max-width: 540px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.compare-copy ul { margin: 28px 0 32px; padding: 0; display: grid; gap: 14px; list-style: none; color: #ddd2d1; font-size: 16px; font-weight: 700; line-height: 1.5; }
.compare-copy li { display: flex; align-items: center; gap: 12px; }
.compare-copy li span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #08120e; background: var(--success); font-size: 10px; font-weight: 900; flex: 0 0 auto; }
.compare-visual { min-height: 455px; display: grid; place-items: center; position: relative; }
.version-card { width: 310px; min-height: 350px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #151720; box-shadow: var(--shadow); position: absolute; }
.version-card small, .version-card span { display: block; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.version-card strong { display: block; margin-top: 76px; font-size: 18px; line-height: 1.85; }
.version-card mark { padding: 4px 3px; color: #ffc7c7; background: rgba(231,117,117,.18); border-radius: 5px; }
.version-card span { margin-top: 92px; }
.version-old { left: 4%; transform: rotate(-5deg); }
.version-new { right: 6%; z-index: 2; transform: rotate(4deg); }
.version-new mark { color: #9be3c5; background: rgba(110,208,167,.16); }
.difference-count { width: 126px; height: 126px; display: grid; place-content: center; border: 7px solid rgba(255,255,255,.09); border-top-color: var(--accent-strong); border-radius: 50%; text-align: center; background: #181a23; box-shadow: 0 20px 42px rgba(0,0,0,.36); position: absolute; z-index: 3; }
.difference-count strong { color: #ead6f2; font-size: 30px; }
.difference-count span { color: var(--muted); font-size: 12px; line-height: 1.35; }

.center-heading { text-align: center; }
.case-tabs { width: fit-content; margin: 40px auto 20px; padding: 6px; display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); }
.case-tabs button { padding: 11px 18px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: 15px; font-weight: 800; cursor: pointer; }
.case-tabs button.active { color: #fff5ef; background: var(--accent); box-shadow: 0 10px 24px rgba(111,61,115,.26); }
.case-panel { min-height: 390px; padding: 46px; display: grid; grid-template-columns: 1fr .78fr; gap: 64px; align-items: center; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.028)); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.case-kicker { color: #c4a3d0; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.2px; }
.case-panel h3 { margin: 15px 0; font-size: 34px; line-height: 1.18; letter-spacing: -1.4px; }
.case-panel p { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.case-stats { display: grid; gap: 0; margin-top: 34px; }
.case-stats div { display: grid; grid-template-columns: minmax(160px, auto) 1fr; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.case-stats div:last-child { border-bottom: 1px solid var(--line); }
.case-stats strong { color: #ead6f2; font-size: 20px; letter-spacing: -.4px; }
.case-stats span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.quote-card { padding: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; color: #fff7f0; background: linear-gradient(145deg, rgba(111,61,115,.95), rgba(64,29,42,.95)); box-shadow: 0 24px 58px rgba(111,61,115,.22); }
.quote-card > span { font-size: 52px; line-height: .7; opacity: .38; }
.quote-card blockquote { margin: 20px 0 30px; font-size: 19px; line-height: 1.6; }
.quote-card > div { display: flex; align-items: center; gap: 12px; }
.quote-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font-size: 11px; font-weight: 900; }
.quote-card p { margin: 0; color: white; }
.quote-card strong, .quote-card small { display: block; font-size: 15px; }
.quote-card small { margin-top: 3px; opacity: .68; font-size: 12px; }

.steps-section { padding: 110px max(24px, calc((100vw - 1180px) / 2)); background: transparent; }
.steps { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.045); position: relative; }
.steps article > span { color: #c4a3d0; font-size: 13px; font-weight: 900; }
.step-icon { width: 58px; height: 58px; margin-top: 35px; display: grid; place-items: center; border-radius: 17px; color: #ead6f2; background: rgba(111,61,115,.16); border: 1px solid rgba(155,106,160,.22); font-size: 20px; }
.steps h3 { margin: 20px 0 9px; font-size: 24px; }
.steps p { color: var(--muted); font-size: 17px; line-height: 1.65; }

.faq-section { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 118px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-section > div:first-child p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #f0e8e5; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary span { color: #d8b7e2; font-size: 22px; font-weight: 400; transition: .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -8px 34px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

.cta-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto 26px; padding: 92px 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 32px; color: white; text-align: center; background: linear-gradient(135deg, #34203d, #171923 56%, #1d1625); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.cta-orb { width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.028), 0 0 0 180px rgba(155,106,160,.04); position: absolute; left: 50%; top: -260px; transform: translateX(-50%); }
.section-label.light { color: #d9b6e2; position: relative; }
.cta-section h2 { position: relative; max-width: 900px; margin-left: auto; margin-right: auto; }
.cta-section p { max-width: 620px; margin: 22px auto 30px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; position: relative; }
.cta-section .button { position: relative; }
.cta-section small { margin-top: 18px; display: block; color: rgba(255,255,255,.55); font-size: 13px; position: relative; }
footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 48px; display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
footer p { margin-right: auto; }
footer div { display: flex; gap: 24px; }
footer a:hover { color: var(--ink); }

:root[data-theme="light"] .site-header {
  background: rgba(255, 250, 244, .78);
  box-shadow: 0 14px 44px rgba(77, 48, 42, .12);
}
:root[data-theme="light"] .nav {
  background: rgba(255,255,255,.46);
  border-color: rgba(59,39,42,.08);
}
:root[data-theme="light"] .nav a,
:root[data-theme="light"] .login-link,
:root[data-theme="light"] .text-link {
  color: #54484a;
}
:root[data-theme="light"] .nav a:hover {
  color: #1f1719;
  background: rgba(111,61,115,.08);
}
:root[data-theme="light"] .menu-button {
  background: rgba(255,255,255,.55);
}
:root[data-theme="light"] .menu-button span {
  background: var(--ink);
}
:root[data-theme="light"] .eyebrow,
:root[data-theme="light"] .section-label,
:root[data-theme="light"] .case-kicker,
:root[data-theme="light"] .feature-number,
:root[data-theme="light"] .steps article > span {
  color: #6f3d73;
}
:root[data-theme="light"] .audience-rotator {
  color: #5d3668;
}
:root[data-theme="light"] .play,
:root[data-theme="light"] .trust-row,
:root[data-theme="light"] .feature,
:root[data-theme="light"] .case-panel,
:root[data-theme="light"] .steps article {
  background: rgba(255,255,255,.56);
  border-color: var(--line);
}
:root[data-theme="light"] .avatar-stack span {
  border-color: #f8f0e8;
}
:root[data-theme="light"] .document-card,
:root[data-theme="light"] .scan-demo,
:root[data-theme="light"] .version-card {
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(252,246,240,.94));
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .document-card::before {
  background: linear-gradient(135deg, rgba(255,255,255,.7), transparent 42%, rgba(111,61,115,.08));
}
:root[data-theme="light"] .file-icon,
:root[data-theme="light"] .mini-icon,
:root[data-theme="light"] .step-icon,
:root[data-theme="light"] .export-demo > span {
  color: #5b3564;
  background: rgba(111,61,115,.1);
  border-color: rgba(111,61,115,.16);
}
:root[data-theme="light"] .finding,
:root[data-theme="light"] .replace-demo,
:root[data-theme="light"] .export-demo {
  background: rgba(255,255,255,.64);
  border-color: var(--line);
}
:root[data-theme="light"] .finding:hover,
:root[data-theme="light"] .finding.active {
  background: rgba(111,61,115,.08);
  border-color: rgba(111,61,115,.28);
}
:root[data-theme="light"] .scan-lines i {
  background: rgba(59,39,42,.12);
}
:root[data-theme="light"] .scan-lines .marked {
  background: linear-gradient(90deg, rgba(59,39,42,.12) 0 25%, rgba(155,106,160,.24) 25% 75%, rgba(59,39,42,.12) 75%);
}
:root[data-theme="light"] .feature-blue,
:root[data-theme="light"] .quote-card,
:root[data-theme="light"] .suggestion {
  color: #fff8f3;
  background: linear-gradient(135deg, #6f3d73, #3c2445);
}
:root[data-theme="light"] .feature-blue p,
:root[data-theme="light"] .feature-blue .feature-number {
  color: rgba(255,255,255,.76);
}
:root[data-theme="light"] .compare-section {
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.18));
}
:root[data-theme="light"] .compare-copy ul {
  color: #4c4244;
}
:root[data-theme="light"] .difference-count {
  background: #fffaf4;
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .difference-count strong,
:root[data-theme="light"] .export-demo b {
  color: #6f3d73;
}
:root[data-theme="light"] .case-tabs {
  background: rgba(255,255,255,.54);
  border-color: var(--line);
}
:root[data-theme="light"] .case-tabs button {
  color: #706365;
}
:root[data-theme="light"] .case-tabs button.active {
  color: #fff8f3;
}
:root[data-theme="light"] .case-stats strong,
:root[data-theme="light"] .faq-list summary {
  color: #261c1e;
}
:root[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, #5d3668, #2a1820 58%, #4b2f55);
}
:root[data-theme="light"] footer a:hover {
  color: #261c1e;
}

@media (max-width: 980px) {
  .site-header { width: calc(100% - 24px); min-height: 66px; margin-top: 8px; top: 8px; border-radius: 22px; }
  .nav { display: none; padding: 12px; border-radius: 18px; background: rgba(18,20,29,.98); box-shadow: var(--shadow); position: absolute; left: 0; right: 0; top: 78px; }
  .nav.open { display: grid; gap: 4px; }
  .nav a { padding: 12px 14px; }
  .menu-button { display: block; margin-left: auto; }
  .header-actions .button { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .trust-row { width: 100%; max-width: 620px; justify-content: center; }
  h1 { letter-spacing: -3.5px; }
  .hero-visual { width: 100%; }
  .float-left { left: 0; }
  .float-right { right: 0; }
  .section-heading, .feature-wide { align-items: start; flex-direction: column; gap: 25px; }
  .compare-section, .case-panel, .faq-section { grid-template-columns: 1fr; }
  .compare-section { gap: 20px; }
  .case-panel, .faq-section { gap: 35px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-actions { margin-left: auto; gap: 12px; }
  .menu-button { margin-left: 0; }
  .hero, .section, .cta-section, footer { width: calc(100% - 28px); }
  .logos { width: calc(100% - 28px); gap: 6px 16px; padding: 22px 0 2px; }
  .logos span { font-size: 11px; letter-spacing: .2px; }
  .logos i { display: none; }
  .hero { min-height: auto; padding: 56px 0 70px; gap: 18px; }
  .eyebrow { width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 5px; }
  .audience-rotator { min-width: 220px; justify-content: center; }
  h1 { font-size: 46px; letter-spacing: -2.6px; }
  .hero-text { font-size: 18px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row { margin-top: 34px; flex-wrap: wrap; text-align: left; }
  .divider { display: none; }
  .hero-visual { min-height: 440px; width: 100%; max-width: 100%; overflow: hidden; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 350px; height: 350px; }
  .document-card { width: calc(100% - 8px); padding: 14px; transform: none; }
  .doc-top { align-items: flex-start; }
  .float-card { display: none; }
  .section { padding: 82px 0; }
  .section-heading h2, .center-heading h2, .compare-copy h2, .faq-section h2, .cta-section h2 { font-size: 38px; letter-spacing: -2px; }
  .section-heading p, .compare-copy p, .cta-section p { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .steps article { padding: 26px; }
  .feature-large, .feature-wide { grid-column: auto; }
  .feature-large { grid-template-columns: 1fr; gap: 30px; }
  .feature h3, .case-panel h3 { font-size: 26px; }
  .scan-demo { width: 100%; transform: none; }
  .export-demo { min-width: 100%; }
  .compare-section, .steps-section { padding: 82px 20px; }
  .compare-visual { width: 100%; min-height: 390px; overflow: hidden; }
  .version-card { width: 255px; min-height: 315px; padding: 24px; }
  .version-old { left: -28px; transform: rotate(-4deg) scale(.88); }
  .version-new { right: -28px; transform: rotate(4deg) scale(.88); }
  .difference-count { width: 96px; height: 96px; }
  .case-tabs { width: 100%; overflow-x: auto; justify-content: start; border-radius: 18px; }
  .case-tabs button { white-space: nowrap; }
  .case-panel { padding: 28px; }
  .case-stats div { grid-template-columns: 1fr; gap: 4px; }
  .case-stats span { max-width: none; font-size: 14px; }
  .faq-section { width: calc(100% - 40px); padding: 82px 0; }
  .cta-section { padding: 72px 22px; }
  footer { flex-wrap: wrap; }
  footer p { width: 100%; }
}

@media (max-width: 440px) {
  .site-header { width: calc(100% - 16px); padding: 10px 10px 10px 14px; gap: 10px; }
  .login-link { font-size: 14px; }
  .hero, .section, .cta-section, footer { width: calc(100% - 20px); }
  h1 { font-size: 41px; }
  .hero-visual { min-height: 420px; }
  .doc-score { align-items: flex-start; }
  .finding { padding: 9px 7px; gap: 7px; }
  .finding b { padding: 4px; }
  .suggestion { padding: 10px 8px; }
  .compare-section, .steps-section { padding-left: 10px; padding-right: 10px; }
  .case-panel { padding: 22px 18px; }
  .quote-card { padding: 26px; }
  .faq-section { width: calc(100% - 24px); }
}


/* ════════════════════════════════════════════════════════════════════════════
   PRODUCTION-ONLY БЛОКИ (отсутствуют в дизайн-дропе landing_dctool_4):
   анонимный пробный анализ, cookie-баннер, юр-страницы.
   Используют ТОЛЬКО тематические токены dctool_4 → работают в тёмной и светлой.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Trial section (анонимный анализ) ───────────────────────────────────────── */
.trial-section { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 118px 0; }
.trial-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.trial-head h2 { margin: 14px 0 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; letter-spacing: -2.8px; }
.trial-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.trial-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--panel-strong); backdrop-filter: blur(18px); box-shadow: var(--shadow); }

.trial-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 46px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--panel-soft); text-align: center; cursor: pointer; transition: .2s; }
.trial-drop:hover, .trial-drop.dragover { border-color: var(--accent-strong); background: var(--accent-soft); }
.trial-drop:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.trial-drop-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: #ead6f2; background: rgba(111, 61, 115, .2); border: 1px solid rgba(155, 106, 160, .26); font-size: 24px; }
.trial-drop-title { margin: 6px 0 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.trial-drop-sub { margin: 0; color: var(--muted); font-size: 13px; }
.trial-file-name { margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--accent-strong); }
.trial-run { width: 100%; margin-top: 22px; }
.trial-run:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.trial-consent { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; text-align: center; }
.trial-consent a { color: var(--accent-strong); text-decoration: underline; }
.trial-error { margin: 14px 0 0; padding: 11px 14px; border-radius: 14px; color: var(--danger); background: rgba(231, 117, 117, .12); border: 1px solid rgba(231, 117, 117, .28); font-size: 14px; line-height: 1.5; }

.trial-state[data-state="loading"], .trial-state[data-state="blocked"] { text-align: center; padding: 26px 0; }
.trial-spinner { width: 48px; height: 48px; margin: 0 auto 18px; border: 4px solid var(--line-strong); border-top-color: var(--accent-strong); border-radius: 50%; animation: trial-spin .8s linear infinite; }
@keyframes trial-spin { to { transform: rotate(360deg); } }
.trial-loading-title { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--ink); }
.trial-loading-sub { margin: 0; color: var(--muted); font-size: 13px; }

.trial-result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.trial-result-label { color: var(--accent-strong); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px; }
.trial-result-head h3 { margin: 8px 0 0; font-size: 26px; letter-spacing: -1px; color: var(--ink); }
.trial-overall { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.trial-risks { display: grid; gap: 12px; }
.trial-risk { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--panel-soft); }
.trial-risk-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }
.trial-risk .lvl { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.trial-risk .cat { font-size: 15px; font-weight: 800; color: var(--ink); }
.trial-risk .clause { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.trial-risk .desc { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.trial-risk .rec { margin: 0; padding: 11px 13px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 14px; line-height: 1.55; }
.trial-risk .rec b { color: var(--accent-strong); }
.lvl-low { color: var(--success); background: rgba(110, 208, 167, .14); }
.lvl-medium { color: var(--warning); background: rgba(228, 180, 95, .14); }
.lvl-high { color: var(--danger); background: rgba(231, 117, 117, .14); }
.lvl-critical { color: #fff; background: var(--danger); }

.trial-cta { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.trial-cta p { max-width: 560px; margin: 0 auto 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.trial-blocked-icon { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: var(--danger); background: rgba(231, 117, 117, .14); font-size: 28px; font-weight: 900; }
.trial-state[data-state="blocked"] h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -1px; color: var(--ink); }
.trial-state[data-state="blocked"] p { max-width: 460px; margin: 0 auto 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ── Cookie banner ──────────────────────────────────────────────────────────── */
.cookie-banner { display: none; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(880px, calc(100% - 32px)); align-items: center; gap: 22px; padding: 15px 16px 15px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--panel-strong); backdrop-filter: blur(20px); box-shadow: var(--shadow); z-index: 50; }
.cookie-banner.is-visible { display: flex; animation: cookie-rise .35s ease; }
@keyframes cookie-rise { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-banner-text { flex: 1; display: grid; gap: 4px; }
.cookie-banner-text strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.cookie-banner-text span { font-size: 13px; line-height: 1.55; color: var(--muted); }
.cookie-banner-text a { color: var(--accent-strong); text-decoration: underline; }
.cookie-accept { flex-shrink: 0; min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px; color: #fff8f3; background: linear-gradient(135deg, var(--accent-strong), #5b3564); font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 16px 34px rgba(111, 61, 115, .28); transition: transform .2s, box-shadow .2s; }
.cookie-accept:hover { transform: translateY(-2px); box-shadow: 0 22px 52px rgba(111, 61, 115, .42); }

/* ── Legal pages (NDA, cookie) ──────────────────────────────────────────────── */
.legal-page { width: min(820px, calc(100% - 48px)); margin: 36px auto 80px; padding: 48px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--panel-strong); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--accent-strong); font-size: 14px; font-weight: 800; }
.legal-page h1 { margin: 0 0 6px; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; letter-spacing: -2px; color: var(--ink); }
.legal-meta { margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.legal-page h2 { margin: 32px 0 12px; font-size: 21px; letter-spacing: -.4px; color: var(--ink); }
.legal-page p, .legal-page li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal-page ul { margin: 0 0 14px; padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--accent-strong); text-decoration: underline; }

@media (max-width: 900px) {
  .trial-result-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 620px) {
  .trial-section { width: calc(100% - 28px); padding: 82px 0; }
  .trial-card { padding: 22px; }
  .trial-drop { padding: 34px 16px; }
  .trial-risk-top { flex-wrap: wrap; }
  .trial-risk .clause { margin-left: 0; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; bottom: 12px; }
  .cookie-accept { width: 100%; }
  .legal-page { padding: 26px; }
}
