:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "DM Sans", sans-serif;
    color: #1d1d1f;
    background: #f5f5f7;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% 0%, #fff 0, #f5f5f7 64%);
}

.shell {
    width: min(100% - 40px, 540px);
    margin: 0 auto;
    padding: max(12vh, 72px) 0 32px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #77777c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    justify-content: space-between;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
}

.user-avatar {
    border-radius: 50%;
    object-fit: cover;
}

.logout-link {
    color: #0071e3;
    text-decoration: none;
    font-size: 11px;
    margin-left: 4px;
}

.logout-link:hover {
    text-decoration: underline;
}

.login-link {
    color: #0071e3;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.login-link:hover {
    text-decoration: underline;
}

/* Prominent sign-in link on the check form */
.login-link-prominent {
    display: inline-block;
    padding: 6px 14px;
    margin-left: 8px;
    background: #0071e3;
    color: #fff;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background 0.2s;
}

.login-link-prominent:hover {
    background: #006be6;
    text-decoration: none;
}

/* Nav user badge */
.nav-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
}

.nav-avatar {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    object-fit: cover;
}

/* API key sign-in prompt card */
.api-key-signin-prompt {
    text-align: center;
    padding: 48px 32px;
    max-width: 480px;
    margin: 0 auto;
}

.signin-prompt-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.api-key-signin-prompt h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
}

.api-key-signin-prompt p {
    margin: 0 0 24px;
    color: #6e6e73;
    font-size: 15px;
    line-height: 1.5;
}

.api-key-signin-prompt .btn-primary {
    display: inline-block;
}

/* API key auth note */
.api-key-auth-note {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f5f5f7;
    border-radius: 10px;
    font-size: 13px;
    color: #6e6e73;
}

.api-key-auth-note strong {
    color: #1d1d1f;
}

.result-login-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #0071e3;
    color: #fff;
    border-radius: 980px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.result-login-link:hover {
    background: #0077ed;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #36a269;
    box-shadow: 0 0 0 4px #36a2691a;
}

h1 {
    margin: 24px 0 14px;
    font-size: clamp(38px, 8vw, 56px);
    letter-spacing: -.055em;
    line-height: 1.04;
    font-weight: 650;
}

h1 span {
    color: #85858b;
}

.intro {
    margin: 0 0 34px;
    color: #6e6e73;
    font-size: 16px;
    line-height: 1.55;
}

.card {
    padding: 26px;
    border: 1px solid #ffffff;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px #1d1d1f0b, 0 2px 8px #1d1d1f08;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

.input-wrap {
    position: relative;
}

input {
    width: 100%;
    height: 56px;
    padding: 0 62px 0 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    outline: none;
    background: #fbfbfd;
    color: #1d1d1f;
    font: inherit;
    font-size: 17px;
    letter-spacing: .04em;
    transition: border-color .18s, box-shadow .18s;
}

input:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 4px #007aff20;
}

input::placeholder {
    color: #a1a1a6;
    letter-spacing: 0;
}

.input-count {
    position: absolute;
    right: 14px;
    top: 19px;
    color: #99999f;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.captcha-wrap {
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid #e5e5ea;
    border-radius: 14px;
    background: #fbfbfd;
}

.captcha-label {
    margin: 0 0 10px;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 600;
}

cap-widget {
    --cap-background: #fbfbfd;
    --cap-border-color: #d2d2d7;
    --cap-border-radius: 10px;
    --cap-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    --cap-color: #1d1d1f;
}

.captcha-unavailable {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff2f0;
    color: #a45348;
    font-size: 13px;
    line-height: 1.45;
}

.captcha-local {
    margin: 18px 0 0;
    color: #6e6e73;
    font-size: 12px;
    text-align: center;
}

button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
    padding: 0 18px;
    height: 54px;
    border: 0;
    border-radius: 12px;
    background: #007aff;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, transform .18s;
}

button:hover:not(:disabled) {
    background: #006be6;
    transform: translateY(-1px);
}

