/* Reset and Base Styles */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* KP Metrix: dark #1D1212 + orange #EE7B00 + white */
    --brand-navy: #1d1212;
    --brand-lime: #ee7b00;
    --brand-lime-dark: #d66a00;
    --primary-color: var(--brand-navy);
    --secondary-color: var(--brand-lime);
    --accent-color: var(--brand-lime);
    --text-color: var(--brand-navy);
    --text-light: #4a5568;
    --bg-light: #f4f7fc;
    --bg-card: #ffffff;
    --border-color: #c5d4e8;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(29, 18, 18, 0.12);
    --shadow-hover: 0 4px 20px rgba(29, 18, 18, 0.18);
    /* Vertical gap between sections (landing → data → signals → pricing). Use margin-bottom only so gaps don't collapse. */
    --section-gap: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--brand-navy); /* Fallback; dot grid canvas is the visible background */
    position: relative;
    overflow-x: hidden;
}

/* Interactive Dot Grid full-viewport backdrop (replaces LetterGlitch); lower section exempt */
.dot-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-navy);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.dot-grid-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Panel: landing, chart, pricing sit on dot grid; no fill so dot grid shows through */
.dark-panel {
    position: relative;
    z-index: 1;
    margin-left: clamp(0.75rem, 3vw, 1.5rem);
    margin-right: clamp(0.75rem, 3vw, 1.5rem);
    border-radius: 24px;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Thin Transparent Banner (Autopilot-style: compact) */
.thin-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(246, 252, 249, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(47, 51, 52, 0.12);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(29, 18, 18, 0.08);
    overflow: visible;
}

.banner-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    overflow: visible;
}

.banner-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
    flex-shrink: 0;
    text-decoration: none;
    overflow: visible;
}

.banner-logo {
    height: 56px;
    width: auto;
    max-width: none;
    min-width: 0;
    display: block;
    object-fit: contain;
    object-position: left center;
}

/* Right-side actions: close (return) X + hamburger */
.banner-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-close-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.banner-close-link:hover {
    opacity: 0.85;
    color: var(--primary-color);
}
.banner-close-link svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Hamburger: Pixelcot/Framer-style SVG morph (dash animation → X) */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    color: var(--text-color);
    transition: color 0.2s ease;
}

.hamburger-menu:hover {
    color: var(--primary-color);
}

.hamburger-svg {
    display: block;
    width: 48px;
    height: 48px;
    overflow: visible;
}

/* No SVG rotation: each path rotates so they cross as X ( \ + / ) */
.hamburger-line-top-bottom {
    stroke-dasharray: 12 63;
    stroke-dashoffset: 0;
    transform-origin: 16px 16px; /* viewBox center */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-menu.active .hamburger-line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
    transform: rotate(-45deg); /* first stroke of X: \ */
}

