/* Málkelda public site.
   The brand band (header, hero, pilot card, footer) is always the deep Málkelda green.
   The reading sections follow the visitor's light or dark preference.
   No web fonts are downloaded: the serif headline uses the platform's own serif face. */

:root {
    color-scheme: dark;

    --bg: #0a1310;
    --bg-2: #0c1713;
    --panel: rgba(255, 255, 255, .028);
    --panel-solid: #101f1a;
    --line: rgba(160, 200, 180, .15);
    --line-strong: rgba(160, 200, 180, .3);
    --ink: #eef5f1;
    --ink-2: #c6d4cd;
    --muted: #96a9a0;
    --mint: #7ad9b8;
    --mint-bright: #a5ecd2;
    --mint-ink: #05201a;
    --mint-wash: rgba(122, 217, 184, .1);
    --gold: #d9b877;
    --shadow: 0 40px 90px -40px rgba(0, 0, 0, .85);

    --brand-band: #0a1310;
    --band-ink: #eef5f1;
    --band-ink-2: #c3d3cb;
    --band-muted: #93a79e;
    --band-line: rgba(160, 200, 180, .16);

    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
    --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;

        --bg: #f6f4ef;
        --bg-2: #efebe1;
        --panel: #ffffff;
        --panel-solid: #ffffff;
        --line: #ded7c8;
        --line-strong: #c8bfac;
        --ink: #16211d;
        --ink-2: #38453f;
        --muted: #5f6c66;
        --mint: #0f5c4b;
        --mint-bright: #0b473a;
        --mint-ink: #ffffff;
        --mint-wash: rgba(15, 92, 75, .075);
        --gold: #7f6222;
        --shadow: 0 40px 80px -40px rgba(24, 45, 36, .35);
    }
}

/* The brand band — header, hero and pilot card — is always the deep Málkelda green, so it always
   carries the dark palette's accent values. Without this a light-theme visitor gets the dark-green
   accent that is meant for text on cream, and the hero accent word, the eyebrow dot and the primary
   call to action lose contrast against the dark surface. In dark mode these values are identical,
   so nothing changes there. */
.site-header,
.hero,
.pilot-card {
    --mint: #7ad9b8;
    --mint-bright: #a5ecd2;
    --mint-ink: #05201a;
    --mint-wash: rgba(122, 217, 184, .1);
    --gold: #d9b877;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.15;
}

p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: .7rem 1.1rem;
    border-radius: 8px;
    background: var(--mint);
    color: var(--mint-ink);
    font-weight: 600;
    transition: top .15s ease;
}

.skip-link:focus {
    top: 1rem;
}

.wrap {
    width: min(1180px, 100% - clamp(1.5rem, 5vw, 5rem));
    margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .82rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn-primary {
    background: var(--mint);
    color: var(--mint-ink);
    box-shadow: 0 14px 34px -16px rgba(122, 217, 184, .7);
}

.btn-primary:hover {
    background: var(--mint-bright);
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: rgba(180, 215, 200, .34);
    background: rgba(255, 255, 255, .03);
    color: #eef5f1;
}

.btn-ghost:hover {
    border-color: rgba(200, 232, 218, .62);
    background: rgba(255, 255, 255, .07);
    transform: translateY(-1px);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 17, 14, .78);
    border-bottom: 1px solid var(--band-line);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--band-ink);
    border-radius: 10px;
}

.brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .6rem;
    display: grid;
    place-items: center;
    background: #d8ecdf;
    color: #123c30;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.brand-text strong {
    display: block;
    font-size: 1.06rem;
    letter-spacing: .01em;
    line-height: 1.2;
}

.brand-text small {
    display: block;
    margin-top: .1rem;
    color: var(--band-muted);
    font-size: .66rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.55rem;
}

