:root {
    color-scheme: light;
    --brand-red: #b5121b;
    --brand-red-hover: #971019;
    --brand-petrol: #0f766e;
    --brand-petrol-soft: #ecf7f5;
    --text-primary: #1f2937;
    --text-secondary: #667085;
    --border: #e0e3e7;
    --page-background: #f4f5f7;
    --panel-background: #ffffff;
    --soft-background: #f8f9fb;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-primary);
    background:
        linear-gradient(
            135deg,
            rgba(181, 18, 27, 0.04),
            transparent 38%
        ),
        linear-gradient(
            315deg,
            rgba(15, 118, 110, 0.045),
            transparent 36%
        ),
        var(--page-background);
}

.about-layout {
    width: min(100% - 32px, 1040px);
    margin: 0 auto;
    padding: 48px 0 64px;
}

.about-card {
    padding: 44px 52px 48px;
    background: var(--panel-background);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(31, 41, 55, 0.10);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 22px;
}

.about-logo-link {
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 8px;
}

.about-logo-link:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.22);
    outline-offset: 4px;
}

.about-logo {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    object-fit: contain;
}

.about-kicker,
.section-kicker {
    margin: 0 0 7px;
    color: var(--brand-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.about-header h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.about-divider {
    height: 1px;
    margin: 30px 0 34px;
    background: var(--border);
}

.about-intro {
    max-width: 850px;
}

.about-lead {
    margin-top: 0;
    font-size: clamp(20px, 2.5vw, 25px);
    line-height: 1.5;
    font-weight: 700;
}

.about-intro p:not(.about-lead),
.about-section p,
.about-highlight p,
.feature-card p,
.workflow-grid p {
    font-size: 16px;
    line-height: 1.65;
}

.about-section {
    margin-top: 44px;
}

.about-section h2,
.about-highlight h2 {
    margin: 0 0 16px;
    font-size: 25px;
    line-height: 1.25;
}

.about-section > p:last-child,
.about-highlight > p:last-child {
    margin-bottom: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.feature-card {
    border: 1px solid var(--border);
    border-top: 4px solid var(--brand-red);
    border-radius: 12px;
    padding: 22px 24px 20px;
    background: var(--soft-background);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
}

.workflow-section {
    border-top: 1px solid var(--border);
    padding-top: 38px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.workflow-grid > div {
    border-radius: 12px;
    padding: 22px 24px;
    background: var(--soft-background);
}

.workflow-grid strong {
    font-size: 17px;
}

.workflow-grid p {
    margin: 8px 0 0;
    color: var(--text-secondary);
}

.about-highlight {
    margin-top: 44px;
    border: 1px solid #b7ddd8;
    border-left: 4px solid var(--brand-petrol);
    border-radius: 12px;
    padding: 24px 26px;
    background: var(--brand-petrol-soft);
}

.about-highlight .section-kicker {
    color: var(--brand-petrol);
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
    border-top: 1px solid var(--border);
    padding-top: 28px;
}

.about-primary,
.about-secondary {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 11px 20px;
    font-weight: 700;
    text-decoration: none;
}

.about-primary {
    background: var(--brand-red);
    color: #ffffff;
}

.about-primary:hover {
    background: var(--brand-red-hover);
}

.about-secondary {
    border: 1px solid #b7ddd8;
    background: var(--brand-petrol-soft);
    color: var(--brand-petrol);
}

.about-primary:focus-visible,
.about-secondary:focus-visible {
    outline: 3px solid rgba(181, 18, 27, 0.2);
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .about-layout {
        width: min(100% - 24px, 1040px);
        padding: 18px 0 32px;
    }

    .about-card {
        padding: 28px 20px 30px;
        border-radius: 16px;
    }

    .about-header {
        align-items: flex-start;
        gap: 15px;
    }

    .about-logo {
        width: 68px;
        height: 68px;
    }

    .about-kicker,
    .section-kicker {
        font-size: 12px;
    }

    .about-header h1 {
        font-size: 30px;
    }

    .about-divider {
        margin: 24px 0;
    }

    .about-section,
    .about-highlight {
        margin-top: 32px;
    }

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

    .feature-card,
    .workflow-grid > div,
    .about-highlight {
        padding: 19px 18px;
    }

    .about-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-primary,
    .about-secondary {
        width: 100%;
    }
}
