/* TULRUMUS ABOUT v3 — компактная страница */

:root {
    --bg: #020713;
    --text: #f5f7fb;
    --muted: #b3bfce;
    --line: rgba(144, 190, 255, .22);
    --gold: #f0c46d;
    --cyan: #65e4d5;
    --violet: #ce9aff;
    --max: 1240px;
    --gutter: 28px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.about-page {
    overflow-wrap: anywhere;
}

.about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("/static/tulrumus-home-hero-v2.png?v=7");
    background-size: cover;
    background-position: center 48%;
}

.about-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(2, 7, 19, .96) 0%,
            rgba(2, 7, 19, .86) 35%,
            rgba(2, 7, 19, .35) 70%,
            rgba(2, 7, 19, .16) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 7, 19, .15),
            rgba(2, 7, 19, .48)
        );
}

.header,
.hero-content {
    width: min(calc(100% - var(--gutter) * 2), var(--max));
    margin: 0 auto;
}

.header {
    min-height: 66px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    letter-spacing: .1em;
    color: var(--gold);
}

.brand-name sup,
.footer-brand sup {
    font: 9px Arial, sans-serif;
    margin-left: 2px;
    vertical-align: top;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.nav-btn,
.cabinet-btn,
.market-cta,
.primary-btn,
.secondary-link {
    min-height: 40px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.nav-btn,
.cabinet-btn,
.secondary-link {
    background: rgba(7, 15, 32, .75);
    color: #edf2fa;
}

.nav-btn:hover,
.cabinet-btn:hover,
.secondary-link:hover {
    border-color: var(--gold);
    background: rgba(25, 37, 60, .9);
}

.hero-content {
    padding: 24px 0 28px;
}

.hero-kicker {
    margin-bottom: 8px;
    color: var(--violet);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-content h1 {
    margin: 0;
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .035em;
}

.hero-content h1 sup {
    font: 12px Arial, sans-serif;
    vertical-align: top;
}

.hero-lead {
    max-width: 680px;
    margin: 14px 0 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 11px;
}

.hero-formula span {
    padding: 6px 10px;
    border: 1px solid rgba(240, 196, 109, .4);
    border-radius: 5px;
    background: rgba(7, 15, 32, .7);
}

.hero-formula b {
    color: var(--muted);
}

.hero-formula strong {
    color: #ffda82;
    font-size: 11px;
}

.hero-note {
    max-width: 720px;
    margin: 12px 0 0;
    color: #c5cfdb;
    font-size: 13px;
    line-height: 1.5;
}

.section {
    padding:
        20px
        max(var(--gutter), calc((100% - var(--max)) / 2));
    border-bottom: 1px solid rgba(144, 190, 255, .12);
    background:
        radial-gradient(
            ellipse at 85% 0%,
            rgba(64, 70, 150, .13),
            transparent 65%
        ),
        linear-gradient(180deg, #050c1c, #030816);
}

.dark-section {
    background:
        radial-gradient(
            ellipse at 15% 0%,
            rgba(83, 49, 146, .12),
            transparent 65%
        ),
        linear-gradient(180deg, #030816, #050c1c);
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.section-head > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    flex-shrink: 0;
}

.section-head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.feature-grid,
.term-grid,
.ideas-grid,
.final-grid {
    display: grid;
    gap: 12px;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-main,
.parameter-card,
.term-card,
.idea-card,
.final-grid > div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(
            145deg,
            rgba(15, 29, 57, .94),
            rgba(6, 13, 30, .96)
        );
}

.feature-main {
    border-color: rgba(240, 196, 109, .45);
}

.cube-icon {
    width: 17px;
    height: 17px;
    margin: 3px 0 10px 3px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(240, 196, 109, .15);
}

.feature-main h3,
.parameter-card strong {
    display: block;
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-main p,
.parameter-card p,
.term-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.parameter-card small {
    display: block;
    margin-bottom: 8px;
    color: #b6c9e8;
    font-size: 10px;
    letter-spacing: .08em;
}

.wide-text {
    max-width: 1120px;
}

.wide-text p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.accent-text {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.wide-text .accent-text {
    color: var(--text);
    font-size: 16px;
}

.term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.oqwetik {
    border-color: rgba(101, 228, 213, .4);
}

.azqwut {
    border-color: rgba(206, 154, 255, .4);
}

.term-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.oqwetik .term-label {
    color: var(--cyan);
}

.azqwut .term-label {
    color: var(--violet);
}

.term-card h3 {
    margin: 5px 0 7px;
    font-size: 18px;
    line-height: 1.3;
}

.ideas-grid,
.compact-ideas {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.idea-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.idea-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.market-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 15px 18px;
    border: 1px solid rgba(240, 196, 109, .38);
    border-radius: 10px;
    background:
        linear-gradient(
            145deg,
            rgba(20, 28, 47, .95),
            rgba(6, 13, 30, .95)
        );
}

.market-block p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.market-block .accent-text {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 16px;
}

.market-cta,
.primary-btn {
    border-color: #f6c357;
    background: linear-gradient(180deg, #ffdc7c, #efb438);
    color: #241903;
}

.market-cta:hover,
.primary-btn:hover {
    background: linear-gradient(180deg, #ffe5a1, #f5c45b);
}

.final-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.final-grid > div {
    display: flex;
    align-items: center;
    color: #cbd6e5;
    font-size: 13px;
    line-height: 1.45;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 17px 20px;
    border: 1px solid rgba(240, 196, 109, .38);
    border-radius: 10px;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(240, 196, 109, .08),
            transparent 70%
        ),
        rgba(6, 12, 27, .8);
}

.final-cta h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.35;
}

.final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding:
        18px
        max(var(--gutter), calc((100% - var(--max)) / 2));
    background: #020713;
}

.footer-brand {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    letter-spacing: .1em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #aab9cd;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    justify-self: end;
    color: #9aa9bd;
    font-size: 11px;
}

@media (max-width: 1050px) {
    .feature-grid,
    .ideas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .final-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .final-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 760px) {
    :root {
        --gutter: 18px;
    }

    .header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-actions {
        gap: 6px;
    }

    .nav-btn,
    .cabinet-btn {
        min-height: 44px;
        padding: 9px 11px;
        font-size: 10px;
    }

    .hero-content {
        padding: 22px 0;
    }

    .hero-lead {
        max-width: 580px;
        font-size: 18px;
    }

    .hero-note {
        font-size: 14px;
    }

    .about-hero__shade {
        background: linear-gradient(
            90deg,
            rgba(2, 7, 19, .94),
            rgba(2, 7, 19, .72)
        );
    }

    .section-head h2 {
        font-size: 22px;
    }

    .market-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .market-cta {
        justify-self: start;
    }

    .final-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .copyright {
        justify-self: start;
    }

    .footer-links a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .primary-btn,
    .secondary-link,
    .market-cta {
        min-height: 44px;
    }
}

@media (max-width: 560px) {
    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .brand-name {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .hero-formula {
        gap: 6px;
    }

    .hero-formula span {
        padding: 6px 8px;
    }

    .feature-grid,
    .term-grid,
    .ideas-grid,
    .final-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-main p,
    .parameter-card p,
    .term-card p,
    .market-block p,
    .final-grid > div {
        font-size: 14px;
    }

    .section {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .final-cta {
        padding: 16px;
    }

    .final-cta h2 {
        font-size: 21px;
    }

    .final-actions {
        width: 100%;
    }

    .final-actions a {
        flex: 1 1 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
