:root {
    --bg: #0a0f0b;
    --panel: #111913;
    --panel2: #172019;
    --text: #f4f7f4;
    --muted: #aeb9b0;
    --line: #29352c;
    --green: #78d64b;
    --green2: #b6f36e;
    --gold: #ffd65a;
    --danger: #ff6b6b;
    --shadow: 0 16px 44px rgba(0, 0, 0, .28);
    --radius: 18px;
    --wrap: 1180px;
    --header-height: 68px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at 20% -10%, rgba(120, 214, 75, .12), transparent 34%), var(--bg);
    color: var(--text);
    line-height: 1.6
}

a {
    color: inherit
}

button,
input,
textarea,
select {
    font: inherit
}

button {
    cursor: pointer
}

.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin: auto
}

.narrow {
    width: min(820px, 100%);
    margin: auto
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 16px;
    top: 12px;
    z-index: 100;
    background: #fff;
    color: #000;
    padding: 10px 14px;
    border-radius: 10px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 15, 11, .87);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.02em
}

.brand-cube {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(145deg, #9be861, #4ba32b);
    color: #0a1309;
    box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .2);
    font-weight: 1000
}

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

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: .94rem
}

.nav a:hover {
    color: #fff
}

.nav-cta {
    border: 1px solid #3c5c42 !important;
    padding: 8px 12px;
    border-radius: 10px;
    color: #d9ffd0 !important
}

/* Global mobile navigation */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #101713;
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 52;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s 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)
}

/* Global back-to-top control */
.back-to-top {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 45;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #4b704e;
    border-radius: 13px;
    background: linear-gradient(145deg, #8fe05e, #5eaf3e);
    color: #0b1909;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .34);
    font-size: 1.35rem;
    font-weight: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.94);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, filter .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    filter: brightness(1.08)
}

.back-to-top:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid rgba(182, 243, 110, .42);
    outline-offset: 3px
}

@media (max-width:780px) {
    :root {
        --header-height: 64px
    }

    .header-inner {
        min-height: 64px;
        position: relative
    }

    .brand {
        position: relative;
        z-index: 52
    }

    .menu-toggle {
        display: flex;
        margin-left: auto
    }

    .nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        background: rgba(10, 15, 11, .98);
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 11px 12px;
        border-radius: 9px;
        font-size: .96rem;
    }

    .nav a:hover {
        background: #172019
    }

    .nav-cta {
        text-align: center;
        margin-top: 4px
    }

    body.menu-open {
        overflow: hidden
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: 14px
    }
}

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

    .menu-toggle span,
    .nav,
    .back-to-top {
        transition: none
    }
}


/* =========================================================
   About page styles (shared through global.css)
   ========================================================= */
.about-hero {
    padding: 76px 0 64px;
    overflow: hidden
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    gap: 56px;
    align-items: center
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green2);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase
}

.about-hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.06em;
    margin: 0;
    max-width: 800px
}

.about-hero h1 span {
    color: var(--green2)
}

.about-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: #bec8c0;
    font-size: 1.12rem;
    line-height: 1.75
}

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

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #34453a;
    border-radius: 11px;
    background: #111913;
    color: #dbe5dd;
    text-decoration: none;
    font-weight: 850;
    transition: filter .18s ease, transform .18s ease, border-color .18s ease
}

.about-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    border-color: #4b684f
}

.about-btn.primary {
    background: linear-gradient(#8fe05e, #62b840);
    border-color: #86df58;
    color: #10210d;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18)
}

.about-visual {
    min-width: 0
}

.pixel-scene {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 42px 30px;
    border: 1px solid #2a382d;
    border-radius: 26px;
    background: linear-gradient(#4e7394 0 43%, #789e59 43% 49%, #5f8343 49% 54%, #3c6537 54%);
    box-shadow: var(--shadow);
    overflow: hidden
}

.pixel-scene:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .04) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, .04) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .04) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .04) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0;
    pointer-events: none
}

.pixel-label,
.pixel-sub,
.pixel-blocks {
    position: relative;
    z-index: 1
}

.pixel-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(2.1rem, 5vw, 4.25rem);
    font-weight: 1000;
    letter-spacing: .04em;
    color: #fff56b;
    text-shadow: 4px 4px 0 #403d14, 8px 8px 0 rgba(0, 0, 0, .38)
}

.pixel-sub {
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(5, 10, 6, .76);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #dce6dd;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em
}

.pixel-blocks {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 7px
}

