:root {
  --flow-bg: #040b06;
  --flow-panel: #0b1b10;
  --flow-panel-strong: #102816;
  --flow-line: #31583a;
  --flow-green: #a4ec58;
  --flow-green-soft: #dfffc1;
  --flow-orange: #ff7214;
  --flow-text: #f4f7f2;
  --flow-muted: #b9c6b7;
  --flow-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

html { scroll-behavior: smooth; }
body.flow8959 { margin: 0; background: var(--flow-bg); color: var(--flow-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.flow8959 * { box-sizing: border-box; }
.flow8959 [hidden] { display: none !important; }
.flow8959 .flow-header { background: rgba(4, 11, 6, .94); border-bottom: 1px solid rgba(164, 236, 88, .16); backdrop-filter: blur(18px); }
.flow8959 .flow-header .brand img { width: 148px; max-height: 76px; object-fit: contain; }
.flow8959 .flow-header .nav a { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.flow8959 main { overflow: hidden; }
.flow8959 .eyebrow { margin: 0 0 14px; color: var(--flow-green); font-size: .78rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.flow8959 h1, .flow8959 h2, .flow8959 h3 { color: var(--flow-text); letter-spacing: -.025em; }
.flow8959 h1 { margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); line-height: .96; }
.flow8959 h1 span { color: var(--flow-green); }
.flow8959 h2 { margin: 0; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.04; }
.flow8959 h3 { margin: 0 0 12px; font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.flow8959 p { line-height: 1.65; }
.flow8959 a { color: var(--flow-green); }
.flow8959 .lead { max-width: 760px; color: var(--flow-muted); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.flow8959 .btn { border: 1px solid var(--flow-green); border-radius: 14px; background: var(--flow-green); color: #061006 !important; font-weight: 900; text-align: center; }
.flow8959 .btn.ghost { background: rgba(11, 27, 16, .72); color: var(--flow-text) !important; }
.flow8959 .btn:hover, .flow8959 .btn:focus-visible { transform: translateY(-1px); filter: brightness(1.04); }
.flow8959 .hero-actions, .flow8959 .exchange-actions, .flow8959 .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.flow-hero, .flow-section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.flow-hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); align-items: center; gap: 28px; padding: 68px 0; }
.flow-hero::before { content: ""; position: absolute; inset: 92px 0 auto; height: 70vh; pointer-events: none; background: radial-gradient(circle at 80% 30%, rgba(164, 236, 88, .12), transparent 34%), linear-gradient(rgba(41, 88, 48, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 88, 48, .07) 1px, transparent 1px); background-size: auto, 54px 54px, 54px 54px; }
.flow-hero > * { position: relative; z-index: 1; }
.launch-panel { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--flow-line); border-left: 4px solid var(--flow-orange); border-radius: 26px; background: linear-gradient(145deg, rgba(16, 40, 22, .94), rgba(4, 14, 8, .96)); box-shadow: var(--flow-shadow); }
.launch-countdown { display: grid; grid-template-columns: repeat(4, minmax(72px, 1fr)); gap: 10px; max-width: 650px; margin-top: 30px; }
.launch-countdown div { padding: 16px 10px; border: 1px solid var(--flow-line); border-radius: 16px; background: rgba(11, 27, 16, .82); text-align: center; }
.launch-countdown strong { display: block; color: var(--flow-green); font-size: clamp(1.65rem, 4vw, 2.55rem); line-height: 1; }
.launch-countdown span { display: block; margin-top: 8px; color: var(--flow-muted); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

.flow-section { padding: 82px 0; border-top: 1px solid rgba(49, 88, 58, .45); }
.flow-section-head { max-width: 900px; margin-bottom: 34px; }
.flow-section-head.compact { max-width: 760px; }
.flow-section-head > p:last-child { color: var(--flow-muted); font-size: 1.06rem; }

.app-sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-sample-card { overflow: hidden; border: 1px solid var(--flow-line); border-radius: 24px; background: linear-gradient(145deg, rgba(16, 40, 22, .92), rgba(5, 16, 8, .98)); box-shadow: var(--flow-shadow); }
.app-sample-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr); align-items: stretch; }
.app-sample-copy { padding: 26px; }
.sample-label { margin: 0 0 10px; color: var(--flow-orange); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.app-sample-copy p { color: var(--flow-muted); }
.app-sample-copy a { font-weight: 900; text-decoration: none; }
.decision-map-inputs { display: grid; gap: 4px; margin: 18px 0; padding: 13px 14px; border: 1px solid rgba(164, 236, 88, .35); border-left: 4px solid var(--flow-green); border-radius: 13px; background: rgba(4, 11, 6, .68); }
.decision-map-inputs strong { color: var(--flow-green-soft); font-size: .78rem; }
.decision-map-inputs span { color: var(--flow-muted); font-size: .75rem; line-height: 1.45; }
.app-screen { position: relative; min-height: 380px; overflow: hidden; border-left: 1px solid var(--flow-line); background: #061008; }
.app-screen-tall { min-height: 470px; border-top: 1px solid var(--flow-line); border-left: 0; }
.app-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #061008; }
.app-screen::after { content: "Live BuckVisionAI screen"; position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 7px 10px; border: 1px solid rgba(164, 236, 88, .35); border-radius: 999px; background: rgba(4, 11, 6, .88); color: var(--flow-green); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }

.membership-section { position: relative; }
.billing-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 24px; padding: 5px; border: 1px solid var(--flow-line); border-radius: 999px; background: #07140a; }
.billing-toggle button { min-width: 132px; padding: 12px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--flow-muted); font: inherit; font-weight: 900; cursor: pointer; }
.billing-toggle button.is-active { background: var(--flow-green); color: #061006; }
.membership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.membership-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--flow-line); border-radius: 24px; background: linear-gradient(145deg, #0e2816, #061009); }
.membership-card.featured { border: 2px solid var(--flow-orange); }
.membership-card .badge, .price-card .badge { position: absolute; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; background: var(--flow-orange); color: #121212; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tier-label { margin: 0 0 20px; color: var(--flow-green); font-size: .78rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.standard-price { margin: 12px 0 4px; color: #9aa69a; text-decoration: line-through; }
.founder-price { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--flow-green); }
.founder-price strong { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.founder-price span { color: var(--flow-muted); font-weight: 800; }
.founder-savings { margin: 14px 0 18px; color: #ffb267; font-weight: 900; }
.membership-card ul, .price-card ul { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.membership-card li, .price-card li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid rgba(49, 88, 58, .45); color: #e3ebe0; }
.membership-card li::before, .price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--flow-green); font-weight: 900; }
.subscription-status { margin-top: 22px; padding: 18px 20px; border: 1px solid #76532e; border-radius: 16px; background: rgba(86, 51, 20, .25); color: #ffd1a3; }
.founder-promise { margin-top: 22px; padding: 28px; border: 1px solid var(--flow-line); border-left: 5px solid var(--flow-orange); border-radius: 22px; background: rgba(5, 17, 8, .95); }
.founder-promise .muted { color: #9ba69a; }

.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.roadmap-grid article, .exchange-grid article { padding: 24px; border: 1px solid var(--flow-line); border-radius: 20px; background: rgba(11, 27, 16, .85); }
.roadmap-grid article > span { display: block; margin-bottom: 18px; font-size: 1.8rem; }
.roadmap-grid p { color: var(--flow-muted); }

.report-gallery { display: grid; grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr)); gap: 16px; }
.report-card { overflow: hidden; border: 1px solid var(--flow-line); border-radius: 22px; background: var(--flow-panel); }
.report-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-bottom: 1px solid var(--flow-line); }
.report-card h3, .report-card p { margin-right: 22px; margin-left: 22px; }
.report-card p { margin-bottom: 24px; color: var(--flow-muted); }
.dossier-purchase { margin-top: 34px; padding-top: 44px; border-top: 1px solid var(--flow-line); }
.dossier-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--flow-line); border-radius: 24px; background: linear-gradient(145deg, #0e2816, #061009); }
.price-card.featured { border: 2px solid var(--flow-orange); }
.price-card .price { margin: 6px 0 16px; color: var(--flow-green); font-size: 3rem; font-weight: 900; line-height: 1; }
.price-card > p:not(.price) { color: var(--flow-muted); }
.note { margin-top: 16px; color: var(--flow-muted); text-align: center; }

.map-exchange { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.map-exchange-copy > p:not(.eyebrow) { color: var(--flow-muted); }
.exchange-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.flow8959 .checklist { padding: 0; list-style: none; }
.flow8959 .checklist li { position: relative; padding: 8px 0 8px 25px; color: #dce7da; }
.flow8959 .checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--flow-green); font-weight: 900; }

.upload-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: 28px; align-items: start; }
.upload-copy > p:not(.eyebrow) { color: var(--flow-muted); }
.flow8959 .card-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 26px; border: 1px solid var(--flow-line); border-radius: 24px; background: var(--flow-panel); }
.flow8959 .card-form label { display: grid; gap: 7px; color: var(--flow-green-soft); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.flow8959 .card-form label:nth-last-of-type(-n+4) { grid-column: 1 / -1; }
.flow8959 .card-form input, .flow8959 .card-form select, .flow8959 .card-form textarea { width: 100%; border: 1px solid var(--flow-line); border-radius: 12px; background: #061008; color: var(--flow-text); padding: 13px; font: inherit; text-transform: none; letter-spacing: normal; }
.flow8959 .card-form button { grid-column: 1 / -1; }
.contact-cta { margin-bottom: 74px; padding: 52px; border: 1px solid var(--flow-line); border-radius: 28px; background: radial-gradient(circle at 80% 20%, rgba(164, 236, 88, .14), transparent 34%), linear-gradient(145deg, #0e2816, #061009); text-align: center; }
.contact-cta .contact-actions { justify-content: center; }
.flow-footer { border-top: 1px solid rgba(49, 88, 58, .6); }

@media (max-width: 900px) {
  .flow-hero, .map-exchange, .upload-section { grid-template-columns: 1fr; }
  .flow-hero { min-height: auto; }
  .membership-grid, .dossier-pricing-grid { grid-template-columns: 1fr; }
  .membership-card.featured { order: -1; }
  .app-sample-wide { display: block; }
  .app-sample-wide .app-screen { border-top: 1px solid var(--flow-line); border-left: 0; }
  .report-gallery { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .flow-hero, .flow-section { width: min(100% - 22px, 1180px); }
  .flow-hero { padding: 46px 0 58px; }
  .flow-section { padding: 62px 0; }
  .launch-countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn, .exchange-actions .btn, .contact-actions .btn { width: 100%; }
  .app-sample-grid, .roadmap-grid, .exchange-grid { grid-template-columns: 1fr; }
  .app-sample-wide { grid-column: auto; }
  .app-screen, .app-screen-tall { min-height: 360px; }
  .membership-card, .price-card { padding: 22px; }
  .billing-toggle { display: grid; }
  .billing-toggle button { min-width: 118px; }
  .flow8959 .card-form { grid-template-columns: 1fr; padding: 20px; }
  .flow8959 .card-form label { grid-column: 1 / -1; }
  .contact-cta { padding: 34px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow8959 .btn { transition: none; }
}
