/* =============================================================
   Fallow — landing page
   Standalone stylesheet: the marketing page shares the palette
   with the app but none of its markup.
   ============================================================= */

:root {
    --clay:       #f7f4ee;
    --paper:      #fffdf9;
    --linen:      #efe9dd;
    --sand:       #e3dbcb;
    --sage:       #8fa68a;
    --sage-deep:  #5f7a5c;
    --sage-mist:  #e6ede3;
    --bark:       #3b3a35;
    --stone:      #7a766c;
    --terracotta: #c28f70;
    --amber-mist: #f6ecdf;

    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --radius:    16px;
    --radius-sm: 10px;
    --shadow:    0 1px 2px rgba(59, 58, 53, .04), 0 10px 30px rgba(59, 58, 53, .06);
    --shadow-lg: 0 30px 70px rgba(59, 58, 53, .12);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --t:    .45s var(--ease);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--clay);
    color: var(--bark);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--sage-deep); text-decoration: none; transition: color var(--t); }
a:hover { color: #46603f; }

.shell { width: min(1140px, 100% - 3rem); margin-inline: auto; }

.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .75rem 1.25rem; border-radius: var(--radius-sm); z-index: 99; }

.eyebrow {
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: .9rem;
}

.section-lede {
    color: var(--stone);
    font-size: 1.02rem;
    max-width: 40rem;
    margin-top: 1rem;
}
.section-lede.center { margin-inline: auto; }

/* ---------------------------------------------- Buttons */

.btn {
    display: inline-block;
    font-size: .93rem;
    font-weight: 500;
    padding: .8rem 1.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--t), color var(--t), border-color var(--t),
                box-shadow var(--t), transform var(--t);
}

.btn-primary { background: var(--sage-deep); color: #fbfaf6; }
.btn-primary:hover {
    background: #526b4f;
    color: #fbfaf6;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(95, 122, 92, .26);
}

.btn-ghost { color: var(--stone); border-color: var(--sand); background: transparent; }
.btn-ghost:hover { background: var(--paper); border-color: var(--sage); color: var(--bark); }

.btn-lg { padding: .95rem 2.2rem; font-size: 1rem; }

/* ---------------------------------------------- Nav */

.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 244, 238, .86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--linen);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 600;
    color: var(--bark);
    font-size: .95rem;
}

.logo-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, var(--sage-mist), var(--sage) 72%);
    box-shadow: 0 0 0 6px rgba(143, 166, 138, .13);
    transition: box-shadow var(--t);
}
.logo:hover .logo-mark { box-shadow: 0 0 0 9px rgba(143, 166, 138, .1); }

.nav nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: .89rem;
}
.nav nav a { color: var(--stone); }
.nav nav a:hover { color: var(--bark); }