.pixel-blocks span {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(145deg, #9be861, #4ba32b);
    box-shadow: inset 0 -7px 0 rgba(0, 0, 0, .19), 0 8px 14px rgba(0, 0, 0, .18)
}

.pixel-blocks span:nth-child(2) {
    height: 36px;
    background: linear-gradient(145deg, #e7c267, #8e6d25)
}

.pixel-blocks span:nth-child(3) {
    height: 58px;
    background: linear-gradient(145deg, #73d6dd, #2f878e)
}

.pixel-blocks span:nth-child(4) {
    height: 42px;
    background: linear-gradient(145deg, #d17762, #7e3329)
}

.pixel-blocks span:nth-child(5) {
    height: 52px;
    background: linear-gradient(145deg, #5b625f, #2f3432)
}

.about-section {
    padding: 68px 0
}

.about-section-alt {
    background: #0d130f;
    border-block: 1px solid rgba(255, 255, 255, .055)
}

.about-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    gap: 14px;
    align-items: stretch
}

.about-card,
.about-feature,
.contact-panel,
.about-note {
    border: 1px solid #29372d;
    background: linear-gradient(180deg, #121a14, #0e1510);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .13)
}

.about-card {
    padding: 28px
}

.about-card h2,
.section-heading h2,
.contact-panel h2 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.045em
}

.about-card p,
.section-heading p,
.about-feature p,
.promise-item p,
.contact-panel p,
.about-note p {
    color: #aeb9b0
}

.about-card p:last-child,
.about-feature p:last-child,
.promise-item p:last-child,
.about-note p:last-child {
    margin-bottom: 0
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, rgba(120, 214, 75, .12), rgba(255, 214, 90, .05)), #101712
}

.stat-card .mini-label {
    color: #91a095;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em
}

.stat-card strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(1.55rem, 3.2vw, 2.5rem);
    line-height: 1.08;
    color: #e7ffdc
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px
}

.section-heading.compact {
    margin: 0
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.about-feature {
    padding: 21px
}

.feature-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #3c5540;
    border-radius: 10px;
    background: #17241a;
    color: #cfffaf;
    font-weight: 950
}

.about-feature h3 {
    margin: 13px 0 7px;
    font-size: 1.05rem
}

.about-feature p {
    margin: 0;
    font-size: .91rem
}

.promise-grid {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    gap: 52px;
    align-items: start
}

.promise-list {
    display: grid;
    gap: 10px
}

.promise-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid #2a382e;
    border-radius: 14px;
    background: #101713
}

.promise-item > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #39533e;
    background: #18251a;
    color: #bdf59f;
    font-weight: 900;
    font-size: .78rem
}

.promise-item strong {
    display: block;
    margin-top: 1px
}

.promise-item p {
    margin: 5px 0 0
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, .75fr);
    gap: 28px;
    align-items: center;
    padding: 30px
}

.contact-panel h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem)
}

.contact-panel p {
    max-width: 660px;
    margin-bottom: 0
}

.email-card {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #38523d;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(120, 214, 75, .1), rgba(255, 214, 90, .04));
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, filter .18s ease;
    min-width: 0
}

.email-card:hover {
    transform: translateY(-1px);
    border-color: #5f8a64;
    filter: brightness(1.05)
}

.email-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(145deg, #8fe05e, #5eaf3e);
    color: #0b1909;
    font-weight: 1000
}

.email-card small {
    display: block;
    color: #8fa095;
    font-size: .76rem
}

.email-card strong {
    display: block;
    overflow-wrap: anywhere
}

.email-arrow {
    color: #bdf59f;
    font-size: 1.3rem;
    font-weight: 900
}

.about-disclaimer-section {
    padding-top: 34px;
    padding-bottom: 52px
}

.about-note {
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(120, 214, 75, .08), rgba(255, 214, 90, .04)), #101712
}

.about-note strong {
    color: #e7efdf
}

.about-note p {
    margin: 6px 0 0;
    font-size: .9rem
}

.site-footer {
    padding: 38px 0;
    border-top: 1px solid #263129;
    color: #92a096
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr .6fr;
    gap: 24px
}

.footer-grid > div:first-child p {
    max-width: 430px;
    color: #8d9990
}

.footer-links {
    display: grid;
    gap: 7px;
    align-content: start
}

.footer-links a {
    text-decoration: none;
    color: #aeb8b0
}

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

.footer-links a[aria-current="page"] {
    color: #d9ffd0
}

.disclaimer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #252f28;
    font-size: .82rem;
    color: #79867c
}

@media(max-width:980px) {

    .about-hero-grid,
    .about-content-grid,
    .promise-grid,
    .contact-panel,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .about-hero-grid {
        gap: 34px
    }

    .about-feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-visual {
        max-width: 720px
    }

    .promise-grid {
        gap: 28px
    }
}

