:root {
    --bg: #050505;
    --bg-soft: #101010;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --muted: #a7a7a7;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #6fc03e;
    --accent-soft: rgba(111, 192, 62, 0.18);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 26px;
    --radius-sm: 14px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, rgba(111, 192, 62, 0.08), transparent 28%),
        linear-gradient(180deg, #080808 0%, #050505 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.legal-body {
    background:
        radial-gradient(circle at top, rgba(111, 192, 62, 0.12), transparent 28%),
        linear-gradient(180deg, #080808 0%, #050505 100%);
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #292929;
    border-radius: 999px;
}

.page-shell {
    min-height: 100vh;
    overflow-x: clip;
}

.page-shell.legal-shell {
    display: flex;
    flex-direction: column;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(5, 5, 5, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.header-row {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #050505;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(-6deg);
    background: var(--accent);
    color: #fff;
}

.brand-copy {
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    font-weight: 700;
}

.brand-copy span {
    display: block;
}

.brand-mark svg {
    width: 28px;
    height: 28px;
}

.brand-mark img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: #d8d8d8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 0 0 24px;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-nav {
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
}

.hero {
    padding: 48px 0 28px;
}

.hero-grid {
    display: grid;
    gap: 34px;
    align-items: end;
}

.display-title {
    margin: 16px 0 0;
    max-width: 10ch;
    font-size: clamp(3.4rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.display-title span {
    color: var(--accent);
}

.hero-copy {
    max-width: 640px;
    color: #d3d3d3;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 32px rgba(111, 192, 62, 0.18);
}

.button:hover {
    transform: translateY(-2px);
    background: #fff;
    color: #050505;
}

.button-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.button-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.hero-media {
    position: relative;
    min-height: min(75vh, 760px);
    border-radius: calc(var(--radius) + 8px);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 1.2s ease;
}

.slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
}

.slide.is-active img {
    transform: scale(1);
    transition: transform 6s ease;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.78));
}

.slide-caption {
    position: absolute;
    inset: auto 32px 28px 32px;
    z-index: 2;
    max-width: 560px;
}

.slide-caption h2,
.page-hero-card h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    text-transform: uppercase;
}

