/* RollupBandit — site stylesheet
 * Premium golf-club inspired: deep green / cream / muted gold.
 * Plain CSS, no frameworks, system fonts only. Mobile-first.
 *
 * Layout: a premium product story — hero, then four alternating
 * copy/screenshot "story" sections, a calm final CTA, and a minimal
 * footer. One screenshot per section; generous spacing throughout.
 */

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

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

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

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
    --green-deep: #17392B;
    --green-fairway: #1F4D3A;
    --cream: #F6F1E7;
    --card: #FFFDF7;
    --sand: #D9C9A3;
    --sand-soft: #E8E0CB;
    --wash: #EFE9DB;
    --gold: #C9A227;
    --charcoal: #1E1E1E;
    --muted: #6B7B72;

    --cream-80: rgba(246, 241, 231, 0.82);
    --cream-70: rgba(246, 241, 231, 0.7);

    --serif: "Iowan Old Style", "Charter", "Apple Garamond",
        "Hoefler Text", Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --radius: 14px;
    --radius-sm: 10px;
    --border: 1px solid var(--sand);
}

/* ─── Base ────────────────────────────────────────────────── */
body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 720px) {
    .container {
        padding: 0 40px;
    }
}

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
    background: var(--green-deep);
    color: var(--cream);
    padding: 18px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.22);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 160ms ease;
}

.brand:hover,
.brand:focus-visible {
    opacity: 0.92;
}

.brand-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    border-radius: 9px;
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.55);
}

.brand-name {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.site-nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.site-nav a {
    color: rgba(246, 241, 231, 0.78);
    text-decoration: none;
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--cream);
    border-bottom-color: var(--gold);
}

/* ─── Hero ────────────────────────────────────────────────── */
/* Visual treatment preserved (feature graphic + beta panel). This
   pass only deepens the breathing room, vertical centring and type
   hierarchy. */
.hero {
    background:
        radial-gradient(110% 70% at 88% 0%,
            rgba(31, 77, 58, 0.5) 0%,
            rgba(23, 57, 43, 0) 60%),
        var(--green-deep);
    color: var(--cream);
    padding: 56px 0 64px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.14);
}

@media (min-width: 720px) {
    .hero {
        padding: 84px 0 88px;
    }
}

@media (min-width: 1000px) {
    .hero {
        padding: 104px 0 108px;
    }
}

/* Split hero — copy left, feature graphic right on desktop; stacked
   on mobile (source order: eyebrow → headline → lede → CTAs → beta →
   image). Columns vertically centred so the figure sits opposite the
   headline / CTA band. */
.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-split {
        grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
        gap: 56px;
        align-items: center;
    }
}

@media (min-width: 1100px) {
    .hero-split {
        gap: 72px;
    }
}

.hero-copy {
    text-align: left;
    max-width: 52ch;
}

.eyebrow {
    margin: 0 0 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--gold);
}

/* The eyebrow copy is longer than it used to be — ease the tracking
   and size on small screens so it stays comfortably within the gutter
   (and wraps cleanly if it must) rather than running to the edge. */
@media (max-width: 520px) {
    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.8px;
    }
}

.hero-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(40px, 5.6vw, 62px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.5px;
    max-width: 14ch;
}

.hero-lede {
    margin: 26px 0 0;
    font-size: clamp(17px, 1.45vw, 19.5px);
    line-height: 1.65;
    color: var(--cream-80);
    max-width: 44ch;
}

.hero-actions {
    margin: 38px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-figure {
    margin: 0;
    width: 100%;
    max-width: 760px;
    justify-self: center;
}

.hero-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 1795 / 876;
    border-radius: 22px;
    box-shadow:
        0 24px 50px -28px rgba(0, 0, 0, 0.42),
        0 8px 18px -14px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(201, 162, 39, 0.10);
    background: var(--green-deep);
}

@media (min-width: 900px) {
    .hero-figure {
        justify-self: end;
    }
}

/* Beta Access block — premium status panel under the CTAs. */
.beta-access {
    margin: 40px 0 0;
    padding: 20px 20px 18px;
    border-radius: var(--radius);
    background: rgba(246, 241, 231, 0.05);
    border: 1px solid rgba(201, 162, 39, 0.2);
    max-width: 440px;
}

.beta-access-note {
    margin: 0 0 14px;
    font-size: 13px;
    letter-spacing: 0.2px;
    line-height: 1.5;
    color: rgba(246, 241, 231, 0.72);
}

.beta-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Quiet beta benefit — sits inside the install panel, separated from
   the cards by a hairline so it reads as a deliberate note, not a
   badge or a pricing block. Muted gold ties it to the premium accent
   without shouting. */