.site-nav a {
    position: relative;
    padding-block: .35rem;
    color: #c9d9d1;
    font-size: .91rem;
    font-weight: 500;
    transition: color .16s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-nav a:hover {
    color: #ffffff;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.site-nav .nav-signin {
    padding: .5rem 1rem;
    border: 1px solid rgba(180, 215, 200, .34);
    border-radius: 8px;
    color: #eef5f1;
    font-weight: 600;
}

.site-nav .nav-signin::after {
    display: none;
}

.site-nav .nav-signin:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(200, 232, 218, .6);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: .55rem;
    padding: .55rem .8rem;
    border: 1px solid var(--band-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    color: var(--band-ink);
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
}

.nav-toggle-bars {
    display: grid;
    gap: 3px;
}

.nav-toggle-bars i {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 78% 8%, #14342a 0%, transparent 58%),
        linear-gradient(165deg, #0b1a15 0%, #0a1512 55%, #081210 100%);
    color: #eef5f1;
    border-bottom: 1px solid var(--band-line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(122, 217, 184, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(122, 217, 184, .04) 1px, transparent 1px);
    background-size: 92px 92px;
    mask-image: radial-gradient(120% 80% at 45% 0%, #000 25%, transparent 76%);
    -webkit-mask-image: radial-gradient(120% 80% at 45% 0%, #000 25%, transparent 76%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -18rem;
    right: -10rem;
    width: 46rem;
    height: 46rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 217, 184, .16) 0%, transparent 62%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.2rem);
    padding-block: clamp(2.9rem, 6vw, 5.6rem) clamp(3.2rem, 6vw, 5.6rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.35rem;
    padding: .38rem .8rem .38rem .6rem;
    border: 1px solid rgba(160, 200, 180, .22);
    border-radius: 999px;
    background: rgba(122, 217, 184, .06);
    color: #b9cec5;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 3px rgba(122, 217, 184, .16);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.15rem, 4.6vw, 3.85rem);
    font-weight: 500;
    letter-spacing: -.028em;
    line-height: 1.06;
    color: #f5faf7;
    text-wrap: balance;
}

.hero h1 em {
    font-style: italic;
    color: var(--mint);
}

.lede {
    max-width: 34ch;
    margin-top: 1.35rem;
    color: #c2d2ca;
    font-size: clamp(1rem, 1.25vw, 1.11rem);
    line-height: 1.66;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.9rem;
}

.hero-note {
    max-width: 40ch;
    margin-top: 1.35rem;
    padding-left: .9rem;
    border-left: 2px solid rgba(122, 217, 184, .35);
    color: #9fb3aa;
    font-size: .855rem;
    line-height: 1.55;
}

/* ---------- Product preview ---------- */

.hero-preview {
    min-width: 0;
}

.app-frame {
    margin: 0;
    border: 1px solid rgba(160, 200, 180, .22);
    border-radius: 16px;
    background: #f6f4ef;
    box-shadow: var(--shadow), 0 0 0 6px rgba(255, 255, 255, .04);
    overflow: hidden;
    color: #211f1a;
    font-size: 11px;
    line-height: 1.4;
}

.app-chrome {
    display: flex;
    align-items: center;
    gap: .32rem;
    padding: .5rem .7rem;
    background: #12211c;
    border-bottom: 1px solid #24352f;
}

.app-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3c4f48;
}

.app-chrome-url {
    margin-left: .45rem;
    color: #8fa39b;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .01em;
}

.app-body {
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr) 176px;
    min-height: 336px;
    background: #f6f4ef;
}

.app-side {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: .8rem .65rem;
    background: #1c2a26;
    color: #eef3f0;
    min-width: 0;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: .42rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid #3b4f48;
}

.app-brand-mark {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: .35rem;
    display: grid;
    place-items: center;
    background: #d8ecdf;
    color: #123c30;
    font-weight: 800;
    font-size: .72rem;
}

.app-brand-text strong {
    display: block;
    font-size: .74rem;
    line-height: 1.2;
}

.app-brand-text small {
    display: block;
    color: #a9bdb5;
    font-size: .5rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.app-project {
    display: grid;
    gap: .15rem;
    padding: .42rem .5rem;
    border-radius: .4rem;
    background: #2a3d37;
}

.app-project-label {
    color: #a9bdb5;
    font-size: .5rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.app-project-name {
    display: flex;
    justify-content: space-between;
    gap: .4rem;
    font-size: .74rem;
    font-weight: 600;
}

.app-project-name i {
    color: #a9bdb5;
    font-style: normal;
}

.app-nav {
    display: grid;
    gap: .1rem;
    font-size: .68rem;
}

.app-nav li {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .34rem .5rem;
    border-radius: .35rem;
    color: #cfe0d9;
}

.app-nav li.is-active {
    background: #e4f0eb;
    color: #123c30;
    font-weight: 600;
}

.app-nav-more {
    color: #8fa39b !important;
    border-top: 1px solid #3b4f48;
    margin-top: .2rem;
    padding-top: .4rem !important;
}

.app-count {
    margin-left: auto;
    min-width: 1.1rem;
    padding: 0 .25rem;
    border-radius: 999px;
    background: #f6e8c9;
    color: #6d4a00;
    font-size: .55rem;
    font-weight: 700;
    text-align: center;
}

.app-side-foot {
    margin-top: auto;
    padding-top: .5rem;
    border-top: 1px solid #3b4f48;
    color: #8fa39b;
    font-size: .55rem;
}

.app-pane {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 0;
    padding: .75rem .8rem;
}

.app-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.app-top strong {
    font-size: .82rem;
    letter-spacing: -.01em;
}

.app-chip {
    padding: .16rem .42rem;
    border: 1px solid #ded8cb;
    border-radius: 999px;
    background: #fff;
    color: #6b665c;
    font-family: var(--mono);
    font-size: .55rem;
    white-space: nowrap;
}

.app-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .3rem;
}

.app-search {
    flex: 1 1 9rem;
    min-width: 0;
    padding: .34rem .5rem;
    border: 1px solid #ded8cb;
    border-radius: .35rem;
    background: #fff;
    color: #8a857a;
    font-size: .64rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-tag {
    padding: .16rem .4rem;
    border-radius: 999px;
    font-size: .55rem;
    font-weight: 600;
    white-space: nowrap;
}

.app-tag-ok {
    background: #dcefe5;
    color: #14513f;
}

.app-tag-warn {
    background: #f6e8c9;
    color: #6d4a00;
}

.app-messages {
    display: grid;
    gap: .18rem;
    min-width: 0;
}

.app-messages li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "key badge" "text badge";
    align-items: center;
    gap: .05rem .4rem;
    padding: .4rem .5rem;
    border: 1px solid transparent;
    border-radius: .38rem;
    background: #fff;
}

.app-messages li.is-selected {
    border-color: #0f5c4b;
    box-shadow: inset 2px 0 0 #0f5c4b;
}

.app-messages code {
    grid-area: key;
    color: #6b665c;
    font-family: var(--mono);
    font-size: .55rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-message-text {
    grid-area: text;
    font-size: .72rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-badge {
    grid-area: badge;
    padding: .14rem .38rem;
    border-radius: 999px;
    font-size: .52rem;
    font-weight: 600;
    white-space: nowrap;
}

.app-badge-ok {
    background: #dcefe5;
    color: #14513f;
}

.app-badge-warn {
    background: #f6e8c9;
    color: #6d4a00;
}

.app-badge-info {
    background: #e3ecf7;
    color: #1f4c78;
}

.app-badge-muted {
    background: #eeeae1;
    color: #5c564b;
}

.app-review {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
    padding: .75rem .7rem;
    border-left: 1px solid #ded8cb;
    background: #fbfaf7;
}

.app-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 600;
}

.app-review-key {
    color: #6b665c;
    font-family: var(--mono);
    font-size: .55rem;
}

.app-diff {
    margin: 0;
    padding: .4rem .45rem;
    border: 1px solid #ded8cb;
    border-radius: .35rem;
    background: #fff;
    font-family: var(--mono);
    font-size: .58rem;
    line-height: 1.6;
    overflow: hidden;
}

.app-diff .dl {
    display: block;
    color: #7d2020;
    background: #fbeaea;
    border-radius: .2rem;
}

.app-diff .da {
    display: block;
    color: #14513f;
    background: #eaf6ee;
    border-radius: .2rem;
}

.app-review-note {
    color: #6b665c;
    font-size: .55rem;
}

.app-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: auto;
}

.app-btn-solid,
.app-btn-quiet {
    padding: .3rem .55rem;
    border-radius: .35rem;
    font-size: .6rem;
    font-weight: 600;
    white-space: nowrap;
}

.app-btn-solid {
    background: #0f5c4b;
    color: #ffffff;
}

.app-btn-quiet {
    border: 1px solid #ded8cb;
    background: #fff;
    color: #4b463d;
}

.preview-caption {
    margin-top: .8rem;
    color: #8ea29a;
    font-size: .72rem;
    text-align: center;
}

/* ---------- Sections ---------- */

.section {
    padding-block: clamp(3.2rem, 6.5vw, 6rem);
}

.benefits-section {
    background: var(--bg);
}

.workflow-section {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}

.docs-section {
    background: var(--bg);
}

.section-head {
    max-width: 60ch;
}

.section-head-wide {
    max-width: 66ch;
}

.section-eyebrow {
    margin-bottom: .85rem;
    color: var(--mint);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-head h2,
.docs-copy h2,
.pilot-copy h2 {
    font-family: var(--serif);
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.section-lede {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1rem;
    max-width: 62ch;
}

/* ---------- Benefits ---------- */

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.6rem;
}

.benefit {
    position: relative;
    overflow: hidden;
    padding: 1.55rem 1.45rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--panel);
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.benefit::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(122, 217, 184, .55), transparent);
    opacity: 0;
    transition: opacity .2s ease;
}

.benefit:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.benefit:hover::before {
    opacity: 1;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--mint-wash);
    color: var(--mint);
}

.benefit-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.benefit h3 {
    font-size: 1.12rem;
    letter-spacing: -.01em;
}

.benefit p {
    margin-top: .5rem;
    color: var(--ink-2);
    font-size: .94rem;
}

.benefit .benefit-detail {
    margin-top: .6rem;
    padding-top: .6rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .86rem;
}

/* ---------- Workflow ---------- */

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 3rem;
}