.nav-cta {
    background: var(--sage-deep);
    color: #fbfaf6 !important;
    padding: .5rem 1.2rem;
    border-radius: 999px;
    transition: background var(--t);
}
.nav-cta:hover { background: #526b4f; }

/* ---------------------------------------------- Hero */

.hero {
    padding: 5.5rem 0 5rem;
    background:
        radial-gradient(50rem 30rem at 75% 0%, #eef1ea 0%, transparent 65%),
        radial-gradient(40rem 26rem at 8% 30%, #f7efe4 0%, transparent 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.5rem);
    margin-bottom: 1.3rem;
}

.lede {
    color: var(--stone);
    font-size: 1.08rem;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin: 2.2rem 0 1.4rem;
}

.hero-foot {
    font-size: .84rem;
    color: #a29c8f;
    max-width: 28rem;
}

/* Mock board */

.hero-visual { perspective: 1400px; }

.mock {
    background: var(--paper);
    border: 1px solid var(--linen);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotateY(-7deg) rotateX(3deg);
    transition: transform .8s var(--ease);
}
.mock:hover { transform: rotateY(-2deg) rotateX(1deg); }

.mock-bar {
    display: flex;
    gap: .4rem;
    padding: .75rem 1rem;
    background: var(--clay);
    border-bottom: 1px solid var(--linen);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }

.mock-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
    padding: 1rem;
}

.mock-col {
    background: var(--clay);
    border-radius: var(--radius-sm);
    padding: .7rem .6rem;
}

.mock-col-active { background: var(--sage-mist); }

.mock-h {
    font-size: .6rem;
    letter-spacing: .04em;
    color: var(--stone);
    margin-bottom: .6rem;
    display: flex;
    justify-content: space-between;
    gap: .3rem;
}
.mock-h em { font-style: normal; color: #a29c8f; }
.mock-col-active .mock-h em { color: var(--sage-deep); font-weight: 600; }

.mock-card {
    height: 26px;
    border-radius: 6px;
    background: var(--paper);
    border: 1px solid var(--linen);
    margin-bottom: .45rem;
}
.mock-card.short { width: 72%; }
.mock-card.live  { border-left: 3px solid var(--sage); }
.mock-card.done  { background: #dfe8db; border-color: #d3dfce; }

.mock-full {
    font-size: .58rem;
    color: var(--sage-deep);
    text-align: center;
    margin-top: .5rem;
}

/* ---------------------------------------------- Bands */

.band {
    background: var(--paper);
    border-block: 1px solid var(--linen);
    padding: 5rem 0;
    margin: 1rem 0;
}

.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

/* House rules — deliberately NOT <blockquote>. These are our own statements,
   not quotations, and they must never read as attributed to anyone. */
.house-rule {
    margin: 0;
    background: var(--clay);
    border-left: 3px solid var(--sage);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.5rem 1.75rem;
    font-size: 1.02rem;
    color: #4c5c4a;
    transition: transform var(--t), box-shadow var(--t);
}
.house-rule:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.rule-num {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: .6rem !important;
}

.credit {
    text-align: center;
    font-size: .85rem;
    color: #a29c8f;
}

/* ---------------------------------------------- Features */

.features { padding: 5rem 0 2rem; }
.features h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 3rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1.5rem;
}

.feature {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--linen);
    border-radius: var(--radius);
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: var(--shadow);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover {
    transform: translateY(-4px);
    border-color: var(--sand);
    box-shadow: var(--shadow-lg);
}

.feature-num {
    display: block;
    font-size: .72rem;
    letter-spacing: .12em;
    color: var(--sage);
    margin-bottom: .7rem;
}

.feature h3 { font-size: 1.12rem; margin-bottom: .7rem; }
.feature p  { color: var(--stone); font-size: .93rem; }
.feature strong { color: var(--bark); }
.feature em { color: #4c5c4a; font-style: italic; }

.feature-quiet { background: var(--sage-mist); border-color: #dbe4d7; }

/* Little inline demos */

.demo {
    margin-top: 1.5rem;
    padding: 1.1rem;
    background: var(--clay);
    border-radius: var(--radius-sm);
}

.demo-verdict {
    font-size: .78rem !important;
    color: var(--stone) !important;
    margin-top: .7rem !important;
}

.demo-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--sand) 0 62%, var(--sage-mist) 62% 100%);
    position: relative;
}
.demo-thumb {
    position: absolute;
    left: 62%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--sage);
    box-shadow: 0 2px 6px rgba(59, 58, 53, .12);
}

.demo-scale {
    display: flex;
    justify-content: space-between;
    font-size: .66rem;
    color: #a29c8f;
    margin-top: .9rem;
}
.demo-scale span:nth-child(2) { color: var(--sage-deep); }

.demo-wip { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }

.chip {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: .78rem;
    background: var(--sage-mist);
    color: var(--sage-deep);
    border: 1px solid #d5e0d1;
}

.chip-blocked {
    background: var(--amber-mist);
    color: #b08a63;
    border: 1px dashed #e0cdb4;
    opacity: .75;
}

.demo-wip .demo-verdict { flex-basis: 100%; }

.demo-buffer { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }

.est {
    font-size: .84rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--linen);
    color: var(--stone);
}
.est-real { background: var(--sage-mist); border-color: #d5e0d1; color: var(--sage-deep); }
.est-real em { font-style: normal; font-size: .82em; opacity: .85; }
.arrow { color: #b3ada0; }

.rest-pill {
    display: inline-block;
    font-size: .82rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    background: var(--amber-mist);
    border: 1px solid #ecdcc9;
    color: #7d5a3f;
}

.demo-shutdown .demo-q { font-size: .82rem !important; color: var(--stone) !important; }
.demo-shutdown .demo-a {
    margin-top: .5rem !important;
    font-size: .9rem !important;
    color: var(--sage-deep) !important;
    border-left: 2px solid var(--sage);
    padding-left: .8rem;
}

/* ---------------------------------------------- Who */

.who-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.who-list { display: flex; flex-direction: column; gap: .9rem; }

.who-list li {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    background: var(--clay);
    border-radius: var(--radius-sm);
    padding: .9rem 1.1rem;
    font-size: .93rem;
    color: #4c5c4a;
    transition: transform var(--t), background var(--t);
}
.who-list li:hover { transform: translateX(4px); background: var(--sage-mist); }
.who-list span { color: var(--sage); flex: none; }

/* ---------------------------------------------- Stack */

.stack-section { padding: 5rem 0 4rem; }
.stack-section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }

.stack-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.stack-list li {
    background: var(--paper);
    border: 1px solid var(--linen);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1rem;
    text-align: center;
    transition: transform var(--t), box-shadow var(--t);
}
.stack-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stack-list strong { display: block; font-size: 1rem; margin-bottom: .2rem; }
.stack-list span { font-size: .8rem; color: #a29c8f; }

/* ---------------------------------------------- CTA + footer */

.cta {
    background: var(--sage-mist);
    border-block: 1px solid #dbe4d7;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: #3f5340; }
.cta p { color: #5c6d59; margin: 1rem auto 2.2rem; max-width: 32rem; }

.foot { padding: 2.5rem 0 3.5rem; }

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: #a29c8f;
}
.foot strong { color: var(--stone); font-weight: 600; }
.foot nav { display: flex; gap: 1.5rem; }

/* ---------------------------------------------- Responsive */

@media (max-width: 900px) {
    .hero-inner,
    .who-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding: 3.5rem 0 4rem; }
    .hero-visual { order: -1; }
    .mock { transform: none; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .shell { width: min(1140px, 100% - 2rem); }
    .nav nav { gap: 1rem; font-size: .82rem; }
    .nav nav a:not(.nav-cta) { display: none; }
    .band, .features, .cta, .stack-section { padding: 3.5rem 0; }
    .foot-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
