:root {
    color-scheme: dark;
    --bg: #0c100c;
    --bg-deep: #060806;
    --bank: #14180f;
    --panel: rgba(24, 30, 20, 0.9);
    --panel-solid: #171d14;
    --panel-warm: #211b13;
    --border: rgba(198, 177, 128, 0.18);
    --border-strong: rgba(156, 181, 122, 0.34);
    --text: #f2eddf;
    --muted: #b8b09c;
    --soft: #d9d0ba;
    --lake: #5f8f93;
    --moss: #96ae6f;
    --reed: #c6b174;
    --clay: #b56f43;
    --sun: #e2a94e;
    --shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    background:
        linear-gradient(180deg, rgba(33, 27, 19, 0.42) 0, rgba(12, 16, 12, 0.74) 340px, var(--bg) 760px),
        linear-gradient(135deg, #060806 0, #11170f 46%, #0c100c 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(226, 169, 78, 0.12), transparent 34%),
        repeating-linear-gradient(7deg, rgba(198, 177, 116, 0.045) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(94deg, rgba(95, 143, 147, 0.05) 0 1px, transparent 1px 44px);
}

body::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38vh;
    z-index: -1;
    background:
        linear-gradient(180deg, transparent, rgba(6, 8, 6, 0.86)),
        repeating-linear-gradient(0deg, rgba(95, 143, 147, 0.1) 0 1px, transparent 1px 22px);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

.site-header,
.section-band,
.waitlist-band,
.story-section,
.how-section,
.angler-section,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    font-size: 1.03rem;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(198, 177, 116, 0.42);
    border-radius: var(--radius);
    color: #f0d18b;
    background:
        linear-gradient(180deg, rgba(226, 169, 78, 0.14), rgba(94, 78, 46, 0.2)),
        #15180f;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
    font-size: 0.78rem;
}

.site-nav {
    display: none;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-nav a {
    padding: 8px 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.hero {
    position: relative;
    display: grid;
    gap: 34px;
    align-items: center;
    min-height: calc(100vh - 122px);
    padding: 36px 0 54px;
}

.hero::before {
    content: "";
    position: absolute;
    left: -16px;
    right: -16px;
    bottom: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 177, 116, 0.28), rgba(95, 143, 147, 0.24), transparent);
}

.hero-copy {
    max-width: 690px;
}

.eyebrow,
.preview-kicker,
.story-brand {
    margin-bottom: 12px;
    color: var(--reed);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-subtext {
    max-width: 650px;
    margin-bottom: 26px;
    color: var(--soft);
    font-size: 1.08rem;
}

.waitlist-form {
    width: 100%;
}

.signup-row {
    display: grid;
    gap: 10px;
}

.signup-row input,
.signup-row button {
    min-height: 56px;
    border-radius: var(--radius);
    font: inherit;
}

.signup-row input {
    width: 100%;
    border: 1px solid rgba(198, 177, 128, 0.28);
    padding: 0 16px;
    color: var(--text);
    background: rgba(9, 12, 8, 0.82);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 246, 222, 0.04);
}

.signup-row input::placeholder {
    color: rgba(184, 176, 156, 0.72);
}

.signup-row input:focus {
    border-color: rgba(198, 177, 116, 0.78);
    box-shadow: 0 0 0 4px rgba(198, 177, 116, 0.11);
}

.signup-row button {
    position: relative;
    border: 1px solid rgba(226, 169, 78, 0.42);
    padding: 0 22px;
    color: #151008;
    font-weight: 850;
    cursor: pointer;
    background: linear-gradient(180deg, #e5bc67, #bd7b42);
    box-shadow: 0 14px 28px rgba(11, 8, 4, 0.28);
}

.signup-row button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.signup-row button:disabled {
    cursor: wait;
    opacity: 0.82;
    transform: none;
}

.button-loader {
    display: none;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    border: 2px solid rgba(21, 16, 8, 0.24);
    border-top-color: #151008;
    border-radius: 50%;
    vertical-align: middle;
    animation: spin 0.8s linear infinite;
}

.is-loading .button-loader {
    display: inline-block;
}

.form-message {
    min-height: 24px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.form-message.is-success {
    color: #c9d98f;
}

.form-message.is-error {
    color: #e9a389;
}

.score-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(35, 38, 25, 0.96), rgba(18, 22, 15, 0.97)),
        var(--panel-solid);
    box-shadow: var(--shadow);
}

.score-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(226, 169, 78, 0.14), transparent 32%),
        repeating-linear-gradient(0deg, rgba(242, 237, 223, 0.035) 0 1px, transparent 1px 18px);
    pointer-events: none;
}

.score-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sun), var(--moss), var(--lake));
}

.score-card-header,
.score-display,
.best-window,
.condition-grid {
    position: relative;
    z-index: 1;
}

.score-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.score-card h2 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    line-height: 1.15;
}