@media(max-width:680px) {
    .wrap {
        width: min(100% - 22px, var(--wrap))
    }

    .about-hero {
        padding: 48px 0 42px
    }

    .about-hero h1 {
        font-size: clamp(2.45rem, 13vw, 4rem)
    }

    .about-lead {
        font-size: 1rem
    }

    .pixel-scene {
        min-height: 285px;
        padding: 34px 18px
    }

    .pixel-blocks span {
        width: 36px;
        height: 36px
    }

    .pixel-blocks span:nth-child(2) {
        height: 29px
    }

    .pixel-blocks span:nth-child(3) {
        height: 44px
    }

    .pixel-blocks span:nth-child(4) {
        height: 32px
    }

    .pixel-blocks span:nth-child(5) {
        height: 39px
    }

    .about-section {
        padding: 48px 0
    }

    .about-feature-grid {
        grid-template-columns: 1fr
    }

    .about-card,
    .contact-panel {
        padding: 22px
    }

    .promise-item {
        grid-template-columns: 44px 1fr;
        padding: 15px;
        gap: 11px
    }

    .promise-item > span {
        width: 40px;
        height: 40px
    }

    .email-card {
        grid-template-columns: 42px 1fr auto;
        padding: 14px
    }

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

    .about-btn {
        width: 100%
    }
}


/* =========================================================
   Privacy / legal page styles (shared through global.css)
   ========================================================= */
.legal-hero {
    padding: 72px 0 44px
}

.legal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
    gap: 42px;
    align-items: center
}

.legal-hero h1 {
    margin: 0;
    font-size: clamp(2.65rem, 6vw, 4.7rem);
    line-height: 1;
    letter-spacing: -.055em
}

.legal-hero h1 span {
    color: var(--green2)
}

.legal-lead {
    max-width: 760px;
    margin: 20px 0 0;
    color: #b7c2b9;
    font-size: 1.06rem;
    line-height: 1.75
}

.legal-badge-card {
    padding: 24px;
    border: 1px solid #2b3a2f;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(120, 214, 75, .10), rgba(255, 214, 90, .035)), #101712;
    box-shadow: var(--shadow)
}

.legal-badge {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #426047;
    border-radius: 15px;
    background: linear-gradient(145deg, #8fe05e, #5eaf3e);
    color: #0b1909;
    font-size: 1.55rem;
    font-weight: 1000;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .16)
}

.legal-badge-card strong {
    display: block;
    margin-top: 16px;
    color: #ecf7e9;
    font-size: 1.08rem
}

.legal-badge-card p {
    margin: 7px 0 0;
    color: #95a298;
    font-size: .91rem
}

.legal-layout {
    padding: 18px 0 68px
}

.legal-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    align-items: start
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-height) + 18px);
    padding: 18px;
    border: 1px solid #29372d;
    border-radius: 16px;
    background: #101713;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16)
}

.legal-toc b {
    display: block;
    margin-bottom: 9px;
    color: #edf6ea;
    font-size: .92rem
}

.legal-toc nav {
    display: grid;
    gap: 3px
}

.legal-toc a {
    display: block;
    padding: 8px 9px;
    border-radius: 8px;
    color: #98a69b;
    text-decoration: none;
    font-size: .82rem;
    line-height: 1.35
}

.legal-toc a:hover {
    background: #172019;
    color: #e8f6e4
}

.legal-document {
    min-width: 0;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #29372d;
    border-radius: 20px;
    background: linear-gradient(180deg, #121a14, #0e1510);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .16)
}

.legal-document h2 {
    margin: 38px 0 12px;
    padding-top: 3px;
    color: #eff8ed;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    scroll-margin-top: calc(var(--header-height) + 22px)
}

.legal-document h2:first-of-type {
    margin-top: 28px
}

.legal-document h3 {
    margin: 26px 0 10px;
    color: #dff7d5;
    font-size: 1.04rem
}

.legal-document p,
.legal-document li {
    color: #aeb9b0;
    font-size: .96rem;
    line-height: 1.78
}

.legal-document p {
    margin: 0 0 15px
}

.legal-document ul {
    margin: 8px 0 22px;
    padding-left: 22px
}

.legal-document li {
    margin: 7px 0
}

.legal-document a {
    color: #bdf59f;
    text-underline-offset: 3px;
    overflow-wrap: anywhere
}

.legal-document a:hover {
    color: #e1ffd0
}

.legal-document .highlight {
    color: #d8ffd0;
    font-weight: 760
}

.legal-document section[id] {
    scroll-margin-top: calc(var(--header-height) + 22px)
}

@media(max-width:960px) {

    .legal-hero-grid,
    .legal-grid {
        grid-template-columns: 1fr
    }

    .legal-hero-grid {
        gap: 26px
    }

    .legal-badge-card {
        max-width: 640px
    }

    .legal-toc {
        position: static
    }

    .legal-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:680px) {
    .legal-hero {
        padding: 48px 0 30px
    }

    .legal-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.8rem)
    }

    .legal-layout {
        padding-bottom: 48px
    }

    .legal-document {
        padding: 20px 17px
    }

    .legal-toc nav {
        grid-template-columns: 1fr
    }

    .legal-document p,
    .legal-document li {
        font-size: .93rem
    }
}
