:root {
    --bg: #0b0c0d;
    --fg: #e7e7e7;
    --muted: #a7a7a7;
    --brand: #2b7cff; /* blue accent */
    --card: #151718;
    --card-border: #222426;
    --btn: #2b7cff;
    --btn-text: #041311;
    --ring: rgba(43,124,255,.35);
    --ring-strong: rgba(43,124,255,.55);
    --success: #37d399;
}

/* === Soft Dark Nuance Overrides === */

/* 1) Palette: raise the floor, add layers, soften borders */
:root {
    /* slightly lighter base + clearer text */
    --bg: #0f1113;                /* was #0b0c0d */
    --fg: #eef1f4;                /* was #e7e7e7 */
    --muted: #b7c0c9;             /* was #a7a7a7 */

    /* layered surfaces for depth */
    --layer-1: #14171a;           /* cards, stats */
    --layer-2: #181c20;           /* hero, callouts */

    /* borders now translucent, not flat grey */
    --card-border: rgba(255,255,255,.08); /* was #222426 */

    /* brand stays, but ring softens a touch */
    --ring: rgba(43,124,255,.28);
    --ring-strong: rgba(43,124,255,.5);

    background-color: var(--bg);
}


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }


a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;          /* desktop */
    min-height: 100svh;         /* modern mobile safe area */
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
header { display:flex; align-items:center; justify-content:space-between; gap:24px; position: sticky; top: 0; background: linear-gradient(180deg, rgba(11,12,13,.96), rgba(11,12,13,.86) 60%, rgba(11,12,13,0)); backdrop-filter: blur(6px); z-index: 50; padding-block: 12px; }
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-wrap:hover {
    text-decoration: none;
}

.taglines {
    display: flex;
    flex-direction: column;
}

.tagline-main {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
}

.tagline-sub {
    font-size: 0.85rem;
    color: var(--brand); /* accent color */
}
.logo img { width: 50px;
    height: auto; display:block; }
.brand { font-weight: 800; letter-spacing: .4px; font-size: 1.05rem; }
nav a { margin-left: 16px; color: var(--muted); font-weight: 600; font-size: .95rem; }
nav a.active, nav a:hover { color: var(--fg); }

/* Hero */
.hero {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
    border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
    background: radial-gradient(80% 120% at 10% 10%, rgba(43,124,255,.08), transparent 60%),
    linear-gradient(135deg, #141414 0%, #1b1c1d 100%);
    box-shadow: inset 0 0 10px rgba(255,255,255,.03), 0 10px 40px rgba(0,0,0,.5);
    margin: 22px auto 8px; padding: 64px;
    position: relative; overflow: hidden;
}
.hero::after { /* subtle grid vignette */
    content:""; position: absolute; inset: -2px; pointer-events:none; opacity:.08;
    background-image: linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px);
    background-size: 32px 32px; mix-blend-mode: overlay;
}
.hero > div:first-child {
    display: flex;
    flex-direction: column;
    height: 100%
}
.hero > div:first-child .stats {
    margin-top: auto; /* pushes stats to the bottom */
}

/* Single column hero */
.hero--single {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Keep a tight readable line length */
.hero--single .intro {
    max-width: 820px;
    margin: 0 auto 1.5rem auto;
}


.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; }
h1 { margin: 8px 0 10px; font-size: clamp(32px, 5vw, 56px); line-height: 1.04; }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 62ch; }
.cta { margin-top: 22px; display:flex; gap: 12px; flex-wrap: wrap; }
.btn { background: var(--btn); color: var(--btn-text); border: none; padding: 12px 18px; font-weight: 700; border-radius: 10px; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px var(--ring); }
.btn:focus-visible { outline: 2px solid var(--ring-strong); outline-offset: 2px; }
.btn.secondary { background: transparent; color: var(--fg); border: 1px solid var(--card-border); }
.badge-row { display:flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.badge { background: #0f1112; color: var(--muted); border: 1px solid var(--card-border); padding: 6px 10px; border-radius: 999px; font-size: .85rem; display:flex; align-items:center; gap:8px; transition: border-color .15s ease, transform .15s ease; }
.badge svg { width: 16px; height: 16px; opacity: .9; }
.badge:hover { border-color: var(--brand); transform: translateY(-1px); }

.mock img { max-width: 100%; height:auto; display:block; }

.section { padding: 56px 0; position: relative; }
.section .section-intro { color: var(--muted); margin-top: -6px; margin-bottom: 18px; }

/* Cards */
.cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.0)); border: 1px solid var(--card-border); border-radius: 16px; padding: 18px 18px 48px; display:flex; flex-direction:column; gap:12px; position:relative; overflow:hidden; }
.card::before { content:""; position:absolute; inset: -1px; border-radius: 16px; padding:1px; background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(43,124,255,.18)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite: exclude; pointer-events:none; opacity:.0; transition: opacity .2s ease; }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0; font-size: 1.1rem; display:flex; align-items:center; gap:8px; }
.card h3 svg { width:18px; height:18px; opacity:.9; }
.card p { margin: 0; color: var(--muted); }

