:root {
    color-scheme: light;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, .08), transparent 30rem),
        #f8fafc;
}

.glass {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .05);
    backdrop-filter: blur(14px);
}

.anchor { scroll-margin-top: 88px; }

.hero-kapay {
    border: 1px solid rgba(22, 163, 74, .18);
    background:
        radial-gradient(circle at 88% 18%, rgba(74, 222, 128, .30), transparent 22rem),
        linear-gradient(135deg, #f0fdf4 0%, #ffffff 58%, #dcfce7 100%);
    box-shadow: 0 24px 60px rgba(22, 101, 52, .10);
}

.code-card {
    overflow-x: auto;
    border: 1px solid #254936;
    background: #10291d;
    color: #e8fff0;
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
    white-space: pre;
}

.endpoint-card {
    border: 1px solid #e2e8f0;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.endpoint-card:hover {
    border-color: #bbf7d0;
    box-shadow: 0 18px 42px rgba(15, 118, 55, .10);
    transform: translateY(-1px);
}

.method-get { background: #2563eb; }
.method-post { background: #16a34a; }

.checklist-kapay {
    border: 1px solid #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

pre, code { font-variant-ligatures: none; }
pre { max-width: 100%; overflow-x: auto; }

@media (max-width: 640px) {
    .hero-kapay { border-radius: 1.25rem; }
    .endpoint-card pre { font-size: 12px; }
}
