:root {
    --color-primary: #0b4f3b; /* Dark Green */
    --color-primary-dark: #073829;
    --color-bg-main: #ffffff; 
    --color-bg-mint: #8de0db; /* Image background match */
    --color-bg-alt: #f4ece6; /* Slack often uses warm off-whites, let's use a soft gray/warm white */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--color-bg-main);
    color: #000000;
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Screen reader only for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography */
.headline {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #000;
}

.subheadline {
    font-size: 1.25rem;
    color: #454545;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #000;
}

.feature-paragraph {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.text-center {
    text-align: center;
}

/* Sections */
.hero {
    padding-top: 7rem;
    padding-bottom: 6rem;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1.2;
}

.hero-visual {
    flex: 1;
}

.feature {
    padding: 8rem 0;
    scroll-margin-top: 80px;
}

.alternate-bg {
    /* NOTE: previously referenced assets/images/bg-slice.png, which does not exist
       (404 on every section). Solid warm off-white is what actually rendered. */
    background-color: var(--color-bg-alt);
}

.social-proof {
    padding: 3rem 0;
    border-bottom: 1px solid #eaeaea;
    background-color: var(--color-bg-main);
}

.trusted-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.mt-medium {
    margin-top: 3rem;
}

/* Bottom CTA Slack Style */
.bottom-cta {
    padding: 8rem 0;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 100%);
}

.bottom-cta .headline {
    color: white;
}

/* Flex Container for Features */
.feature-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
}

/* Cards */
.card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    background-color: var(--color-bg-mint);
    transition: transform 0.5s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Brand mark — Mosey Design System spec (54×54, 14px radius, soft shadow, tilt-and-scale
   hover). THIS is the reference size: the founder preferred the 54px mark here and every
   other header and sidebar scales to it (2026-09-14). */
.logo img {
    height: 54px;
    /* an explicit width: the intrinsic width="" attribute is a presentational hint and would
       otherwise win, stretching the square icon to 192x54. */
    width: 54px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(11, 79, 59, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #208775 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 0.1em; /* Prevents italic/bold clipping in some browsers */
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    /* transparent border reserved up-front so hover doesn't shift the layout */
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background-color: rgba(11, 79, 59, 0.04);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px; /* Slack uses slightly rounded squares, not full pills */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    border: 2px solid var(--color-primary);
    cursor: pointer; /* <button> elements don't get this by default */
    font-family: var(--font-body);
}

.btn:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.btn-white:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 5rem 0;
    background-color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    border-top: 1px solid #eaeaea;
    padding-top: 3rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-primary);
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* <picture> is a wrapper only — the <img> stays the laid-out box. */
picture {
    display: contents;
}

/* Scroll Animations */
html.js .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