button:disabled {
    background: #a8cfff;
    cursor: not-allowed;
}

.button-arrow {
    font-size: 19px;
}

.button-pending {
    display: none;
    align-items: center;
    gap: 9px;
}

.button-spinner,
.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.card.htmx-request .button-label,
.card.htmx-request .button-arrow {
    display: none;
}

.card.htmx-request .button-pending {
    display: inline-flex;
}

.card.htmx-request button:disabled {
    background: #006be6;
    color: #fff;
    cursor: wait;
    opacity: .96;
}

.privacy {
    margin-top: 20px;
    color: #85858b;
    font-size: 12px;
    text-align: center;
}

.privacy span {
    margin-right: 5px;
    color: #36a269;
    font-size: 15px;
}

.loading {
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
    color: #6e6e73;
    font-size: 13px;
    text-align: center;
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: flex;
}

.result {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    animation: appear .28s ease-out;
}

.success {
    background: #eaf7ef;
}

.error {
    background: #fff2f0;
}

.not-found {
    background: #fff8e8;
}

.result-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    background: #36a269;
    color: white;
    font-weight: 700;
}

.error .result-icon {
    background: #e25847;
}

.not-found .result-icon {
    background: #b7791f;
}

.result-label {
    margin: 0 0 3px;
    color: #54715e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.error .result-label {
    color: #a45348;
}

.not-found .result-label {
    color: #805b1e;
}

.result-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.result-detail {
    margin: 5px 0 0;
    color: #6e6e73;
    font-size: 13px;
    line-height: 1.45;
}

.result-name-match {
    margin: 8px 0 0;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: #f0f0f2;
    color: #1d1d1f;
}

footer {
    margin-top: 44px;
    color: #a1a1a6;
    font-size: 12px;
    text-align: center;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .shell {
        width: min(100% - 32px, 540px);
        padding-top: max(9vh, 52px);
    }

    .card {
        padding: 20px;
    }

    h1 {
        font-size: clamp(36px, 10vw, 46px);
    }
}

/* ─── Landing page ─── */

.landing-body {
    background: #f5f5f7;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transition: box-shadow .3s;
}

.landing-nav.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.landing-nav-inner {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 600;
}

.logo-mark {
    color: #007aff;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 24px;
    flex: 1;
}

.nav-links a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 13px;
    transition: color .15s;
}

.nav-links a:hover {
    color: #1d1d1f;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-btn {
    color: #007aff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.nav-link-btn:hover {
    text-decoration: underline;
}

.nav-cta {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 980px;
    background: #007aff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background .15s;
}

.nav-cta:hover {
    background: #006be6;
}

