﻿/* =========================================================
   THEME TOKENS
========================================================= */
:root {
    --bg: #f7f7f7;
    --grid: #3945791a;
    --ink: #241a49;
    --accent: #4a3596;
    --cta: #2f2b86;
    --cta-hover: #252173;
    --card: #fff;
    --muted: #5b5f77;
    --ring: #8f8bd6;
    /* sticky palette */
    --sticky-red: #eae3fc;
    --sticky-orange: #dce6f9;
    --sticky-yellow: #dcd6ff;
    --sticky-blue: #ecd6ff;
    --sticky-purple: #ece6ff;
    --sticky-green: #dce6ff;
    /* spacing scale */
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 40px;
    --space-7: 48px;
}

/* =========================================================
   BASE / RESET
========================================================= */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    background: var(--bg);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 36px 36px;
    background-position: center;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
    max-width: 1100px;
    margin-inline: auto;
    padding: 24px;
}

/* Global rhythm for all sections */
section {
    padding: var(--space-6) 0;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.brand {
    font-weight: 800;
    letter-spacing: -.02em;
    font-size: 54px;
    color: var(--accent);
    margin: 14px 0 10px;
}

.sub {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 26px;
}

.small {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.hero-sub {
    font-size: 40px;
    line-height: 1.1;
    color: var(--accent);
    margin: .25rem 0;
}

/* =========================================================
   BUTTONS
========================================================= */
.ctaRow {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    appearance: none;
    border: 0;
    background: var(--cta);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(47,43,134,.2);
    transition: background-color .15s ease;
}

    .btn:hover {
        background: var(--cta-hover);
    }

    .btn.outline {
        background: transparent;
        color: var(--cta);
        border: 2px solid var(--cta);
    }

/* =========================================================
   HERO
========================================================= */
.hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25em;
    background: #fff;
    border: 1px solid rgba(57,69,121,.1);
    box-shadow: 0 2px 6px rgba(57,69,121,.08);
    border-radius: 12px;
}

.hero-text {
    flex: 1 1 320px;
}

.hero-graphic {
    flex: 0 1 280px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

    .hero-graphic img {
        max-width: 100%;
        height: auto;
    }

/* =========================================================
   CARDS (generic grid + card)
========================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

    .cards.tight {
        gap: 1.1rem;
    }

.card {
    background: #fff;
    border: 1px solid rgba(57,69,121,.1);
    box-shadow: 0 2px 6px rgba(57,69,121,.08);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(57,69,121,.12);
    }

    .card .monster {
        max-height: 140px;
        width: auto;
        margin: 0 auto .75rem;
        display: block;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: .5rem;
        color: rgba(57,69,121,1);
    }

    .card p.small {
        font-size: .9rem;
        line-height: 1.4;
        color: #333;
    }

/* =========================================================
   BRIEF (Vision / Why Lavender blocks)
========================================================= */
.brief {
    background: #fff;
    border: 1px solid rgba(57,69,121,.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(57,69,121,.08);
    text-align: left;
    margin: var(--space-3) 0; /* consistent external spacing */
}

    .brief h3 {
        font-size: 1.4rem;
        margin: 0 0 1rem;
        color: var(--accent);
        text-align: left;
    }

.brief-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: start;
}

.brief .illus {
    max-height: 180px;
    width: auto;
    display: block;
}

.brief p.small,
.brief ul.small {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.5;
}

.brief ul.small {
    padding-left: 1.25rem;
}

.brief li {
    margin: 0.5rem 0;
}
.illus.framed.float-right {
    float: right;
    max-width: 220px; /* make it smaller so text wraps nicely */
    margin: 0 0 12px 20px; /* spacing: top 0, right 0, bottom 12px, left 20px */
    border: 1px solid rgba(57,69,121,.15);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(57,69,121,.15);
    background: #fff;
    padding: 6px;
}


#vision.brief {
    padding: 2.5rem; /* more space inside */
    margin: 32px auto; /* add extra separation top/bottom */
}

@media (max-width: 700px) {
    .brief-grid {
        grid-template-columns: 1fr;
    }

    .brief .illus {
        margin-inline: auto;
    }
}

/* =========================================================
   BOARD (Kanban-style)
========================================================= */
.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: var(--space-4) 0 var(--space-3); /* top 24, bottom 16 */
    padding: 18px;
    border: 1px solid rgba(57,69,121,.10);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(57,69,121,.08);
}

