:root {
    --bg-dark: #050505;
    --bg-card: #111111;
    --bitcoin-orange: #f7931a;
    --text-light: #f5f5f5;
    --text-muted: #b5b5b5;
    --border: rgba(247, 147, 26, 0.22);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(247, 147, 26, 0.16), transparent 30rem),
        linear-gradient(135deg, rgba(247, 147, 26, 0.05) 25%, transparent 25%) 0 0 / 48px 48px,
        var(--bg-dark);
    color: var(--text-light);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(247, 147, 26, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 147, 26, 0.07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

a {
    color: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bitcoin-orange);
    color: #090909;
    font-weight: 900;
    box-shadow: 0 0 34px rgba(247, 147, 26, 0.45);
}

.site-nav,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a,
.site-footer nav a,
.text-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-footer nav a:hover,
.text-link:hover {
    color: var(--bitcoin-orange);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-light);
    padding: 10px 16px;
    font-weight: 800;
}

.section {
    padding: 76px 0;
}

.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--bitcoin-orange);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 0.95;
    letter-spacing: -0.06em;
}

h1 {
    max-width: 880px;
    font-size: clamp(3.5rem, 11vw, 8.8rem);
    margin-bottom: 28px;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    margin-bottom: 22px;
    text-transform: uppercase;
}

h3 {
    font-size: 1.55rem;
}

.subtitle,
.lead {
    color: var(--text-muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    max-width: 780px;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 32px 0 14px;
}

.centered {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 22px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn-primary {
    background: var(--bitcoin-orange);
    color: #080808;
    box-shadow: 0 14px 46px rgba(247, 147, 26, 0.24);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-light);
}

.btn:hover {
    transform: translateY(-1px);
}

.microcopy,
.form-note,
.disclaimer {
    color: var(--text-muted);
    font-size: 0.94rem;
}

.notice-banner {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 50;
    width: min(720px, calc(100% - 24px));
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.98);
    color: var(--text-light);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    transform: translate(-50%, -120%);
    transition: transform 180ms ease;
}

.success-banner {
    border: 1px solid rgba(247, 147, 26, 0.4);
}

.error-banner {
    border: 1px solid rgba(255, 77, 77, 0.5);
}

.notice-banner.is-visible {
    transform: translate(-50%, 0);
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(247, 147, 26, 0.16), transparent),
        rgba(17, 17, 17, 0.86);
    box-shadow: var(--shadow);
}

.hero-panel span {
    border: 1px solid rgba(247, 147, 26, 0.28);
    border-radius: 18px;
    padding: 22px;
    color: var(--bitcoin-orange);
    font-size: clamp(1.4rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 42px;
    align-items: start;
}

.grid {
    display: grid;
    gap: 20px;
}

.cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.form-card,
.accent-panel,
.cta,
.legal-page {
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(17, 17, 17, 0.88);
    box-shadow: var(--shadow);
}

.card {
    padding: 24px;
}

.card p,
.legal-page p,
.split p,
.product-card p {
    color: var(--text-muted);
}

.package-card,
.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.package-card strong,
.product-card strong {
    color: var(--bitcoin-orange);
    margin-top: auto;
}

.book-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 170px;
    border: 1px solid rgba(247, 147, 26, 0.26);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(247, 147, 26, 0.18), transparent),
        #0a0a0a;
    color: var(--bitcoin-orange);
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 10px;
}

.accent-panel {
    padding: 40px;
    background:
        linear-gradient(135deg, rgba(247, 147, 26, 0.2), rgba(17, 17, 17, 0.9)),
        var(--bg-card);
}

.steps {
    margin: 24px 0 0;
    padding-left: 22px;
    color: var(--text-muted);
}

.steps li + li {
    margin-top: 8px;
}

.cta,
.legal-page {
    text-align: center;
    padding: 58px;
}

.page-hero {
    padding-top: 108px;
    padding-bottom: 36px;
}

.form-card {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-light);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(247, 147, 26, 0.25);
    border-radius: 14px;
    background: #080808;
    color: var(--text-light);
    padding: 14px 15px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--bitcoin-orange);
    outline-offset: 2px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    padding: 42px 0;
    border-top: 1px solid var(--border);
}

.site-footer p {
    color: var(--text-muted);
}

.footer-brand {
    margin-bottom: 12px;
}

code {
    color: var(--bitcoin-orange);
}

@media (max-width: 960px) {
    .hero,
    .split,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .cards,
    .product-grid,
    .two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(5, 5, 5, 0.96);
    }

    .site-nav.is-open {
        display: grid;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 22px, 1180px);
    }

    .section {
        padding: 52px 0;
    }

    .cards,
    .product-grid,
    .two-col,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .accent-panel,
    .cta,
    .legal-page,
    .form-card {
        padding: 26px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