/* Hero */
.hero {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: max(16vh, 120px) 20px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-content .eyebrow {
    margin-bottom: 20px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(44px, 6vw, 64px);
    letter-spacing: -.055em;
    line-height: 1.04;
    font-weight: 650;
}

.hero h1 span {
    color: #85858b;
}

.hero-sub {
    margin: 0 0 32px;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    background: #007aff;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background .15s, transform .15s;
}

.btn-primary:hover {
    background: #006be6;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    background: transparent;
    color: #007aff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border: 1.5px solid #007aff33;
    transition: border-color .15s, background .15s;
}

.btn-secondary:hover {
    border-color: #007aff;
    background: #007aff08;
}

.btn-outline {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 12px;
    background: transparent;
    color: #007aff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid #007aff44;
    text-align: center;
    transition: border-color .15s, background .15s;
}

.btn-outline:hover {
    border-color: #007aff;
    background: #007aff08;
}

.hero-proof {
    color: #85858b;
    font-size: 13px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Code card */
.code-card {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    background: #1d1d1f;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.code-card-header {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: #2c2c2e;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-card pre {
    margin: 0;
    padding: 20px;
    font-family: "SF Mono", "Fira Code", monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #f5f5f7;
    overflow-x: auto;
}

.code-card .kw { color: #ff79c6; }
.code-card .str { color: #f1fa8c; }
.code-card .flag { color: #8be9fd; }
.code-card .comment { color: #6272a4; }
.code-card .key { color: #ffb86c; }
.code-card .bool { color: #bd93f9; }
.code-card .num { color: #bd93f9; }

/* Stats */
.stats {
    background: #fff;
    border-top: 1px solid #e5e5ea;
    border-bottom: 1px solid #e5e5ea;
}

.stats-inner {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 650;
    letter-spacing: -.04em;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.stat-label {
    color: #85858b;
    font-size: 13px;
}

/* Section header */
.section-header {
    width: min(100% - 40px, 640px);
    margin: 0 auto;
    text-align: center;
    padding-top: max(10vh, 80px);
    padding-bottom: 48px;
}

.section-eyebrow {
    color: #77777c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    margin: 0 0 12px;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -.04em;
    line-height: 1.08;
    font-weight: 650;
}

.section-header h2 span {
    color: #85858b;
}

/* Bento grid */
.features {
    padding-bottom: 80px;
}

.bento-grid {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 16px;
}

.bento-card {
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e5ea;
    transition: transform .2s, box-shadow .2s;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.bento-large {
    grid-column: span 2;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.bento-icon-blue { background: #e5f0ff; color: #007aff; }
.bento-icon-green { background: #eaf7ef; color: #36a269; }
.bento-icon-orange { background: #fff8e8; color: #b7791f; }
.bento-icon-purple { background: #f0e5ff; color: #8944ff; }
.bento-icon-red { background: #fff2f0; color: #e25847; }

.bento-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
}

.bento-card p {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.5;
}

/* How it works */
.how-it-works {
    background: #fff;
    border-top: 1px solid #e5e5ea;
    padding-bottom: 80px;
}

.steps {
    width: min(100% - 40px, 900px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 240px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #007aff;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
}

.step p {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.5;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #e5e5ea;
    align-self: center;
    margin-top: 24px;
}

.steps-code {
    width: min(100% - 40px, 640px);
    margin: 48px auto 0;
    padding: 0 20px;
}

/* Use cases */
.use-cases {
    padding-bottom: 80px;
}

.use-case-grid {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.use-case-card {
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e5ea;
    transition: transform .2s, box-shadow .2s;
}

.use-case-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.use-case-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.use-case-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
}

.use-case-card p {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.5;
}

/* Pricing */
.pricing {
    background: #fff;
    border-top: 1px solid #e5e5ea;
    padding-bottom: 80px;
}

.pricing-grid {
    width: min(100% - 40px, 1000px);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    padding: 36px 28px;
    border-radius: 20px;
    background: #f5f5f7;
    border: 1px solid #e5e5ea;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #f5f5f7;
    transform: scale(1.04);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 980px;
    background: #007aff;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.currency {
    font-size: 15px;
    font-weight: 500;
    color: #85858b;
}

.pricing-card.featured .currency {
    color: #a1a1a6;
}

.amount {
    font-size: 40px;
    font-weight: 650;
    letter-spacing: -.04em;
}

.period {
    font-size: 14px;
    color: #85858b;
}

.pricing-card.featured .period {
    color: #a1a1a6;
}

.price-desc {
    margin: 0 0 24px;
    color: #6e6e73;
    font-size: 14px;
}

.pricing-card.featured .price-desc {
    color: #a1a1a6;
}

.features-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #6e6e73;
}

.pricing-card.featured .features-list li {
    color: #a1a1a6;
}

.check {
    color: #36a269;
    font-weight: 700;
    font-size: 14px;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    border-radius: 12px;
}

.pricing-card.featured .btn-outline {
    color: #f5f5f7;
    border-color: #f5f5f744;
}

.pricing-card.featured .btn-outline:hover {
    border-color: #f5f5f7;
    background: #f5f5f708;
}

/* API Endpoints section */
.api-endpoints {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    padding: max(10vh, 80px) 20px 60px;
}

.endpoint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.endpoint-card {
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 14px 40px #1d1d1f0b, 0 2px 8px #1d1d1f08;
    display: flex;
    flex-direction: column;
}

.endpoint-method {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    width: fit-content;
    margin-bottom: 8px;
}

.endpoint-card:nth-child(2) .endpoint-method {
    background: #e3f2fd;
    color: #1565c0;
}

.endpoint-card:nth-child(3) .endpoint-method {
    background: #fff3e0;
    color: #e65100;
}

.endpoint-path {
    font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, monospace;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.endpoint-card > p {
    margin: 0 0 16px;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.5;
}

.endpoint-code {
    margin-top: auto;
}

.endpoints-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* CTA section */
.cta-section {
    padding: max(12vh, 100px) 20px 80px;
    text-align: center;
}

.cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.cta-inner h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -.04em;
    line-height: 1.08;
    font-weight: 650;
}

.cta-inner p {
    margin: 0 0 32px;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.55;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Landing footer */
.landing-footer {
    border-top: 1px solid #e5e5ea;
    padding: 32px 20px;
    background: #fff;
}

.footer-inner {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.footer-copy {
    margin: 0;
    color: #85858b;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #1d1d1f;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Landing responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: max(10vh, 80px);
    }

    .hero-visual {
        order: -1;
    }

    .code-card {
        max-width: 100%;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-column: span 1;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        margin: 0;
    }

    .nav-links {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ─── Interactive Code Demo Section ─── */

.code-demo-section {
    background: #f5f5f7;
    border-top: 1px solid #e5e5ea;
    border-bottom: 1px solid #e5e5ea;
}

.code-demo-wrap {
    width: min(100% - 40px, 720px);
    margin: 0 auto;
    padding: 0 20px;
}

.demo-terminal {
    border-radius: 16px;
    background: #1d1d1f;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    border: 1px solid #2c2c2e;
}

.demo-terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #2c2c2e;
    border-bottom: 1px solid #3a3a3c;
}

.demo-terminal-dots {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.demo-terminal-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #8e8e93;
    margin-right: 110px;
}

.demo-run-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #0a84ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    font-family: inherit;
}

.demo-run-btn:hover:not(:disabled) {
    background: #409cff;
}

.demo-run-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-run-btn--done {
    background: #30d158;
}

.demo-run-btn--done:hover {
    background: #43e868;
}

.demo-terminal-body {
    min-height: 260px;
    max-height: 380px;
    overflow-y: auto;
    padding: 20px;
    font-family: "SF Mono", "Fira Code", Menlo, monospace;
    font-size: 13px;
    line-height: 1.65;
}

.demo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #636366;
    font-size: 14px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.demo-placeholder strong {
    color: #0a84ff;
}

.demo-lines {
    display: flex;
    flex-direction: column;
}

.demo-line {
    color: #f5f5f7;
    white-space: pre-wrap;
    word-break: break-all;
}

.demo-line--cmd {
    color: #f5f5f7;
}

.demo-line--info {
    color: #636366;
    font-style: italic;
}

.demo-line--success {
    color: #30d158;
}

.demo-line--json {
    color: #f1fa8c;
}

.demo-line--blank {
    height: 6px;
}

.demo-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #85858b;
}

.demo-footer a {
    color: #0a84ff;
    text-decoration: none;
}

.demo-footer a:hover {
    text-decoration: underline;
}

/* ─── Interactive Code Demo Section ─── */

.code-demo-section {
    background: #f5f5f7;
    border-top: 1px solid #e5e5ea;
    border-bottom: 1px solid #e5e5ea;
}

.code-demo-wrap {
    width: min(100% - 40px, 720px);
    margin: 0 auto;
    padding: 0 20px;
}

.demo-terminal {
    border-radius: 16px;
    background: #1d1d1f;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    border: 1px solid #2c2c2e;
}

.demo-terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #2c2c2e;
    border-bottom: 1px solid #3a3a3c;
}

.demo-terminal-dots {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.demo-terminal-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #8e8e93;
    margin-right: 110px;
}

.demo-run-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #0a84ff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    font-family: inherit;
}

.demo-run-btn:hover:not(:disabled) {
    background: #409cff;
}

.demo-run-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-run-btn--done {
    background: #30d158;
}

.demo-run-btn--done:hover {
    background: #43e868;
}

.demo-terminal-body {
    min-height: 260px;
    max-height: 380px;
    overflow-y: auto;
    padding: 20px;
    font-family: "SF Mono", "Fira Code", Menlo, monospace;
    font-size: 13px;
    line-height: 1.65;
}

.demo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #636366;
    font-size: 14px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.demo-placeholder strong {
    color: #0a84ff;
}

.demo-lines {
    display: flex;
    flex-direction: column;
}

.demo-line {
    color: #f5f5f7;
    white-space: pre-wrap;
    word-break: break-all;
}

.demo-line--cmd {
    color: #f5f5f7;
}

.demo-line--info {
    color: #636366;
    font-style: italic;
}

.demo-line--success {
    color: #30d158;
}

.demo-line--json {
    color: #f1fa8c;
}

.demo-line--blank {
    height: 6px;
}

.demo-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #85858b;
}

.demo-footer a {
    color: #0a84ff;
    text-decoration: none;
}

.demo-footer a:hover {
    text-decoration: underline;
}

/* ─── API Key Request Section ─── */

.api-key-section {
    background: #fff;
    border-top: 1px solid #e5e5ea;
    padding-bottom: 80px;
}

.api-key-form-wrap {
    width: min(100% - 40px, 560px);
    margin: 0 auto;
    padding: 0 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-group input {
    padding: 0 16px 0 16px;
    height: 48px;
    font-size: 15px;
}

.optional {
    color: #85858b;
    font-weight: 400;
}

/* API key result (JSON response rendered as HTML) */
#api-key-result .key-success {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding: 20px;
    border-radius: 16px;
    background: #eaf7ef;
    animation: appear .28s ease-out;
}

#api-key-result .key-success .key-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #54715e;
}

#api-key-result .key-success .key-value {
    margin: 0;
    font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, monospace;
    font-size: 13px;
    color: #1d1d1f;
    word-break: break-all;
    background: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
}

#api-key-result .key-success .key-message {
    margin: 0;
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.45;
}

#api-key-result .key-error {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff2f0;
    animation: appear .28s ease-out;
}

#api-key-result .key-error p {
    margin: 0;
    font-size: 14px;
    color: #a45348;
}

/* ─── Admin Login Page ─── */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: 1.5rem;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.5rem;
}

.login-header p {
    font-size: 0.9rem;
    color: #6e6e73;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 0.4rem;
}

.login-form input[type="password"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    background: #fbfbfd;
    box-sizing: border-box;
}

.login-form input[type="password"]:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 3px #0071e320;
}

.login-form .btn-primary {
    width: 100%;
    margin-top: 0.5rem;
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .demo-terminal-title {
        margin-right: 0;
        font-size: 0;
    }

    .demo-terminal-title::after {
        content: "Demo";
        font-size: 13px;
    }

    .demo-run-btn {
        height: 28px;
        padding: 0 12px;
        font-size: 12px;
    }

    .demo-terminal-body {
        min-height: 200px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Business-friendly landing, admin, and accessible interaction refinements */
[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
:focus-visible { outline: 3px solid #005fcc !important; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 14px; border-radius: 10px; background: #fff; color: #005fcc; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.landing-nav { border-bottom: 1px solid #d2d2d755; }
.hero h1, .section-header h2 { text-wrap: balance; }
.check-home { display: inline-flex; margin-bottom: 38px; }
.hero-visual .code-card { display: none; }
.hero-visual { position: relative; min-height: 380px; align-items: center; }
.hero-visual::before {
    content: "Identity check\A\A A clear result, handled securely\A\A Ready when you are";
    white-space: pre-wrap; position: relative; z-index: 2; display: block;
    width: min(100%, 390px); min-height: 250px; padding: 42px 34px 28px 104px;
    border: 1px solid #ffffff; border-radius: 28px; background: #fff;
    box-shadow: 0 28px 70px #263b5a1c; color: #1d1d1f;
    font-size: 19px; font-weight: 650; line-height: 2.2;
}
.hero-visual::after {
    content: "✓"; display: grid; place-items: center; position: absolute; z-index: 3;
    top: calc(50% - 47px); left: calc(50% - 150px); width: 62px; height: 62px;
    border-radius: 20px; background: #e7f5ec; color: #23834b; font-size: 32px; font-weight: 700;
    box-shadow: 0 0 0 8px #e7f5ec66;
}
.developer-details summary { width: fit-content; margin: 0 auto 14px; color: #0066cc; cursor: pointer; font-size: 14px; font-weight: 600; }
.developer-details details[open] summary { margin-bottom: 18px; }
.developer-details .code-card { margin: 0 auto; }
.developer-api { width: min(100% - 40px, 1120px); margin: 24px auto; }
.developer-api > summary { width: fit-content; margin: 0 auto; padding: 12px 18px; border: 1px solid #d2d2d7; border-radius: 980px; background: #fff; color: #0066cc; cursor: pointer; font-size: 14px; font-weight: 600; }
.developer-api[open] > summary { margin-bottom: 8px; }
.admin-card { overflow: hidden; }
.admin-table { display: block; overflow-x: auto; }
.admin-page { padding: clamp(16px, 4vw, 36px) !important; }
.admin-tabs { overflow-x: auto; scrollbar-width: thin; }
.admin-tab { min-height: 44px; white-space: nowrap; }
.admin-card { border: 1px solid #e5e5ea; }
.admin-form input { min-height: 44px; }
.admin-btn { min-height: 40px; padding-inline: 14px; }

@media (max-width: 700px) {
    .landing-nav-inner { width: min(100% - 32px, 1120px); gap: 16px; }
    .nav-links { gap: 14px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .nav-links a { font-size: 12px; }
    .nav-actions { gap: 10px; }
    .nav-cta { padding: 7px 11px; white-space: nowrap; }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-top: 100px; }
    .hero-content, .hero-visual { min-width: 0; }
    .hero-visual { justify-content: stretch; }
    .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; padding-block: 32px; }
    .bento-grid, .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-large { grid-column: span 2; }
    .admin-header { align-items: flex-start !important; gap: 14px; }
    .admin-header > div { flex-wrap: wrap; justify-content: flex-end; }
    .admin-card { padding: 18px !important; }
}

@media (max-width: 480px) {
    .landing-nav-inner { height: auto; min-height: 56px; gap: 8px 12px; flex-wrap: wrap; padding-block: 8px; }
    .nav-links { display: flex; order: 3; flex: 0 0 100%; gap: 20px; padding: 0 2px 3px; overflow-x: auto; }
    .nav-actions { margin-left: auto; }
    .hero { padding-inline: 16px; padding-top: 112px; }
    .hero h1 { font-size: clamp(40px, 12vw, 54px); }
    .hero-sub { font-size: 16px; }
    .hero-actions > a { flex: 1; text-align: center; padding-inline: 14px; }
    .bento-grid, .use-case-grid, .endpoint-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: auto; }
    .bento-card, .use-case-card { padding: 24px; }
    .steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
    .step-connector { display: none; }
    .footer-inner { gap: 16px; }
    .admin-page { padding: 14px !important; }
    .admin-header { flex-direction: column; }
    .admin-header > div { justify-content: flex-start; }
    .admin-tabs { margin-inline: -4px !important; }
    .hero-visual { min-height: 300px; }
    .hero-visual::before { min-height: 220px; padding-left: 86px; font-size: 16px; }
    .hero-visual::after { left: calc(50% - 140px); width: 50px; height: 50px; }
}


/* Styles moved from admin.html to same-origin stylesheet for CSP compatibility */

        .admin-page {
            min-height: 100vh;
            background: #f5f5f7;
            padding: 2rem;
        }
        .admin-header {
            max-width: 960px;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .admin-header h1 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1d1d1f;
            margin: 0;
        }
        .admin-back {
            color: #0071e3;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .admin-back:hover { text-decoration: underline; }
        .admin-tabs {
            max-width: 960px;
            margin: 0 auto 1rem;
            display: flex;
            gap: 0;
            border-bottom: 1px solid #d2d2d7;
        }
        .admin-tab {
            padding: 0.6rem 1.2rem;
            font-size: 0.85rem;
            font-weight: 500;
            color: #6e6e73;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
            background: none;
            border-top: none;
            border-left: none;
            border-right: none;
        }
        .admin-tab:hover { color: #1d1d1f; }
        .admin-tab.active {
            color: #0071e3;
            border-bottom-color: #0071e3;
        }
        .admin-content {
            max-width: 960px;
            margin: 0 auto;
        }
        .admin-card {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.06);
            padding: 1.5rem;
            margin-bottom: 1rem;
        }
        .admin-card h2 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1d1d1f;
            margin: 0 0 1rem;
        }
        .stat-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1rem;
        }
        .stat-item {
            text-align: center;
            padding: 1rem;
            background: #f5f5f7;
            border-radius: 12px;
        }
        .admin-page .stat-value {
            font-size: 2rem;
            font-weight: 600;
            color: #1d1d1f;
        }
        .admin-page .stat-label {
            font-size: 0.8rem;
            color: #6e6e73;
            margin-top: 0.25rem;
        }
        .admin-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.85rem;
        }
        .admin-table th {
            text-align: left;
            padding: 0.6rem 0.8rem;
            border-bottom: 2px solid #f5f5f7;
            color: #6e6e73;
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .admin-table td {
            padding: 0.6rem 0.8rem;
            border-bottom: 1px solid #f5f5f7;
            color: #1d1d1f;
        }
        .admin-table tr:last-child td { border-bottom: none; }
        .admin-btn {
            display: inline-block;
            padding: 0.35rem 0.8rem;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: background 0.2s;
        }
        .admin-btn-danger {
            background: #fef2f2;
            color: #dc2626;
        }
        .admin-btn-danger:hover { background: #fee2e2; }
        .admin-btn-primary {
            background: #0071e3;
            color: #fff;
        }
        .admin-btn-primary:hover { background: #0077ed; }
        .admin-form {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        .admin-form input {
            padding: 0.5rem 0.8rem;
            border: 1px solid #d2d2d7;
            border-radius: 8px;
            font-size: 0.85rem;
            outline: none;
            background: #fbfbfd;
        }
        .admin-form input:focus {
            border-color: #007aff;
            box-shadow: 0 0 0 3px #007aff20;
        }
        .admin-empty {
            text-align: center;
            padding: 2rem;
            color: #86868b;
            font-size: 0.9rem;
        }
        .badge {
            display: inline-block;
            padding: 0.15rem 0.5rem;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 600;
        }
        .badge-active { background: #ecfdf5; color: #059669; }
        .badge-inactive { background: #fef2f2; color: #dc2626; }
        .htmx-indicator {
            opacity: 0.5;
            font-size: 0.8rem;
            color: #6e6e73;
        }


/* Styles moved from login.html to same-origin stylesheet for CSP compatibility */

        .login-page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
            padding: 2rem;
        }
        .login-card {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            padding: 2.5rem 2rem;
            max-width: 400px;
            width: 100%;
            text-align: center;
        }
        .login-card h1 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1d1d1f;
            margin: 0 0 0.5rem;
        }
        .login-card p {
            color: #6e6e73;
            font-size: 0.95rem;
            margin: 0 0 2rem;
        }
        .google-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.5rem;
            border-radius: 980px;
            border: 1px solid #dadce0;
            background: #ffffff;
            color: #3c4043;
            font-size: 0.95rem;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.2s, box-shadow 0.2s;
            cursor: pointer;
        }
        .google-btn:hover {
            background: #f8f9fa;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        .google-btn svg {
            width: 20px;
            height: 20px;
        }
        .login-back {
            display: inline-block;
            margin-top: 1.5rem;
            color: #0071e3;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .login-back:hover {
            text-decoration: underline;
        }
        .login-error {
            background: #fef2f2;
            color: #dc2626;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }
        .login-logo {
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
        }

/* Small type and motion refinements; inherit the existing palette and components. */
body, .landing-body, .admin-page { font-size: 17px; }
.nav-links a, .nav-link-btn, .nav-cta { font-size: 14px; }
.hero h1 { font-size: clamp(48px, 6.2vw, 68px); }
.hero-sub, .intro { font-size: 18px; }
.btn-primary, .btn-secondary, .btn-outline { font-size: 16px; }
.stat-label, .section-eyebrow { font-size: 14px; }
.section-header h2 { font-size: clamp(36px, 5vw, 52px); }
.bento-card p, .use-case-card p, .endpoint-card p, .step p { font-size: 15px; }
.bento-card h3, .use-case-card h3, .step h3 { font-size: 19px; }
.admin-tab, .admin-table td, .admin-form input { font-size: 15px; }
.admin-header h1 { font-size: 30px; }
.shell h1 { font-size: clamp(42px, 7vw, 60px); }
label { font-size: 14px; }
input { font-size: 18px; }
.result-title { font-size: 17px; }
.result-detail, .privacy, .loading { font-size: 14px; }

@keyframes gentle-arrive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: gentle-arrive .45s ease-out both; }
.hero-visual { animation: gentle-arrive .55s .08s ease-out both; }
.admin-card { transition: box-shadow .18s ease; }
.admin-page [x-show] { transition: opacity .15s ease; }

@media (max-width: 700px) {
    .hero h1 { font-size: clamp(46px, 8.5vw, 62px); }
    .section-header h2 { font-size: clamp(34px, 7vw, 46px); }
}
@media (max-width: 480px) {
    body, .landing-body { font-size: 16px; }
    .hero h1 { font-size: clamp(42px, 11vw, 54px); }
    .hero-sub, .intro { font-size: 17px; }
    .stat-label { font-size: 13px; }
    .nav-links a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-content, .hero-visual { animation: none; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Legal pages (Privacy Policy, Terms of Service) */
.legal-body {
    background: #f5f5f7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
}
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}
.legal-page .check-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2rem;
}
.legal-page .check-home .logo-mark {
    color: #0071e3;
    font-size: 18px;
}
.legal-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #d2d2d7;
}
.legal-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.legal-updated {
    color: #86868b;
    font-size: 14px;
    margin: 0;
}
.legal-section {
    margin-bottom: 2rem;
}
.legal-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}
.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 1.25rem 0 0.5rem;
}
.legal-section p {
    color: #424245;
    font-size: 15px;
    margin: 0 0 0.75rem;
}
.legal-section ul {
    margin: 0 0 0.75rem 1.25rem;
    padding: 0;
}
.legal-section li {
    color: #424245;
    font-size: 15px;
    margin-bottom: 0.4rem;
}
.legal-section a {
    color: #0071e3;
    text-decoration: none;
}
.legal-section a:hover {
    text-decoration: underline;
}
.legal-section code {
    background: #f0f0f2;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 13px;
    font-family: "SF Mono", SFMono-Regular, Consolas, monospace;
}
.legal-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d2d2d7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.legal-footer a {
    color: #0071e3;
    text-decoration: none;
    font-size: 14px;
}
.legal-footer a:hover {
    text-decoration: underline;
}
.legal-footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #86868b;
    font-size: 14px;
}
.legal-footer-links span {
    color: #d2d2d7;
}

/* Check form footer links */
.check-footer-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.check-footer-links a {
    color: #86868b;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.check-footer-links a:hover {
    color: #0071e3;
}

@media (max-width: 600px) {
    .legal-page {
        padding: 2rem 1rem 3rem;
    }
    .legal-header h1 {
        font-size: 26px;
    }
    .legal-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