.board-col {
    position: relative;
    padding: 10px 12px 4px;
    border-left: 1px dashed rgba(57,69,121,.15);
    background: repeating-linear-gradient( to bottom, rgba(57,69,121,.08), rgba(57,69,121,.08) 1px, transparent 1px, transparent 28px );
    display: grid;
    grid-template-rows: auto 1fr; /* header then stickies grid */
    align-content: start;
}

    .board-col:first-child {
        border-left: none;
    }

    .board-col h3 {
        font-size: 1.2rem;
        margin: 0 0 12px;
        padding-bottom: 6px;
        color: var(--accent);
        border-bottom: 2px solid rgba(57,69,121,.2);
    }

/* grid for notes inside each column */
.stickies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-content: start;
}

@media (max-width: 1100px) {
    .stickies {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .stickies {
        grid-template-columns: 1fr;
    }
}

.sticky {
    min-height: 90px;
    padding: 10px;
    font-size: 12px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

/* color cycles per column */
.board-col:nth-child(1) .sticky:nth-child(6n+1) {
    background: var(--sticky-yellow);
}

.board-col:nth-child(1) .sticky:nth-child(6n+2) {
    background: var(--sticky-red);
}

.board-col:nth-child(1) .sticky:nth-child(6n+3) {
    background: var(--sticky-blue);
}

.board-col:nth-child(1) .sticky:nth-child(6n+4) {
    background: var(--sticky-green);
}

.board-col:nth-child(1) .sticky:nth-child(6n+5) {
    background: var(--sticky-purple);
}

.board-col:nth-child(1) .sticky:nth-child(6n) {
    background: var(--sticky-orange);
}

.board-col:nth-child(2) .sticky:nth-child(6n+1) {
    background: var(--sticky-blue);
}

.board-col:nth-child(2) .sticky:nth-child(6n+2) {
    background: var(--sticky-purple);
}

.board-col:nth-child(2) .sticky:nth-child(6n+3) {
    background: var(--sticky-orange);
}

.board-col:nth-child(2) .sticky:nth-child(6n+4) {
    background: var(--sticky-yellow);
}

.board-col:nth-child(2) .sticky:nth-child(6n+5) {
    background: var(--sticky-red);
}

.board-col:nth-child(2) .sticky:nth-child(6n) {
    background: var(--sticky-green);
}

.board-col:nth-child(3) .sticky:nth-child(6n+1) {
    background: var(--sticky-purple);
}

.board-col:nth-child(3) .sticky:nth-child(6n+2) {
    background: var(--sticky-green);
}

.board-col:nth-child(3) .sticky:nth-child(6n+3) {
    background: var(--sticky-yellow);
}

.board-col:nth-child(3) .sticky:nth-child(6n+4) {
    background: var(--sticky-orange);
}

.board-col:nth-child(3) .sticky:nth-child(6n+5) {
    background: var(--sticky-blue);
}

.board-col:nth-child(3) .sticky:nth-child(6n) {
    background: var(--sticky-red);
}

/* tilt cycles per column (3-step) */
.board-col:nth-child(1) .sticky:nth-child(3n+1) {
    transform: rotate(-2deg);
}

.board-col:nth-child(1) .sticky:nth-child(3n+2) {
    transform: rotate(1.4deg);
}

.board-col:nth-child(1) .sticky:nth-child(3n) {
    transform: rotate(-0.6deg);
}

.board-col:nth-child(2) .sticky:nth-child(3n+1) {
    transform: rotate(1.6deg);
}

.board-col:nth-child(2) .sticky:nth-child(3n+2) {
    transform: rotate(-1.2deg);
}

.board-col:nth-child(2) .sticky:nth-child(3n) {
    transform: rotate(0.4deg);
}

.board-col:nth-child(3) .sticky:nth-child(3n+1) {
    transform: rotate(-1.5deg);
}

.board-col:nth-child(3) .sticky:nth-child(3n+2) {
    transform: rotate(0.9deg);
}

.board-col:nth-child(3) .sticky:nth-child(3n) {
    transform: rotate(-0.3deg);
}

/* hide board on mobile */
@media (max-width: 768px) {
    .board {
        display: none;
    }
}

/* =========================================================
   PROGRESS (timeline + meter)
========================================================= */
.progress {
    background: #fff;
    border: 1px solid rgba(57,69,121,.1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(57,69,121,.08);
}

    .progress h2 {
        margin: 0 0 14px;
        font-size: 24px;
        color: var(--accent);
    }

.meter {
    position: relative;
    height: 10px;
    background: rgba(57,69,121,.10);
    border-radius: 999px;
    margin: 1em 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .meter span {
        display: block;
        height: 100%;
        background: var(--cta);
        border-radius: 999px;
        transition: width .4s ease;
    }

    .meter em {
        font-style: normal;
        font-size: 12px;
        color: var(--muted);
        margin-left: 8px;
    }

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.step {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    position: relative;
    align-items: flex-start;
}

    .step::before {
        content: "";
        position: absolute;
        left: 11px;
        top: 20px;
        bottom: -18px;
        width: 2px;
        background: rgba(57,69,121,.16);
    }

    .step:last-child::before {
        display: none;
    }

.dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid rgba(57,69,121,.35);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.step .content {
    background: var(--card);
    border: 1px solid rgba(57,69,121,.10);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 6px rgba(57,69,121,.06);
}

.step .row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 6px;
}

.step .state {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(57,69,121,.20);
    color: var(--cta);
    background: #edeafc;
}

.step.done .dot {
    border-color: var(--cta);
    background: var(--cta);
}

.step.active .dot {
    border-color: var(--cta);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47,43,134,.12);
}

.step.mvp .dot {
    border-color: #f59e0b;
    background: #fff8e1;
    box-shadow: 0 0 0 4px rgba(245,158,11,.15);
}

.step.done .state {
    color: #1f8741;
    background: #e8f6ee;
    border-color: #b9e4cb;
}

.step.mvp .state {
    background: #fff8e1;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.step.active .state {
    color: var(--cta);
    background: #edeafc;
    border-color: #d9d2ff;
}

/* =========================================================
   PHASE CARDS
========================================================= */
#phase2, #phase3 {
    color: var(--cta);
    margin: 2.5em 0 0;
    background: #fff;
    border: 1px solid rgba(57,69,121,.1);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 6px rgba(57,69,121,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

    #phase2 .phase2-row, #phase3 .phase3-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    #phase2 .phase2-text, #phase3 .phase3-text {
        flex: 1 1 300px;
        max-width: 500px;
        text-align: left;
    }

    #phase2 .phase2-graphic, #phase3 .phase3-graphic {
        flex: 0 1 260px;
        display: flex;
        justify-content: center;
    }

        #phase2 .phase2-graphic img, #phase3 .phase3-graphic img {
            max-width: 100%;
            height: auto;
            max-height: 260px;
        }

