/* Waverider Trading Technologies
   Copyright © 2024 Bulldog Ventures Inc. All rights reserved. */

:root {
    --blue: #3aa0ef;
    --blue-dark: #1d7ec8;
    --ink: #161616;
    --muted: #4a4a4a;
    --line: #e4e4e4;
    --soft: #f5f6f7;
    --white: #ffffff;
    --footer: #121417;
    --max: 1120px;
    --header: 4.5rem;
    --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--blue-dark);
}

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

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -4rem;
    z-index: 20;
    background: var(--ink);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 0.4rem;
}

.skip-link:focus {
    top: 0.75rem;
    color: var(--white);
}

.wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font);
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(1200px, calc(100% - 1.5rem));
    margin-inline: auto;
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font);
    font-weight: 700;
    font-size: 1.15rem;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 0.4rem;
    object-fit: cover;
}

.nav-toggle {
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font: inherit;
    cursor: pointer;
}

.site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
}

.site-nav.is-open {
    display: block;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--blue-dark);
}

.site-nav a.nav-donate {
    display: inline-block;
    margin-top: 0.45rem;
    padding: 0.8rem 1.35rem;
    background: #c2410c;
    color: var(--white);
    border-radius: 0.45rem;
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(194, 65, 12, 0.4);
}

.site-nav a.nav-donate:hover,
.site-nav a.nav-donate:focus-visible {
    color: var(--white);
    background: #9a3412;
}

.hero {
    position: relative;
    min-height: 38rem;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(8, 12, 18, 0.82) 0%, rgba(8, 12, 18, 0.55) 55%, rgba(8, 12, 18, 0.25) 100%),
        url("../img/hero-pexels.jpeg") center / cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(40rem, calc(100% - 2rem));
    margin: 4rem 8vw;
}

.hero p {
    font-size: 1.15rem;
}

.hero-rule {
    width: 8rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.45);
    margin: 1.25rem 0 1.5rem;
    border: 0;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.button,
.button-ghost {
    display: inline-block;
    border-radius: 0.45rem;
    padding: 0.85rem 1.4rem;
    font-family: var(--font);
    font-weight: 650;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.button {
    background: var(--blue);
    color: var(--white);
    box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.18);
}

.button:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.button-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
}

.button-ghost.dark,
.button-ghost.on-light {
    color: var(--ink);
    border-color: #cfcfcf;
    background: var(--white);
}

.button-ghost.dark:hover,
.button-ghost.on-light:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0.9rem 1.1rem;
    background: rgba(10, 12, 16, 0.72);
    border-radius: 0.8rem;
    width: fit-content;
    max-width: 100%;
}

.pill-list li::before {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--blue);
    transform: translateY(-1px);
}

.section {
    padding: 4rem 0;
}

.section-soft {
    background: var(--soft);
}

.kicker {
    color: #4c594c;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.split {
    display: grid;
    gap: 2rem;
}

.about-photo,
.card img,
.media-card img,
.qr {
    border-radius: 0.8rem;
}

.signature {
    width: 140px;
    margin-top: 0.5rem;
}

.card-grid,
.offer-grid,
.step-grid,
.choice-grid {
    display: grid;
    gap: 1.25rem;
}

.card,
.offer,
.step,
.choice,
.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.25rem;
}

.card h3,
.offer h3 {
    margin-top: 0.8rem;
}

.price {
    font-family: var(--font);
    font-size: 1.4rem;
    margin: 0.2rem 0 0.8rem;
}

