:root {
    --ink-950: #0b1324;
    --ink-900: #101a31;
    --ink-800: #182641;
    --ink-700: #233457;
    --ink-100: #dbe7ff;
    --paper: #fffaf0;
    --paper-strong: #fffef9;
    --stone: rgba(255, 251, 240, 0.86);
    --line: rgba(143, 168, 214, 0.18);
    --line-strong: rgba(143, 168, 214, 0.34);
    --accent: #f97316;
    --accent-strong: #ea580c;
    --accent-soft: rgba(249, 115, 22, 0.16);
    --cyan-soft: rgba(78, 196, 255, 0.18);
    --green-soft: rgba(55, 178, 77, 0.16);
    --shadow: 0 28px 70px rgba(7, 12, 24, 0.2);
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --sans: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
    --mono: "JetBrains Mono", "SFMono-Regular", "Menlo", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    color: var(--paper);
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.2), transparent 24rem),
        radial-gradient(circle at 85% 20%, rgba(78, 196, 255, 0.15), transparent 22rem),
        linear-gradient(145deg, #08101f 0%, #101b31 42%, #192744 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.18;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

code {
    font-family: var(--mono);
}

.site-shell {
    position: relative;
    overflow: clip;
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    pointer-events: none;
}

.ambient-one {
    top: 5rem;
    right: -8rem;
    width: 24rem;
    height: 24rem;
    background: rgba(249, 115, 22, 0.18);
}

.ambient-two {
    top: 36rem;
    left: -10rem;
    width: 30rem;
    height: 30rem;
    background: rgba(78, 196, 255, 0.1);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.1rem 1.5rem;
    backdrop-filter: blur(18px);
    background: rgba(6, 10, 20, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.35rem 0.55rem;
    border-radius: 1rem;
    background:
        linear-gradient(145deg, rgba(255, 248, 234, 0.98), rgba(255, 225, 188, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 28px rgba(5, 10, 20, 0.24);
}

.brand-logo {
    display: block;
    width: 3.45rem;
    height: auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
}

.brand-copy strong {
    font-size: 1rem;
    font-weight: 700;
    max-width: 24ch;
}

.brand-copy span {
    color: rgba(255, 250, 240, 0.72);
    font-size: 0.85rem;
    max-width: 34ch;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.topnav a {
    color: rgba(255, 250, 240, 0.78);
}

.topnav a:hover,
.topnav a:focus-visible {
    color: #ffffff;
}

main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.panel {
    position: relative;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(9, 14, 26, 0.7);
    box-shadow: var(--shadow);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2rem;
    padding: 2rem;
    border-radius: 2rem;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(249, 115, 22, 0.12), transparent 20rem),
        radial-gradient(circle at 90% 10%, rgba(78, 196, 255, 0.1), transparent 18rem);
    pointer-events: none;
}

.hero-copy,
.hero-card {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: #f8b26d;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1,
.section h2,
.closing h2 {
    margin: 0;
    font-family: var(--serif);
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    max-width: 11ch;
}

.lede {
    max-width: 62ch;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 250, 240, 0.8);
}

.hero-actions,
.closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ffb347);
    color: var(--ink-950);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--paper);
}

.proof-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.proof-bar span {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 250, 240, 0.84);
    font-size: 0.86rem;
}

.hero-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-stage {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.2rem 1.15rem;
    border-radius: 1.55rem;
    border: 1px solid rgba(234, 88, 12, 0.18);
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 10rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 246, 231, 0.98)),
        #fff7ea;
    color: var(--ink-950);
    box-shadow: 0 28px 70px rgba(5, 10, 20, 0.18);
}

.brand-stage::after {
    content: "";
    position: absolute;
    right: -0.8rem;
    bottom: 1rem;
    width: 8rem;
    height: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.72), rgba(251, 191, 36, 0.95));
    transform: rotate(-8deg);
    opacity: 0.92;
}

.brand-stage-label,
.brand-stage-body {
    position: relative;
    z-index: 1;
    margin: 0;
}

.brand-stage-label {
    margin-bottom: 0.75rem;
    color: rgba(16, 26, 49, 0.72);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand-stage-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 16rem);
    height: auto;
}

.brand-stage-body {
    max-width: 34ch;
    margin-top: 1rem;
    color: rgba(11, 19, 36, 0.82);
    line-height: 1.7;
}

