﻿
:root { /* ---------- Light Base (white background) ---------- */ --bg1: #ffffff; --bg2: #f6f7f9; --bg3: #eef1f4; /* Glass surfaces */ --card: rgba(255,255,255,.78); --card2: rgba(255,255,255,.62); --stroke: rgba(15,23,42,.10); /* Typography */ --text: rgba(15,23,42,.92); --muted: rgba(15,23,42,.62); /* Shadow (soft) */ --shadow: 0 18px 45px rgba(15,23,42,.10); /* Pastel Blue Palette (buttons & badges) */ --blue-1: #eaf4ff; /* very light */ --blue-2: #d7ecff; /* light */ --blue-3: #b9ddff; /* mid */ --blue-4: #7ab7ff; /* accent */ --blue-ink: #0f2b46; /* readable text on blue */ --focus: rgba(122,183,255,.55); --radius: 22px; }

* { box-sizing: border-box; }
html, body { height: 100%; }

body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; color: var(--text); overflow-x: hidden; /* Background stays: white + soft gray glow */ background: radial-gradient(1200px 600px at 15% 20%, rgba(107,114,128,.10), transparent 60%), radial-gradient(900px 500px at 85% 25%, rgba(199,204,212,.18), transparent 55%), radial-gradient(900px 550px at 55% 85%, rgba(154,161,171,.10), transparent 55%), linear-gradient(135deg, var(--bg1), var(--bg2) 45%, var(--bg3)); }

    /* subtle noise overlay (light-friendly) */
    body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: .12; }

.wrap { min-height: 100%; display: grid; place-items: center; padding: 32px 16px; }

.card { width: min(980px, 100%); border-radius: var(--radius); background: linear-gradient(180deg, var(--card), var(--card2)); border: 1px solid var(--stroke); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; overflow: hidden; }

    /* floating blobs inside card - subtle grayscale */
    .card::before,
    .card::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(48px); opacity: .22; z-index: 0; }
    .card::before { background: radial-gradient(circle at 30% 30%, rgba(199,204,212,.65), transparent 55%); top: -140px; left: -160px; }
    .card::after { background: radial-gradient(circle at 70% 70%, rgba(107,114,128,.35), transparent 55%); bottom: -160px; right: -180px; }

.grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; padding: 28px; position: relative; z-index: 1; }

@media (max-width:860px) {
    .grid { grid-template-columns: 1fr; }
}

.left { padding: 10px 6px; }

/* ---------- Badge: Pastel Blue ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(215,236,255,.70); /* --blue-2 */ border: 1px solid rgba(122,183,255,.40); /* --blue-4 */ color: rgba(15,43,70,.78); /* --blue-ink */ font-size: 13px; }

.dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(122,183,255,.95)); box-shadow: 0 0 0 6px rgba(122,183,255,.22); }

h1 { margin: 18px 0 10px; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.02em; line-height: 1.05; }

.subtitle { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 58ch; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }

/* ---------- Buttons: Pastel Blue ---------- */
.btn { appearance: none; border: 1px solid rgba(122,183,255,.38); background: rgba(234,244,255,.78); /* --blue-1 */ color: rgba(15,43,70,.88); /* --blue-ink */ padding: 12px 14px; border-radius: 14px; font-weight: 600; cursor: pointer; transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease, filter .12s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(15,23,42,.06); }

    .btn:hover { transform: translateY(-1px); background: rgba(215,236,255,.92); /* --blue-2 */ border-color: rgba(122,183,255,.55); box-shadow: 0 12px 26px rgba(15,23,42,.08); }

    .btn.primary { border: 1px solid rgba(122,183,255,.45); background: linear-gradient(135deg, rgba(185,221,255,.95), /* --blue-3 */ rgba(122,183,255,.92) /* --blue-4 */ ); color: rgba(15,43,70,.92); box-shadow: 0 16px 34px rgba(122,183,255,.22); }

        .btn.primary:hover { filter: brightness(1.03) saturate(1.02); }

    .btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--focus), 0 12px 26px rgba(15,23,42,.08); }

.icon { width: 18px; height: 18px; display: inline-block; }

.right { display: grid; gap: 14px; align-content: start; padding: 10px 6px; }

/* ---------- Brand area (light, neutral) ---------- */
.brand { border-radius: 18px; padding: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(15,23,42,.10); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; gap: 14px; }

.logoBox { width: 56px; height: 56px; border-radius: 16px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), transparent 55%), linear-gradient(135deg, rgba(199,204,212,.55), rgba(154,161,171,.45)); border: 1px solid rgba(15,23,42,.10); display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 22px rgba(15,23,42,.10); flex: 0 0 auto; }

    .logoBox img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(15,23,42,.14)); }

.brandTitle { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .brandTitle strong { font-size: 14px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .brandTitle span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.panel { border-radius: 18px; padding: 16px; background: rgba(255,255,255,.66); border: 1px solid rgba(15,23,42,.10); }

.code404 { font-size: 64px; font-weight: 800; letter-spacing: .06em; margin: 0 0 8px; background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(15,23,42,.28)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hint { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.link { font-size: 13px; color: rgba(15,23,42,.82); text-decoration: none; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.70); border: 1px solid rgba(15,23,42,.10); transition: background .12s ease, border-color .12s ease, box-shadow .12s ease; }

    .link:hover { background: rgba(255,255,255,.88); border-color: rgba(15,23,42,.14); }

    .link:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--focus), 0 10px 22px rgba(15,23,42,.08); }

footer { padding: 14px 28px 20px; color: rgba(15,23,42,.52); font-size: 12px; border-top: 1px solid rgba(15,23,42,.08); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; }

.btn path { stroke: var(--text) !important; }
