:root {
  color-scheme: dark;
  --bg: #050a10;
  --bg-elevated: #09121c;
  --panel: rgba(12, 24, 36, .86);
  --panel-solid: #0c1824;
  --panel-soft: #101e2c;
  --line: rgba(153, 194, 215, .15);
  --line-strong: rgba(100, 245, 196, .3);
  --text: #edf7fa;
  --muted: #93a9b5;
  --muted-light: #b9c9d0;
  --green: #64f5c4;
  --cyan: #31d7eb;
  --violet: #9b72ff;
  --amber: #ffcb6b;
  --danger: #ff7b8b;
  --good: #63e6a9;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 4%, rgba(49, 215, 235, .09), transparent 31rem),
    radial-gradient(circle at 94% 18%, rgba(155, 114, 255, .09), transparent 28rem),
    linear-gradient(180deg, #071019 0, #050a10 38rem, #060c13 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
svg { display: block; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #03100b;
  background: var(--green);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  position: relative;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { border-radius: 12px; box-shadow: 0 0 28px rgba(100, 245, 196, .12); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy b { font-size: 17px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.header-actions, .language-switcher, .back-link { display: flex; align-items: center; }
.header-actions { gap: 18px; }
.language-switcher {
  padding: 4px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.lang-button {
  width: 38px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: pointer;
}
.lang-button:hover { color: var(--text); }
.lang-button.is-active { color: #03130d; background: var(--green); box-shadow: 0 7px 20px rgba(100, 245, 196, .18); }
.back-link {
  gap: 7px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.back-link:hover { color: var(--green); }
.back-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero {
  min-height: 530px;
  padding: 74px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  align-items: center;
  gap: 78px;
}
.hero-copy { max-width: 700px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(100, 245, 196, .08), 0 0 18px var(--green);
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 5.1vw, 76px);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--green), var(--cyan) 54%, #89aaff);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted-light);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: #b9cbd2;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}
.trust-row svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 1.8; }

.semantic-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 470px);
  aspect-ratio: 1.08;
  margin-inline: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(49, 215, 235, .12), transparent 35%),
    linear-gradient(145deg, rgba(15, 31, 46, .74), rgba(6, 13, 21, .5));
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.semantic-visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 40deg, transparent 0 25%, rgba(100, 245, 196, .09), transparent 48% 75%, rgba(155, 114, 255, .09));
  animation: visual-spin 18s linear infinite;
}
.visual-grid {
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(rgba(118, 173, 194, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(118, 173, 194, .09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(100, 245, 196, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-17deg);
}
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
.orbit-one { width: 65%; height: 40%; }
.orbit-one::after { top: 18%; left: 5%; }
.orbit-two { width: 41%; height: 73%; transform: translate(-50%, -50%) rotate(40deg); border-color: rgba(155, 114, 255, .25); }
.orbit-two::after { right: 8%; bottom: 18%; background: var(--violet); box-shadow: 0 0 16px var(--violet); }
.core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 158px;
  height: 158px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(100, 245, 196, .4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 27%, #173249, #09141f 72%);
  box-shadow: 0 0 70px rgba(49, 215, 235, .17), inset 0 0 30px rgba(100, 245, 196, .06);
  transform: translate(-50%, -50%);
}
.core-node::before, .core-node::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(100, 245, 196, .18); border-radius: 50%; }
.core-node::after { inset: -12px; border-style: solid; border-color: rgba(49, 215, 235, .08); }
.core-node small { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .22em; }
.core-node strong { margin-top: 5px; font-size: 18px; letter-spacing: .03em; }
.core-node i { width: 34px; height: 3px; margin: 13px auto 0; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 10px var(--green); }
.satellite {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: var(--muted-light);
  background: rgba(7, 16, 25, .9);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 9px 30px rgba(0, 0, 0, .25);
}
.satellite b { color: var(--green); font-size: 11px; }
.satellite-title { top: 17%; left: 9%; }
.satellite-h1 { top: 20%; right: 8%; }
.satellite-keyword { right: 8%; bottom: 20%; }
.visual-caption { position: absolute; left: 22px; bottom: 18px; display: flex; align-items: center; gap: 8px; color: #718894; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.visual-caption > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
@keyframes visual-spin { to { transform: rotate(360deg); } }

.privacy-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 19px 22px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, rgba(100, 245, 196, .07), rgba(49, 215, 235, .025));
  border: 1px solid rgba(100, 245, 196, .17);
  border-radius: var(--radius-lg);
}
.privacy-icon { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(100, 245, 196, .09); border-radius: 12px; }
.privacy-icon svg { width: 22px; fill: none; stroke: var(--green); stroke-width: 1.7; }
.privacy-strip strong { display: block; font-size: 14px; }
.privacy-strip p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.local-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: var(--green); background: rgba(100, 245, 196, .06); border: 1px solid rgba(100, 245, 196, .13); border-radius: 99px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.local-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.analyzer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: start;
  gap: 24px;
}
.panel {
  background: linear-gradient(145deg, rgba(14, 27, 41, .94), rgba(8, 17, 26, .94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .025);
}
.input-panel { padding: clamp(24px, 3vw, 38px); }
.panel-heading { margin-bottom: 30px; }
.panel-heading > div, .section-heading > div, .method-heading { display: flex; align-items: center; gap: 12px; }
.step-label { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.panel-heading h2, .section-heading h2, .method-heading h2 { margin: 0; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.025em; }
.panel-heading p { margin: 7px 0 0 36px; color: var(--muted); font-size: 13px; }

.field-group { margin-top: 23px; }
.field-label-row { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.field-label-row label { color: #dfecef; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.field-label-row label span { color: #708791; font-weight: 600; }
.field-label-row output { color: #6f8792; font-size: 10px; font-weight: 700; white-space: nowrap; }
input, textarea {
  width: 100%;
  color: var(--text);
  background: rgba(3, 9, 14, .54);
  border: 1px solid rgba(138, 178, 195, .16);
  border-radius: 12px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input { height: 48px; padding: 0 15px; }
textarea { min-height: 92px; padding: 13px 15px; resize: vertical; line-height: 1.55; }
#content { min-height: 300px; }
input::placeholder, textarea::placeholder { color: #536975; }
input:hover, textarea:hover { border-color: rgba(138, 178, 195, .28); }
input:focus, textarea:focus { background: rgba(4, 12, 19, .78); border-color: rgba(100, 245, 196, .62); box-shadow: 0 0 0 3px rgba(100, 245, 196, .08), 0 0 24px rgba(100, 245, 196, .05); }
textarea.is-invalid, input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 123, 139, .08); }
.field-hint { margin: 7px 2px 0; color: #667d88; font-size: 10px; }
.input-with-icon { position: relative; }
.input-with-icon svg { position: absolute; top: 50%; left: 14px; width: 17px; transform: translateY(-50%); fill: none; stroke: #6f8792; stroke-width: 1.8; }
.input-with-icon input { padding-left: 42px; }
.form-alert { margin-top: 18px; padding: 11px 13px; color: #ffd7dd; background: rgba(255, 123, 139, .08); border: 1px solid rgba(255, 123, 139, .22); border-radius: 10px; font-size: 12px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.primary-button, .secondary-button, .text-button {
  min-height: 46px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; color: #03140e; background: linear-gradient(105deg, var(--green), #43e7d6); border: 0; box-shadow: 0 13px 30px rgba(100, 245, 196, .15); }
.primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(100, 245, 196, .22); }
.primary-button:disabled { color: rgba(3, 20, 14, .55); cursor: wait; opacity: .75; transform: none; }
.secondary-button { padding: 0 16px; color: #c6d6dc; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.secondary-button:hover { color: var(--text); border-color: rgba(100, 245, 196, .35); background: rgba(100, 245, 196, .04); }
.secondary-button.compact { min-height: 38px; font-size: 11px; }
.text-button { padding: 0 10px; color: #718994; background: transparent; border: 0; }
.text-button:hover { color: var(--text); }
.model-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 23px; padding: 12px 13px; background: rgba(49, 215, 235, .035); border: 1px solid rgba(49, 215, 235, .1); border-radius: 11px; }
.model-note svg { flex: 0 0 auto; width: 17px; fill: none; stroke: var(--cyan); stroke-width: 1.8; }
.model-note p { margin: 0; color: #718994; font-size: 10px; }
.model-note strong { color: #a9c0c9; }

.side-panel { position: sticky; top: 18px; }
.waiting-card, .progress-card { min-height: 545px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.waiting-graphic { position: relative; width: 190px; height: 190px; display: grid; place-items: center; margin-bottom: 30px; }
.waiting-graphic::before { content: ""; width: 88px; height: 88px; border-radius: 24px; background: linear-gradient(145deg, rgba(100, 245, 196, .12), rgba(49, 215, 235, .04)); border: 1px solid rgba(100, 245, 196, .18); box-shadow: 0 0 45px rgba(49, 215, 235, .08); transform: rotate(10deg); }
.waiting-graphic svg { position: absolute; width: 45px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(100, 245, 196, .45)); }
.waiting-ring { position: absolute; inset: 8px; border: 1px solid rgba(100, 245, 196, .13); border-radius: 50%; }
.ring-a { border-left-color: var(--green); animation: visual-spin 8s linear infinite; }
.ring-b { inset: 28px; border-right-color: var(--violet); animation: visual-spin 6s linear infinite reverse; }
.waiting-card h2, .progress-card h2 { max-width: 330px; margin: 8px 0 0; font-size: 24px; letter-spacing: -.025em; }
.waiting-card > p, .progress-card > p { max-width: 370px; margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.waiting-card ul { width: min(100%, 350px); margin: 25px 0 0; padding: 17px 18px; text-align: left; list-style: none; background: rgba(0, 0, 0, .15); border: 1px solid var(--line); border-radius: 14px; }
.waiting-card li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: #879da7; font-size: 11px; }
.waiting-card li i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(100, 245, 196, .6); }

.progress-card { min-height: 420px; }
.loader-orbit { position: relative; width: 112px; height: 112px; margin-bottom: 29px; border: 1px solid rgba(100, 245, 196, .14); border-radius: 50%; animation: visual-spin 3s linear infinite; }
.loader-orbit::before, .loader-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.loader-orbit::before { inset: 16px; border: 1px dashed rgba(49, 215, 235, .25); }
.loader-orbit::after { inset: 37px; background: radial-gradient(circle at 35% 30%, #8fffd5, #26bbcb); box-shadow: 0 0 28px rgba(100, 245, 196, .48); }
.loader-orbit span, .loader-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.loader-orbit span { top: 8px; left: 19px; }
.loader-orbit i { right: 4px; bottom: 25px; background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.progress-track { width: min(100%, 370px); height: 7px; margin-top: 25px; overflow: hidden; background: rgba(255, 255, 255, .055); border-radius: 99px; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet)); border-radius: inherit; box-shadow: 0 0 18px rgba(100, 245, 196, .45); transition: width .2s ease; }
.progress-meta { width: min(100%, 370px); display: flex; justify-content: space-between; margin-top: 8px; color: #657c87; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.results-section { padding: 76px 0 36px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.results-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 20px; }
.result-card { padding: 24px; background: linear-gradient(145deg, rgba(14, 27, 41, .92), rgba(8, 17, 26, .92)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 16px 45px rgba(0, 0, 0, .2); }
.result-card.full { grid-column: 1 / -1; }
.result-card h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; }
.result-card h3 svg { width: 18px; fill: none; stroke: var(--green); stroke-width: 1.8; }
.card-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.score-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; }
.score-ring { --score: 0; --score-color: var(--green); position: relative; width: 154px; height: 154px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(255, 255, 255, .055) 0); box-shadow: 0 0 34px rgba(100, 245, 196, .08); }
.score-ring::before { content: ""; position: absolute; inset: 9px; background: var(--panel-solid); border: 1px solid var(--line); border-radius: 50%; }
.score-ring-inner { position: relative; display: grid; text-align: center; line-height: 1; }
.score-ring strong { font-size: 45px; letter-spacing: -.06em; }
.score-ring small { margin-top: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.score-copy .score-status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; padding: 5px 9px; color: var(--green); background: rgba(100, 245, 196, .06); border: 1px solid rgba(100, 245, 196, .14); border-radius: 99px; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.score-copy h3 { font-size: 24px; letter-spacing: -.03em; }
.score-copy p { margin: 10px 0 0; color: var(--muted-light); font-size: 12px; }
.score-disclaimer { margin-top: 16px !important; padding-top: 13px; color: #718994 !important; border-top: 1px solid var(--line); font-size: 9px !important; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.metric { padding: 13px 12px; background: rgba(0, 0, 0, .16); border: 1px solid var(--line); border-radius: 12px; }
.metric strong { display: block; color: var(--text); font-size: 20px; letter-spacing: -.025em; }
.metric span { color: #718994; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.semantic-list { display: grid; gap: 16px; margin-top: 21px; }
.semantic-row-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 11px; }
.semantic-row-head span:first-child { color: #b9cad0; font-weight: 700; }
.semantic-row-head span:last-child { color: var(--green); font-weight: 800; }
.bar-track { height: 7px; overflow: hidden; background: rgba(255, 255, 255, .055); border-radius: 99px; }
.bar-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: inherit; }
.semantic-row small { display: block; margin-top: 6px; color: #637a85; font-size: 9px; }
.unavailable-box { margin-top: 18px; padding: 14px; color: #c3a96f; background: rgba(255, 203, 107, .055); border: 1px solid rgba(255, 203, 107, .16); border-radius: 12px; font-size: 11px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.topic-tag { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: #bcd0d6; background: rgba(49, 215, 235, .045); border: 1px solid rgba(49, 215, 235, .12); border-radius: 9px; font-size: 10px; }
.topic-tag b { color: var(--cyan); font-size: 9px; }
.topic-tag.primary { color: #dffff4; background: rgba(100, 245, 196, .07); border-color: rgba(100, 245, 196, .2); }
.review-list { display: grid; gap: 10px; margin-top: 18px; }
.review-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; padding: 12px; background: rgba(0, 0, 0, .13); border: 1px solid var(--line); border-radius: 12px; }
.review-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-size: 11px; font-weight: 900; }
.review-item.good .review-icon { color: var(--good); background: rgba(99, 230, 169, .09); }
.review-item.warn .review-icon { color: var(--amber); background: rgba(255, 203, 107, .09); }
.review-item.issue .review-icon { color: var(--danger); background: rgba(255, 123, 139, .09); }
.review-item strong { display: block; font-size: 11px; }
.review-item p { margin: 3px 0 0; color: #78909b; font-size: 10px; }
.sentence-list { display: grid; gap: 10px; margin-top: 17px; }
.sentence-item { padding: 13px 14px; background: rgba(0, 0, 0, .15); border-left: 2px solid var(--amber); border-radius: 0 11px 11px 0; }
.sentence-item blockquote { margin: 0; color: #adc0c7; font-size: 11px; }
.sentence-item small { display: block; margin-top: 6px; color: #6e858f; font-size: 9px; }
.empty-state { margin: 17px 0 0; padding: 13px; color: #7f978f; background: rgba(99, 230, 169, .04); border: 1px solid rgba(99, 230, 169, .1); border-radius: 11px; font-size: 10px; }
.repetition-table { width: 100%; margin-top: 17px; border-collapse: collapse; font-size: 10px; }
.repetition-table th, .repetition-table td { padding: 9px 7px; border-bottom: 1px solid var(--line); text-align: left; }
.repetition-table th { color: #6e858f; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.repetition-table td:last-child, .repetition-table th:last-child { text-align: right; }
.density-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; padding: 12px 13px; background: rgba(155, 114, 255, .045); border: 1px solid rgba(155, 114, 255, .13); border-radius: 11px; }
.density-box span { color: #9baeb6; font-size: 10px; }
.density-box strong { color: #c7b6ff; font-size: 18px; }
.breakdown { display: grid; gap: 11px; margin-top: 18px; }
.breakdown-row { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(120px, 1.5fr) auto; align-items: center; gap: 12px; }
.breakdown-row > span { color: #9cafb7; font-size: 10px; }
.breakdown-row > strong { color: #d8e6e9; font-size: 10px; }
.breakdown-row .bar-track { height: 6px; }
.breakdown-row .bar-track i { background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.analysis-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.analysis-meta span { padding: 6px 8px; color: #708791; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 8px; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }

.method-section { padding: 78px 0 68px; }
.method-heading { margin-bottom: 24px; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.method-grid article { padding: 24px; background: rgba(8, 17, 26, .66); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.method-grid article > span { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.method-grid h3 { margin: 13px 0 0; font-size: 14px; }
.method-grid p { margin: 9px 0 0; color: var(--muted); font-size: 11px; }

footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #657b86; font-size: 10px; }
footer p { margin: 0; }
footer a { color: #a5bbc3; font-weight: 800; text-decoration: none; }
footer a:hover { color: var(--green); }
.noscript { position: fixed; z-index: 99; left: 20px; right: 20px; bottom: 20px; padding: 15px; color: #161007; background: var(--amber); border-radius: 12px; text-align: center; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr 390px; gap: 36px; }
  .analyzer-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .waiting-card { min-height: 400px; }
  .results-grid { grid-template-columns: 1fr; }
  .result-card.full { grid-column: auto; }
}

@media (max-width: 820px) {
  .page-shell { width: min(100% - 28px, var(--max-width)); }
  .site-header { min-height: 76px; }
  .brand-copy small { display: none; }
  .back-link span { display: none; }
  .header-actions { gap: 10px; }
  .hero { min-height: 0; padding: 54px 0 38px; grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero h1 { font-size: clamp(43px, 11vw, 66px); }
  .eyebrow, .trust-row { justify-content: center; }
  .semantic-visual { width: min(100%, 520px); }
  .method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 20px, var(--max-width)); }
  .brand img { width: 38px; height: 38px; }
  .brand-copy b { font-size: 15px; }
  .lang-button { width: 33px; height: 30px; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-lead { margin-top: 20px; font-size: 16px; }
  .trust-row > span { padding: 7px 9px; font-size: 9px; }
  .semantic-visual { aspect-ratio: 1; border-radius: 25px; }
  .core-node { width: 132px; height: 132px; }
  .core-node strong { font-size: 15px; }
  .satellite { padding: 6px 8px; font-size: 8px; }
  .satellite b { font-size: 9px; }
  .privacy-strip { grid-template-columns: auto 1fr; padding: 15px; }
  .local-badge { grid-column: 1 / -1; justify-self: start; margin-left: 58px; }
  .panel { border-radius: 20px; }
  .input-panel { padding: 22px 17px; }
  .panel-heading p { margin-left: 0; }
  .form-actions { align-items: stretch; }
  .primary-button { flex: 1 1 100%; }
  .secondary-button, .text-button { flex: 1; }
  .waiting-card, .progress-card { min-height: 390px; padding: 27px 18px; }
  .waiting-graphic { width: 155px; height: 155px; }
  .results-section { padding-top: 55px; }
  .section-heading { align-items: flex-end; }
  .result-card { padding: 19px 16px; }
  .score-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .score-ring { width: 140px; height: 140px; }
  .score-copy .score-status { justify-content: center; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .breakdown-row { grid-template-columns: 1fr auto; }
  .breakdown-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .method-section { padding-top: 58px; }
  footer { padding: 24px 0; flex-direction: column; align-items: flex-start; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  :root { color-scheme: light; }
  body { color: #172027; background: #fff; }
  body::before, .site-header, .hero, .privacy-strip, .analyzer-layout, .method-section, footer, .section-heading button { display: none !important; }
  .page-shell { width: 100%; }
  .results-section { display: block !important; padding: 0; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-card { color: #172027; background: #fff; border-color: #dbe2e5; box-shadow: none; break-inside: avoid; }
  .result-card * { color: inherit; }
  .score-ring::before { background: #fff; }
}