html.js .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .feature-container, .feature-container.reverse {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .feature-list li {
        text-align: left;
        display: inline-block;
        width: 100%;
        max-width: 400px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }

    .footer-brand { max-width: none; }

    .footer-cols {
        gap: 3rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .headline {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Mobile Navbar Optimization */
    .navbar {
        padding: 0.8rem 5%;
    }
    
    .logo img {
        height: 36px; /* smaller on a phone; matches the portal headers' mobile rule */
        width: 36px;
        border-radius: 9px;
    }
    
    .logo-text {
        display: none; /* Hide text on small screens to save space, rely on icon */
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Rotating Word Animation */
.rotating-wrapper {
    display: inline-block;
    width: 3.2em; /* Fixed width to prevent layout jitter */
    text-align: left;
    white-space: nowrap;
}

.rotating-word {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: underline;
    text-decoration-color: var(--color-bg-mint);
    text-decoration-thickness: 8px;
    text-underline-offset: 4px;
    color: var(--color-primary);
}

/* Transparent Hero Images */
.hero-transparent-img {
    width: 110%; /* Dialed back slightly so it perfectly fits the vertical space without overwhelming it */
    max-width: none;
    height: auto;
    display: block;
    margin-left: -10px; /* Adjust nudge to match the new size */
}

/* Hero Visual Container & Annotation */
.hero-visual-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

/* Feature Visual Wrapper (Default: Image on Left) */
.feature-visual-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    transform: scale(1.35) translateX(30px); /* Make phones even bigger and nudge them to the right to close the gap */
    transform-origin: center right; /* Keep the anchor to the right to prevent massive text overlap */
}

/* Feature Visual Wrapper (Image on Right) */
.feature-container:not(.reverse) .feature-visual-wrapper {
    transform: scale(1.35) translateX(-30px); /* Nudge to the left to close the gap */
    transform-origin: center left; /* Anchor to the left to prevent text overlap */
}

/* A composite that already fills its canvas edge to edge (hands, captions) — no zoom,
   or it bleeds out of the column and the caption is clipped. */
.feature-container .feature-visual-wrapper.visual-flat,
.feature-container:not(.reverse) .feature-visual-wrapper.visual-flat {
    transform: none;
}

/* Specific styling for Organize Your World phones */
.feature-container:not(.reverse) .organize-visual {
    transform: scale(1.45) translateX(-60px);
    transform-origin: center left;
}

/* Transparent Feature Images */
.feature-transparent-img {
    width: 100%; /* Take up the full wrapper width so the group scales together */
    height: auto;
    display: block;
    margin: 0 auto;
    /* Removed drop-shadow because the exported Figma image already has baked-in shadows and a solid matching background color */
}

@media (max-width: 992px) {
    .feature-visual-wrapper,
    .feature-container:not(.reverse) .feature-visual-wrapper,
    .feature-container:not(.reverse) .organize-visual {
        transform: scale(1) translateX(0);
        transform-origin: center center;
        margin-top: 2rem;
    }

    .hero-transparent-img {
        width: 100%;
        margin-left: 0;
    }
}

/* Custom underline for hero text */
.hero-underline {
    text-decoration: underline;
    text-decoration-color: var(--color-bg-mint);
    text-decoration-thickness: 8px;
    text-underline-offset: 4px;
}

/* ==========================================================================
   Additive: eyebrow pill, hamburger, image placeholders, bands, signup
   (new sections only — existing look/scroll untouched)
   ========================================================================== */

/* Eyebrow pill (design-system landing token) */
.hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    background: var(--color-bg-mint);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

/* Mobile hamburger (hidden on desktop) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Image placeholder frames (hold layout until real screenshots land) */
/* Placeholder = a visible SHOOT BRIEF. Replace the whole block with an <img>
   once the real screenshot exists. */
.img-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
    padding: 1.5rem 1.6rem;
    overflow-y: auto;
    border-radius: 24px;
    background: linear-gradient(160deg, var(--color-bg-mint) 0%, #d7f3f0 100%);
    border: 2px dashed rgba(11, 79, 59, 0.45);
    color: var(--color-primary-dark);
    text-align: left;
    box-shadow: 0 10px 40px rgba(11, 79, 59, 0.12);
}
.img-placeholder .ph-tag {
    align-self: flex-start;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
}
.img-placeholder .ph-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.img-placeholder .ph-meta {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.68rem;
    line-height: 1.5;
    opacity: 0.8;
}
.img-placeholder ul {
    margin: 0;
    padding-left: 1.1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.45;
}
.img-placeholder ul li { margin-bottom: 0.3rem; }
.img-placeholder .ph-warn {
    font-family: var(--font-body);
    font-size: 0.76rem;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.65);
    border-left: 3px solid var(--color-primary);
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
}
.ratio-phone { aspect-ratio: 4 / 5; }
.ratio-wide  { aspect-ratio: 16 / 9; max-width: 760px; margin: 2.5rem auto 0; }

/* Compact centered bands (rankings, for-business) */
.band {
    padding: 7rem 0;
    text-align: center;
    scroll-margin-top: 80px;
}
.band-tinted {
    background: var(--color-bg-alt);
}
.band-inner { max-width: 820px; }
.band-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.band-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #000;
    margin-bottom: 1.25rem;
}
.band-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #454545;
    max-width: 640px;
    margin: 0 auto;
}

/* Breathing room between the band copy and its CTA */
.band .cta-group { margin-top: 2.75rem; }

/* Secondary email capture on the green bottom CTA */
.signup {
    margin-top: 3rem;
    /* wide enough for the label to sit on one line; the form stays narrower */
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}
.signup-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 1rem;
}
.signup-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 520px;
    margin: 0 auto;
}
.signup-form input[type="email"] {
    flex: 1 1 260px;
    min-width: 0;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.95);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #000;
}
.signup-form input[type="email"]:focus {
    outline: none;
    border-color: #fff;
}
.signup-status {
    margin-top: 1rem;
    min-height: 1.2em;
    color: #fff;
    font-weight: 600;
}

