﻿/* ===== Theme ===== */
:root {
    --ink: #0e1f3a; /* deep navy */
    --ink-2: #223553;
    --yellow: #ffbf2b; /* brand yellow */
    --yellow-light: #ffe89a;
    --bg: #fdfdfd; /* light background */
    --muted: #f5f7fa;
    --ring: 0 8px 20px rgba(14,31,58,.08);
    --ring-strong: 0 16px 40px rgba(14,31,58,.16);
}

/* ===== Base ===== */
* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===== Top bar ===== */
.topbar {
    height: 6px;
    background: linear-gradient(90deg, var(--yellow), var(--yellow-light));
    box-shadow: var(--ring);
}

/* ===== Layout ===== */
.hero {
    max-width: 1100px;
    margin: 4rem auto 2rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: center;
}

.left {
}

.right {
}

/* ===== Smile logo ===== */
.smile-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.smile-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--yellow);
    display: grid;
    place-items: center;
    box-shadow: var(--ring-strong);
    animation: float 5s ease-in-out infinite;
}

.smile {
    width: 60%;
    height: 60%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

/* Motion-safe */
@media (prefers-reduced-motion: reduce) {
    .smile-circle {
        animation: none
    }
}

/* ===== Brand ===== */
.brand {
    margin: 0 0 .75rem 0;
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ink);
}

.cbs {
    background: var(--yellow);
    color: var(--ink);
    border-radius: 999px;
    padding: .2rem .8rem;
    font-weight: 800;
}

.badge {
    background: var(--yellow-light);
    color: var(--ink);
    font-size: .8rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 999px;
}

/* ===== Callout card ===== */
.callout {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--ring);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: .8rem 0 1rem;
}

.chip {
    text-decoration: none;
    color: var(--ink);
    background: var(--muted);
    padding: .45rem .7rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background .2s, transform .15s, box-shadow .15s;
}

    .chip:hover {
        background: var(--yellow-light)
    }

    .chip:focus-visible {
        outline: 2px solid #264a88;
        outline-offset: 2px;
        box-shadow: var(--ring);
    }

/* ===== Buttons ===== */
.actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap
}

.btn {
    appearance: none;
    border: 0;
    text-decoration: none;
    background: var(--yellow);
    color: var(--ink);
    padding: .55rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--ring);
    transition: transform .15s ease, box-shadow .2s ease, filter .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn:hover {
        box-shadow: var(--ring-strong);
        transform: translateY(-1px)
    }

    .btn:active {
        transform: translateY(0)
    }

    .btn:focus-visible {
        outline: 2px solid #264a88;
        outline-offset: 2px;
    }

    .btn.ghost {
        background: transparent;
        border: 1px solid #cfd6e3;
        color: var(--ink);
    }

        .btn.ghost:hover {
            background: #f3f6fb
        }

    .btn.visit {
        background: var(--ink);
        color: #fff;
    }

        .btn.visit:hover {
            filter: brightness(1.05)
        }

/* ===== Misc text ===== */
.lead {
    color: var(--ink-2)
}

.thanks {
    margin-top: 1rem;
    font-weight: 700
}

/* ===== Footer ===== */
.foot {
    text-align: center;
    color: #666;
    padding: 2rem 1rem;
    font-size: .9rem;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .right {
        text-align: center
    }

    .chips, .actions {
        justify-content: center
    }

    .brand {
        font-size: 2.1rem
    }
}