.hamburger-line-middle {
    transform-origin: 16px 16px;
    transition: opacity 200ms ease, transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-menu.active .hamburger-line-middle {
    opacity: 1;
    transform: rotate(-45deg); /* middle bar rotates counter-clockwise → second stroke of X: / */
}

/* Mobile Menu — slides in from left (hamburger lives in banner-lead) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(246, 252, 249, 0.98);
    backdrop-filter: blur(20px);
    padding: 5rem 2rem 2rem;
    transition: left 0.3s ease;
    z-index: 999;
    box-shadow: 4px 0 20px rgba(29, 18, 18, 0.15);
    pointer-events: auto;
}

.mobile-menu.active {
    left: 0;
}

.menu-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(47, 51, 52, 0.12);
    transition: color 0.3s;
}

.menu-link:hover {
    color: var(--primary-color);
}

.menu-link:last-child {
    border-bottom: none;
}

/* Hamburger X state driven by .active + SVG dash (see .hamburger-line-top-bottom above) */

/* Landing section: dark panel, rounded corners, sliver of glitch below
 * .landing-hero has margin-top: 72px so the section starts below the fixed banner.
 * .landing-hero-inner has margin-top: -5rem so the content (logo, pitch, stats, button)
 * is pulled UP within that space—net effect is content starts at 72px − 80px = -8px (overlaps banner).
 * So the visible “gap” is only from the banner height; no extra margin from the hero. */
.landing-hero {
    position: relative;
    width: auto;
    min-height: calc(100vh - 72px - 1rem);
    margin-top: 72px;
    margin-bottom: var(--section-gap); /* only margin-bottom for gap; next section has margin-top: 0 */
    padding: clamp(0.75rem, 2.5vw, 1.25rem) clamp(0.75rem, 2.5vw, 1.25rem) 0.35rem clamp(0.75rem, 2.5vw, 1.25rem);
    z-index: 1;
}

/* Light layer on gray; extends down to almost cover gray, room for stat cards */
.landing-light-layer {
    position: relative;
    z-index: 1;
    min-height: 100%;
    border-radius: 20px;
    padding: 5rem clamp(1rem, 4vw, 1.5rem) 3.5rem;
    background-color: #f4f7fc;
    background-image: radial-gradient(circle at 1px 1px, rgba(29, 18, 18, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
}

.landing-hero-inner {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 96vw);
    margin: 0 auto;
    text-align: center;
}

/* Big centered logo (Autopilot-style) — fluid so resizing is smooth; no crop */
.landing-logo-link {
    display: block;
    margin: 0 auto 1.25rem;
    text-decoration: none;
    line-height: 0;
}

.landing-logo {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: min(720px, 92vw);
    height: auto;
    object-fit: contain;
    object-position: center;
    vertical-align: bottom;
}

/* Pitch: fluid type and gap so logo–pitch spacing scales with viewport (dark on light layer) */
.landing-pitch {
    font-size: clamp(1.25rem, calc(3.5vw + 0.5rem), 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    max-width: min(1100px, 98vw);
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
}

/* Reel carousel: 2:3 portrait so photos fill width (no side letterboxing); ~30% smaller than 640px */
.reel-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 2rem;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 2 / 3;
}

.reel-progress {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

.reel-progress-bars {
    flex: 1;
    display: flex;
    gap: 4px;
}

.reel-progress-bar {
    flex: 1;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.reel-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--brand-navy);
    border-radius: 2px;
    transition: width 0.05s linear;
}

.reel-progress-bar.is-current .reel-progress-fill {
    width: var(--reel-progress, 0%);
}

.reel-progress-bar.is-past .reel-progress-fill {
    width: 100%;
}

.reel-play-pause {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
}

.reel-play-pause:hover {
    opacity: 1;
}

.reel-icon-pause,
.reel-icon-play {
    display: none;
    line-height: 0;
}

.reel-carousel.is-playing .reel-icon-pause {
    display: block;
}

.reel-carousel.is-paused .reel-icon-play {
    display: block;
}

.reel-carousel.is-paused .reel-icon-pause {
    display: none;
}

.reel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--brand-navy);
}

.reel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.reel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.reel-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.reel-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
}

