/* Rodia — страница «О проекте» v7 */

body.about-page main {
    padding: 0;
}

.about-shell {
    --about-accent: #5ecf8a;
    --about-accent-dim: rgba(94, 207, 138, 0.14);
    color: var(--color-text, #eef2ef);
}

/* ── Hero ── */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
    background: linear-gradient(155deg, #080c0a 0%, #121a16 42%, #1a2620 100%);
    color: #fff;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 50% at 92% 12%, rgba(94, 207, 138, 0.14), transparent 58%),
        radial-gradient(ellipse 40% 35% at 8% 90%, rgba(96, 165, 250, 0.07), transparent 55%);
    pointer-events: none;
}

.about-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    align-items: start;
    max-width: min(1140px, 100%);
}

@media (min-width: 900px) {
    .about-hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.75fr);
        align-items: center;
    }
}

.about-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--about-accent);
}

.about-hero h1 {
    margin: 0 0 0.55rem;
    font-family: var(--font-serif, 'PT Serif', Georgia, serif);
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.about-hero__lead {
    margin: 0 0 0.85rem;
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.6;
    color: rgba(232, 237, 244, 0.88);
    max-width: 36rem;
}

.about-hero__mission {
    margin: 0 0 1rem;
    padding-left: 0.85rem;
    border-left: 3px solid var(--about-accent);
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    max-width: 34rem;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.about-hero__figures {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.85rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero__figure {
    padding: 0.45rem 0.35rem;
    text-align: center;
}

.about-hero__figure dt {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(232, 237, 244, 0.72);
}

.about-hero__figure dd {
    margin: 0.2rem 0 0;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--about-accent);
}

/* ── Внутренние закладки ── */

.about-tabs__nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 15, 13, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border, #2a3d32);
}

.about-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.55rem 0;
}

.about-tabs__tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-muted, #8fa396);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.about-tabs__tab:hover {
    color: #e8f5ec;
    border-color: rgba(94, 207, 138, 0.35);
}

.about-tabs__tab.is-active {
    color: #052e16;
    background: var(--about-accent);
    border-color: var(--about-accent);
}

.about-tabs__tab:focus-visible {
    outline: 2px solid var(--about-accent);
    outline-offset: 2px;
}

.about-tabs__panels {
    min-height: 12rem;
}

.about-section--tab {
    border-bottom: none;
}

/* ── Sections ── */

.about-section {
    padding: clamp(2rem, 4vw, 2.75rem) 0;
    background: var(--color-bg, #0a0f0d);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-section--muted {
    background: var(--color-surface, #121a16);
}

.about-section--earn {
    background:
        linear-gradient(180deg, rgba(94, 207, 138, 0.05) 0%, transparent 38%),
        var(--color-bg, #0a0f0d);
}

.about-section__head {
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.about-section__head--narrow {
    max-width: 16rem;
    margin-bottom: 1rem;
}

.about-section__head h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-serif, 'PT Serif', Georgia, serif);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.about-section__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-muted, #8fa396);
}

/* ── Platform pillars ── */

.about-pillars {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-bottom: 1.25rem;
}

.about-pillar {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem 1.1rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.about-pillar:hover {
    border-color: rgba(94, 207, 138, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.about-pillar__tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--about-accent);
}

.about-pillar h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-pillar p {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(232, 237, 244, 0.82);
}

.about-pillar__link {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--about-accent);
}

.about-notes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
    max-width: 52rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-muted, #8fa396);
}

.about-notes strong {
    color: #c8e6d4;
    font-weight: 600;
}

/* ── Story ── */

.about-story {
    display: grid;
    gap: 1rem;
    max-width: min(960px, 100%);
}

@media (min-width: 760px) {
    .about-story {
        grid-template-columns: 200px 1fr;
        align-items: start;
    }
}

.about-story__prose {
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(232, 237, 244, 0.9);
}

.about-story__prose p {
    margin: 0 0 1rem;
}

.about-story__prose p:last-child {
    margin-bottom: 0;
}

/* ── Stats ── */

.about-stats__intro {
    margin-top: 0;
}

.about-stats__group {
    margin-bottom: 1.5rem;
}

.about-stats__group:last-of-type {
    margin-bottom: 0.5rem;
}

.about-stats__group-title {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--about-accent);
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 0.6rem;
}

.about-stats__item {
    border-radius: 14px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.about-stats__count {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #e8f5ec;
}

.about-stats__label {
    font-size: 0.8rem;
    color: #8b9cb3;
    margin-top: 0.2rem;
    line-height: 1.35;
}

.about-stats__outro {
    margin: 1.15rem 0 0;
    max-width: 42rem;
    color: #8fa396;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── Principles ── */

.about-principles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
    counter-reset: about-principle;
    max-width: 52rem;
}

.about-principles li {
    counter-increment: about-principle;
    padding: 1rem 1rem 1rem 3.25rem;
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.about-principles li::before {
    content: counter(about-principle);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.65rem;
    height: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--about-accent);
    background: var(--about-accent-dim);
}

.about-principles h3 {
    margin: 0 0 0.3rem;
    font-size: 0.98rem;
    font-weight: 700;
}

.about-principles p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-muted, #8fa396);
}

