:root {
    --ink: #1a1c1e;
    --muted: #5a6168;
    --paper: #f7f4ef;
    --paper-deep: #ebe4d8;
    --red: #d62828;
    --red-deep: #9b1c1c;
    --line: rgba(26, 28, 30, 0.12);
    --shadow: 0 18px 50px rgba(26, 28, 30, 0.08);
    --radius: 18px;
    --font-display: "Bricolage Grotesque", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(214, 40, 40, 0.14), transparent 38%),
        radial-gradient(circle at 88% 8%, rgba(26, 28, 30, 0.06), transparent 32%),
        linear-gradient(180deg, #fbf9f5 0%, var(--paper) 55%, var(--paper-deep) 100%);
    line-height: 1.5;
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(26, 28, 30, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 28, 30, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
    z-index: 0;
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-decoration: none;
}

.brand span { color: var(--red); }

.site-header nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.site-header a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.site-header a:hover { color: var(--ink); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 12px;
    background: var(--red);
    color: #fff !important;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    padding: 0.85rem 1.35rem;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(214, 40, 40, 0.28);
    transition: transform 180ms ease, background 180ms ease;
}

.btn:hover {
    background: var(--red-deep);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink) !important;
    box-shadow: none;
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    background: rgba(26, 28, 30, 0.04);
}

.btn-small {
    padding: 0.55rem 0.95rem;
    font-size: 0.95rem;
    box-shadow: none;
}

.btn-block { width: 100%; }

.hero {
    min-height: calc(100vh - 7rem);
    display: grid;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 3rem;
    grid-template-columns: 1.1fr 0.9fr;
}

.eyebrow {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--red);
}

.hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    max-width: 10ch;
    animation: rise 700ms ease both;
}

.lede {
    margin: 1.25rem 0 0;
    max-width: 34rem;
    font-size: 1.15rem;
    color: var(--muted);
    animation: rise 850ms ease both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    animation: rise 1000ms ease both;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.link-orbit {
    width: min(100%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 45%),
        linear-gradient(145deg, #fff 0%, #f1ebe1 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    place-content: center;
    gap: 0.85rem;
    padding: 2rem;
    animation: float 5.5s ease-in-out infinite;
}

.chip {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chip-long {
    background: rgba(26, 28, 30, 0.06);
    color: var(--muted);
}

.chip-short {
    background: var(--ink);
    color: #fff;
}

.arrow {
    text-align: center;
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 800;
}

.explain {
    padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
    max-width: 40rem;
}

.explain h2 {
    font-family: var(--font-display);
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.explain p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.site-footer {
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
    color: var(--muted);
    font-weight: 600;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 2rem;
    }

    .hero h1 { max-width: none; }

    .link-orbit {
        width: min(100%, 320px);
        aspect-ratio: auto;
        border-radius: var(--radius);
        padding: 1.5rem;
    }
}
