/* api.aptient.com — landing page for the "you found our internal API" splash.
   Externalised so it renders under the vhost CSP (style-src 'self'); the JSON
   endpoints keep default-src 'none'. No inline styles anywhere by design. */

:root {
    --ink:        #1E2629;
    --navy:       #32325D;
    --muted:      #6B7280;
    --line:       #E8EAF0;
    --accent:     #2F7FE4;
    --chip-bg:    #F1F5F9;
    --chip-text:  #64748B;
    --bg:         #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 Helvetica, Arial, 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background:
        radial-gradient(1100px 560px at 50% -12%, #F4F8FF 0%, rgba(244,248,255,0) 62%),
        var(--bg);
    color: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.card {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.logo { display: flex; justify-content: center; margin-bottom: 22px; }
.logo svg { width: 148px; height: auto; display: block; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

h1 {
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.divider {
    height: 1px;
    width: 72px;
    margin: 26px auto 24px;
    background: var(--line);
    border: 0;
}

p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--muted);
    letter-spacing: -0.005em;
}
p + p { margin-top: 12px; }
p strong { color: var(--navy); font-weight: 600; }

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 25px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.10);
    transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.14);
}
.cta .arrow { transition: transform 0.15s ease; }
.cta:hover .arrow { transform: translateX(3px); }

.endpoint {
    margin-top: 34px;
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: var(--chip-text);
    background: var(--chip-bg);
    border: 1px solid var(--line);
    padding: 7px 14px;
    border-radius: 999px;
}

@media (max-width: 420px) {
    h1 { font-size: 23px; }
    .logo svg { width: 126px; }
    body { padding: 40px 20px; }
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink:        #F2F5F8;
        --navy:       #D7DCE2;
        --muted:      #9AA4B2;
        --line:       #26313A;
        --accent:     #5CA0F0;
        --chip-bg:    #161E24;
        --chip-text:  #9AA4B2;
        --bg:         #0F1416;
    }
    body {
        background:
            radial-gradient(1100px 560px at 50% -12%, #14202B 0%, rgba(20,32,43,0) 62%),
            var(--bg);
    }
    /* keep the wordmark and the dark chevron legible on a dark ground */
    .mark-word,
    .mark-c3 { fill: #EDF1F5; }
    .cta { background: var(--accent); }
    .cta:hover { background: #6BAAF2; }
}
