:root {
    --bg: #0b1020;
    --bg-alt: #111834;
    --surface: #151d3b;
    --border: rgba(255, 255, 255, .10);
    --text: #e8ecf8;
    --muted: #a4aecb;
    --accent: #29d3a4;
    --accent-2: #4c8dff;
    --danger: #ff6b6b;
    --radius: 14px;
    --maxw: 1140px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2rem; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: .8rem; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--accent); color: #06231b;
    padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 16, 32, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.brand:hover { text-decoration: none; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* The master logo is a light monochrome lockup on transparency, so it sits
   directly on the dark background. Height drives the size; width follows. */
.brand-logo { display: block; height: 40px; width: auto; }
.brand-logo-lg { height: 74px; }
/* Logo shown at the top of the About page. */
.about-logo { display: block; height: 96px; width: auto; margin-bottom: 1.6rem; }
.brand-mark {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #06231b; border-radius: 9px; padding: .18rem .45rem; font-weight: 900; letter-spacing: -.02em;
}

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.nav-link { color: var(--muted); font-size: .96rem; font-weight: 500; }
.nav-link:hover, .nav-link.active { color: var(--text); text-decoration: none; }
.nav-link.active { border-bottom: 2px solid var(--accent); }
.lang-switch { color: var(--muted); font-size: .88rem; border: 1px solid var(--border); border-radius: 999px; padding: .18rem .7rem; }
.lang-switch:hover { color: var(--text); border-color: var(--accent); text-decoration: none; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: .5rem; }
.nav-toggle-label span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn {
    display: inline-block; border-radius: 999px; padding: .75rem 1.5rem; font-weight: 600;
    border: 1px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05221a; }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 66ch; margin-bottom: 2.5rem; }

.hero { padding: 96px 0 84px; position: relative; overflow: hidden; background:
    radial-gradient(900px 420px at 12% -10%, rgba(76, 141, 255, .22), transparent 60%),
    radial-gradient(760px 380px at 92% 0%, rgba(41, 211, 164, .18), transparent 60%); }
/* Oversized brand mark used as a decorative watermark behind the hero copy. */
.hero::after {
    content: ""; position: absolute; right: -70px; top: 50%; transform: translateY(-50%);
    width: 460px; height: 460px; pointer-events: none; opacity: .05;
    background: url("../imgs/logo-mark.png") no-repeat center / contain;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 span { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; color: var(--muted); font-size: .95rem; }
.hero-facts strong { display: block; color: var(--text); font-size: 1.45rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.6rem; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: rgba(41, 211, 164, .45); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: .6rem; }
.card ul { color: var(--muted); font-size: .95rem; margin: 0; }
.card-icon { font-size: 1.6rem; margin-bottom: .6rem; display: block; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 3rem; margin-bottom: 1.6rem; }
.step:before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
    background: rgba(41, 211, 164, .15); color: var(--accent); display: grid; place-items: center; font-weight: 700;
}

.cta-band { background: linear-gradient(120deg, rgba(41, 211, 164, .16), rgba(76, 141, 255, .16)); border-top: 1px solid var(--border); }
.cta-band .container { text-align: center; }

/* Legal + prose pages */
.page-header { padding: 64px 0 28px; border-bottom: 1px solid var(--border); }
.prose { padding: 48px 0 72px; }
.prose .container { max-width: 820px; }
.prose h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin-bottom: .45rem; color: var(--muted); }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.2rem 2.2rem; }
.toc li { margin-bottom: .3rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: 0; }
.info-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .15rem; }

form.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea {
    width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: .98rem;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 150px; resize: vertical; }
.field-error { color: var(--danger); font-size: .85rem; margin-top: .3rem; display: block; }
.checkbox-field { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.checkbox-field input { width: auto; margin-top: .3rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { border-radius: 10px; padding: 1rem 1.15rem; margin-bottom: 1.4rem; border: 1px solid transparent; }
.alert-success { background: rgba(41, 211, 164, .12); border-color: rgba(41, 211, 164, .45); }
.alert-error { background: rgba(255, 107, 107, .12); border-color: rgba(255, 107, 107, .45); }
.alert p { margin: 0; color: var(--text); }

/* Footer */
.site-footer { background: #070b17; border-top: 1px solid var(--border); padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-brand { display: inline-block; margin-bottom: 1rem; }
.footer-tagline, .footer-legal-name { color: var(--muted); max-width: 40ch; }
.footer-legal-name strong { color: var(--text); }
.footer-heading { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .9rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: var(--text); }
.footer-list a:hover { color: var(--accent); }
.footer-address { color: var(--muted); }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
    margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .87rem;
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .nav-toggle-label { display: block; }
    .site-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
        align-items: flex-start; gap: .9rem; padding: 1.2rem 20px 1.6rem;
        background: var(--bg-alt); border-bottom: 1px solid var(--border);
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .brand-logo { height: 34px; }
    .brand-logo-lg { height: 64px; }
    .hero::after { display: none; }
    .about-logo { height: 72px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover { transform: none; }
}