.time-pill {
    flex: 0 0 auto;
    border: 1px solid rgba(198, 177, 128, 0.24);
    border-radius: 6px;
    padding: 6px 9px;
    color: var(--muted);
    background: rgba(12, 16, 12, 0.5);
    font-size: 0.76rem;
}

.score-display {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 24px;
}

.score-ring {
    width: 118px;
    min-height: 118px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(198, 177, 128, 0.26);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(226, 169, 78, 0.16), rgba(150, 174, 111, 0.08)),
        #11160f;
    box-shadow: inset 0 0 0 1px rgba(255, 246, 222, 0.035);
}

.score-ring span {
    color: #f4d086;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.55rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    margin-bottom: 6px;
    color: #e8c575;
    font-size: 1.18rem;
    font-weight: 850;
}

.score-copy {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.best-window {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
    border: 1px solid rgba(198, 177, 128, 0.22);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(35, 28, 18, 0.52);
}

.best-window span,
.condition-grid span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0;
}

.best-window strong {
    color: var(--text);
    font-size: 1.24rem;
}

.factor-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.factor-list span {
    position: relative;
    border: 1px solid rgba(198, 177, 128, 0.16);
    border-radius: var(--radius);
    padding: 8px 10px 8px 28px;
    color: #e4decb;
    background: rgba(11, 14, 9, 0.42);
    font-size: 0.86rem;
}

.factor-list span::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--moss);
    transform: translateY(-50%);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    padding-top: 16px;
    gap: 12px;
}

.condition-grid div {
    min-width: 0;
}

.condition-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
}

.waitlist-band {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 68px;
    border-block: 1px solid var(--border);
    padding-block: 28px;
    background: linear-gradient(90deg, rgba(33, 27, 19, 0.24), transparent 44%, rgba(19, 31, 25, 0.18));
}

.waitlist-band h2,
.section-heading h2,
.story-shell h2 {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.waitlist-band p,
.section-heading p {
    color: var(--muted);
}

.compact-form {
    max-width: 540px;
}

.story-section {
    padding: 42px 0 78px;
}

.story-shell {
    position: relative;
    border-left: 1px solid rgba(198, 177, 116, 0.42);
    padding: 28px 0 28px 24px;
}

.story-shell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid rgba(150, 174, 111, 0.14);
    border-bottom: 1px solid rgba(95, 143, 147, 0.16);
    background:
        linear-gradient(180deg, rgba(33, 27, 19, 0.28), transparent 34%),
        repeating-linear-gradient(0deg, rgba(242, 237, 223, 0.025) 0 1px, transparent 1px 20px);
    pointer-events: none;
}

.story-shell h2 {
    position: relative;
    max-width: 760px;
    color: #fff1d2;
}

.story-copy {
    position: relative;
    max-width: 760px;
    color: #e5dcc8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
}

.story-copy p {
    margin-bottom: 24px;
}

.story-copy p:nth-child(3),
.story-copy p:nth-child(7),
.story-close {
    color: #edc777;
    font-size: 1.38rem;
    font-weight: 700;
}

.story-close {
    margin-top: 34px;
    margin-bottom: 0;
}

.how-section,
.angler-section {
    padding: 70px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.step-grid,
.angler-grid {
    display: grid;
    gap: 14px;
}

.info-card,
.angler-grid article {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(33, 27, 19, 0.22), rgba(17, 23, 15, 0.62)),
        rgba(24, 30, 20, 0.76);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.card-number {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--sun);
    font-size: 0.83rem;
    font-weight: 850;
}

.info-card h3,
.angler-grid h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-card p,
.angler-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

.angler-section {
    border-top: 1px solid rgba(198, 177, 128, 0.12);
}

.angler-grid article {
    background:
        linear-gradient(180deg, rgba(95, 143, 147, 0.08), rgba(150, 174, 111, 0.05)),
        rgba(18, 24, 16, 0.66);
}

.site-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding: 28px 0 36px;
    color: var(--muted);
}

.site-footer .brand {
    color: var(--text);
}

.site-footer p {
    margin-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 640px) {
    .signup-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .signup-row button {
        min-width: 154px;
    }

    .site-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 760px) {
    .site-nav {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    h1 {
        font-size: 4.55rem;
    }

    .hero-subtext {
        font-size: 1.2rem;
    }

    .waitlist-band {
        grid-template-columns: 1fr 1fr;
        padding-block: 34px;
    }

    .story-shell {
        padding-left: 46px;
    }

    .waitlist-band h2,
    .section-heading h2,
    .story-shell h2 {
        font-size: 2.75rem;
    }

    .story-copy {
        font-size: 1.28rem;
    }

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

    .angler-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.72fr);
        gap: 48px;
    }

    .score-card {
        padding: 22px;
    }
}

@media (max-width: 420px) {
    .site-header,
    .section-band,
    .waitlist-band,
    .story-section,
    .how-section,
    .angler-section,
    .site-footer {
        width: min(100% - 24px, 1120px);
    }

    h1 {
        font-size: 2.48rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .score-display {
        grid-template-columns: 1fr;
    }

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

    .time-pill {
        display: none;
    }
}
