:root {
    --bg: #0a0f1f;
    --bg-elev: #11172a;
    --surface: #161e36;
    --surface-2: #1b2542;
    --border: #25304f;
    --border-strong: #354062;
    --text: #e6ecff;
    --text-muted: #8c97b8;
    --text-dim: #6c7796;
    --accent: #22d3ee;
    --accent-2: #a78bfa;
    --accent-glow: rgba(34, 211, 238, 0.35);
    --success: #22c55e;
    --danger: #ef4444;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --container: 1200px;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.3), 0 0 30px rgba(34, 211, 238, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, 0.08), transparent 60%),
        radial-gradient(800px 500px at -10% 30%, rgba(167, 139, 250, 0.08), transparent 60%);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #67e8f9; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0ea5e9);
    color: #052532;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); color: #042029; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.06);
    margin-bottom: 1.25rem;
}
.kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(10, 15, 31, 0.78);
    border-bottom-color: var(--border);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.brand {
    display: inline-flex;
    align-items: center;
}
.brand-logo {
    height: 38px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0;
    position: relative;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
}
.lang-switch a { color: var(--text-dim); }
.lang-switch a.is-active { color: var(--accent); }
.lang-switch .sep { color: var(--border-strong); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.hero {
    position: relative;
    padding: clamp(8rem, 16vh, 10rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 1.25rem;
}
.hero h1 .accent {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 38rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0; }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin-left: auto;
}
.terminal {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .dot.r { background: #ff5f57; }
.terminal-bar .dot.y { background: #febc2e; }
.terminal-bar .dot.g { background: #28c840; }
.terminal-bar .title { margin-left: 0.6rem; color: var(--text-dim); font-size: 0.78rem; }
.terminal-body { padding: 1.1rem 1.25rem; color: var(--text); }
.terminal-body .tok-prompt { color: var(--accent); }
.terminal-body .tok-cmd { color: var(--text); }
.terminal-body .tok-flag { color: var(--accent-2); }
.terminal-body .tok-str { color: #fcd34d; }
.terminal-body .tok-ok { color: var(--success); }
.terminal-body .tok-warn { color: #f59e0b; }
.terminal-body .tok-comment { color: var(--text-dim); }
.terminal-body .cursor::after {
    content: "▌";
    color: var(--accent);
    animation: blink 1s steps(2, end) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
}
.section-heading {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 4rem;
}
.section-heading h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-bottom: 1rem;
}
.section-heading p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) 1.4fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
}
.section-split .section-heading {
    text-align: left;
    max-width: none;
    margin: 0;
    position: sticky;
    top: 6.5rem;
}
.section-split--reverse {
    grid-template-columns: 1.4fr minmax(280px, 0.85fr);
}
.section-split--reverse .section-heading { order: 2; }
.section-split--reverse .grid-col { order: 1; }
.section-services {
    background: linear-gradient(180deg,
        var(--bg) 0%,
        var(--bg-elev) 18%,
        var(--bg-elev) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.service-card {
    --card-accent: var(--accent);
    --card-accent-soft: rgba(34, 211, 238, 0.12);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2), border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-accent), transparent 60%);
    opacity: 0.85;
}
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 220px at top left, var(--card-accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}
.service-card:hover {
    transform: translateY(-6px) rotate(-0.4deg);
    border-color: var(--card-accent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}
.service-card:hover::after { opacity: 1; }
.service-card:nth-child(2):hover { transform: translateY(-6px) rotate(0.4deg); }
.service-card:nth-child(3):hover { transform: translateY(-6px) rotate(-0.3deg); }
.service-card:nth-child(4):hover { transform: translateY(-6px) rotate(0.3deg); }

.service-card--dev    { --card-accent: #22d3ee; --card-accent-soft: rgba(34, 211, 238, 0.14); }
.service-card--sec    { --card-accent: #a78bfa; --card-accent-soft: rgba(167, 139, 250, 0.14); }
.service-card--ai     { --card-accent: #fcd34d; --card-accent-soft: rgba(252, 211, 77, 0.12); }
.service-card--consult{ --card-accent: #34d399; --card-accent-soft: rgba(52, 211, 153, 0.14); }

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--card-accent-soft);
    border: 1px solid color-mix(in srgb, var(--card-accent) 35%, transparent);
    display: grid;
    place-items: center;
    color: var(--card-accent);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--card-accent) 12%, transparent);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text); }
.service-card p { font-size: 0.95rem; margin: 0; }

.approach {
    background:
        radial-gradient(900px 400px at 15% 0%, rgba(167, 139, 250, 0.07), transparent 60%),
        radial-gradient(900px 400px at 85% 100%, rgba(34, 211, 238, 0.06), transparent 60%),
        linear-gradient(180deg,
            var(--bg-elev) 0%,
            var(--bg) 18%,
            var(--bg) 100%);
}

.timeline {
    position: relative;
    padding: 0.5rem 0 1rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    bottom: 4rem;
    width: 2px;
    background: linear-gradient(180deg, #22d3ee 0%, #a78bfa 33%, #fcd34d 66%, #34d399 100%);
    opacity: 0.45;
    border-radius: 2px;
}
.timeline-list {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: timeline;
}
.timeline-step {
    --step-color: var(--accent);
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.4rem;
    align-items: flex-start;
    counter-increment: timeline;
    position: relative;
}
.timeline-step:nth-child(1) { --step-color: #22d3ee; }
.timeline-step:nth-child(2) { --step-color: #a78bfa; }
.timeline-step:nth-child(3) { --step-color: #fcd34d; }
.timeline-step:nth-child(4) { --step-color: #34d399; }

.timeline-marker {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 2px solid var(--step-color);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--step-color);
    box-shadow:
        0 0 0 4px var(--bg-elev),
        0 0 22px color-mix(in srgb, var(--step-color) 35%, transparent);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.3s ease;
}
.timeline-marker::before {
    content: counter(timeline, decimal-leading-zero);
}
.timeline-marker::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--step-color) 35%, transparent);
    animation: pulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes pulse {
    0% { transform: scale(0.82); opacity: 0.75; }
    100% { transform: scale(1.3); opacity: 0; }
}
.timeline-step:hover .timeline-marker {
    transform: scale(1.1) rotate(-6deg);
    box-shadow:
        0 0 0 4px var(--bg-elev),
        0 0 32px color-mix(in srgb, var(--step-color) 55%, transparent);
}

.timeline-content { padding-top: 0.35rem; }
.timeline-content h3 {
    font-size: 1.1rem;
    margin: 0 0 0.45rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.timeline-content h3::after {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--step-color), transparent);
}
.timeline-content p { margin: 0; font-size: 0.95rem; }

.timeline-end {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.75rem 0 0 0.4rem;
    padding: 0.4rem 0.9rem 0.4rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    background: rgba(34, 211, 238, 0.06);
    border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
    border-radius: 999px;
}
.timeline-end::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

.product-section {
    background: linear-gradient(180deg,
        var(--bg) 0%,
        var(--bg-elev) 18%,
        var(--bg-elev) 100%);
    position: relative;
    overflow: hidden;
}
.product-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 500px at 80% 35%, rgba(167, 139, 250, 0.10), transparent 60%),
        radial-gradient(700px 400px at 15% 80%, rgba(34, 211, 238, 0.08), transparent 60%);
    pointer-events: none;
}
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}
.product-copy { max-width: 32rem; }
.product-headline {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}
.product-headline .accent {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.product-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.product-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.product-actions .external,
.product-actions .arrow { width: 14px; height: 14px; transition: transform 0.2s ease; }
.product-actions .btn:hover .external { transform: translate(2px, -2px); }
.product-actions .btn:hover .arrow { transform: translateX(3px); }

.product-visual { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.dash-frame {
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(34, 211, 238, 0.06),
        0 0 90px rgba(167, 139, 250, 0.15);
    animation: float-panel 7s ease-in-out infinite;
}
@keyframes float-panel {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.dash-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}
.dash-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dash-dot.r { background: #ff5f57; }
.dash-dot.y { background: #febc2e; }
.dash-dot.g { background: #28c840; }
.dash-url {
    margin: 0 auto;
    padding: 0.25rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.dash-stack {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg);
}
.dash-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: dash-slide 16s ease-in-out infinite;
    will-change: transform;
}
.dash {
    flex: 0 0 25%;
    width: 25%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}
@keyframes dash-slide {
    0%, 25%   { transform: translateX(0); }
    29%, 50%  { transform: translateX(-25%); }
    54%, 75%  { transform: translateX(-50%); }
    79%, 100% { transform: translateX(-75%); }
}

.contact-section {
    padding-bottom: clamp(5rem, 10vw, 8rem);
    background: linear-gradient(180deg,
        var(--bg-elev) 0%,
        var(--bg) 18%,
        var(--bg) 100%);
}
.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 720px;
    margin: 0 auto;
}
.contact-form h3 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.field input, .field textarea {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.form-footer .recaptcha-note {
    font-size: 0.78rem;
    color: var(--text-dim);
}
.form-footer .recaptcha-note a { color: var(--text-muted); }
.alert-msg { margin-top: 1rem; font-size: 0.92rem; min-height: 1.2em; }
.alert-msg.is-ok { color: var(--success); }
.alert-msg.is-err { color: var(--danger); }

.page-header {
    padding: clamp(7rem, 14vh, 9rem) 0 2.5rem;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(34, 211, 238, 0.05), transparent),
        var(--bg);
}
.page-header h1 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin: 0;
}
.page-header .kicker { margin-bottom: 1rem; }

.legal-page {
    padding: 3rem 0 clamp(4rem, 8vw, 7rem);
}
.legal-page .legal-body {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
.legal-page h2, .legal-page h3 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}
.legal-page h2:first-child, .legal-page h3:first-child { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--text-muted); line-height: 1.7; }
.legal-page ul, .legal-page ol { padding-left: 1.3rem; margin: 0 0 1rem; list-style: disc; }
.legal-page ol { list-style: decimal; }
.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
}
.legal-page table th, .legal-page table td {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.legal-page table th {
    background: var(--surface-2);
    color: var(--text);
    font-weight: 600;
}
.legal-page table td { color: var(--text-muted); }
.legal-page a { color: var(--accent); }

.site-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
    background: rgba(10, 15, 31, 0.5);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand {
    display: inline-block;
    margin-bottom: 0.75rem;
}
.footer-brand-logo {
    height: 64px;
    width: auto;
    display: block;
}
.footer-grid h4 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 500;
}
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-grid ul a:hover { color: var(--text); }
.footer-grid .about-col p { font-size: 0.9rem; color: var(--text-muted); max-width: 24rem; margin: 0.5rem 0 0; }
.footer-grid .info { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }
.footer-grid .info span { display: block; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom ul { display: flex; gap: 1.25rem; }
.footer-bottom ul a { color: var(--text-dim); font-size: 0.85rem; }
.footer-bottom ul a:hover { color: var(--text); }

@media (max-width: 900px) {
    .nav-menu { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-header.is-open .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 31, 0.97);
        backdrop-filter: saturate(140%) blur(12px);
        -webkit-backdrop-filter: saturate(140%) blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.5rem;
    }
    .site-header.is-open .nav-menu .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .site-header.is-open .nav-menu .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }
    .site-header.is-open .nav-menu .nav-actions {
        margin-top: 0.75rem;
        align-self: flex-start;
    }
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { margin: 0 auto; max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .section-split,
    .section-split--reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .section-split .section-heading { position: static; }
    .section-split--reverse .section-heading { order: 0; }
    .section-split--reverse .grid-col { order: 0; }
    .product-showcase { grid-template-columns: 1fr; gap: 3rem; }
    .product-copy { max-width: 100%; }
    .product-visual { max-width: 360px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .services-grid { grid-template-columns: 1fr; }
}