.reel-value {
    display: block;
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.25rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.reel-label {
    display: block;
    font-size: clamp(0.9rem, 1.2vw + 0.25rem, 1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.reel-slide-content--text {
    padding: 20px 20px 24px;
    gap: 10px;
}

.reel-slide-content--top {
    top: 56px;
    bottom: auto;
    justify-content: flex-start;
}

/* Slide 3: blurb at top, quip below with ample gap */
.reel-slide-third-content {
    position: absolute;
    top: 52px;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.reel-slide-content--in-wrap {
    position: relative;
    top: auto;
    bottom: auto;
    padding: 0;
}
.reel-quip--below {
    position: static;
    left: auto;
    right: auto;
    text-align: left;
    margin-top: 3.5em; /* ~3–4 line-heights below blurb */
}

.reel-heading {
    display: block;
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, 1.65rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.reel-caption {
    display: block;
    font-size: clamp(0.75rem, 1.2vw + 0.2rem, 0.9rem);
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.4;
    max-width: 100%;
}

/* Top quip below progress bar: same italic/size as caption */
.reel-quip {
    position: absolute;
    top: 52px;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: block;
    font-size: clamp(0.75rem, 1.2vw + 0.2rem, 0.9rem);
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
    text-align: left;
}

/* Slide 2: right-aligned metrics block (below progress bar, figure-left photo) */
.reel-slide-metrics {
    position: absolute;
    top: 52px;
    right: clamp(20px, 4vw, 32px);
    left: auto;
    z-index: 10;
    font-size: clamp(0.8rem, 1.2vw + 0.25rem, 0.95rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    text-align: right;
}
.reel-metrics-header {
    text-decoration: underline;
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.reel-metrics-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}
.reel-metrics-row span:first-child {
    flex-shrink: 0;
}
.reel-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    font-size: 1em;
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
}
.reel-check::after {
    content: "✓";
    font-size: 1.05em;
    font-weight: 700;
}

.reel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.reel-arrow:hover {
    opacity: 1;
}

.reel-arrow svg {
    width: 24px;
    height: 24px;
}

.reel-prev { left: 16px; }
.reel-next { right: 16px; }

/* PressButton — from PressButton.framer.jsx only */
.press-button {
    all: unset;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-radius: 100em;
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow: -0.15em -0.15em 0.15em -0.075em rgba(5, 5, 5, 0.25), 0.0375em 0.0375em 0.0675em 0 rgba(5, 5, 5, 0.1);
    text-decoration: none;
}

.press-button-overlay {
    position: absolute;
    z-index: 0;
    width: calc(100% + 0.3em);
    height: calc(100% + 0.3em);
    top: -0.15em;
    left: -0.15em;
    border-radius: inherit;
    background: linear-gradient(-135deg, rgba(5, 5, 5, 0.5), transparent 20%, transparent 100%);
    filter: blur(0.0125em);
    opacity: 0.25;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.press-button-middle {
    position: relative;
    z-index: 1;
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0.05em 0.05em 0.05em -0.01em rgba(5, 5, 5, 1), 0.01em 0.01em 0.01em -0.01em rgba(5, 5, 5, 0.5), 0.15em 0.3em 0.1em -0.01em rgba(5, 5, 5, 0.25);
    transition: box-shadow 300ms ease;
}

.press-button:hover .press-button-middle {
    box-shadow: 0 0 0 0 rgba(5, 5, 5, 1), 0 0 0 0 rgba(5, 5, 5, 0.5), 0 0 0 0 rgba(5, 5, 5, 0.25);
}

.press-button-inner {
    position: relative;
    z-index: 1;
    border-radius: inherit;
    padding: 1em 1.5em;
    background-image: linear-gradient(135deg, #cc6600, var(--brand-lime));
    overflow: clip;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    flex-wrap: nowrap;
    min-width: 380px;
    box-shadow: 0 0 0 0 inset rgba(5, 5, 5, 0.1), -0.05em -0.05em 0.05em 0 inset rgba(5, 5, 5, 0.25), 0 0 0 0 inset rgba(5, 5, 5, 0.1), 0 0 0.05em 0.2em inset rgba(255, 255, 255, 0.25), 0.025em 0.05em 0.1em 0 inset rgba(255, 255, 255, 1), 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25), -0.075em -0.25em 0.25em 0.1em inset rgba(5, 5, 5, 0.25);
    transition: box-shadow 300ms ease, clip-path 250ms ease, transform 250ms ease;
}

.press-button:hover .press-button-inner {
    clip-path: inset(clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 100em);
    box-shadow: 0.1em 0.15em 0.05em 0 inset rgba(5, 5, 5, 0.75), -0.025em -0.03em 0.05em 0.025em inset rgba(5, 5, 5, 0.5), 0.25em 0.25em 0.2em 0 inset rgba(5, 5, 5, 0.5), 0 0 0.05em 0.5em inset rgba(255, 255, 255, 0.15), 0 0 0 0 inset rgba(255, 255, 255, 1), 0.12em 0.12em 0.12em inset rgba(255, 255, 255, 0.25), -0.075em -0.12em 0.2em 0.1em inset rgba(5, 5, 5, 0.25);
}

.press-button:active .press-button-inner {
    transform: scale(0.975);
}

.press-button-label {
    position: relative;
    z-index: 4;
    letter-spacing: -0.05em;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4em;
    color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    transition: transform 250ms ease;
    display: block;
    text-shadow: rgba(0, 0, 0, 0.1) 0 0 0.1em;
    user-select: none;
    text-align: center;
    padding: 12px 0;
    width: max-content;
    white-space: nowrap;
}

.press-button:hover .press-button-label {
    transform: scale(0.975);
}

.press-button-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.press-button-icon svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 0.75rem 0.75rem 0.35rem 0.75rem;
    }
    .landing-light-layer {
        border-radius: 16px;
        padding: 3rem 1rem 3rem;
    }
    /* Logo and pitch use fluid rules above; inner margin-top set above */
    .reel-carousel {
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }
    .chart-section-iframe {
        min-height: 600px;
        height: 80vh;
    }
}

/* Full-width backtest data: collapsible blocks; no min-height so content below rises when collapsed */
.chart-section {
    position: relative;
    width: auto;
    min-height: 0;
    margin-top: 0;
    margin-bottom: var(--section-gap);
    z-index: 1;
}

.chart-section-iframe {
    display: block;
    width: 100%;
    height: 85vh;
    min-height: 700px;
    border: none;
    background-color: #ffffff;
}

/* Menu block: horizontal menu bar (clickable columns) + content area; light green, rounded */
.menu-block {
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.menu-bar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
    border-bottom: 1px solid rgba(29, 18, 18, 0.15);
}
.menu-bar-item {
    flex: 1;
    min-width: 0;
    padding: 1rem 0.75rem;
    font-family: inherit;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--bg-light);
    border: none;
    border-right: 1px solid rgba(29, 18, 18, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.menu-bar-item::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid currentColor;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    flex-shrink: 0;
    transition: transform 0.45s ease;
}
.menu-bar-item:last-child {
    border-right: none;
}
.menu-bar-item:hover {
    background-color: rgba(29, 18, 18, 0.08);
}
.menu-bar-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
}
.menu-bar-item.active::after {
    transform: rotate(90deg);
}
.menu-content {
    position: relative;
    min-height: 200px;
}
.menu-panel {
    display: none;
    padding: 0;
}
.menu-panel.active {
    display: block;
}
.menu-panel-inner {
    padding: 0;
}
.menu-panel-inner.text-content {
    padding: 1.5rem clamp(1rem, 3vw, 2rem);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}
.menu-panel-inner.text-content p {
    margin-bottom: 1rem;
}
.menu-panel-inner.text-content p:last-child {
    margin-bottom: 0;
}
.menu-panel-inner.text-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.menu-panel-inner.text-content h3:first-child {
    margin-top: 0;
}
/* Thesis panel: single statement, no box; prominent and brand green */
.menu-panel-inner .thesis-statement {
    font-size: clamp(1.15rem, 2.5vw + 0.5rem, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 0;
}

.thesis-straight-takeaway {
    background: rgba(29, 18, 18, 0.08);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
}
.thesis-takeaway-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.thesis-straight-takeaway p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-color);
}
.menu-panel-inner.text-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
    list-style: disc;
}
.menu-panel-inner.text-content li {
    margin-bottom: 0.35rem;
}
.menu-panel-inner .chart-section-iframe {
    border-radius: 0 0 16px 16px;
    min-width: 800px; /* enough width so Plotly legend lays out (symbols left of text) when embedded in index */
}
.menu-content {
    overflow-x: auto; /* allow horizontal scroll on narrow viewports when iframe has min-width */
}

/* Static NAV curve for mobile: hidden on desktop */
.chart-static-mobile {
    display: none;
}
.chart-static-mobile-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 16px 16px;
    background: #fff;
}
.chart-static-mobile-link {
    margin: 0.5rem 1rem 1rem;
    font-size: 0.9rem;
}
.chart-static-mobile-link a {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column;
    }
    .menu-bar-item {
        border-right: none;
        border-bottom: 1px solid rgba(29, 18, 18, 0.12);
        text-align: left;
        padding-left: 1rem;
    }
    .menu-bar-item:last-child {
        border-bottom: none;
    }
    /* Backtest panel: show static NAV image, hide interactive iframe on mobile */
    .chart-static-mobile {
        display: block;
    }
    #panel-backtest .chart-section-iframe-desktop {
        display: none !important;
    }
}