.brand-stage-compact {
    min-height: 0;
}

.brand-stage-compact .brand-stage-logo {
    width: min(100%, 12rem);
}

.terminal,
.mini-grid article,
.stack-layer,
.sandbox-card,
.pricing-grid article,
.org-outcomes article,
.capability-grid article,
.reason-grid article,
.extension-points article,
.cli-grid article,
.command-strip,
.agent-flow {
    border-radius: 1.3rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
}

.terminal {
    overflow: hidden;
}

.terminal-chrome {
    display: flex;
    gap: 0.45rem;
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-chrome span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.38);
}

.terminal pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    color: #f7f6f1;
    font-size: 0.88rem;
    line-height: 1.7;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.mini-grid article,
.capability-grid article,
.reason-grid article,
.extension-points article,
.cli-grid article,
.sandbox-card,
.pricing-grid article,
.org-outcomes article {
    padding: 1rem;
}

.mini-grid h2,
.mini-grid p,
.capability-grid h3,
.capability-grid p,
.reason-grid h3,
.reason-grid p,
.extension-points h3,
.extension-points p,
.cli-grid h3,
.cli-grid p,
.sandbox-card h3,
.sandbox-card p,
.pricing-grid h3,
.pricing-grid p,
.org-outcomes h3,
.org-outcomes p {
    margin: 0;
}

.mini-grid h2,
.capability-grid h3,
.reason-grid h3,
.extension-points h3,
.cli-grid h3,
.sandbox-card h3,
.pricing-grid h3,
.org-outcomes h3 {
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.mini-grid p,
.capability-grid p,
.reason-grid p,
.extension-points p,
.cli-grid p,
.sandbox-card p,
.pricing-grid p,
.org-outcomes p,
.section p,
.closing p {
    color: rgba(255, 250, 240, 0.78);
    line-height: 1.72;
}

.section,
.closing {
    margin-top: 1.5rem;
    padding: 1.6rem;
    border-radius: 1.8rem;
}

.section-heading {
    margin-bottom: 1.25rem;
}

.section h2,
.closing h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    max-width: 15ch;
}

.reason-grid,
.capability-grid,
.extension-points,
.cli-grid,
.sandbox-grid,
.pricing-grid,
.org-outcomes {
    display: grid;
    gap: 1rem;
}

.reason-grid,
.capability-grid,
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sandbox-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.25rem;
    align-items: start;
}

.stack-card {
    display: grid;
    gap: 0.85rem;
}

.stack-layer {
    padding: 1rem 1rem 1.05rem;
}

.stack-layer strong {
    display: block;
    margin-bottom: 0.38rem;
}

.stack-layer span {
    color: rgba(255, 250, 240, 0.76);
    line-height: 1.65;
}

.stack-core {
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(255, 184, 108, 0.12)),
        rgba(255, 255, 255, 0.05);
    border-color: rgba(249, 115, 22, 0.38);
}

.cli-grid,
.extension-points,
.org-outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agent-flow {
    padding: 1.15rem 1.2rem;
}

.agent-flow ol {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 250, 240, 0.84);
}

.command-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: 1rem 1.15rem;
}

.command-strip strong {
    display: block;
    margin-bottom: 0.35rem;
}

.command-strip p {
    margin: 0;
}

.command-strip pre {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(7, 12, 24, 0.82);
    border: 1px solid var(--line-strong);
    overflow-x: auto;
}

.closing {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 2rem;
}

.closing.panel {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 14rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        rgba(9, 14, 26, 0.78);
}

@media (max-width: 1100px) {
    .hero,
    .split,
    .closing {
        grid-template-columns: 1fr;
    }

    .sandbox-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand {
        width: 100%;
    }

    .brand-copy strong {
        font-size: 0.95rem;
    }

    .topnav {
        gap: 0.75rem 1rem;
    }

    main {
        width: min(100% - 1rem, 1180px);
        padding-top: 1rem;
    }

    .hero,
    .section,
    .closing {
        padding: 1.2rem;
    }

    .mini-grid,
    .reason-grid,
    .capability-grid,
    .extension-points,
    .cli-grid,
    .sandbox-grid,
    .pricing-grid,
    .org-outcomes {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 12ch;
    }

    .brand-copy span {
        max-width: none;
    }

    .command-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}
