* { box-sizing: border-box; }
:root {
    --pink: #e84393;
    --pink-dark: #c72f7b;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --blue: #2563eb;
    --green: #16a34a;
    --amber: #d97706;
    --red: #dc2626;
}
body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}
a { color: inherit; }
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.logo {
    color: var(--pink);
    font-size: 22px;
    font-weight: 850;
    text-decoration: none;
    letter-spacing: -0.03em;
    white-space: nowrap;
}
.logo span { color: var(--ink); }
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    font-weight: 650;
    color: #4b5563;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.hero {
    background:
        radial-gradient(circle at 16% 18%, rgba(232,67,147,0.12), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(37,99,235,0.12), transparent 26%),
        linear-gradient(180deg, #fff 0%, #f9fafb 100%);
    padding: 82px 22px 58px;
}
.hero-inner,
.section,
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
}
.eyebrow {
    display: inline-flex;
    padding: 5px 11px;
    border: 1px solid rgba(232,67,147,0.25);
    background: #fdf2f8;
    color: var(--pink-dark);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
h1 {
    margin: 18px 0 14px;
    max-width: 820px;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}
.hero-copy {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}
.section { padding: 54px 22px; }
.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.section-title h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}
.section-title p {
    margin: 8px 0 0;
    max-width: 580px;
    color: var(--muted);
}
.tool-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 22px;
    align-items: start;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 14px 45px rgba(17,24,39,0.06);
}
.field-grid {
    display: grid;
    gap: 14px;
}
label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 750;
}
input,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 13px;
    font: inherit;
    background: #fff;
    color: var(--ink);
}
input:focus,
select:focus {
    outline: 3px solid rgba(232,67,147,0.16);
    border-color: rgba(232,67,147,0.55);
}
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.btn {
    width: 100%;
    border: 0;
    border-radius: 13px;
    padding: 14px 16px;
    background: var(--pink);
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(232,67,147,0.24);
}
.btn:hover { background: var(--pink-dark); }
.btn:disabled { opacity: 0.65; cursor: wait; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.result-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}
.verdict {
    border-radius: 18px;
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
}
.verdict.grade_it { background: #ecfdf5; border-color: #bbf7d0; }
.verdict.consider,
.verdict.ten_only { background: #fffbeb; border-color: #fde68a; }
.verdict.dont_grade { background: #fef2f2; border-color: #fecaca; }
.verdict.need_prices { background: #eff6ff; border-color: #bfdbfe; }
.verdict-label {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -0.05em;
}
.metric-grid,
.pulse-grid,
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.metric,
.pulse-card,
.lesson-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 16px;
    background: #fff;
}
.metric-label,
.card-kicker {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.metric-value {
    margin-top: 6px;
    font-size: 26px;
    font-weight: 850;
    letter-spacing: -0.04em;
}
.table-wrap { overflow-x: auto; }
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}
th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
}
th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.positive { color: var(--green); font-weight: 800; }
.negative { color: var(--red); font-weight: 800; }
.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 800;
}
.pill.green { color: #166534; background: #dcfce7; }
.pill.red { color: #991b1b; background: #fee2e2; }
.pill.blue { color: #1d4ed8; background: #dbeafe; }
.feed {
    display: grid;
    gap: 12px;
}
.feed-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.feed-item:last-child { border-bottom: 0; }
.feed-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.feed-sub { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.academy-path {
    display: grid;
    gap: 18px;
    counter-reset: lesson;
}
.path-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
}
.path-number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
}
.cta-band {
    padding: 34px;
    border-radius: 22px;
    background: #111827;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}
.cta-band p { color: rgba(255,255,255,0.72); }
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    border-radius: 13px;
    padding: 13px 16px;
    color: #fff;
    background: var(--pink);
    text-decoration: none;
    font-weight: 850;
}
footer {
    border-top: 1px solid var(--line);
    padding: 32px 22px;
    color: var(--muted);
    font-size: 13px;
}
footer a { color: #4b5563; text-decoration: none; }
@media (max-width: 860px) {
    .nav-inner { height: auto; padding-top: 14px; padding-bottom: 14px; align-items: flex-start; }
    .nav-links { flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
    .tool-grid,
    .result-hero,
    .cta-band { grid-template-columns: 1fr; }
    .metric-grid,
    .pulse-grid,
    .academy-grid { grid-template-columns: 1fr; }
    .section-title { display: block; }
}
@media (max-width: 560px) {
    .hero { padding-top: 54px; }
    .two-col { grid-template-columns: 1fr; }
    .feed-item { grid-template-columns: 1fr; }
    .path-row { grid-template-columns: 42px 1fr; }
    .path-number { width: 42px; height: 42px; border-radius: 13px; }
}