/* Legacy chart-hero (kept for reference; unused if landing is active) */
.chart-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    min-height: 740px;
    margin-top: 60px;
    z-index: 1;
}

.chart-hero-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    border-radius: 0;
}

.hero-value-prop {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.chart-hero-iframe {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    border: none;
    display: block;
    background-color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--brand-lime-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Chart Section (content inside dark panel) */
.chart-section {
    padding: 1rem clamp(1rem, 3vw, 20px) 0;
    position: relative;
    z-index: 1;
}

.chart-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.chart-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.chart-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.interactive-chart {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 8px;
    background-color: var(--bg-card);
    /* Ensure chart is visible on dark background */
    color-scheme: dark;
}

.chart-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Pricing Section (same inter-section gap as others) */
.pricing {
    margin-top: 0;
    margin-bottom: var(--section-gap);
    padding: 1rem clamp(1rem, 3vw, 20px) 56px; /* same top padding as chart/signals */
    position: relative;
    z-index: 1;
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.pricing-description {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 1.35rem;
    font-weight: bold;
    font-style: italic;
}

/* Audience toggle: Individual Investors | Advisors and Funds (Get the Signals) — matches .pricing, .btn, .pricing-card */
.audience-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    font-family: inherit;
}
.audience-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.audience-toggle-pill:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: var(--shadow-hover);
}
.audience-toggle-wrap .audience-label {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
    padding: 4px 2px;
    border-radius: 4px;
}
.audience-toggle-wrap .audience-label:hover {
    color: var(--white);
}
.audience-toggle-wrap .audience-label.selected {
    color: var(--white);
}
.audience-toggle-wrap .audience-label:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}
.audience-toggle-wrap .audience-toggle-label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
    cursor: pointer;
    border-radius: 26px;
}
.audience-toggle-wrap .audience-toggle-label:focus-within .audience-toggle-track {
    box-shadow: 0 0 0 2px var(--white);
}
.audience-toggle-wrap .audience-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    position: absolute;
}
.audience-toggle-wrap .audience-toggle-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border-radius: 26px;
}
.audience-toggle-wrap .audience-toggle-thumb {
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: transform 0.2s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transform: translateX(0); /* default: left (Individual) */
}
.audience-toggle-wrap .audience-toggle-input:checked + .audience-toggle-track + .audience-toggle-thumb {
    transform: translateX(24px); /* Advisors selected: thumb right */
}
.audience-toggle-wrap .audience-toggle-label:hover .audience-toggle-track {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* Card groups: Individual and Advisors each use their own grid, centered on the page */
.audience-cards {
    display: contents;
}
.audience-cards-individual {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 640px));
    gap: 2rem;
    justify-content: center;
    align-items: start;
    grid-column: 1 / -1;
    max-width: 1320px;
    margin: 0 auto;
}
.audience-cards-individual .pricing-card {
    max-width: 640px;
}
.audience-cards-individual .pricing-audience-intro {
    grid-column: 1 / -1;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}
