/* main.css */

/*@import "reset.css";*/

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
    --color-bg-main: #161616;
    --color-bg-section: #0f0f0f;
    --color-text-primary-dark: #333333;
    --color-text-primary-light: #ffffff;
    --color-text-secondary-dark: #5e5e5e;
    --color-card-bg: #f3f3f3;
    --gradient-metal: linear-gradient(135deg, #ffffff 0%, #dcdcdc 100%);
    --gradient-metal-hover: linear-gradient(135deg, #fdfdfd 0%, #ededed 100%);
    --color-backdrop: rgba(0, 0, 0, 0.8);
    --shadow-color-rgb: 0, 0, 0;
    --color-header-gradient-start: rgb(22, 22, 22);
    --color-header-gradient-middle: rgba(22, 22, 22, 0.74);
    --color-header-gradient-end: rgba(22, 22, 22, 0);
    --color-link-muted: rgba(255, 255, 255, 0.85);
    --color-button-bg: #ffffff;
    --color-button-bg-hover: #e9e9e9;
    --color-button-text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--color-text-primary-dark);
    background-color: var(--color-bg-main);
    overflow-x: hidden;
    max-width: 100%;
}

body.menu-open {
    overflow: hidden;
}

img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

h1 {
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: -0.1rem;
    line-height: 1.25;
}

.card-title h2 {
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: -0.1rem;
    line-height: 1.25;
}

p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.25;
}

section {
    position: relative;
    width: 100%;
    /* background-color: var(--color-bg-main); */
    color: var(--color-text-primary-light);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5vw;
    z-index: 10;
    background: linear-gradient(
        180deg,
        var(--color-header-gradient-start) 0%,
        var(--color-header-gradient-middle) 50%,
        var(--color-header-gradient-end) 100%
    );
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--color-text-primary-light);
}

.site-header__left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.site-header__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.burger-button {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background-color: transparent;
    gap: 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.burger-button span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background-color: var(--color-text-primary-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-button.is-active {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.8);
}

.burger-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-button.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__content {
    width: min(360px, 80vw);
    background: #0c0c0c;
    padding: 2rem 1.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open .mobile-menu__content {
    transform: translateX(0);
}

.mobile-menu__brand {
    margin-bottom: 0.5rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--color-text-primary-light);
    font-weight: 500;
}

.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu__socials {
    display: flex;
    gap: 1rem;
}

.mobile-menu__socials .social-link img {
    filter: invert(1);
}

.mobile-menu__socials .social-link {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-label {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-link-muted);
    font-size: 1.1rem;
    letter-spacing: 0.04rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-text-primary-light);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.social-link img {
    width: 22px;
    height: 22px;
    filter: invert(1);
}

.social-link:hover {
    transform: translateY(-1px);
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background-image: var(--gradient-metal);
    color: var(--color-button-text);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
}

.primary-btn--dark {
    background-image: none;
    background-color: #0f0f0f;
    color: var(--color-text-primary-light);
    font-size: 1.1rem;
}

.primary-btn--dark:hover {
    background-color: #1c1c1c;
}

@media (max-width: 900px) {
    .site-header {
        padding: 1.5rem 5vw 1rem;
    }

    .main-nav,
    .site-header__right .social-link,
    .site-header__right .primary-btn {
        display: none;
    }
}

@media (min-width: 901px) {
    .burger-button {
        display: none;
    }
}

.intro, .outro {
    height: 100svh;
    padding: 7rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro {
    position: relative;
    background-image: url("../img/hero/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-text-primary-light);
    overflow: hidden;
}

.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        35deg,
        rgba(22, 22, 22, 0.99) 0%,
        rgba(22, 22, 22, 0.92) 45%,
        rgba(22, 22, 22, 0.95) 100%
    );
    backdrop-filter: saturate(50%) brightness(0.8);
    z-index: 0;
}

.intro::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    background: linear-gradient(
        180deg,
        rgba(22, 22, 22, 0) 0%,
        var(--color-bg-main) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.intro > .container {
    position: relative;
    z-index: 1;
}

.intro h1, .outro h1 {
    text-align: left;
    line-height: 1.1;
}

.intro__cta {
    margin-top: 2rem;
    padding: 0.9rem 2.4rem;
    font-size: 1rem;
}

.services {
    width: 100vw;
    padding: 6rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-primary-light);
}

.services__inner {
    width: min(1400px, 90vw);
    margin: 0 auto;
}

.container {
    width: min(1400px, 90vw);
    margin: 0 auto;
}

.services__header {
    margin-bottom: 3rem;
}

.services__header p {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    opacity: 0.65;
}

.services__header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.75rem;
}