.beta-access-perk {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(201, 162, 39, 0.16);
    font-size: 12.5px;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: rgba(201, 162, 39, 0.82);
}

.beta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border-radius: var(--radius-sm);
    background: rgba(23, 57, 43, 0.55);
    border: 1px solid rgba(201, 162, 39, 0.16);
    color: var(--cream);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease,
        transform 180ms ease;
}

a.beta-row:hover,
a.beta-row:focus-visible {
    border-color: var(--gold);
    background: rgba(31, 77, 58, 0.72);
    transform: translateY(-1px);
}

a.beta-row:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.beta-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(246, 241, 231, 0.08);
    color: var(--cream);
    flex-shrink: 0;
}

.beta-platform-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.beta-platform-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--cream);
}

.beta-platform-status {
    font-size: 12.5px;
    color: rgba(246, 241, 231, 0.7);
    letter-spacing: 0.2px;
}

.beta-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
    flex-shrink: 0;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 160ms ease, color 160ms ease,
        border-color 160ms ease, transform 160ms ease;
}

.btn-primary {
    background: var(--cream);
    color: var(--green-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--gold);
    color: var(--green-deep);
}

.btn-ghost {
    background: transparent;
    color: rgba(246, 241, 231, 0.82);
    border-color: rgba(246, 241, 231, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    color: var(--gold);
    border-color: var(--gold);
}

/* ─── Story sections ──────────────────────────────────────── */
/* Alternating copy/screenshot beats. Source order places the
   desktop-left element first, so the same markup gives the correct
   2-column desktop layout AND the correct mobile stack order
   (left element first) with no `order` hacks. */
.story {
    padding: 96px 0;
    background: var(--cream);
}

@media (min-width: 720px) {
    .story {
        padding: 124px 0;
    }
}

@media (min-width: 1000px) {
    .story {
        padding: 148px 0;
    }
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 88px;
    }
}

.story-copy {
    max-width: 44ch;
}

.story-eyebrow {
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--muted);
}

.story-title {
    margin: 0 0 22px;
    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 39px);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.3px;
    max-width: 16ch;
}

.story-body {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 42ch;
}

/* Supporting one-liner (Seasons section) — quiet, italic, sits
   between the body and the bullets. */
.story-aside {
    margin: 16px 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: var(--cream-80);
}

/* Feature bullets — two restrained columns with a small gold marker.
   Capabilities at a glance, never a dense grid of cards. */
.feature-list {
    margin: 36px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px 34px;
}