.steps::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}

.step {
    position: relative;
}

.step-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--bg-2);
    color: var(--mint);
    font-family: var(--mono);
    font-size: .74rem;
    font-weight: 700;
}

.step h3 {
    margin-top: .95rem;
    font-size: 1rem;
}

.step p {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

.workflow-note {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    margin-top: 3rem;
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--line);
    border-left: 3px solid rgba(122, 217, 184, .55);
    border-radius: 4px 14px 14px 4px;
    background: var(--panel);
}

.workflow-note h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
}

.workflow-note p {
    color: var(--muted);
    font-size: .93rem;
}

/* ---------- Documentation ---------- */

.docs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(1.8rem, 5vw, 4.5rem);
    align-items: start;
}

.docs-copy p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: .97rem;
    max-width: 56ch;
}

.docs-copy .docs-aside {
    margin-top: 1.4rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(122, 217, 184, .45);
    color: var(--ink-2);
    font-size: .9rem;
}

.docs-list {
    display: grid;
    gap: .6rem;
}

.docs-list li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    transition: border-color .2s ease, transform .2s ease;
}

.docs-list li:hover {
    border-color: var(--line-strong);
    transform: translateX(2px);
}

.docs-badge {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--mint-wash);
    color: var(--mint);
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
}

.docs-list h3 {
    font-size: .98rem;
}