/* =========================================================
   FOOTER
========================================================= */
footer {
    padding: 46px 0 60px;
    color: #6a6e88;
}

.footRow {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

/* =========================================================
   ADJACENT SPACING TWEAKS (section-to-section)
========================================================= */
/* Let brief blocks govern spacing inside their section */
#vision, #why-lavender {
    padding: 0;
}

/* Board → Vision (brief) */
.board + #vision .brief {
    margin-top: var(--space-2);
}

/* Vision → Why Lavender (brief) */
#vision + #why-lavender .brief {
    margin-top: var(--space-2);
}

/* Why Lavender → Value cards */
#why-lavender + #value {
    padding-top: var(--space-3);
}

/* Waitlist → Sponsor */
#waitlist {
    padding-bottom: var(--space-5);
}
    /* 32px */
    #waitlist + #sponsor {
        padding-top: var(--space-4);
    }
/* 24px */

/* =========================================================
   MOBILE HERO BADGE (inline monster on phones)
========================================================= */
/* Hidden by default; shown on narrow screens. Place right after H1 in HTML. */
.hero-badge-mobile {
    display: none;
    margin: 8px 0 12px;
}

@media (max-width: 700px) {
    .hero-badge-mobile {
        display: block;
    }

    .hero-graphic {
        display: none;
    }
    /* hide sidebar monster on phones */
}

/* =========================================================
   DRAFT / VERSION PILL
========================================================= */
.version-badge {
    font-family: "Consolas", "Courier New", monospace;
    letter-spacing: 0.02em;
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.3;
    color: #92400e;
    background: #fff8e1;
    border: 1px solid #fcd34d;
    border-radius: 999px;
}