/* ── Wallet / earn (dynamic matrix) ── */

.about-earn__head {
    max-width: 720px;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.about-earn__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--about-accent);
}

.about-earn__head h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif, 'PT Serif', Georgia, serif);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.about-earn__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-muted, #8fa396);
}

.about-earn__lead strong {
    color: #c8e6d4;
    font-weight: 600;
}

.about-earn__live {
    margin-top: 1.25rem;
    padding: 1.1rem 1.15rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(94, 207, 138, 0.35);
    background: linear-gradient(135deg, rgba(15, 24, 20, 0.95) 0%, rgba(21, 40, 32, 0.88) 100%);
}

.about-earn__live-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9cb3a8;
}

.about-earn__live-rub {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.2;
    color: #e8f5ec;
}

.about-earn__live-rub strong {
    color: var(--about-accent);
    font-weight: 800;
}

.about-earn__live-coins {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: #b8cfc0;
}

.about-earn__live-rate {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #8fa396;
}

.about-earn__live-items {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
    font-size: 0.84rem;
}

.about-earn__live-items li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    color: #c8e6d4;
}

.about-earn__live-items li span:last-child {
    font-weight: 700;
    color: var(--about-accent);
    white-space: nowrap;
}

.about-earn__live-min {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #8fa396;
}

.about-earn__live-min strong {
    color: #d1e8da;
}

.about-earn__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.about-earn__highlight {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(94, 207, 138, 0.28);
    background: rgba(15, 24, 20, 0.85);
    min-width: 8.5rem;
}

.about-earn__highlight-amount {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--about-accent);
}

.about-earn__highlight-label {
    font-size: 0.78rem;
    line-height: 1.35;
    color: #9cb3a8;
}

.about-earn__layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 960px) {
    .about-earn__layout {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.about-earn__matrix {
    display: grid;
    gap: 0.85rem;
}

.about-earn__group {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 26, 22, 0.75);
    padding: 0.85rem 1rem 0.95rem;
}

.about-earn__group-title {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.about-earn__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.about-earn__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.45rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-earn__row:first-child {
    border-top: none;
    padding-top: 0;
}

.about-earn__row-label {
    flex: 1 1 12rem;
    font-size: 0.88rem;
    line-height: 1.45;
}

.about-earn__row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.35rem 0.55rem;
    text-align: right;
    font-size: 0.78rem;
    color: #8b9cb3;
}

.about-earn__row-amount {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--about-accent);
}

.about-earn__row-when,
.about-earn__row-cap {
    max-width: 14rem;
    line-height: 1.35;
}

.about-earn__aside {
    position: sticky;
    top: 3.25rem;
}

.about-earn__card {
    border-radius: 18px;
    padding: 1.15rem 1.2rem 1.25rem;
    border: 1px solid rgba(94, 207, 138, 0.22);
    background: linear-gradient(155deg, rgba(61, 90, 69, 0.18), rgba(8, 12, 10, 0.92));
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.about-earn__card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
}

.about-earn__steps {
    margin: 0 0 0.85rem;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-muted, #8fa396);
}

.about-earn__steps li + li {
    margin-top: 0.45rem;
}

.about-earn__note,
.about-earn__disclaimer {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #8b9cb3;
}

.about-earn__disclaimer {
    margin-bottom: 1rem;
    font-size: 0.78rem;
    opacity: 0.92;
}

.about-earn__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.about-earn__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 9rem;
}

.about-earn__exchange {
    margin: 1rem 0 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(94, 207, 138, 0.18);
}

.about-earn__exchange h4 {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.about-earn__rate {
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #c8e6d4;
}

.about-earn__rate strong {
    font-size: 1.05rem;
    color: var(--about-accent);
}

.about-earn__rate-hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #8b9cb3;
}

/* ── CTA ── */

.about-cta {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
    background: var(--color-bg, #0a0f0d);
}

.about-cta__box {
    max-width: min(720px, 100%);
    margin: 0 auto;
    padding: clamp(1.35rem, 3vw, 1.85rem);
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(94, 207, 138, 0.28);
    background: linear-gradient(145deg, rgba(61, 90, 69, 0.2), rgba(8, 12, 10, 0.92));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.about-cta__box h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-serif, 'PT Serif', Georgia, serif);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    letter-spacing: -0.02em;
}

.about-cta__box p {
    margin: 0 0 1.15rem;
    color: var(--color-muted, #8fa396);
    line-height: 1.55;
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

@media (max-width: 640px) {
    .about-hero__actions .btn,
    .about-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-tabs__list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.65rem;
        -webkit-overflow-scrolling: touch;
    }

    .about-tabs__tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}