/* Multi-column footer */
.footer-brand { max-width: 280px; }
.footer-tagline {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1rem;
}
.footer-cols {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1rem;
}
.footer-col a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
}
.footer-col a:hover { color: var(--color-primary); }

/* Footer legal line */
.footer-legal {
    margin-top: 2rem;
    text-align: center;
}
.footer-legal p { color: #888; font-size: 0.85rem; }
.footer-legal a { color: #888; text-decoration: underline; }
.footer-legal a:hover { color: var(--color-primary); }

@media (max-width: 992px) {
    .band-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    /* Hamburger nav */
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        padding: 0.5rem 5% 1.25rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.2s ease;
    }
    .nav-links.open {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links .nav-link {
        padding: 0.9rem 0;
        border-bottom: 1px solid #eee;
    }
    .nav-links .nav-btn {
        margin-top: 0.9rem;
        text-align: center;
    }
    .band { padding: 5rem 0; }
    .band-title { font-size: 2rem; }

    /* Footer columns: even 2-up grid on phones (wrapping left a stray centered column) */
    .footer-cols {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
        width: 100%;
        max-width: 340px;
        text-align: left;
    }
    /* The navbar hides the wordmark on mobile — keep it in the footer */
    .footer-brand .logo-text { display: inline; }
    .footer-brand .logo { justify-content: center; }

    .marquee-track li { font-size: 1.15rem; padding: 0.45rem 1rem; }
}

/* Respect reduced-motion: no auto-rotator jump, no scroll translate */
@media (prefers-reduced-motion: reduce) {
    html.js .fade-up { opacity: 1; transform: none; transition: none; }
    .rotating-word { transition: none; }
    .marquee-track { animation: none; }
}

/* A framed screenshot must NOT inherit the phone-art scale(1.35)/translateX on
   .feature-visual-wrapper — that oversizes it and pushes it off the right edge. */
.feature-visual-wrapper:has(.browser-frame),
.feature-container:not(.reverse) .feature-visual-wrapper:has(.browser-frame) {
    transform: none;
    width: 100%;
    margin: 0;
}

/* Browser-window frame for chat/web screenshots. Built in CSS so the screenshot
   keeps its native aspect ratio (image-editor templates force their own and squash
   it). The image just sits inside at width:100%; height:auto. */
.browser-frame {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #1e1e1e;              /* matches a dark chat window */
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 50px rgba(11, 79, 59, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: #2b2b2b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.browser-bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
    flex: none;
}
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span {
    margin-left: 10px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.browser-frame img {
    display: block;
    width: 100%;
    height: auto;      /* never distorted */
    border: 0;
}

/* Full-width variant for WIDE multi-phone comparison shots. The standard 2-col
   layout renders a 3-phone composite ~238px per phone — the "Optimized for…" and
   detour labels become illegible — and the wrapper's scale(1.35)/translateX (tuned
   for single-phone art) clips the outer phone. Stack instead: copy on top, image
   full width beneath. */
.feature-stacked .feature-container,
.feature-stacked .feature-container.reverse {
    flex-direction: column;
    gap: 3rem;
}
.feature-stacked .feature-text {
    flex: none;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.feature-stacked .feature-list li {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 440px;
}
.feature-stacked .feature-visual { flex: none; width: 100%; }
.feature-stacked .feature-visual-wrapper,
.feature-stacked .feature-container:not(.reverse) .feature-visual-wrapper {
    transform: none;
    width: 100%;
    margin: 0;
}
.feature-stacked .feature-transparent-img {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contain the intentionally-oversized phone visuals so they never widen the
   document (they scale past their column by design; without this the page
   overflows horizontally around 1200–1400px). `clip` doesn't create a scroll box. */
.hero,
.feature {
    overflow-x: hidden;
    overflow-x: clip;
}

/* Fun scrolling marquee (constant linear speed, seamless loop) */
.marquee-section {
    /* COLOR beat in the alternation (the business band above it is WHITE since the
       imports section was added, 2026-09-16) */
    background: var(--color-bg-alt);
    padding: 3.5rem 0 0; /* flows straight into .cta-wrap — no seam */
    overflow: hidden;
}

/* Matches .marquee-section so the green CTA's clip-path curve reveals the SAME
   colour the marquee sits on — no band of a different colour between the two. */
.cta-wrap {
    background: var(--color-bg-alt);
    padding-top: 3.5rem;
}
.marquee {
    display: flex;
    width: max-content;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin: 0;
    padding: 0 0.55rem;
    list-style: none;
    flex-shrink: 0;
    /* One track is exactly the loop width; linear = perfectly constant speed */
    animation: marquee-scroll 34s linear infinite;
    will-change: transform;
}
.marquee-track li {
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: #fff; /* warm pills would vanish on the warm section bg */
}
.marquee-track li:nth-child(odd) { background: #fff; }
.marquee-track li:nth-child(even) {
    background: var(--color-bg-mint);
    color: var(--color-primary-dark);
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* FAQ — NOT CURRENTLY USED. The section was removed from index.html pending a
   presentation rethink (open item). Styles kept so it can be dropped back in.
   NOTE on restoring: also re-add the FAQPage node to the JSON-LD @graph, and
   re-flow the tail (business -> WHITE, marquee + .cta-wrap -> COLOR, odd pills -> #fff).
   Deliberately NOT an accordion: answers stay in the rendered DOM and visible,
   because AI crawlers (and Google's structured-data cross-check) favour visible text.
   These questions mirror the FAQPage JSON-LD in <head> one-for-one. */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 3rem;
    text-align: left;
    margin-top: 3rem;
}
.faq-grid h3 {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #000;
    margin: 0 0 0.55rem;
}
.faq-grid p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #454545;
}
.faq-grid a { color: var(--color-primary); }
@media (max-width: 820px) {
    .faq-grid { grid-template-columns: 1fr; gap: 1.9rem; }
}

/* Cookie consent bar (Consent Mode v2 — see js/consent.js) */
.consent-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(7, 56, 41, 0.28);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.consent-bar.is-in { transform: translateY(0); opacity: 1; }
.consent-copy {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}
.consent-copy a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 0.6rem; flex: none; }
.consent-btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.consent-btn:hover { border-color: #fff; }
.consent-accept { background: #fff; color: var(--color-primary); border-color: #fff; }
.consent-accept:hover { background: var(--color-bg-mint); border-color: var(--color-bg-mint); }

@media (max-width: 620px) {
    .consent-bar { flex-direction: column; align-items: stretch; text-align: left; }
    .consent-actions { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
    .consent-bar { transition: none; transform: none; }
}

/* Legal / support stub pages */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 9rem 5% 5rem;
}
.legal h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.legal .legal-status {
    display: inline-block;
    background: var(--color-bg-mint);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 2rem;
}
.legal p { font-size: 1.15rem; line-height: 1.65; color: #333; margin-bottom: 1.25rem; }
.legal a { color: var(--color-primary); }
.legal .back { display: inline-block; margin-top: 2rem; font-weight: 600; text-decoration: none; }

/* The effective date is the switch counsel flips: it sits under the h1 on both
   legal pages and reads an em dash until the real documents land. */
.legal .legal-effective {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
}
.legal h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 0.75rem;
}
/* Part D: Privacy · Terms · support@ on every page. index.html has the full site
   footer; the standalone pages get this compact one so no page is a dead end. */
.legal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    color: #666;
}
.legal-footer a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.legal-footer a:hover { text-decoration: underline; }

/* Contact form on the support page (overrides the inline .signup-form row layout) */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-width: 100%;
    margin: 2rem 0 0;
}
.contact-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666;
    margin-top: 0.75rem;
}
.contact-form input[type="email"],
.contact-form textarea {
    flex: none;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--color-border, #eaeaea);
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #000;
}
.contact-form textarea { resize: vertical; }
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.contact-form button { align-self: flex-start; margin-top: 1.25rem; }
.legal .signup-status { color: var(--color-primary); font-weight: 600; }


/* Launch state (2026-09-06): the iOS app is not in the App Store yet, and the remaining
   feature image is still a shoot brief. Both are shown as honest "coming soon" states
   rather than dead links or internal notes. Remove `.btn-soon` when the App Store URL
   is real; the placeholder card styles below go when the screenshot lands. */
/* Everything a person can click shows the hand — anchors do by default, <button> and
   role="button" do not, and a future element that sets cursor: default on purpose (an
   inert "coming soon" span, say) must say so itself. */
a[href], button, [role="button"], summary, label[for] { cursor: pointer; }
.btn-soon { cursor: default; opacity: 0.85; }
.footer-soon { color: inherit; opacity: 0.7; }
.img-placeholder .ph-tag,
.img-placeholder .ph-meta,
.img-placeholder .ph-warn,
.img-placeholder ul { display: none; }
