:root {
    --bg1: #dfe9f5;
    --bg2: #ecf4ff;
    --text: #111827;
    --muted: #5f6b7a;
    --glass: rgba(255, 255, 255, 0.58);
    --glass-border: rgba(255, 255, 255, 0.75);
    --shadow: 0 24px 80px rgba(31, 41, 55, 0.18);
    --radius-xl: 32px;
    --radius-md: 18px;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
}

* {
    box-sizing: border-box;
}

::selection {
    background-color: rgb(255, 213, 0);
    color: black;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 42rem),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.20), transparent 30rem),
        linear-gradient(135deg, var(--bg1), var(--bg2));
    hyphens: auto;
    word-wrap: break-word;
}

.page-shell {
    min-height: calc(100vh - 58px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.glass-panel {
    width: min(940px, 100%);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.hero-panel {
    padding: clamp(24px, 5vw, 56px);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #dbeafe);
    box-shadow:
        10px 10px 24px rgba(15, 23, 42, 0.14),
        -8px -8px 20px rgba(255, 255, 255, 0.8);
    font-size: 30px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 4px;
    font-size: clamp(2.1rem, 7vw, 4.2rem);
    letter-spacing: -0.06em;
}

h2 {
    font-size: clamp(1.35rem, 4vw, 2rem);
    letter-spacing: -0.035em;
}

.subtitle {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.content-block {
    max-width: 720px;
}

.content-block p {
    color: #243044;
    font-size: 1.05rem;
    line-height: 1.75;
}

.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.30);
}

.btn-secondary {
    color: #111827;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

.hint-box {
    margin-top: 30px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.70);
    color: #334155;
    line-height: 1.6;
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.09),
        inset 0 1px 0 rgba(255,255,255,0.60);
}

.site-footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: rgba(17, 24, 39, 0.68);
    font-size: 0.86rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    justify-content: center;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 22px;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.55);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.55);

    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.72);
}

.feature-card strong {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.feature-card span {
    color: #475569;
    line-height: 1.6;
    font-size: 0.97rem;
}

@media (max-width: 640px) {
    .page-shell {
        align-items: flex-start;
        padding-top: 22px;
    }

    .hero-panel {
        border-radius: 24px;
    }

    .brand-block {
        align-items: flex-start;
    }

    .brand-mark {
        width: 54px;
        height: 54px;
        border-radius: 18px;
        font-size: 25px;
    }

    .action-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}