/* ==========================================================================
   Разбор пары и форма сравнения
   ========================================================================== */

/* ---------- Обложка пары ---------- */
.cc__people { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 48px); padding: clamp(30px, 5vw, 56px) 0 clamp(18px, 3vw, 28px); }
.cc__person { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: color .3s; }
.cc__num { width: clamp(86px, 12vw, 120px); height: clamp(86px, 12vw, 120px); display: grid; place-items: center; border: 1px solid var(--gold); font-family: var(--f-display); font-size: clamp(46px, 6vw, 64px); color: var(--gold); background: #fff; transition: box-shadow .2s; }
.cc__person:hover .cc__num { box-shadow: var(--gold-glow); }
.cc__person strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: var(--ink); }
.cc__person small { font-family: var(--f-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cc__amp { font-family: var(--f-display); font-style: italic; font-size: clamp(36px, 5vw, 56px); color: var(--gold-line); margin-bottom: 52px; }
.cc__title { text-align: center; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.8rem); margin: 0 0 14px; }
.cc .rc__formula { display: block; width: fit-content; margin: 0 auto; text-align: center; }
.cc__index { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; margin: clamp(28px, 4vw, 44px) 0 clamp(22px, 3vw, 30px); padding: 26px 0; border-top: 1px solid var(--line-warm); border-bottom: 1px solid var(--line-warm); }
.cc__score { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.cc__score b { font-family: var(--f-display); font-weight: 400; font-size: 76px; line-height: .9; color: var(--gold); }
.cc__score span { margin-top: 6px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cc__index h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 8px; }
.cc__index p { margin: 0 0 6px; font-size: 18px; color: var(--ink-2); }
.cc__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; }
.cc__tabs a { padding: 8px 0; font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.cc__tabs a:hover { color: var(--gold-deep); }
.cc__tabs a.is-active { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- Переводчик ---------- */
.r-misread.is-two .r-misread__head, .r-misread.is-two .r-misread__row { grid-template-columns: 1fr 1fr; }
.cc__who { display: block; margin-bottom: 4px; font-family: var(--f-ui); font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Привычки ---------- */
.cc__legend { display: flex; gap: 22px; font-family: var(--f-ui); font-size: 12px; color: var(--muted); margin-bottom: 10px !important; }
.cc__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.cc__legend .is-a::before { background: var(--gold); }
.cc__legend .is-b::before { background: var(--ink); }
.cc__axes { border-top: 1px solid var(--ink); }
.cc__axis { padding: 20px 0; border-bottom: 1px solid var(--line); }
.cc__axis-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.cc__axis h4 { margin: 0; font-size: 1.15rem; }
.cc__axis-head span { font-family: var(--f-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cc__axis.is-diff .cc__axis-head span { color: var(--gold-deep); }
.cc__track i.is-b { background: var(--ink) !important; box-shadow: 0 0 0 4px rgba(26, 26, 26, .08) !important; }
.cc__quotes { margin: 4px 0 8px; }
.cc__quotes p { margin: 0 0 4px !important; font-style: italic; font-size: 16.5px !important; color: var(--ink-2) !important; }
.cc__quotes span { font-style: normal; font-family: var(--f-ui); font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.cc__axis p { margin: 0; font-size: 17.5px; }

/* ---------- Каждый ---------- */
.cc__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; border-top: 1px solid var(--ink); }
.cc__card { padding: 22px 0 10px; }
.cc__card h4 { margin: 0 0 12px; font-size: 1.3rem; }
.cc__card ul { list-style: none; margin: 0 0 14px; padding: 0; }
.cc__card li { position: relative; padding: 8px 0 8px 24px; border-bottom: 1px solid var(--line-warm); font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.cc__card li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 1px; background: var(--gold); }
.cc__note { font-size: 17px !important; }
.cc__note strong { font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.cc__phrase { padding-left: 18px; border-left: 2px solid var(--gold); font-family: var(--f-display); font-style: italic; font-size: 1.08rem !important; color: var(--ink) !important; }
.cc__phrase .r-label { font-style: normal; }

/* ---------- Форма ---------- */
.c-landing .page-hero h1 em { font-style: italic; color: var(--gold); }
.c-form-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 100px); }
.c-form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); }
.c-error { border-left-color: var(--danger); color: var(--danger); }
.c-mine { display: grid; gap: 8px; margin-top: 6px; }
.c-mine [data-mine-list] { display: flex; flex-wrap: wrap; gap: 8px; }
.c-mine button { border: 1px solid var(--gold-line); background: #fff; padding: 8px 12px; font-family: var(--f-ui); font-size: 12px; color: var(--ink-2); cursor: pointer; transition: border-color .2s; }
.c-mine button:hover { border-color: var(--gold); }
.c-contexts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c-contexts label { position: relative; }
.c-contexts input { position: absolute; opacity: 0; inset: 0; }
.c-contexts span { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid #E2DED5; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.c-contexts strong { font-family: var(--f-ui); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.c-contexts small { font-family: var(--f-ui); font-size: 12.5px; color: var(--muted); }
.c-contexts input:checked + span { border-color: var(--gold); background: #FFFDF6; box-shadow: inset 3px 0 0 var(--gold); }
.c-contexts input:focus-visible + span { box-shadow: 0 0 0 3px rgba(223, 172, 42, .25); }
.c-how { padding-top: 10px; }
.c-how h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.c-steps { list-style: none; margin: 18px 0 28px; padding: 0; counter-reset: cs; border-top: 1px solid var(--ink); }
.c-steps li { position: relative; counter-increment: cs; padding: 16px 0 16px 50px; border-bottom: 1px solid var(--line); }
.c-steps li::before { content: counter(cs); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--gold); font-family: var(--f-display); font-size: 16px; color: var(--gold); }
.c-steps strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.c-steps span { font-size: 16.5px; color: var(--muted); }
.c-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.c-features li { padding: 26px 26px 20px 0; border-bottom: 1px solid var(--line); }
.c-features li:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.c-features__num { display: block; font-family: var(--f-display); font-size: 15px; color: var(--gold); margin-bottom: 18px; }
.c-features h3 { font-size: 1.25rem; margin-bottom: 10px; }
.c-features p { margin: 0; font-size: 17px; color: var(--muted); }

@media (max-width: 900px) {
    .c-form-wrap { grid-template-columns: 1fr; }
    .c-features { grid-template-columns: 1fr 1fr; }
    .c-features li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
    .c-features li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
    .cc__duo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .cc__people { gap: 10px; }
    .cc__amp { margin-bottom: 70px; }
    .cc__index { grid-template-columns: 1fr; gap: 8px; }
    .cc__score { flex-direction: row; align-items: baseline; gap: 10px; }
    .r-misread.is-two .r-misread__row { grid-template-columns: 1fr; }
    .c-contexts { grid-template-columns: 1fr; }
    .c-features { grid-template-columns: 1fr; }
    .c-features li, .c-features li:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media print {
    .cc__tabs { display: none !important; }
}