@media (min-width: 520px) {
    .feature-list {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--charcoal);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* Image area — a deliberately constrained, art-directed visual
   anchor, NOT a towering phone capture. Curated screenshots will
   live here later; until then an elegant neutral placeholder holds
   the final intended proportions (4:5, max ~480px). */
.story-media {
    margin: 0;
    display: flex;
    justify-content: center;
}

/* One clean, contained screenshot card per section — the calm
   'framed window into the app' the brand wants, never a towering
   phone or a stack of them. The 4:5 frame crops to the top of each
   screen (header + the content that matters); soft shadow + a quiet
   sand hairline give premium depth. */
.shot {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(217, 201, 163, 0.45);
    box-shadow:
        0 30px 60px -40px rgba(23, 57, 43, 0.32),
        0 10px 24px -20px rgba(23, 57, 43, 0.2);
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* On the dark Seasons beat, a faint gold hairline lifts the card off
   the deep green. */
.story--dark .shot {
    border-color: rgba(201, 162, 39, 0.22);
    box-shadow:
        0 34px 66px -38px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(201, 162, 39, 0.12);
}

/* Warm-wash beat — subtle rhythm variation between cream sections. */
.story--wash {
    background: var(--wash);
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
}

/* Premium dark beat (Seasons & Stats) — the luxury moment. Light
   screenshot floats on deep green; eyebrow and bullet markers go
   gold, copy goes cream. */
.story--dark {
    background:
        radial-gradient(120% 80% at 15% 0%,
            rgba(31, 77, 58, 0.55) 0%,
            rgba(23, 57, 43, 0) 58%),
        var(--green-deep);
    color: var(--cream);
}

.story--dark .story-eyebrow {
    color: var(--gold);
}

.story--dark .story-body {
    color: var(--cream-80);
}

.story--dark .feature-list li {
    color: var(--cream-80);
}

.story--dark .device {
    box-shadow:
        0 34px 64px -30px rgba(0, 0, 0, 0.6),
        0 12px 26px -16px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(201, 162, 39, 0.12);
}

/* Share recap screenshot is dark by nature — drop the green plinth
   so it reads as the export itself, not a framed phone. */
.device--share {
    background: #0E1411;
}

/* ─── Coming next ─────────────────────────────────────────── */
/* A quiet momentum note — not a roadmap board. One restrained
   elevated card on a warm wash, deliberately lighter than the
   product sections: a confidence-builder, not a sales pitch. */
.story--next {
    background: var(--wash);
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
}

.next-card {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background: var(--card);
    border: 1px solid rgba(217, 201, 163, 0.5);
    border-radius: 20px;
    padding: 44px 30px;
    box-shadow: 0 24px 52px -42px rgba(23, 57, 43, 0.28);
}

@media (min-width: 720px) {
    .next-card {
        padding: 60px 64px;
    }
}

.next-eyebrow {
    color: var(--gold);
    margin-bottom: 18px;
}

.next-title {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: clamp(26px, 3.2vw, 35px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.2px;
}

.next-body {
    margin: 0 auto;
    max-width: 52ch;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.65;
}

/* Reuses the gold-dot .feature-list; just centres + caps the block so
   the four items read as a calm 2x2 cluster, not a checklist wall. */
.next-list {
    max-width: 540px;
    margin: 32px auto 0;
    text-align: left;
}

.next-note {
    margin: 30px auto 0;
    max-width: 58ch;
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

/* ─── Final CTA ───────────────────────────────────────────── */
.cta {
    background:
        radial-gradient(100% 90% at 50% 0%,
            rgba(31, 77, 58, 0.55) 0%,
            rgba(23, 57, 43, 0) 60%),
        var(--green-deep);
    color: var(--cream);
    text-align: center;
    padding: 120px 0;
    border-top: 1px solid rgba(201, 162, 39, 0.14);
}

@media (min-width: 720px) {
    .cta {
        padding: 156px 0;
    }
}

.cta-inner {
    max-width: 600px;
}

/* Quiet gold accent rule — a premium editorial mark above the closing
   statement, no extra words. */
.cta-inner::before {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin: 0 auto 30px;
    background: var(--gold);
    opacity: 0.85;
}

.cta-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.4px;
}

.cta-body {
    margin: 24px auto 0;
    font-size: clamp(16.5px, 1.4vw, 19px);
    line-height: 1.65;
    color: var(--cream-80);
    max-width: 42ch;
}

.cta-actions {
    margin: 40px 0 0;
    display: flex;
    justify-content: center;
}

.cta-note {
    margin: 26px 0 0;
    font-size: 12.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--cream-70);
}

/* ─── Page-content (privacy, support) ─────────────────────── */
.page-content {
    padding: 70px 0 100px;
}

@media (min-width: 720px) {
    .page-content {
        padding: 90px 0 130px;
    }
}

.page-content .container {
    max-width: 760px;
}

.page-title {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.page-lede {
    margin: 0 0 48px;
    color: var(--muted);
    font-size: 18px;
    max-width: 60ch;
}

.page-content h2 {
    margin: 48px 0 12px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.1px;
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content p {
    margin: 0 0 14px;
    color: var(--charcoal);
}

.page-content p + p {
    margin-top: 0;
}

.page-content ul.bulleted {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 14px;
    color: var(--charcoal);
}

.page-content ul.bulleted li {
    margin: 0 0 6px;
}

.contact-card {
    margin: 36px 0 0;
    background: var(--card);
    border: var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
}

.contact-card h2 {
    margin: 0 0 6px;
}

.contact-card a {
    color: var(--green-fairway);
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 77, 58, 0.32);
    transition: border-color 160ms ease;
}

.contact-card a:hover {
    border-bottom-color: var(--gold);
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--green-deep);
    color: rgba(246, 241, 231, 0.82);
    padding: 68px 0 48px;
    border-top: 1px solid rgba(201, 162, 39, 0.18);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: end;
}

@media (min-width: 720px) {
    .site-footer-inner {
        grid-template-columns: 1.4fr 1fr;
        gap: 40px;
    }
}

.footer-brand .footer-name {
    margin: 0;
    font-family: var(--serif);
    color: var(--cream);
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-brand .footer-tagline {
    margin: 7px 0 0;
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

@media (min-width: 720px) {
    .footer-links {
        justify-content: flex-end;
    }
}

.footer-links a {
    color: rgba(246, 241, 231, 0.82);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 160ms ease, border-color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--cream);
    border-bottom-color: var(--gold);
}

.footer-legal {
    grid-column: 1 / -1;
    margin: 24px 0 0;
    padding-top: 28px;
    border-top: 1px solid rgba(201, 162, 39, 0.16);
    font-size: 12.5px;
    color: rgba(246, 241, 231, 0.55);
    letter-spacing: 0.4px;
}

.footer-legal a {
    color: rgba(246, 241, 231, 0.78);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: var(--cream);
    border-bottom-color: var(--gold);
}

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