.audience-cards-advisors .pricing-audience-intro {
    grid-column: 1 / -1;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}
.audience-cards-individual .individual-disclaimer {
    grid-column: 1 / -1;
}
.audience-cards-advisors {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 640px));
    gap: 2rem;
    justify-content: center;
    align-items: start;
    grid-column: 1 / -1;
    max-width: 1320px;
    margin: 0 auto;
}
.audience-cards-advisors .advisor-disclaimer {
    grid-column: 1 / -1;
    max-width: 100%;
}
.audience-cards-advisors.audience-cards-hidden {
    display: none !important;
}
.audience-cards-individual.audience-cards-hidden {
    display: none !important;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1200px;
    justify-items: center;
}

/* 3D tilt cards: fixed width so all cards (Individual + Enterprise) stay same size */
.pricing-card {
    width: 100%;
    max-width: 320px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0.2, 0.2, 1), border-color 0.2s ease;
    will-change: transform;
    transform-style: preserve-3d;
    cursor: pointer;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(29, 18, 18, 0.2), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pricing-card.is-stabilized {
    box-shadow: 0 16px 48px rgba(29, 18, 18, 0.28), 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Card image: Framer-style 300×200 aspect, top of card */
.pricing-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 300 / 200;
    object-fit: cover;
    object-position: center;
    border-radius: 14px 14px 0 0;
    background: #f0f0f0;
    pointer-events: none;
}

/* Content below image: title, price, features, button (compact ~2/3 height) */
.pricing-card-content {
    flex: 1;
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
}

/* Enterprise card: large label, no price, contact link; align "Enterprise" with $ on other cards */
.pricing-card-enterprise .pricing-card-content {
    padding-top: 3rem; /* matches h3 + margin above .price on other cards */
}
.pricing-card-enterprise .enterprise-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.pricing-card-enterprise .enterprise-contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}
.pricing-card-enterprise .enterprise-contact-link:hover {
    text-decoration: underline;
}

