html {
    color-scheme: light;
}

:root {
    --success: #1cce78;
    --success-light: #45ca8c;
    --bg-soft: #f4f6f8;
}

body {
    background: var(--bg-soft);
    min-height: 100vh;
}

.turnstile-field {
    display: flex;
}

.landing-page {
    font-family: "Manrope", sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

.is-family-display {
    font-family: "Fraunces", serif;
}

.landing-hero {
    position: relative;
    background: radial-gradient(circle at 20% 20%, #2f855a 0%, #1f7a5c 35%, #155e4a 100%);
    color: #ecfdf5;
    overflow: hidden;
}

.landing-flash {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ecfdf5;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    margin-bottom: 1.5rem;
}

.landing-flash.is-danger {
    background: rgba(248, 113, 113, 0.2);
}

.landing-flash.is-success {
    background: rgba(16, 185, 129, 0.2);
}

.landing-flash.is-warning {
    background: rgba(251, 191, 36, 0.25);
    color: #0f172a;
}

.landing-hero .navbar-item {
    color: rgba(236, 253, 245, 0.85);
}

.landing-hero .navbar-item:hover,
.landing-hero .navbar-item:focus {
    background: transparent;
    color: #ffffff;
}

.landing-hero .button.is-light {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ecfdf5;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.landing-hero::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
}

.landing-hero::after {
    width: 260px;
    height: 260px;
    bottom: -120px;
    left: -80px;
}

.landing-shots {
    position: relative;
    --shots-min-height: 380px;
    --shot-primary-width: clamp(320px, 70%, 420px);
    --shot-secondary-width: clamp(180px, 44%, 240px);
    --shot-secondary-left: 2%;
    --shot-secondary-top: 12px;
    --shot-tertiary-left: 20%;
    --shot-tertiary-bottom: -22px;
    min-height: var(--shots-min-height);
    padding-bottom: 2rem;
}

.landing-shot-caption {
    font-size: 0.85rem;
    color: rgba(236, 253, 245, 0.75);
    margin-top: 1.2rem;
}

.shot-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
    padding: 1.4rem;
    color: #0f172a;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.shot-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.shot-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.9), rgba(56, 189, 248, 0.8), rgba(20, 184, 166, 0.9));
    opacity: 0.7;
    pointer-events: none;
}

.shot-primary {
    max-width: var(--shot-primary-width);
    margin-left: auto;
    z-index: 2;
}

.shot-secondary,
.shot-tertiary {
    position: absolute;
    width: var(--shot-secondary-width);
    padding: 1.1rem;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
    opacity: 0.96;
}

.shot-secondary {
    left: var(--shot-secondary-left);
    top: var(--shot-secondary-top);
    z-index: 2;
}

.shot-tertiary {
    left: var(--shot-tertiary-left);
    bottom: var(--shot-tertiary-bottom);
    right: auto;
    z-index: 1;
}

@media (max-width: 1216px) {
    .landing-shots {
        --shots-min-height: 340px;
        --shot-primary-width: clamp(300px, 68%, 380px);
        --shot-secondary-width: clamp(170px, 42%, 220px);
        --shot-secondary-top: 40px;
        --shot-tertiary-left: 20%;
        --shot-tertiary-bottom: -70px;
    }
}

@media (max-width: 1024px) {
    .landing-shots {
        --shots-min-height: 300px;
        --shot-primary-width: clamp(280px, 66%, 340px);
        --shot-secondary-width: clamp(160px, 40%, 200px);
        --shot-secondary-top: 40px;
        --shot-tertiary-left: 19%;
        --shot-tertiary-bottom: -95px;
    }
}

.shot-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.shot-chart {
    height: 150px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 133, 90, 0.08), rgba(16, 185, 129, 0.16));
    position: relative;
    overflow: hidden;
}

.shot-chart::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px) 0 100% / 100% 28%,
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) 0 0 / 20% 100%;
    opacity: 0.6;
}

.shot-chart::after {
    content: "";
    position: absolute;
    inset: 12% 8% 16% 8%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 140'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%2310b981' stop-opacity='0.45'/><stop offset='1' stop-color='%2310b981' stop-opacity='0.08'/></linearGradient></defs><path d='M0 110 L40 92 L80 100 L120 70 L160 82 L200 50 L240 60 L280 28 L320 40 L320 140 L0 140 Z' fill='url(%23g)'/><path d='M0 110 L40 92 L80 100 L120 70 L160 82 L200 50 L240 60 L280 28 L320 40' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.shot-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.shot-stats p {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.shot-stats strong {
    font-size: 1rem;
}

.shot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shot-list li {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #334155;
}

.shot-list .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #10b981;
    margin-right: 0.5rem;
}

.shot-metrics {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.shot-metrics p {
    font-size: 0.75rem;
    color: #64748b;
}

.shot-metrics strong {
    font-size: 1.1rem;
}

.landing-cta {
    background: #0f766e;
    color: #ecfdf5;
    border-radius: 24px;
}

@media (max-width: 768px) {
    .landing-shots {
        margin-top: 2rem;
        min-height: auto;
        padding-bottom: 0;
    }
    .shot-primary,
    .shot-secondary,
    .shot-tertiary {
        position: static;
        min-width: 100%;
        width: 100%;
        margin-top: 1.2rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.help-toggle-button {
    border: none;
    background: rgba(50, 115, 220, 0.08);
    border-radius: 6px;
    color: #3e8ed0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    margin-left: 0.4rem;
}

.help-toggle-button svg {
    width: 1rem;
    height: 1rem;
}

.help-toggle-button:hover {
    background: rgba(50, 115, 220, 0.18);
}

.help-toggle-button.is-active {
    background: #3e8ed0;
    color: #fff;
    box-shadow: 0 10px 18px rgba(50, 115, 220, 0.25);
}

.hero.is-success {
    background: radial-gradient(circle at 20% 20%, #3aa374 0%, #2f855a 45%, #1f7a5c 100%);
}

.card {
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.navbar.is-transparent {
    background-color: transparent;
}

.table.is-rounded {
    border-radius: 1rem;
    overflow: hidden;
}

.cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1rem;
    z-index: 50;
    padding: 0 0.75rem;
    pointer-events: none;
}

.cookie-notice .notification {
    pointer-events: auto;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.cookie-notice-text {
    color: #475569;
    margin: 0;
}

.cookie-notice-text a {
    color: #2f855a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .card + .card {
        margin-top: 1.5rem;
    }
    .buttons .button,
    form .button {
        width: 100%;
    }
    .cookie-notice {
        bottom: 0.5rem;
    }
    .cookie-notice .notification {
        padding: 0.85rem !important;
    }
    .cookie-notice .button {
        width: auto;
    }
}