.services_text {
    padding: 3rem 0;
}

.services_text p {
    font-size: 1.4rem;
}

.service-card {
    background-image: var(--gradient-metal);
    color: var(--color-text-primary-dark);
    padding: 2.25rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    box-shadow: 0 10px 25px rgba(var(--shadow-color-rgb), 0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    grid-column: span 2;
}

.service-card--wide {
    grid-column: span 3;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.45;
    flex: 1;
}

.service-card__arrow {
    font-size: 1.5rem;
    align-self: flex-end;
    display: none;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 45px rgba(var(--shadow-color-rgb), 0.15);
    cursor: pointer;
}

@media (max-width: 900px) {
    .services__grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card--wide {
        grid-column: auto;
    }
}

.service-card__description {
    color: var(--color-text-secondary-dark);
}

.request {
    width: 100vw;
    padding: 6rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.request__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.request__content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
}

.request__content p {
    max-width: 420px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.request__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.request__form {
    background-color: #e4e4e4;
    border-radius: 40px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--color-text-primary-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.request__form-validation {
    font-size: 0.9rem;
    color: #ed0000;
}

.request__form-validation:empty {
    display: none;
}

.request__form-error {
    background: rgba(255, 86, 86, 0.15);
    color: #a70000;
    border: 1px solid rgba(255, 86, 86, 0.4);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.request__success-card {
    background-color: #e4e4e4;
    border-radius: 48px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    color: var(--color-text-primary-dark);
    min-height: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.request__success-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request__success-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.request__success-card h3 {
    font-size: 2rem;
}

.request__success-card p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.65);
}

.request__form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.request__form span {
    color: var(--color-text-primary-dark);
    opacity: 0.7;
}

.request__form input,
.request__form textarea {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0;
    background: transparent;
    font-size: 1.1rem;
    color: var(--color-text-primary-dark);
}

.request__form input::placeholder,
.request__form textarea::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.request__form input:focus,
.request__form textarea:focus {
    outline: none;
    border-bottom-color: rgba(0, 0, 0, 0.6);
}

.request__form textarea {
    width: 100%;
    min-height: 1.2rem;
    max-height: 200px;
    line-height: 1.35;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: inherit;
    resize: none;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    field-sizing: content;
    height: auto;
}

.request__form .primary-btn--dark {
    align-self: flex-start;
    padding: 0.9rem 2.5rem;
    width: 100%;
    margin-top: 10px;
}

.tech-marquee {
    overflow: hidden;
    padding: 4rem 0;
    /* background-color: var(--color-bg-main); */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-marquee__track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: tech-scroll 60s linear infinite;
}

.tech-marquee__track--reverse {
    animation: tech-scroll-reverse 60s linear infinite;
}

.tech-marquee__item img {
    height: 40px;
    filter: grayscale(1) opacity(0.6);
    transition: filter 0.3s ease, opacity 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.tech-marquee__item img:hover {
    filter: grayscale(0) opacity(1);
}

@keyframes tech-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes tech-scroll-reverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.clients {
    /* background-color: var(--color-bg-main); */
    padding: 5rem 0;
}

.clients h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2.5rem;
}

.clients__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 4rem;
}

.clients__grid article {
    position: relative;
    padding: 1.5rem 0 1.5rem 1.75rem;
}

.clients__grid article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.clients__grid h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.clients__grid p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .clients__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.site-footer {
    background-color: #111111;
    padding: 6rem 0 6rem;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__top {
    padding-bottom: 4rem;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.site-footer__top h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary-light);
}

.footer-services-list,
.footer-docs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 320px;
}

.footer-services-list a,
.footer-docs-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-services-list a:hover,
.footer-docs-list a:hover {
    color: var(--color-text-primary-light);
}

.site-footer__middle {
    padding: 1.2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom {
    padding: 1.2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials img {
    width: 22px;
    height: 22px;
    filter: invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-socials img:hover {
    opacity: 1;
}

.footer-brand {
    font-weight: 600;
    letter-spacing: 0.05rem;
}

.footer-meta-left,
.footer-meta-right {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-meta-right img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}
/* cards */


.cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25svh;
}

.card-marquee {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    overflow: hidden;
}

.marquee {
    display: flex;

}

.marquee h1 {
    white-space: nowrap;
    font-size: 10vh;
    font-weight: 600;
    margin-right: 30px;

}


.card {
    position: relative;
    width: 100vw;
    height: 100svh;
    padding: 1.5em;
}


.card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.card-img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 150px;
    overflow: hidden;
}

.card-img img {
    transform: scale(2);
}

.card-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--color-backdrop);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.75s ease;
}