/* Advisor cards: 2× width (640px max), image cropped to show more right, less left (~8%) */
.pricing-card-advisor {
    max-width: 640px;
    width: 100%;
    justify-self: center;
}
.pricing-card-advisor .pricing-card-image {
    object-position: 92% center;
    margin: 0;
    display: block;
    vertical-align: top;
}
/* Left card (test-drive): nudge back toward center so a bit more left shows */
.audience-cards-advisors .pricing-card-advisor:first-child .pricing-card-image {
    object-position: 85% center;
}
.pricing-card-advisor .pricing-card-content {
    padding: 0 1.75rem 1.75rem;
    text-align: left;
}
/* Fixed min-height so both cards’ subheadlines align regardless of title wrap */
.advisor-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.35rem;
    margin-top: 0;
    line-height: 1.2;
    min-height: 2.5em;
}
.advisor-card-subhead {
    font-size: 1rem;
    font-weight: 700;
    color: #0a5242;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.6rem;
    line-height: 1.35;
}
.pricing-card-advisor .features {
    margin-bottom: 1rem;
}
.pricing-card-advisor .advisor-card-pricing {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.pricing-card-advisor .advisor-cta {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: 0;
}
/* Shared disclaimer style under Get the Signals cards (Individual and Advisors) */
.advisor-disclaimer,
.individual-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-top: 0.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.advisor-disclaimer .disclaimer-link,
.individual-disclaimer .disclaimer-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}
.advisor-disclaimer .disclaimer-link:hover,
.individual-disclaimer .disclaimer-link:hover {
    color: var(--white);
}
/* Individual disclaimer spans full width when in grid (parent has display: contents) */
.individual-disclaimer {
    grid-column: 1 / -1;
    max-width: 100%;
}