.read-more {
    margin-top: 0.5rem;
    background: transparent;
    border: 0;
    color: var(--blue-dark);
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.more-panel {
    margin-top: 0.8rem;
}

.show-band {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    background: #101418;
    color: var(--white);
    border-radius: 1.2rem;
    overflow: hidden;
}

.show-band a {
    color: var(--white);
}

.thumb-link {
    position: relative;
    display: block;
}

.thumb-link img.thumb {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    transform: translate(-50%, -50%);
}

.show-copy {
    padding: 1.5rem;
}

.podcast-layout,
.contact-layout,
.page-hero-grid {
    display: grid;
    gap: 1.5rem;
}

.spotify {
    width: 100%;
    min-height: 232px;
    border: 0;
    border-radius: 0.8rem;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.field label {
    display: block;
    font-weight: 650;
    margin-bottom: 0.3rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.45rem;
    padding: 0.75rem 0.8rem;
    font: inherit;
    background: var(--white);
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form-note {
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
}

.form-note-ok {
    background: #e8f6ee;
    color: #145c32;
}

.form-note-bad {
    background: #fdecec;
    color: #8a1f1f;
}

.contact-photo {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    max-height: 420px;
}

.site-footer {
    background: var(--footer);
    color: #e8e8e8;
    padding: 3rem 0 2rem;
}

.site-footer a {
    color: var(--white);
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.site-footer h2 {
    font-size: 1.05rem;
}

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

.social-list a {
    display: inline-block;
    padding: 0.2rem 0;
}

.disclaimer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #c8c8c8;
    font-size: 0.92rem;
}

.copyright {
    color: #9a9a9a;
}

.page-hero {
    background:
        linear-gradient(180deg, rgba(10, 14, 20, 0.72), rgba(10, 14, 20, 0.78)),
        url("../img/hero-pexels.jpeg") center / cover no-repeat;
    color: var(--white);
    padding: 4.5rem 0 3.5rem;
}

.page-hero p {
    max-width: 40rem;
    font-size: 1.1rem;
}

.prose {
    max-width: 46rem;
}

.prose h2 {
    margin-top: 2rem;
}

.prose h3 {
    margin-top: 1.4rem;
}

.table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 40rem;
}

caption {
    text-align: left;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

th,
td {
    border: 1px solid var(--line);
    padding: 0.7rem 0.75rem;
    vertical-align: top;
    text-align: left;
}

th {
    background: var(--soft);
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
}

.qr {
    width: min(240px, 100%);
    background: var(--white);
    padding: 0.5rem;
}

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

.episode-list li {
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
}

.episode-list a {
    font-weight: 700;
    text-decoration: none;
}

.meta {
    color: var(--muted);
    font-size: 0.92rem;
}

.numbered {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.numbered li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 1rem 1rem 1rem 4rem;
    position: relative;
}

.numbered li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-family: var(--font);
    color: var(--blue-dark);
    font-weight: 700;
}

@media (min-width: 800px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: block;
        position: static;
        border: 0;
        padding: 0;
        margin-left: auto;
        background: transparent;
    }

    .site-nav ul {
        display: flex;
        gap: 0.2rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .site-nav a {
        padding: 0.4rem 0.55rem;
        font-size: 0.95rem;
    }

    .site-nav a.nav-donate {
        margin-top: 0;
        margin-left: 0.45rem;
        padding: 0.75rem 1.25rem;
        font-size: 1.15rem;
    }

    .split,
    .podcast-layout,
    .contact-layout,
    .page-hero-grid,
    .show-band {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .card-grid,
    .offer-grid,
    .choice-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (prefers-contrast: high) {
    .button,
    .site-nav a.nav-donate {
        outline: 2px solid var(--ink);
    }
}

.signup-popup[hidden] {
    display: none;
}

.signup-popup {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.signup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 18, 0.72);
}

.signup-dialog {
    position: relative;
    width: min(28rem, 100%);
    background: var(--white);
    color: var(--ink);
    border-radius: 1rem;
    padding: 1.5rem 1.4rem 1.25rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.signup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted);
}

.signup-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    align-items: start;
}

.signup-consent input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
}

.signup-fine {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.signup-status {
    margin: 0;
}

@media print {
    .site-header,
    .nav-toggle,
    .button-row,
    .site-footer .social-list,
    .signup-popup {
        display: none;
    }
}
