@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ===== Reset + Base ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
:root {
    --bg: #f1f5f9; /* slate-100 */
    --card: #ffffff;
    --fg: #1e293b; /* slate-800 */
    --muted: #64748b; /* slate-500 */
    --radius: 16px;
    --ring: rgba(30, 41, 59, 0.12);
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.08), 0 4px 12px rgba(2, 6, 23, 0.06);
    /* base tint for subtle background gradients (R,G,B) */
    --tint-rgb: 30, 41, 59; /* slate-ish for light */
}
@media (prefers-color-scheme: dark) {
    :root {
        /* neutral, less blue-leaning dark palette */
        --bg: #111113; /* neutral near gray/charcoal */
        --card: #1a1a1b; /* neutral dark gray */
        --fg: #ececec; /* near gray-200 */
        --muted: #a4a4a8; /* neutral gray-400 */
        --ring: rgba(236, 236, 236, 0.16);
        --shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 6px 16px rgba(0, 0, 0, 0.25);
        /* neutralize background gradient tint */
        --tint-rgb: 120, 120, 120; /* gray */
    }
}

body {
    background: radial-gradient(1200px 800px at 10% -10%, rgba(var(--tint-rgb), 0.06), transparent 60%),
        radial-gradient(800px 600px at 90% 10%, rgba(var(--tint-rgb), 0.05), transparent 60%), var(--bg);
    color: var(--fg);
    display: grid;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
    line-height: 1.45;
    min-height: 100svh;
    padding: 24px;
    place-items: center;
}

/* ===== Layout ===== */
.wrap {
    max-width: 720px;
    width: 100%;
}
.card {
    animation: floatIn 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    background: var(--card);
    border: 1px solid rgba(100, 116, 139, 0.15);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
    justify-items: center;
    padding: clamp(24px, 4vw, 40px);
}
.logo {
    display: block;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4));
    height: auto;
}
.title {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}
.lead {
    color: var(--muted);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    max-width: 56ch;
    text-align: center;
}

.divider {
    background: linear-gradient(90deg, transparent, rgba(100, 116, 139, 0.25), transparent);
    height: 1px;
    margin-block: 4px;
    width: 100%;
}

@media (prefers-color-scheme: dark) {
    /* neutralize slight blue tints in borders/dividers */
    .card {
        border-color: rgba(255, 255, 255, 0.08);
    }
    .divider {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    }
}

.contact {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}
.contact-text {
    color: var(--fg);
    max-width: 56ch;
}

.btn {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: 999px;
    box-shadow: 0 1px 0 #fff inset, 0 0 0 0 transparent;
    color: #0f172a;
    display: inline-block;
    font-weight: 600;
    padding: 12px 18px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.12);
    transform: translateY(-1px);
}
.btn[aria-disabled='true'] {
    cursor: not-allowed;
    opacity: 0.8;
}
.btn:focus-visible {
    box-shadow: 0 0 0 4px var(--ring);
    outline: none;
}

.footnote {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Utilities */
.visually-hidden {
    border: 0;
    clip: rect(0, 0, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
