:root {
    --background: #f7f8fb;
    --surface: rgba(255, 255, 255, 0.88);

    --text: #17181c;
    --muted: #667085;

    --border: rgba(15, 23, 42, 0.09);

    --gold: #c48720;
    --gold-dark: #a86d12;

    --shadow:
        0 24px 60px rgba(20, 25, 35, 0.08);
}


/* =========================
   Base
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 8% 5%,
            rgba(248, 236, 211, 0.8),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 15%,
            rgba(226, 234, 248, 0.75),
            transparent 30%
        ),
        var(--background);

    line-height: 1.6;
}

.container {
    width: min(960px, 92%);
    margin: 0 auto;
}


/* =========================
   Homepage Header
========================= */

.site-header {
    padding: 48px 0 70px;
}

.brand {
    display: inline-block;

    margin-bottom: 62px;

    color: #16171b;

    font-size: 26px;
    font-weight: 750;

    letter-spacing: -1px;

    text-decoration: none;
}

.brand::after,
.legal-brand::after {
    content: "";

    display: block;

    width: 24px;
    height: 3px;

    margin-top: 5px;

    border-radius: 10px;

    background: var(--gold);
}


/* =========================
   Hero
========================= */

.hero h1 {
    max-width: 760px;

    margin: 0;

    font-size: clamp(42px, 7vw, 68px);
    line-height: 1.04;

    letter-spacing: -3px;

    font-weight: 750;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            135deg,
            var(--gold-dark),
            #d39a32
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero p {
    max-width: 650px;

    margin: 24px 0 0;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.75;
}


/* =========================
   Apps
========================= */

main:not(.legal-page) {
    padding-bottom: 80px;
}

.section-title {
    margin: 0 0 22px;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.6px;
}


/* =========================
   App Card
========================= */

.app-card {
    position: relative;
    overflow: hidden;

    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: var(--surface);

    box-shadow: var(--shadow);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.app-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 30px 70px rgba(20, 25, 35, 0.11);
}

.app-card::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -120px;
    top: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(248, 236, 211, 0.95),
            rgba(248, 236, 211, 0)
        );

    pointer-events: none;
}


/* =========================
   App Header
========================= */

.app-header {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 22px;
}

.app-icon {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #e6b44f,
            #bb7c18
        );

    color: white;

    font-size: 29px;
    font-weight: 750;

    box-shadow:
        0 12px 25px rgba(183, 121, 31, 0.22),
        inset 0 1px rgba(255, 255, 255, 0.45);
}

.app-title h3 {
    margin: 0;

    font-size: 23px;
    line-height: 1.25;

    letter-spacing: -0.6px;
}

.app-title span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================
   App Description
========================= */

.app-description {
    position: relative;
    z-index: 1;

    max-width: 720px;

    margin: 0 0 26px;

    color: #4d596b;

    font-size: 16px;
}


/* =========================
   Links
========================= */

.links {
    position: relative;
    z-index: 1;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.links a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.75);

    color: #394150;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.links a:hover {
    transform: translateY(-1px);

    background: #ffffff;

    border-color: rgba(196, 135, 32, 0.35);

    color: var(--gold-dark);
}

.arrow {
    font-size: 15px;
}


/* =========================
   Footer
========================= */

footer {
    padding: 26px 0 34px;

    border-top: 1px solid var(--border);

    color: #7b8492;

    font-size: 13px;

    text-align: right;
}


/* =========================
   Legal Pages
========================= */

.legal-page {
    width: min(820px, 92%);
    margin: 0 auto;

    padding: 48px 0 70px;
}

.legal-header {
    margin-bottom: 48px;
}

.legal-brand {
    display: inline-block;

    margin-bottom: 42px;

    color: #16171b;

    font-size: 26px;
    font-weight: 750;

    letter-spacing: -1px;

    text-decoration: none;
}

.back-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 25px;

    color: var(--muted);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--gold-dark);
}

.legal-header h1 {
    margin: 0;

    font-size: clamp(38px, 6vw, 52px);
    line-height: 1.1;

    letter-spacing: -2px;

    font-weight: 750;
}

.legal-app-name {
    margin: 10px 0 0;

    color: var(--gold-dark);

    font-size: 17px;
    font-weight: 600;
}

.effective-date {
    margin: 10px 0 0;

    color: var(--muted);

    font-size: 14px;
}


/* =========================
   Legal Content
========================= */

.legal-content {
    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);

    box-shadow: var(--shadow);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.legal-content h2 {
    margin: 38px 0 12px;

    color: var(--text);

    font-size: 22px;
    line-height: 1.3;

    letter-spacing: -0.5px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin: 0 0 15px;

    color: #4d596b;

    font-size: 16px;
    line-height: 1.75;
}

.legal-content strong {
    color: #252a32;
}

.legal-content ul {
    margin: 0 0 18px;

    padding-left: 24px;

    color: #4d596b;

    font-size: 16px;
    line-height: 1.75;
}

.legal-content li {
    margin-bottom: 7px;
}

.legal-content a {
    color: var(--gold-dark);

    font-weight: 600;

    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--gold);
}


/* =========================
   Legal Footer
========================= */

.legal-footer {
    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 14px;
}

.legal-footer a {
    color: var(--gold-dark);

    font-weight: 600;

    text-decoration: none;
}

.legal-footer a:hover {
    text-decoration: underline;
}


/* =========================
   Mobile
========================= */

@media (max-width: 600px) {

    .site-header {
        padding: 36px 0 52px;
    }

    .brand {
        margin-bottom: 50px;

        font-size: 24px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 54px);

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;

        line-height: 1.65;
    }

    .app-card {
        padding: 23px;

        border-radius: 20px;
    }

    .app-icon {
        width: 56px;
        height: 56px;

        flex-basis: 56px;

        border-radius: 15px;
    }

    .app-title h3 {
        font-size: 20px;
    }

    footer {
        text-align: left;
    }


    /* Legal */

    .legal-page {
        padding: 34px 0 50px;
    }

    .legal-header {
        margin-bottom: 32px;
    }

    .legal-brand {
        margin-bottom: 34px;

        font-size: 24px;
    }

    .legal-header h1 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }

    .legal-content {
        padding: 23px;

        border-radius: 18px;
    }

    .legal-content h2 {
        margin-top: 32px;

        font-size: 20px;
    }

    .legal-content p,
    .legal-content ul {
        font-size: 15px;
        line-height: 1.7;
    }

    .legal-content ul {
        padding-left: 21px;
    }
}