/*
 * Public landing page.
 *
 * Self-contained: system fonts, no external asset, no script. One request after the HTML.
 * Follows the viewer's colour scheme rather than forcing one, so it does not glare at
 * someone who opened it at midnight from a tag they just tapped.
 */

:root {
    --lp-bg: #ffffff;
    --lp-surface: #f6f7f9;
    --lp-text: #16181d;
    --lp-muted: #5b6472;
    --lp-border: #e3e6ec;
    --lp-accent: #0d6efd;
    --lp-accent-text: #ffffff;
    --lp-ink: #0d1117;
}

@media (prefers-color-scheme: dark) {
    :root {
        --lp-bg: #0d1117;
        --lp-surface: #161b22;
        --lp-text: #e8eaed;
        --lp-muted: #9aa4b2;
        --lp-border: #262c36;
        --lp-accent: #4d8dff;
        --lp-accent-text: #0d1117;
        --lp-ink: #010409;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.lp-wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */

.lp-head { border-bottom: 1px solid var(--lp-border); background: var(--lp-bg); }
.lp-head-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; }
.lp-mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--lp-accent); color: var(--lp-accent-text);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .74rem; font-weight: 800;
}
.lp-signin { font-size: .9rem; color: var(--lp-muted); text-decoration: none; }
.lp-signin:hover { color: var(--lp-text); }

/* ---------------------------------------------------------------- hero */

.lp-hero { padding-block: clamp(48px, 9vw, 96px); }
.lp-eyebrow {
    margin: 0 0 14px; font-size: .74rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--lp-accent);
}
.lp-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.08;
    letter-spacing: -.03em; font-weight: 750; max-width: 15ch;
}
.lp-lead { margin: 0 0 30px; max-width: 62ch; font-size: 1.06rem; color: var(--lp-muted); }

.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* A quieter line under the buttons, for the one instruction somebody holding a tag needs. */
.lp-note { margin: 18px 0 0; max-width: 58ch; font-size: .92rem; color: var(--lp-muted); }
.lp-btn {
    display: inline-block; padding: 12px 22px; border-radius: 11px;
    border: 1px solid var(--lp-border); background: var(--lp-surface);
    font-size: .95rem; font-weight: 600; text-decoration: none;
}
.lp-btn:hover { border-color: var(--lp-muted); }
.lp-btn-primary {
    background: var(--lp-accent); border-color: var(--lp-accent); color: var(--lp-accent-text);
}
.lp-btn-primary:hover { filter: brightness(1.07); }

/* ---------------------------------------------------------------- sections */

.lp-section { padding-block: clamp(44px, 7vw, 76px); }
.lp-alt { background: var(--lp-surface); border-block: 1px solid var(--lp-border); }
.lp-section h2 {
    margin: 0 0 10px; font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    letter-spacing: -.02em; font-weight: 700;
}
.lp-sub { margin: 0 0 30px; color: var(--lp-muted); max-width: 60ch; }

/* steps */
.lp-steps { list-style: none; counter-reset: none; margin: 24px 0 0; padding: 0; display: grid; gap: 26px; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.lp-steps h3 { margin: 12px 0 6px; font-size: 1.04rem; font-weight: 650; }
.lp-steps p { margin: 0; color: var(--lp-muted); font-size: .95rem; }
.lp-step-n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--lp-accent); color: var(--lp-accent-text);
    font-size: .84rem; font-weight: 700;
}

/* use-case grid */
.lp-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .lp-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-card {
    background: var(--lp-bg); border: 1px solid var(--lp-border);
    border-radius: 14px; padding: 20px;
}
.lp-card h3 { margin: 0 0 7px; font-size: 1rem; font-weight: 650; }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: .93rem; }

/* two column */
.lp-two { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .lp-two { grid-template-columns: 1.15fr .85fr; gap: 52px; } }
.lp-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.lp-list li { color: var(--lp-muted); font-size: .96rem; padding-left: 18px; position: relative; }
.lp-list li::before {
    content: ""; position: absolute; left: 0; top: .62em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--lp-accent);
}
.lp-list strong { color: var(--lp-text); font-weight: 650; }
.lp-list code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em; background: var(--lp-surface);
    border: 1px solid var(--lp-border); border-radius: 5px; padding: 1px 5px;
}

/* the payload panel */
.lp-panel {
    background: var(--lp-ink); color: #e8eaed;
    border: 1px solid var(--lp-border); border-radius: 16px; padding: 26px;
}
.lp-panel-label {
    margin: 0 0 12px; font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: #7d8795;
}
.lp-url {
    margin: 0 0 16px; font-size: clamp(.86rem, 3.2vw, 1.02rem); line-height: 1.5;
    word-break: normal; overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.lp-url span { color: #6fd08c; }
.lp-panel-note { margin: 0; color: #9aa4b2; font-size: .9rem; }

@media (max-width: 480px) {
    .lp-cta { flex-direction: column; align-items: stretch; }
    .lp-btn { text-align: center; }
}

.lp-contact { text-align: center; }
.lp-contact .lp-sub { margin-inline: auto; }
.lp-contact .lp-cta { justify-content: center; }

/* ---------------------------------------------------------------- footer */

.lp-foot { border-top: 1px solid var(--lp-border); }
.lp-foot-inner {
    display: flex; flex-wrap: wrap; gap: 10px;
    align-items: center; justify-content: space-between;
    padding-block: 20px; color: var(--lp-muted); font-size: .88rem;
}
.lp-foot p { margin: 0; }
.lp-foot a { text-decoration: none; }
.lp-foot a:hover { color: var(--lp-text); }
