:root {
    font-family: Inter, ui-sans-serif, system-ui, Arial, sans-serif;
    color: #1d2936;
    background: #f5f7f9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

main {
    max-width: 1120px;
    margin: auto;
    padding: 48px 28px 90px;
}

header {
    border-bottom: 1px solid #dce2e7;
    padding-bottom: 25px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #557187;
    font-weight: 700;
}

h1 {
    font-size: clamp(29px, 4vw, 44px);
    letter-spacing: -0.045em;
    margin: 12px 0;
}

h2 {
    font-size: 21px;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
}

p {
    line-height: 1.65;
    color: #4b5b68;
    max-width: 790px;
}

header p {
    margin-bottom: 0;
}

a {
    color: #146c83;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 26px 0;
}

.card,
.panel {
    background: white;
    border: 1px solid #e1e7ec;
    border-radius: 8px;
}

.card {
    padding: 20px;
}

.card small {
    display: block;
    color: #637586;
    font-size: 12px;
}

.card strong {
    display: block;
    font-size: 26px;
    margin: 8px 0 2px;
    letter-spacing: -0.04em;
}

.card span {
    font-size: 11px;
    color: #758695;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel {
    padding: 25px;
    margin-bottom: 16px;
}

.legend {
    font-size: 12px;
    color: #536776;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot.real,
.bar.real {
    background: #173d53;
}

.dot.syn,
.bar.syn {
    background: #62aeb3;
}

.row {
    margin: 17px 0;
}

.line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    margin-bottom: 6px;
}

.line b {
    font-weight: 600;
}

.line em {
    font-style: normal;
    color: #617483;
    text-align: right;
}

.track {
    height: 7px;
    background: #edf1f4;
    border-radius: 8px;
    margin: 4px 0;
}

.bar {
    height: 100%;
    border-radius: 8px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 22px;
}

.tabs button {
    border: 1px solid #ccd7dd;
    background: white;
    border-radius: 5px;
    padding: 8px 11px;
    cursor: pointer;
    color: #304b5c;
}

.tabs button.active {
    background: #173d53;
    color: white;
    border-color: #173d53;
}

.note {
    background: #edf5f6;
    border-left: 3px solid #65aeb3;
    padding: 15px 17px;
    font-size: 13px;
    color: #355461;
    line-height: 1.6;
}

.diagram {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin: 22px 0;
}

.diagram span {
    background: #f0f4f6;
    border: 1px solid #dce6ea;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 12px;
}

.method {
    font-size: 13px;
}

footer {
    border-top: 1px solid #dce2e7;
    margin-top: 26px;
    padding-top: 15px;
    color: #6b7c89;
    font-size: 12px;
}

@media (max-width: 750px) {
    main {
        padding: 25px 16px;
    }

    .cards,
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {

    .cards,
    .grid {
        grid-template-columns: 1fr;
    }
}

.process {
    list-style: none;
    counter-reset: step;
    margin: 0 0 22px;
    padding: 0;
}

.process li {
    counter-increment: step;
    position: relative;
    padding: 0 0 22px 48px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e8edf0;
}

.process li:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.process li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    color: #146c83;
    font-size: 14px;
    font-weight: 700;
}

.process strong {
    display: block;
    font-size: 15px;
}

.process p {
    margin: 7px 0 0;
    font-size: 14px;
}