.info-hero {
    padding: 70px 0 95px;
}

.info-hero-inner {
    max-width: 930px;
    margin-inline: auto;
    text-align: center;
}

.info-hero h1 {
    margin: 13px 0 18px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.2;
}

.info-hero h1 em {
    color: var(--green);
    font-style: normal;
}

.info-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 17px;
}

.info-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.about-story {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
    align-items: center;
}

.about-story-copy h2,
.about-developer h2 {
    margin: 10px 0 16px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.35;
}

.about-story-copy p,
.about-developer p {
    color: var(--ink-soft);
}

.about-mark {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-mark::before,
.about-mark::after {
    position: absolute;
    width: 300px;
    height: 300px;
    content: "";
    border: 55px solid var(--green-soft);
    border-radius: 50%;
}

.about-mark::before { top: -145px; left: -100px; }
.about-mark::after { right: -130px; bottom: -160px; }

.about-mark img {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
}

.about-mark span {
    position: absolute;
    z-index: 1;
    bottom: 62px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.about-principle {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.about-principle span {
    display: block;
    margin-bottom: 28px;
    color: var(--green-deep);
    font-size: 12px;
    font-weight: 900;
}

.about-principle h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.about-principle p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.about-developer {
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.landing-section.dark .about-developer p {
    color: rgba(255, 255, 255, .74);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: var(--surface);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 31px;
    border-radius: 15px;
    color: var(--green-deep);
    background: var(--green-soft);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h2 {
    margin: 0 0 7px;
    font-size: 20px;
}

.contact-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
}

.contact-card a,
.contact-card address {
    margin-top: auto;
    padding-top: 22px;
    color: var(--green-deep);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    text-decoration: none;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    text-decoration: none;
}

.contact-social img {
    width: 34px;
    height: 34px;
}

.contact-social strong,
.contact-social small {
    display: block;
}

.contact-social small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
}

.legal-hero {
    padding: 55px 0 62px;
    border-bottom: 1px solid var(--line);
}

.legal-hero-inner {
    max-width: 900px;
}

.legal-hero h1 {
    margin: 11px 0 13px;
    font-size: clamp(38px, 5vw, 60px);
}

.legal-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.legal-meta span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 800px);
    gap: 70px;
    justify-content: center;
    padding-block: 70px 105px;
}

.legal-toc {
    position: sticky;
    top: 115px;
    align-self: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface-soft);
}

.legal-toc strong {
    display: block;
    margin-bottom: 13px;
    font-size: 13px;
}

.legal-toc a {
    display: block;
    padding: 6px 0;
    color: var(--ink-soft);
    font-size: 11px;
    text-decoration: none;
}

.legal-toc a:hover {
    color: var(--green-deep);
}

.legal-document section {
    scroll-margin-top: 110px;
    padding-bottom: 39px;
    margin-bottom: 39px;
    border-bottom: 1px solid var(--line);
}

.legal-document section:last-child {
    border-bottom: 0;
}

.legal-document h2 {
    margin: 0 0 14px;
    font-size: 27px;
}

.legal-document h3 {
    margin: 24px 0 9px;
    font-size: 18px;
}

.legal-document p,
.legal-document li {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 2;
}

.legal-document ul {
    padding-right: 22px;
}

.legal-document a {
    color: var(--green-deep);
}

.legal-note {
    padding: 18px 20px;
    border-right: 4px solid var(--green);
    border-radius: 13px;
    background: var(--green-soft);
}

@media (max-width: 900px) {
    .about-story,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .about-principles,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .legal-toc {
        position: static;
    }
}

@media (max-width: 680px) {
    .info-hero {
        padding: 43px 0 72px;
    }

    .info-hero h1 {
        font-size: 40px;
    }

    .info-hero-actions .button {
        width: 100%;
    }

    .about-principles,
    .contact-grid,
    .contact-social-grid {
        grid-template-columns: 1fr;
    }

    .about-mark {
        min-height: 360px;
    }

    .legal-layout {
        gap: 35px;
        padding-block: 45px 78px;
    }

    .legal-toc {
        max-height: 260px;
        overflow-y: auto;
    }

    .legal-document h2 {
        font-size: 23px;
    }
}