.legal-hero {
    padding: 72px 0 24px;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

.legal-kicker::before {
    content: "";
    width: 48px;
    height: 1px;
    background: currentColor;
}

.legal-hero h1 {
    margin: 18px 0 16px;
    max-width: 12ch;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.legal-intro {
    max-width: 72ch;
    color: #d2d2d2;
    font-size: 1.04rem;
    line-height: 1.8;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 20px;
    align-items: start;
}

.legal-aside,
.legal-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.legal-aside {
    position: sticky;
    top: 108px;
    padding: 26px;
}

.legal-aside h2,
.legal-card h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-aside p,
.legal-card p {
    margin: 0;
    color: #d4d4d4;
    line-height: 1.8;
}

.legal-stack {
    display: grid;
    gap: 18px;
}

.legal-card {
    padding: 30px;
}

.legal-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-card + .legal-card {
    margin-top: 0;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul {
    margin-top: 14px;
}

.legal-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.legal-list li {
    position: relative;
    padding-left: 18px;
    color: #d4d4d4;
    line-height: 1.8;
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateY(-50%);
}

.legal-meta {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.legal-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(111, 192, 62, 0.09);
    border: 1px solid rgba(111, 192, 62, 0.16);
    color: #ebf5e4;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: #d8d8d8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
}

.breadcrumb-link:hover {
    color: #fff;
}

.slide-caption p,
.page-hero-card p {
    margin: 0;
    color: #d7d7d7;
    line-height: 1.7;
    max-width: 48ch;
}

.slider-controls {
    position: absolute;
    inset: auto 28px 28px auto;
    z-index: 3;
    display: flex;
    gap: 10px;
    align-items: center;
}

.slider-arrow,
.dot {
    border: 0;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.3rem;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.dot.is-active {
    background: var(--accent);
}

.section {
    padding: 72px 0;
}

.section.border-top {
    border-top: 1px solid var(--line);
}

.section-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 36px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.section-heading p {
    margin: 0;
    max-width: 62ch;
    color: var(--muted);
    line-height: 1.8;
}

.feature-grid,
.card-grid,
.stats-grid,
.pricing-grid,
.testimonial-grid,
.faq-grid,
.contact-grid,
.partner-grid {
    display: grid;
    gap: 18px;
}

.feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
}

.feature-item,
.info-card,
.testimonial,
.faq-item,
.partner-card,
.pricing-card,
.contact-card,
.stat-card,
.experience-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 100%;
}

.check {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-weight: 700;
}

.feature-item p,
.info-card p,
.testimonial p,
.faq-item p,
.contact-card p,
.pricing-card p,
.partner-card p,
.experience-card p {
    margin: 0;
    color: #d4d4d4;
    line-height: 1.7;
}

.gallery-split,
.masonry,
.page-hero,
.contact-grid,
.stats-grid,
.partner-grid,
.testimonial-grid,
.pricing-grid,
.faq-grid,
.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual,
.masonry-tall,
.masonry-stack > div,
.page-hero-card,
.contact-map {
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    min-height: 320px;
    background: #090909;
    border: 1px solid var(--line);
}

.visual img,
.masonry-tall img,
.masonry-stack img,
.page-hero-card img,
.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.visual:hover img,
.masonry-tall:hover img,
.masonry-stack > div:hover img,
.page-hero-card:hover img {
    transform: scale(1.05);
}

.visual::after,
.masonry-tall::after,
.masonry-stack > div::after,
.page-hero-card::after,
.contact-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
}

.visual {
    aspect-ratio: 4 / 5;
}

.masonry {
    align-items: stretch;
}

.masonry-stack {
    display: grid;
    gap: 18px;
}

.masonry-stack > div {
    min-height: 210px;
}

.masonry-tall {
    min-height: 438px;
}

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

.stat-card h3,
.info-card h3,
.pricing-card h3,
.testimonial h3,
.partner-card h3,
.contact-card h3,
.experience-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.stat-value {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    color: var(--accent);
    margin: 0 0 10px;
    font-weight: 700;
}

.partner-card,
.testimonial,
.pricing-card {
    padding: 28px;
}

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

.testimonial-meta {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-price {
    font-size: 2.5rem;
    line-height: 1;
    margin: 10px 0 14px;
    font-weight: 700;
}

.pricing-note {
    color: var(--muted);
    min-height: 52px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
    color: #d5d5d5;
}

.pricing-list li::before {
    content: "•";
    color: var(--accent);
    margin-right: 10px;
}

.faq-item {
    padding: 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    color: #fff;
    border: 0;
    padding: 24px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.faq-question span:last-child {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--accent);
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.cta-banner {
    border-radius: calc(var(--radius) + 10px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(140deg, rgba(111, 192, 62, 0.92), rgba(111, 192, 62, 0.72)),
        linear-gradient(180deg, #121212 0%, #050505 100%);
    padding: 42px;
    display: grid;
    gap: 20px;
}

.cta-banner h2 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
    max-width: 12ch;
}

.cta-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    max-width: 48ch;
    line-height: 1.8;
}

.page-hero {
    padding: 42px 0 14px;
    align-items: stretch;
}

.page-hero-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.page-hero-card > * {
    position: relative;
    z-index: 1;
}

.contact-list,
.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.app-badge strong,
.app-badge span {
    display: block;
}

.app-badge small {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.66rem;
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.2rem;
}

.contact-list a {
    color: #fff;
}

.contact-card strong {
    color: #fff;
}

.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.footer-panel {
    min-height: 420px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-panel.accent {
    background:
        linear-gradient(180deg, rgba(111, 192, 62, 0.96), rgba(96, 166, 51, 0.96)),
        linear-gradient(180deg, #6fc03e 0%, #5a9f30 100%);
}

.footer-panel.dark {
    background: #050505;
}

.footer-big {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.94;
    margin: 0;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #fff;
    color: #050505;
}

.footer-meta {
    color: #bcbcbc;
    line-height: 1.9;
}

.footer-meta strong {
    display: block;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.footer-links a {
    color: #fff;
}

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

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.muted {
    color: var(--muted);
}

.spacer-top {
    padding-top: 18px;
}

@media (max-width: 1100px) {
    .partner-grid,
    .testimonial-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .info-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-desktop,
    .header-actions .button {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .gallery-split,
    .masonry,
    .page-hero,
    .contact-grid,
    .stats-grid,
    .card-grid,
    .faq-grid,
    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 60vh;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-aside {
        position: static;
    }

    .footer-panel {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-row {
        min-height: 78px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .slide-caption {
        inset: auto 18px 22px 18px;
    }

    .slider-controls {
        inset: auto 18px 18px auto;
    }

    .slide-caption h2,
    .page-hero-card h2,
    .section-heading h2 {
        max-width: 12ch;
    }

    .feature-item,
    .info-card,
    .testimonial,
    .partner-card,
    .pricing-card,
    .contact-card,
    .stat-card,
    .experience-card,
    .cta-banner,
    .page-hero-card,
    .footer-panel {
        padding: 20px;
        border-radius: 22px;
    }
}
