:root {
    --api-bg: #0f1217;
    --api-surface: #1b202b;
    --api-text: #f5f7fb;
    --api-muted: #aab3c2;
    --api-muted-dark: #7f8999;
    --api-border: rgba(255, 255, 255, 0.09);
    --api-blue: #93c5fd;
    --api-blue-strong: #60a5fa;
    --api-green: #36d399;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--api-bg);
}

.api-page,
.api-page * {
    box-sizing: border-box;
}

.api-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    background:
        radial-gradient(circle at 0 0, rgba(239, 68, 68, 0.08), transparent 31rem),
        radial-gradient(circle at 84% 20%, rgba(147, 197, 253, 0.09), transparent 28rem),
        var(--api-bg);
    color: var(--api-text);
    font: 15px/1.6 "Roboto", Arial, sans-serif;
}

.api-page a {
    color: inherit;
    text-decoration: none;
}

.api-page button,
.api-page input {
    font: inherit;
}

.api-main {
    width: min(1120px, calc(100% - 48px));
    min-height: calc(100vh - 72px - 89px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.75fr);
    gap: 86px;
    align-items: center;
    margin: 0 auto;
    padding: 76px 0;
}

.api-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--api-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.api-eyebrow span {
    width: 24px;
    height: 1px;
    background: var(--api-blue);
}

.api-status {
    width: fit-content;
    margin-bottom: 18px;
    padding: 5px 10px;
    border: 1px solid rgba(54, 211, 153, 0.23);
    border-radius: 999px;
    background: rgba(54, 211, 153, 0.07);
    color: #86efac;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.api-intro h1 {
    max-width: 680px;
    margin: 0;
    color: var(--api-text);
    font-size: clamp(45px, 5.3vw, 66px);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.api-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--api-muted);
    font-size: 18px;
    line-height: 1.7;
}

.api-capabilities {
    display: grid;
    gap: 11px;
    margin-top: 34px;
}

.api-capability {
    display: flex;
    gap: 14px;
    padding: 15px 17px;
    border: 1px solid var(--api-border);
    border-radius: 11px;
    background: rgba(27, 32, 43, 0.72);
}

.api-capability-icon {
    width: 36px;
    height: 36px;
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 8px;
    background: rgba(147, 197, 253, 0.10);
    color: var(--api-blue);
}

.api-capability-icon svg,
.api-card-icon svg,
.api-field svg,
.api-submit svg,
.api-reassurance svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.api-capability-icon svg {
    width: 19px;
    height: 19px;
}

.api-capability strong {
    display: block;
    color: var(--api-text);
    font-size: 15px;
    line-height: 1.35;
}

.api-capability p {
    margin: 5px 0 0;
    color: var(--api-muted);
    font-size: 13px;
    line-height: 1.55;
}

.api-waitlist-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--api-border);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(147, 197, 253, 0.045), transparent 42%),
        rgba(27, 32, 43, 0.96);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.36);
}

.api-waitlist-card::before {
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(147, 197, 253, 0.24), transparent 40%, transparent 75%, rgba(54, 211, 153, 0.10));
    content: "";
}

.api-waitlist-card::after {
    position: absolute;
    top: -1px;
    right: 28px;
    left: 28px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--api-blue-strong), transparent);
    content: "";
}

.api-card-heading {
    display: flex;
    gap: 14px;
}

.api-card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 10px;
    background: rgba(147, 197, 253, 0.10);
    color: var(--api-blue);
}

.api-card-icon svg {
    width: 22px;
    height: 22px;
}

.api-card-label {
    color: var(--api-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.api-card-heading h2 {
    margin: 2px 0 5px;
    color: var(--api-text);
    font-size: 25px;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.api-card-heading p {
    margin: 0;
    color: var(--api-muted);
    font-size: 14px;
    line-height: 1.55;
}

.api-waitlist-form {
    margin-top: 28px;
}

.api-waitlist-form label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 16px 0 7px;
    color: var(--api-text);
    font-size: 14px;
    font-weight: 700;
}

.api-waitlist-form label:first-child {
    margin-top: 0;
}

.api-waitlist-form label span {
    color: var(--api-muted-dark);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.api-field {
    position: relative;
}

.api-field svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 18px;
    height: 18px;
    color: var(--api-muted-dark);
    transform: translateY(-50%);
    pointer-events: none;
}

.api-field input {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px 0 42px;
    border: 1px solid var(--api-border);
    border-radius: 8px;
    outline: none;
    background: #10141a;
    color: var(--api-text);
    box-shadow: none;
    font-size: 14px;
}

.api-field input::placeholder {
    color: #626c7b;
}

.api-field input:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.api-field input:focus {
    border-color: var(--api-blue-strong);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.10);
}

.api-submit {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    padding: 0 18px;
    border: 1px solid var(--api-blue-strong);
    border-radius: 8px;
    background: var(--api-blue-strong);
    color: #0c1420;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.api-submit:hover {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    background: #bfdbfe;
}

.api-submit svg {
    width: 17px;
    height: 17px;
}

.api-reassurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
    color: var(--api-muted);
    font-size: 13px;
}

.api-reassurance svg {
    width: 16px;
    height: 16px;
    color: var(--api-green);
}

@media (max-width: 920px) {
    .api-main {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 0 75px;
    }

    .api-intro {
        max-width: 720px;
    }

    .api-waitlist-card {
        width: min(520px, 100%);
    }
}

@media (max-width: 620px) {
    .api-main,
    .api-page .home-nav-inner {
        width: min(100% - 28px, 1120px);
    }

    .api-page .home-nav-button-secondary {
        display: none;
    }

    .api-main {
        padding-top: 46px;
    }

    .api-intro h1 {
        font-size: 43px;
    }

    .api-lead {
        font-size: 16px;
    }

    .api-waitlist-card {
        padding: 24px 18px;
    }

    .api-card-icon {
        display: none;
    }
}

@media (max-width: 420px) {
    .api-page .home-brand-copy small {
        display: none;
    }
}