.docs-list p {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .86rem;
}

/* ---------- Pilot ---------- */

.pilot-section {
    background: var(--bg);
    padding-top: 0;
}

.pilot-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(1.8rem, 4.5vw, 3.6rem);
    border: 1px solid rgba(160, 200, 180, .2);
    border-radius: 22px;
    background:
        radial-gradient(120% 130% at 12% 0%, #15372b 0%, transparent 55%),
        linear-gradient(160deg, #0b1a15 0%, #0a1512 70%, #081210 100%);
    color: #eef5f1;
    box-shadow: var(--shadow);
}

.pilot-glow {
    position: absolute;
    right: -8rem;
    bottom: -12rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 217, 184, .16) 0%, transparent 62%);
    pointer-events: none;
}

.pilot-copy {
    position: relative;
    max-width: 62ch;
}

.pilot-copy .section-eyebrow {
    color: var(--mint);
}

.pilot-copy h2 {
    color: #f5faf7;
}

.pilot-copy > p {
    margin-top: 1rem;
    color: #c2d2ca;
    font-size: 1rem;
    max-width: 58ch;
}

.pilot-points {
    display: grid;
    gap: .45rem;
    margin-top: 1.3rem;
    font-size: .92rem;
    color: #c2d2ca;
}

.pilot-points li {
    position: relative;
    padding-left: 1.3rem;
}