@media (max-width: 719px) {
    .audience-cards-individual {
        grid-template-columns: 1fr;
    }
    .audience-cards-advisors {
        grid-template-columns: 1fr;
    }
    .pricing-card-advisor {
        max-width: 100%;
    }
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

/* Plan name under photo, above price: all caps, bold, dark green, compact (override .pricing-card h3) */
.pricing-card h3.pricing-card-plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0a5242;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.price {
    margin-bottom: 0.75rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Price amount visible on light card (e.g. Signals plan: $50/month, $500/year) */
.pricing-card .amount {
    color: var(--text-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.savings {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

/* Billing period toggle (first pricing card) */
.price-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 0.75rem;
    background: rgba(29, 18, 18, 0.12);
    border-radius: 999px;
    padding: 4px;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}
.price-toggle-option {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-light);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.price-toggle-option:hover {
    color: var(--text-color);
}
.price-toggle-option.active {
    background: var(--primary-color);
    color: var(--white);
}
.pricing-card .price-savings-annual {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-align: center;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 1rem;
}

.features li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.85rem;
}

.features li:last-child {
    border-bottom: none;
}

.features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-card .btn {
    width: 100%;
}

/* Disclaimer Section — floats on dot grid (no solid background) */
.disclaimer-section {
    padding: 60px 20px;
    background-color: transparent;
    position: relative;
    z-index: 2;
}

.disclaimer-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.disclaimer-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.disclaimer-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.disclaimer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.disclaimer-link:hover {
    text-decoration: underline;
}

/* Footer (above fixed glitch) */
.footer {
    position: relative;
    z-index: 2;
    background-color: var(--brand-lime);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-section h4 a {
    color: inherit;
    text-decoration: none;
}
.footer-section h4 a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-disclosure {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    max-width: 56em;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thin-banner {
        height: 64px;
    }

    .dark-panel {
        border-radius: 16px;
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }

    .landing-hero {
        min-height: calc(100vh - 64px - 1rem);
        margin-top: 64px;
    }

    .landing-hero-inner {
        margin-top: 0;
    }

    .banner-container {
        padding: 0 1.5rem;
    }

    .banner-logo {
        height: 48px;
        max-width: none;
    }

    .chart-hero {
        height: calc(100vh - 64px);
        min-height: 600px;
        margin-top: 64px;
    }

    .pricing-tiers {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .thin-banner {
        height: 56px;
    }

    .dark-panel {
        border-radius: 12px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .landing-hero {
        min-height: calc(100vh - 56px - 1rem);
        margin-top: 56px;
        padding: 0.5rem 0.5rem 0.3rem 0.5rem;
    }

    .landing-light-layer {
        border-radius: 12px;
        padding: 2rem 1rem 2.5rem;
    }

    .landing-hero-inner {
        margin-top: 0;
    }

    .banner-container {
        padding: 0 1rem;
    }

    .banner-logo {
        height: 42px;
        max-width: none;
    }

    .hamburger-svg {
        width: 40px;
        height: 40px;
    }

    .chart-hero {
        height: calc(100vh - 56px);
        min-height: 500px;
        margin-top: 56px;
    }

    .mobile-menu {
        width: 100%;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .chart-hero {
        height: 100vh;
        min-height: 700px;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 20px;
    background-color: var(--white);
}
.contact-section.dark-panel {
    background-color: transparent;
    margin-top: 72px; /* clear fixed thin-banner */
}
.contact-section.dark-panel .landing-light-layer {
    background-color: var(--bg-light);
}

/* FAQ Page — accordion */
.faq-section.dark-panel {
    background-color: transparent;
    margin-top: 72px;
}
.faq-section.dark-panel .landing-light-layer {
    background-color: var(--bg-light);
}
.faq-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 3vw, 20px) 3rem;
}
.faq-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}
.faq-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.faq-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}
.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}
.faq-item details {
    display: block;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}
.faq-item details[open] summary::after {
    content: "−";
}
.faq-item summary:hover {
    color: var(--primary-color);
}
.faq-answer {
    padding: 0 0 1.25rem 0;
}
.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 1rem;
}

.legal-page-section.dark-panel {
    background-color: transparent;
    margin-top: 72px; /* clear fixed thin-banner */
}
.legal-page-section.dark-panel .landing-light-layer {
    background-color: var(--bg-light);
}

/* Signals Product Section (between data and pricing) */
.signals-product-section.dark-panel {
    background-color: transparent;
    margin-top: 0;
    margin-bottom: var(--section-gap);
    padding: 1rem clamp(1rem, 3vw, 20px) 0; /* same top padding as chart-section so gap looks even */
}
.signals-product-section.dark-panel .landing-light-layer {
    background-color: var(--bg-light);
}
.signals-product-heading {
    font-size: 1.75rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.35rem;
}
.signals-product-subhead {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
}
.signals-product-blurb {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}
.signals-report-excerpt {
    max-width: 520px;
    margin: 0 auto 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.signals-report-excerpt-header {
    background: #334155;
    color: var(--white);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
}
.signals-report-excerpt-toc {
    margin: 0;
    padding: 10px 14px 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.signals-report-excerpt-toc li {
    margin-bottom: 4px;
}
.signals-report-excerpt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    color: var(--text-light);
}
.signals-report-excerpt-table th {
    text-align: left;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.04);
    font-weight: 600;
    color: var(--primary-color);
}
.signals-report-excerpt-table td {
    padding: 6px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Report excerpts: screenshots (entries + exits) — stacked vertically */
.signals-excerpts {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.signals-excerpt-fig {
    display: block;
    margin: 0;
    max-width: 720px;
    width: 100%;
    flex: 0 0 auto;
}
.signals-excerpt-screenshot {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.signals-excerpt-fig figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.signals-sample-link-wrap {
    text-align: center;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}
.signals-sample-link-wrap .signals-sample-line {
    display: block;
    margin-bottom: 0.35rem;
}
.signals-sample-link-wrap .signals-sample-note {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9em;
    color: var(--text-light);
}
.signals-sample-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.signals-sample-link:hover {
    text-decoration: underline;
}
.signals-product-section .signals-how-to-use {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    padding: 0;
}
.signals-product-section .signals-how-to-use h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.signals-product-section .signals-how-to-use p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.signals-product-section .signals-how-to-use ul {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
    list-style: disc;
}
.signals-product-section .signals-how-to-use li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
}
.signals-product-cta {
    text-align: center;
    margin-bottom: var(--section-gap);
}
.signals-product-cta .btn {
    margin-bottom: 0.5rem;
}
.signals-product-cta-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* About the Founder page */
.about-founder-section.dark-panel {
    background-color: transparent;
    margin-top: 72px;
}
.about-founder-section.dark-panel .landing-light-layer {
    background-color: var(--bg-light);
}
.about-founder-title {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}
.founder-photo-wrap {
    text-align: center;
    margin-bottom: 2rem;
}
.founder-photo {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.founder-bio {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
}
.founder-bio p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.founder-bio p:last-child {
    margin-bottom: 0;
}

.contact-section h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-container h2,
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