/* Feature grid 2 */
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Stat bar */
.stats { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px;}
.stat { background: #101213; border:1px solid var(--card-border); border-radius: 14px; padding:14px; text-align:center; }
.stat .num { font-size: 1.6rem; font-weight: 800; letter-spacing: .3px; margin-bottom: 10px;}
.stat .lbl { color: var(--muted); font-size: .85rem; }

/* Use-cases */
.usecases { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.usecase { background: #101213; border:1px solid var(--card-border); border-radius: 14px; padding:18px 18px 48px;  }
.usecase h4 { margin: 0 0 8px; font-size: 1rem; }
.usecase h4 svg { width:18px; height:18px; opacity:.9; }
.list { list-style: none; padding: 0; margin: 0; display:grid; gap:8px; }
.list li { display:flex; align-items:flex-start; gap:8px; color: var(--muted); }
.list svg { width:16px; height:16px; flex:0 0 16px; color: var(--success); }

/* Callout */
.callout { margin-top: 18px; border-radius: 14px; border:1px solid var(--card-border); background: linear-gradient(180deg, rgba(43,124,255,.08), rgba(43,124,255,.03)); padding: 18px 18px 48px; }

/* FAQ */
details { border: 1px solid var(--card-border); border-radius: 14px; padding: 14px 16px; background: #111315; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display:none; }
details[open] { background: #121416; padding-bottom: 48px;}
details p { color: var(--muted); margin: 16px 0 0; }

footer { padding: 28px 0 46px; color: var(--muted); font-size: .9rem; }






/* 2) Global background: add subtle radial tint + fine grain */
html, body {
    background:
            radial-gradient(1200px 700px at 15% 10%, rgba(43,124,255,.06), transparent 60%),
            radial-gradient(900px 600px at 85% 15%, rgba(88,204,237,.05), transparent 55%),
            linear-gradient(180deg, #0f1113, #0e1012 40%, #0d0f11);
    color: var(--fg);
}

/* Optional ultra‑subtle noise with CSS only (no images) */
body::before {
    content: "";
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
            radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.035) 0, transparent 100%),
            radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,.03) 0, transparent 100%),
            radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.03) 0, transparent 100%);
    mix-blend-mode: overlay;
}

/* 3) Header: keep sticky but lighten glaze */
header {
    background: linear-gradient(180deg, rgba(15,17,19,.92), rgba(15,17,19,.8) 60%, rgba(15,17,19,0));
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* 4) Hero: swap harsh black for layered surface + softer grid */
.hero {
    background:
            radial-gradient(80% 120% at 10% 10%, rgba(43,124,255,.08), transparent 60%),
            linear-gradient(135deg, var(--layer-2) 0%, #14171a 100%);
    border: 1px solid var(--card-border);
    box-shadow:
            inset 0 0 10px rgba(255,255,255,.03),
            0 20px 50px rgba(0,0,0,.45);
}
.hero::after {
    opacity: .06; /* was .08 */
}

/* 5) Cards and stats: use layer-1 + translucent chrome */
.card, .stat, .usecase, .callout {

    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00)),
    var(--layer-1);
    border: 1px solid var(--card-border);
}
.card::before { opacity: .55; } /* subtle rim light on hover stays visible on dark */

/* 6) Text hierarchy: slightly brighter headings, calmer body */
h1, h2, h3, h4 { color: #f3f6f9; }
.lead, .section .section-intro, .list li, details p { color: #c4ccd4; }

/* 7) Buttons: same brand, better elevation */
.btn {
    box-shadow: 0 8px 24px rgba(43,124,255,.18);
}
.btn.secondary {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
    border: 1px solid rgba(255,255,255,.1);
}
.btn:hover { box-shadow: 0 10px 30px rgba(43,124,255,.26); }

/* 8) Dividers between sections for rhythm */
.section {
    position: relative;
}
.section::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
    transform: translateY(-28px);
}

/* 9) Details/FAQ: smoother open state */
details {
    background: #14171a;
    border: 1px solid rgba(255,255,255,.08);
}
details[open] {
    background: #161a1e;
    border-color: rgba(43,124,255,.18);
}

/* 10) Stats tiles: lift slightly and ease foreground contrast */
.stat { background: #14171a; }
.stat .num { color: #f0f5ff; }
.stat .lbl { color: #a9b4bf; }

/* 11) Nav active/hover: reduce jumpy contrast */
nav a { color: #99a6b2; }
nav a.active, nav a:hover { color: #e9eef3; }

/* 12) Focus outlines: balanced visibility on softer dark */
:focus-visible {
    outline: 2px solid var(--ring-strong);
    outline-offset: 2px;
}

/* 13) Mobile: keep nuance on small screens */
@media (max-width: 900px) {
    .hero { background:
            radial-gradient(80% 120% at 10% 10%, rgba(43,124,255,.09), transparent 60%),
            linear-gradient(135deg, var(--layer-2) 0%, #14171a 100%); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 36px; }
    header { flex-direction: column; align-items: flex-start; gap: 10px; }
    nav { width: 100%; display:flex; gap: 12px; overflow:auto; }
    .grid-2 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .taglines {
        flex-direction: row;
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
    .tagline-sub {
        display: none; /* hide second line on small screens */
    }
}

/* Fully hide slogans if space is extremely tight */
@media (max-width: 500px) {
    .taglines {
        display: none;
    }
}


.bio-section {
    background: radial-gradient(80% 120% at 10% 10%, rgba(43,124,255,.06), transparent 60%),
    linear-gradient(180deg, #0f1113, #0e1012 40%, #0d0f11);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.bio-container {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start; /* ✅ ensures top edges line up */
    color: #eef1f4;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
}

.bio-image img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    display: block;
}

.bio-name {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #f3f6f9;
}

.bio-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b7cff;
    margin-bottom: 24px;
}

.bio-text p {
    margin-bottom: 18px;
    color: #c4ccd4;
}

@media (max-width: 800px) {
    .bio-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bio-image {
        max-width: 240px;
        margin: 0 auto 20px;
    }
    .bio-name {
        font-size: 1.6rem;
    }
    .bio-title {
        font-size: 1rem;
    }
}