:root {
    --bg-dark: #10121b;
    --bg-light: #0f172a;
    --c-accent: #38bdf8; /* Update to LB42 brand colour if needed */
    --c-accent-soft: rgba(56, 189, 248, 0.15);
    --c-text: #e5e7eb;
    --c-text-muted: #9ca3af;
    --c-border: #1f2937;

    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);

    --container-width: 1120px;

    --header-height: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--c-text);
    background: radial-gradient(circle at top left, #1e293b 0, #020617 48%, #000 100%);
    min-height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo img {
    height: 28px;
    display: block;
}

/* NAV */

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--c-text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-nav a:hover {
    color: #f9fafb;
}

/* Mobile nav */

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 999px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
}

.menu-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--c-text);
    margin: 3px 0;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(24px);
        transform: translateY(-110%);
        transition: transform 0.24s ease-out;
    }

    .main-nav.is-open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .main-nav a {
        font-size: 1rem;
    }
}

/* HERO */

.hero {
    padding: 4rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 3vw + 1.2rem, 3.1rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero-subtitle {
    margin: 0 0 1.8rem;
    color: var(--c-text-muted);
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-accent), #a855f7);
    color: #0b1120;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.btn-secondary:hover {
    border-color: var(--c-accent);
}

/* HERO visual */

.hero-visual img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-soft);
    display: block;
}

/* Sections */

.section {
    padding: 3.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-header p {
    margin: 0;
    color: var(--c-text-muted);
    max-width: 32rem;
    margin-inline: auto;
}

/* Grid & cards */

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.4rem 1.3rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.9);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--c-text-muted);
}

/* Contact layout */

.section-contact .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.contact-form {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    color: var(--c-text-muted);
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.7rem 0.75rem;
    color: var(--c-text);
    font: inherit;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--c-accent);
    outline-offset: 1px;
    border-color: transparent;
}

.form-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

.contact-aside {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.75rem;
}

.social-links a {
    color: var(--c-text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

.social-links a:hover {
    border-bottom-color: var(--c-accent);
}

/* Honey trap */

.honey-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.24);
    padding: 1.2rem 0 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98), transparent);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

.footer-inner a {
    color: var(--c-text-muted);
    text-decoration: none;
}

.footer-inner a:hover {
    color: #e5e7eb;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    padding: 1rem 1.25rem calc(env(safe-area-inset-bottom, 0) + 1rem);
    z-index: 60;
}

.cookie-banner.is-hidden {
    display: none;
}

.cookie-inner {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.1rem 1.25rem;
}

.cookie-inner h2 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.cookie-inner p {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* glass-modal */

.glass-modal {
    backdrop-filter: blur(24px);
}

/* Static pages */

.static-page .static-main {
    padding: 3.5rem 0 4rem;
}

.static-main .section-header h1 {
    text-transform: none;
    letter-spacing: 0;
}

.legal-copy {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--c-text-muted);
}

.legal-copy h2 {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #e5e7eb;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-visual {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-contact .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cookie-inner {
        padding: 1rem;
    }
}