.pilot-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: var(--gold);
}

.pilot-hint {
    margin-top: 1.2rem !important;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(160, 200, 180, .18);
    color: #9fb3aa !important;
    font-size: .87rem !important;
}

.pilot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.6rem;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #07100d;
    border-top: 1px solid rgba(160, 200, 180, .14);
    color: #93a79e;
    padding-block: 2.8rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr);
    gap: 2rem;
    align-items: start;
}

.footer-brand p {
    margin-top: .9rem;
    max-width: 34ch;
    font-size: .87rem;
}

.footer-nav {
    display: grid;
    gap: .5rem;
    font-size: .88rem;
}

.footer-nav a {
    color: #c3d3cb;
    width: fit-content;
    transition: color .16s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-meta {
    display: grid;
    gap: .4rem;
    font-size: .87rem;
    justify-items: start;
}

.footer-meta a {
    color: #c3d3cb;
    text-decoration: underline;
    text-decoration-color: rgba(160, 200, 180, .4);
    text-underline-offset: 3px;
}

.footer-meta a:hover {
    color: #ffffff;
}

.footer-small {
    color: #6f857c;
    font-size: .78rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .app-body {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .app-review {
        display: none;
    }
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.6rem;
    }

    .lede {
        max-width: 60ch;
    }

    .hero-preview {
        max-width: 700px;
    }

    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem 1.2rem;
    }

    .steps::before {
        display: none;
    }

    .workflow-note {
        grid-template-columns: minmax(0, 1fr);
    }

    .docs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-meta {
        grid-column: 1 / -1;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(160, 200, 180, .14);
    }
}

@media (max-width: 860px) {
    html.js .nav-toggle {
        display: inline-flex;
    }

    html.js .site-nav {
        position: absolute;
        top: calc(100% + .6rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: .15rem;
        padding: .7rem;
        border: 1px solid var(--band-line);
        border-radius: 12px;
        background: #0b1a15;
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    }

    html.js .site-nav.is-open {
        display: flex;
    }

    html.js .site-nav a {
        padding: .7rem .75rem;
        border-radius: 8px;
        font-size: .95rem;
    }

    html.js .site-nav a::after {
        display: none;
    }

    html.js .site-nav a:hover {
        background: rgba(255, 255, 255, .06);
    }

    html.js .site-nav .nav-signin {
        margin-top: .4rem;
        text-align: center;
    }

    html:not(.js) .site-nav {
        flex-wrap: wrap;
        gap: .75rem 1rem;
    }
}

@media (max-width: 720px) {
    .app-body {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .app-side {
        display: none;
    }

    .benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 2.2rem;
    }

    .step {
        display: grid;
        grid-template-columns: 2.7rem minmax(0, 1fr);
        grid-template-areas: "num title" "num text";
        column-gap: .9rem;
        align-items: start;
    }

    .step-num {
        grid-area: num;
    }

    .step h3 {
        grid-area: title;
        margin-top: .35rem;
    }

    .step p {
        grid-area: text;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.6rem;
    }

    .footer-meta {
        grid-column: auto;
    }
}

@media (max-width: 460px) {
    body {
        font-size: 15px;
    }

    .brand-text small {
        display: none;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
    }

    .hero-actions .btn,
    .pilot-actions .btn {
        flex: 1 1 100%;
    }

    .preview-caption {
        font-size: .68rem;
    }

    .app-pane {
        padding: .6rem;
    }

    .app-top {
        flex-wrap: wrap;
    }

    .app-messages li {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "key" "text" "badge";
        justify-items: start;
    }

    .app-badge {
        margin-top: .15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }

    .btn:hover,
    .benefit:hover,
    .docs-list li:hover {
        transform: none;
    }
}