.card-content.show-backdrop::before {
    opacity: 1;
}


.card-content .card-title {
    width: 100%;
    text-align: center;
}

.card-content .card-description {
    text-align: center;
    width: 40%;
    margin-bottom: 3em;
    position: relative;
    transform: translateX(40px);
    opacity: 0;
}

.card:nth-child(2) {
    margin-top: 50vh;
}

.word {
    display: inline-block;
}

.char {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.char span {
    transform: translateX(100%);
    display: inline-block;
    will-change: transform;
}


@media (max-width: 900px) {
    h1 {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .card-title h2 {
        font-size: 2rem;
        letter-spacing: 0;
    }

    .intro h1, .outro h1 {
        width: 100%;
    }

    .card-content .card-description {
        width: 90%;
    }
}

.vacancies-intro {
    padding: 8rem 0 4rem;
    color: var(--color-text-primary-light);
}

.vacancies-intro h1 {
    margin-bottom: 1.5rem;
}

.vacancies-intro p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.vacancies-list {
    padding: 4rem 0 6rem;
    color: var(--color-text-primary-light);
}

.vacancies-intro a,
.vacancies-intro a:visited,
.vacancies-intro a:hover,
.vacancies-intro a:active,
.vacancies-list a,
.vacancies-list a:visited,
.vacancies-list a:hover,
.vacancies-list a:active {
    color: var(--color-text-primary-light);
}

.vacancy-card {
    background-image: var(--gradient-metal);
    color: var(--color-text-primary-dark);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(var(--shadow-color-rgb), 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vacancy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 45px rgba(var(--shadow-color-rgb), 0.15);
}

.vacancy-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.vacancy-card__header h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    margin-right: 2rem;
}

.vacancy-card__type {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.vacancy-card__body {
    margin-bottom: 1.5rem;
}

.vacancy-card__section {
    margin-bottom: 1.25rem;
}

.vacancy-card__section:last-child {
    margin-bottom: 0;
}

.vacancy-card__section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary-dark);
}

.vacancy-card__section ul {
    list-style: none;
    padding: 0;
}

.vacancy-card__section li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    line-height: 1.5;
    color: var(--color-text-secondary-dark);
}

.vacancy-card__section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text-primary-dark);
    font-weight: bold;
    font-size: 1.2rem;
}

.vacancy-card__footer {
    padding-top: 1.25rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    text-align: right;
}

@media (max-width: 900px) {
    .vacancy-card {
        padding: 2rem 1.5rem;
    }

    .vacancy-card__header {
        flex-direction: column;
        gap: 1rem;
    }

    .vacancy-card__header h2 {
        font-size: 1.5rem;
        margin-right: 0;
    }

    .vacancy-card__footer {
        text-align: center;
    }
}

/* Legal Documents */
section.legal-document {
    width: 100%;
    max-width: 100%;
    padding: 8rem 0 4rem;
    min-height: 100vh;
    color: var(--color-text-primary-light);
    background-color: var(--color-bg-main);
    overflow-x: hidden;
}

.legal-document__header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-document__header h1 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-text-primary-light);
}

.legal-document__meta {
    font-size: 1.25rem;
    color: var(--color-link-muted);
    margin-bottom: 0.5rem;
}

.legal-document__version {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.legal-document__intro {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--color-button-bg);
    border-radius: 4px;
}

.legal-document__intro p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text-primary-light);
    font-size: 1.125rem;
}

.legal-document__content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary-light);
    line-height: 1.3;
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary-light);
    line-height: 1.4;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-link-muted);
    font-size: 1.125rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 2rem;
    list-style-type: disc;
    padding-left: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--color-link-muted);
    font-size: 1.125rem;
}

.legal-section a,
.legal-section a:visited,
.legal-section a:hover,
.legal-section a:active {
    color: var(--color-button-bg);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-section strong {
    color: var(--color-text-primary-light);
    font-weight: 500;
}

.legal-document__footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-document {
        padding: 6rem 0 3rem;
    }

    .legal-document__header h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.25rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }

    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }
}