/*
 * Editorial pilot styles for the first FCT migration wave.
 * These layer on top of the existing public shell so interior pages can move
 * toward the new design system before the shell cutover is complete.
 */

.ffn-pilot-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 48%), var(--ffn-ed-bg);
}

.ffn-pilot-bloom {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.16;
    mix-blend-mode: multiply;
    animation: ffn-ed-drift 20s infinite alternate ease-in-out;
}

.ffn-pilot-bloom[data-bloom="1"] {
    top: -12%;
    left: 10%;
    width: 58vw;
    height: 58vw;
    background: radial-gradient(circle, rgba(41, 98, 255, 0.7) 0%, transparent 72%);
    animation-delay: -6s;
}

.ffn-pilot-bloom[data-bloom="2"] {
    right: 5%;
    bottom: -24%;
    width: 68vw;
    height: 68vw;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.75) 0%, transparent 72%);
    opacity: 0.11;
}

.ffn-pilot-bloom[data-bloom="3"] {
    top: 42%;
    left: -12%;
    width: 42vw;
    height: 42vw;
    background: radial-gradient(circle, rgba(203, 213, 225, 0.92) 0%, transparent 70%);
    animation-duration: 24s;
}

.ffn-pilot-page {
    position: relative;
    z-index: 1;
    padding: 8.5rem 0 5rem;
}

.ffn-pilot-shell {
    /* Desktop gutter clears the field numerals and lines up with the header. */
    width: min(calc(100vw - 2 * clamp(1rem, 4.5vw, 4rem)), 1520px);
    margin: 0 auto;
}

/* Home keeps the full-bleed hero; the hero board needs the width. */
.ffn-pilot-home .ffn-pilot-shell {
    width: min(calc(100vw - 2rem), 1520px);
}

.ffn-pilot-perimeter {
    position: fixed;
    z-index: 10;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ffn-pilot-perimeter strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ffn-ed-text);
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.ffn-pilot-meta-top-left {
    top: 2rem;
    left: 2rem;
}

.ffn-pilot-meta-top-right {
    top: 2rem;
    right: 2rem;
    text-align: right;
}

.ffn-pilot-meta-left {
    top: 50%;
    left: 2rem;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
}

.ffn-pilot-meta-right {
    top: 50%;
    right: 2rem;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
}

.ffn-pilot-meta-bottom {
    display: none;
}

body[data-ffn-shell="editorial"] .ffn-pilot-page {
    padding-top: 4.75rem;
}

/* `hidden` here would make body's overflow-y compute to `auto`, turning body
   into a nested scroll container that latches touch gestures (page feels
   stuck on mobile). `clip` clips without creating a scrolling box. */
body[data-ffn-shell="editorial"] {
    margin: 0;
    overflow-x: visible;
    overflow-x: clip;
}

html {
    overflow-x: hidden;
}

body[data-ffn-shell="editorial"] .pricing-main {
    padding-top: 4.9rem;
}

body[data-ffn-shell="editorial"] .ffn-pilot-meta-top-left,
body[data-ffn-shell="editorial"] .ffn-pilot-meta-top-right {
    top: 6.25rem;
}

.ffn-pilot-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 1.4rem;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-breadcrumbs a {
    color: var(--ffn-ed-accent);
    text-decoration: none;
}

.ffn-pilot-breadcrumbs a:hover {
    color: var(--ffn-ed-text);
}

.ffn-pilot-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.ffn-pilot-hero-main,
.ffn-pilot-hero-side,
.ffn-pilot-card,
.ffn-pilot-section-panel {
    border-radius: var(--ffn-ed-radius-card);
    border: none;
    background: transparent;
    box-shadow: none;
}

.ffn-pilot-hero-main {
    padding: clamp(1.8rem, 4vw, 3rem);
}

.ffn-pilot-hero-side,
.ffn-pilot-card,
.ffn-pilot-section-panel {
    padding: 1.5rem;
}

.ffn-pilot-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border-radius: var(--ffn-ed-radius-pill);
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text-muted);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.ffn-pilot-eyebrow::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--ffn-ed-accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 255, 0.14);
}

.ffn-pilot-title {
    margin: 0;
    color: var(--ffn-ed-text);
    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.ffn-pilot-title--compact {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.ffn-pilot-title span {
    display: block;
}

.ffn-pilot-title .is-dim {
    color: rgba(7, 16, 31, 0.32);
}

.ffn-pilot-home .ffn-pilot-title .is-dim {
    color: #0b74d1;
    text-shadow: 0 0.08em 0.22em rgba(37, 99, 235, 0.14);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .ffn-pilot-home .ffn-pilot-title .is-dim {
        background: linear-gradient(110deg, #0284c7 0%, #2563eb 42%, #1d4ed8 72%, #4f46e5 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-title .is-dim {
    color: #8bdcff;
    text-shadow: 0 0 0.38em rgba(99, 180, 255, 0.28), 0 0.08em 0.22em rgba(8, 17, 31, 0.42);
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-title .is-dim {
        background: linear-gradient(110deg, #7dd3fc 0%, #60a5fa 38%, #3b82f6 72%, #818cf8 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.ffn-pilot-home .ffn-pilot-hero-main.has-mascot {
    position: relative;
    padding-right: clamp(12rem, 23vw, 17.5rem);
}

.ffn-brand-mascot {
    display: block;
    position: absolute;
    top: 3rem;
    right: clamp(0.5rem, 2vw, 2rem);
    transform: rotate(-6deg);
    width: clamp(10.5rem, 16vw, 15rem);
    aspect-ratio: 4 / 5;
    overflow: visible;
    pointer-events: none;
    z-index: 2;
}

.ffn-brand-mascot > svg:last-child {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    overflow: visible;
}

.ffn-brand-mascot__annotation {
    position: absolute;
    top: -1.2rem;
    left: -5.9rem;
    color: var(--ffn-ed-accent);
    font-family: var(--ffn-ed-font-hand);
    font-size: clamp(1.15rem, 1.8vw, 1.7rem);
    line-height: 1;
    transform: rotate(-15deg);
    white-space: nowrap;
}

.ffn-brand-mascot__arrow {
    position: absolute;
    top: -0.05rem;
    left: -1.8rem;
    width: 3.8rem;
    height: 3.8rem;
    stroke: var(--ffn-ed-accent);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

.ffn-brand-mascot__line {
    fill: none;
    stroke: var(--ffn-ed-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(0, 87, 255, 0.2));
}

.ffn-brand-mascot__line--thin {
    stroke-width: 1.35;
}

.ffn-brand-mascot__line--faint {
    --ffn-mascot-draw-opacity: 0.5;
    stroke-width: 1;
}

.ffn-brand-mascot__fill {
    fill: rgba(0, 87, 255, 0.08);
    opacity: 0;
    stroke: none;
}

.ffn-brand-mascot__shadow {
    fill: rgba(0, 87, 255, 0.1);
    opacity: 0;
    stroke: none;
}

.ffn-brand-mascot__speech-fill {
    fill: var(--ffn-ed-bg);
    filter: drop-shadow(0 5px 10px rgba(7, 16, 31, 0.12));
    stroke: none;
}

.ffn-brand-mascot__speech-line {
    fill: none;
    stroke: var(--ffn-ed-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(0, 87, 255, 0.18));
}

.ffn-brand-mascot__speech-text {
    fill: var(--ffn-ed-text);
    font-family: var(--ffn-ed-font-hand);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    paint-order: stroke;
    stroke: var(--ffn-ed-bg);
    stroke-width: 0.5px;
}

.ffn-brand-mascot__speech-text[data-speech-size="19"] { font-size: 19px; }
.ffn-brand-mascot__speech-text[data-speech-size="18"] { font-size: 18px; }
.ffn-brand-mascot__speech-text[data-speech-size="17"] { font-size: 17px; }
.ffn-brand-mascot__speech-text[data-speech-size="16"] { font-size: 16px; }
.ffn-brand-mascot__speech-text[data-speech-size="15"] { font-size: 15px; }
.ffn-brand-mascot__speech-text[data-speech-size="14"] { font-size: 14px; }
.ffn-brand-mascot__speech-text[data-speech-size="13"] { font-size: 13px; }

html[data-theme="dark"] .ffn-brand-mascot__speech-text {
    fill: rgba(234, 243, 255, 0.96);
    stroke: var(--ffn-ed-bg);
}

.ffn-brand-mascot__glint {
    --ffn-mascot-glint-stroke: rgba(255, 255, 255, 0.96);
    --ffn-mascot-glint-peak-opacity: 0.95;
    --ffn-mascot-glint-tail-opacity: 0.35;
    --ffn-mascot-glint-shadow: drop-shadow(0 0 3px rgba(0, 87, 255, 0.34));

    opacity: 0;
    stroke: var(--ffn-mascot-glint-stroke);
    stroke-width: 1.4;
    stroke-linecap: round;
    filter: var(--ffn-mascot-glint-shadow);
    transform-box: fill-box;
    will-change: opacity, translate;
}

html[data-theme="dark"] .ffn-brand-mascot__glint {
    --ffn-mascot-glint-stroke: rgba(184, 225, 255, 0.82);
    --ffn-mascot-glint-peak-opacity: 0.72;
    --ffn-mascot-glint-tail-opacity: 0.2;
    --ffn-mascot-glint-shadow: drop-shadow(0 0 2px rgba(99, 180, 255, 0.22));
}

.ffn-brand-mascot__football-trails path {
    fill: none;
    opacity: 0;
    stroke: rgba(0, 87, 255, 0.36);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    filter: drop-shadow(0 1px 3px rgba(0, 87, 255, 0.16));
    transform-box: fill-box;
    will-change: opacity, stroke-dashoffset, translate;
}

.ffn-brand-mascot__clipboard-check {
    fill: none;
    opacity: 0;
    stroke: #0f9f6e;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 28;
    stroke-dashoffset: 28;
    filter: drop-shadow(0 1px 3px rgba(15, 159, 110, 0.2));
    transform-box: fill-box;
    transform-origin: center;
    will-change: opacity, stroke-dashoffset, scale;
}

.ffn-brand-mascot [data-draw] {
    --ffn-mascot-draw-delay: 0ms;
    --ffn-mascot-draw-duration: 1050ms;
    opacity: 0;
    stroke-dasharray: var(--ffn-mascot-path-length, 1);
    stroke-dashoffset: var(--ffn-mascot-path-length, 1);
    transition:
        stroke-dashoffset var(--ffn-mascot-draw-duration) ease-out var(--ffn-mascot-draw-delay),
        opacity 120ms ease-out var(--ffn-mascot-draw-delay);
}

.ffn-brand-mascot.is-primed [data-draw] {
    opacity: var(--ffn-mascot-draw-opacity, 1);
}

.ffn-brand-mascot.is-visible [data-draw] {
    stroke-dashoffset: 0;
}

.ffn-brand-mascot__arrow [data-draw] {
    --ffn-mascot-draw-duration: 600ms;
}

.ffn-brand-mascot [data-delay="0"] { --ffn-mascot-draw-delay: 0ms; }
.ffn-brand-mascot [data-delay="300"] { --ffn-mascot-draw-delay: 300ms; }
.ffn-brand-mascot [data-delay="500"] { --ffn-mascot-draw-delay: 500ms; }
.ffn-brand-mascot [data-delay="560"] { --ffn-mascot-draw-delay: 560ms; }
.ffn-brand-mascot [data-delay="620"] { --ffn-mascot-draw-delay: 620ms; }
.ffn-brand-mascot [data-delay="650"] { --ffn-mascot-draw-delay: 650ms; }
.ffn-brand-mascot [data-delay="700"] { --ffn-mascot-draw-delay: 700ms; }
.ffn-brand-mascot [data-delay="710"] { --ffn-mascot-draw-delay: 710ms; }
.ffn-brand-mascot [data-delay="720"] { --ffn-mascot-draw-delay: 720ms; }
.ffn-brand-mascot [data-delay="760"] { --ffn-mascot-draw-delay: 760ms; }
.ffn-brand-mascot [data-delay="800"] { --ffn-mascot-draw-delay: 800ms; }
.ffn-brand-mascot [data-delay="840"] { --ffn-mascot-draw-delay: 840ms; }
.ffn-brand-mascot [data-delay="900"] { --ffn-mascot-draw-delay: 900ms; }
.ffn-brand-mascot [data-delay="1400"] { --ffn-mascot-draw-delay: 1400ms; }
.ffn-brand-mascot [data-delay="1510"] { --ffn-mascot-draw-delay: 1510ms; }

.ffn-brand-mascot [data-fade] {
    opacity: 0;
}

.ffn-brand-mascot.is-visible [data-fade] {
    animation: ffnMascotFade 360ms ease-out both;
    animation-delay: var(--ffn-mascot-fade-delay, 0ms);
}

.ffn-brand-mascot [data-fade-delay="980"] { --ffn-mascot-fade-delay: 980ms; }
.ffn-brand-mascot [data-fade-delay="1180"] { --ffn-mascot-fade-delay: 1180ms; }
.ffn-brand-mascot [data-fade-delay="1350"] { --ffn-mascot-fade-delay: 1350ms; }
.ffn-brand-mascot [data-fade-delay="1480"] { --ffn-mascot-fade-delay: 1480ms; }

.ffn-brand-mascot.is-visible .ffn-brand-mascot__glint {
    animation: ffnMascotGlassesGlint 8.5s ease-in-out 2400ms infinite;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__football-trails path {
    animation: ffnMascotFootballTrail 5.8s ease-in-out 2500ms infinite;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__football-trails path:nth-child(2) {
    animation-delay: 2620ms;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__football-trails path:nth-child(3) {
    animation-delay: 2740ms;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__clipboard-check {
    animation: ffnMascotClipboardCheck 8s ease-in-out 2300ms infinite;
}

.ffn-brand-mascot__figure-breath,
.ffn-brand-mascot__football-motion,
.ffn-brand-mascot__clipboard {
    transform-box: fill-box;
    will-change: transform;
}

.ffn-brand-mascot__figure-breath {
    transform-origin: center bottom;
}

.ffn-brand-mascot__football-motion {
    transform-origin: center;
}

.ffn-brand-mascot__clipboard {
    transform-origin: top center;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__figure-breath {
    animation: ffnMascotBreathe 4s ease-in-out 1800ms infinite;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__football-motion {
    animation:
        ffnMascotFootballWobble 6s ease-in-out 1800ms infinite,
        ffnMascotFootballBob 3s ease-in-out 1800ms infinite;
}

.ffn-brand-mascot.is-visible .ffn-brand-mascot__clipboard {
    animation: ffnMascotClipboardGlance 7s ease-in-out 1800ms infinite;
}

@keyframes ffnMascotFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ffnMascotGlassesGlint {
    0%, 5.51%, 100% {
        opacity: 0;
        translate: -12px 0;
    }

    2% {
        opacity: var(--ffn-mascot-glint-peak-opacity, 0.95);
    }

    5% {
        opacity: var(--ffn-mascot-glint-tail-opacity, 0.35);
        translate: 54px 0;
    }

    5.5% {
        opacity: 0;
        translate: 58px 0;
    }
}

@keyframes ffnMascotFootballTrail {
    0%, 7%, 64%, 100% {
        opacity: 0;
        stroke-dashoffset: 20;
        translate: -3px 0;
    }

    14% {
        opacity: 0.62;
    }

    30% {
        opacity: 0.28;
        stroke-dashoffset: 0;
        translate: 2px 0;
    }

    42% {
        opacity: 0;
        stroke-dashoffset: -8;
        translate: 5px 0;
    }
}

@keyframes ffnMascotClipboardCheck {
    0%, 8%, 66%, 100% {
        opacity: 0;
        scale: 0.92;
        stroke-dashoffset: 28;
    }

    15% {
        opacity: 1;
        scale: 1.06;
        stroke-dashoffset: 0;
    }

    21%, 45% {
        opacity: 0.9;
        scale: 1;
        stroke-dashoffset: 0;
    }

    56% {
        opacity: 0;
        scale: 0.98;
        stroke-dashoffset: 0;
    }
}

@keyframes ffnMascotBreathe {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -2.5px; }
}

@keyframes ffnMascotFootballWobble {
    0%, 100% { rotate: -6deg; }
    50% { rotate: 6deg; }
}

@keyframes ffnMascotFootballBob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 3px; }
}

@keyframes ffnMascotClipboardGlance {
    0%, 80%, 100% { rotate: 0deg; }
    88% { rotate: -5deg; }
    94% { rotate: 2deg; }
}

.ffn-pilot-lead {
    max-width: 54rem;
    margin: 1.5rem 0 0;
    color: var(--ffn-ed-text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.ffn-pilot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

@media (min-width: 900px) {
    .ffn-pilot-home .ffn-pilot-actions {
        display: grid;
        grid-template-columns: repeat(4, auto);
        align-items: center;
        justify-content: start;
        gap: 0.55rem;
    }

    .ffn-pilot-home .ffn-pilot-actions .ffn-pilot-button {
        min-width: 0;
        padding-inline: 0.72rem;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
}

.ffn-pilot-hero.ffn-pilot-hero--minimal {
    gap: 0;
    margin-bottom: 0;
}

.ffn-pilot-hero.ffn-pilot-hero--minimal .ffn-pilot-hero-main {
    padding: clamp(1.35rem, 3vw, 2.2rem);
}

.ffn-pilot-hero.ffn-pilot-hero--minimal .ffn-pilot-title,
.ffn-pilot-hero.ffn-pilot-hero--minimal .ffn-data-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.98;
}

.ffn-pilot-hero.ffn-pilot-hero--minimal .ffn-pilot-lead {
    max-width: 46rem;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
}

.ffn-pilot-hero.ffn-pilot-hero--minimal .ffn-pilot-actions {
    margin-top: 1.25rem;
}

.ffn-pilot-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.15rem;
}

.ffn-pilot-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.25rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(7, 16, 31, 0.08);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text-muted);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.ffn-pilot-meta-chip strong {
    color: var(--ffn-ed-text);
    font-weight: 800;
}

.ffn-pilot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: var(--ffn-action-height, 2.9rem);
    padding: 0 var(--ffn-action-padding-x, 1rem);
    appearance: none;
    border-radius: var(--ffn-ed-radius-pill);
    border: 1px solid var(--ffn-ed-border);
    background: #ffffff;
    color: var(--ffn-ed-text-muted);
    cursor: pointer;
    font-family: var(--ffn-ed-font-sans, var(--font-body));
    font-size: var(--ffn-action-font-size, 0.78rem);
    font-weight: var(--ffn-action-font-weight, 700);
    letter-spacing: var(--ffn-action-letter-spacing, 0.08em);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ffn-pilot-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.22);
    background: #f8fafc;
    color: var(--ffn-ed-text);
}

.ffn-pilot-button.is-primary {
    border-color: transparent;
    background: var(--ffn-ed-accent);
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 87, 255, 0.22);
}

.ffn-pilot-button.is-primary:hover {
    background: #0047d5;
}

.ffn-hero-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.ffn-hero-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 100%;
    min-height: var(--ffn-action-height, 2.9rem);
    padding: 0 var(--ffn-action-padding-x, 1rem);
    border-radius: var(--ffn-ed-radius-pill, 999px);
    border: 1px solid var(--ffn-ed-border, rgba(7, 16, 31, 0.08));
    background: #ffffff;
    color: var(--ffn-ed-text-muted, #42516c);
    font-family: var(--ffn-ed-font-sans, var(--font-body));
    font-size: var(--ffn-action-font-size, 0.78rem);
    font-weight: var(--ffn-action-font-weight, 700);
    letter-spacing: var(--ffn-action-letter-spacing, 0.08em);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ffn-hero-nav-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.22);
    background: #f8fafc;
    color: var(--ffn-ed-text, #07101f);
    box-shadow: none;
}

.ffn-hero-nav-btn--primary {
    border-color: transparent;
    background: var(--ffn-ed-accent, #0057ff);
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 87, 255, 0.22);
}

.ffn-hero-nav-btn--primary:hover {
    border-color: transparent;
    background: #0047d5;
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 87, 255, 0.22);
}

.ffn-hero-nav-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.ffn-hero-nav-btn .ext-icon {
    width: 12px;
    height: 12px;
    opacity: 0.55;
}

.ffn-pilot-note {
    margin-top: 1rem;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Demo callout arrow */
.ffn-demo-callout {
    position: absolute;
    bottom: clamp(3.5rem, 6vw, 6rem);
    right: clamp(-1rem, 0vw, 0rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    z-index: 3;
}

.ffn-demo-callout__label {
    color: var(--ffn-ed-accent);
    font-family: var(--ffn-ed-font-hand);
    font-size: clamp(1.15rem, 1.8vw, 1.7rem);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.ffn-demo-callout__arrow {
    stroke: var(--ffn-ed-accent);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.ffn-demo-callout__arrow--up {
    width: clamp(3.5rem, 5vw, 5rem);
    height: auto;
}

.ffn-demo-callout__arrow--down {
    display: none;
}

[data-demo-visibility="show"] {
    display: inline-flex;
}

.ffn-pilot-home .ffn-pilot-hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(18.75rem, 0.72fr);
    gap: clamp(1.1rem, 2.3vw, 2rem);
    align-items: stretch;
    margin-bottom: clamp(2.75rem, 4vw, 3.5rem);
}

.ffn-pilot-home .ffn-pilot-hero.ffn-home-demo-is-hidden {
    grid-template-columns: minmax(0, 1fr);
}

.ffn-pilot-home .ffn-pilot-hero.ffn-home-demo-is-hidden .ffn-demo-callout {
    display: none;
}

.ffn-pilot-home .ffn-pilot-hero.ffn-home-demo-is-hidden [data-demo-visibility="show"] {
    display: inline-flex;
}

.ffn-pilot-home .ffn-pilot-hero-main.has-mascot {
    padding-right: clamp(8.75rem, 14vw, 11.5rem);
}

.ffn-pilot-home .ffn-home-demo-side {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ffn-pilot-home .ffn-home-demo-side[hidden] {
    display: none;
}

.ffn-home-demo-shell {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 1.4rem;
    border: 1px solid rgba(11, 30, 58, 0.1);
    background:
        radial-gradient(ellipse at top right, rgba(0, 87, 255, 0.07), transparent 40%),
        radial-gradient(ellipse at bottom left, rgba(165, 180, 252, 0.05), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 250, 252, 0.98));
    box-shadow:
        0 20px 50px rgba(11, 30, 58, 0.1),
        0 6px 16px rgba(11, 30, 58, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    overflow: hidden;
}

.ffn-home-demo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.82rem 0.95rem 0.7rem;
    border-bottom: 1px solid rgba(11, 30, 58, 0.08);
    background: var(--ffn-ed-surface);
    flex-shrink: 0;
}

.ffn-home-demo-dismiss {
    appearance: none;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface-strong);
    color: var(--ffn-ed-text-soft);
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
    font: inherit;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1;
    min-height: 2rem;
    padding: 0 0.78rem;
    text-transform: uppercase;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ffn-home-demo-dismiss:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 87, 255, 0.18);
    background: rgba(0, 87, 255, 0.06);
    color: var(--ffn-ed-text);
}

.ffn-home-demo-dismiss:focus-visible {
    outline: 2px solid var(--ffn-demo-accent);
    outline-offset: 2px;
}

.ffn-home-demo-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.ffn-home-demo-dot {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0.26rem rgba(34, 197, 94, 0.15);
    flex-shrink: 0;
    animation: ffnDemoDotPulse 2.4s infinite ease-in-out;
}

@keyframes ffnDemoDotPulse {
    0%, 100% { box-shadow: 0 0 0 0.26rem rgba(34, 197, 94, 0.15); }
    50% { box-shadow: 0 0 0 0.4rem rgba(34, 197, 94, 0.08); }
}

.ffn-home-demo-title-meta {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.ffn-home-demo-eyebrow {
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ffn-home-demo-progress {
    color: rgba(11, 30, 58, 0.7);
    font-size: 0.8rem;
    font-weight: 700;
}

.ffn-home-demo-tabs {
    display: flex;
    gap: 0.45rem;
    padding: 0.72rem 0.95rem 0.8rem;
    overflow-x: auto;
    border-bottom: 1px solid rgba(11, 30, 58, 0.08);
    background: var(--ffn-ed-surface);
    scrollbar-width: none;
    flex-shrink: 0;
}

.ffn-home-demo-tabs::-webkit-scrollbar {
    height: 0;
}

.ffn-home-demo-tab {
    appearance: none;
    border: 1px solid rgba(123, 146, 182, 0.24);
    background: var(--ffn-ed-surface);
    color: rgba(11, 30, 58, 0.68);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0 0.55rem;
    font: inherit;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.ffn-home-demo-tab:hover {
    border-color: rgba(0, 87, 255, 0.26);
    color: var(--ffn-ed-text);
}

.ffn-home-demo-tab:focus-visible,
.ffn-home-demo-cta:focus-visible,
.ffn-home-demo-control:focus-visible,
.ffn-home-demo-log:focus-visible {
    outline: 2px solid var(--ffn-demo-accent);
    outline-offset: 2px;
}

.ffn-home-demo-tab.is-active {
    border-color: var(--ffn-demo-accent);
    background: rgba(0, 87, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 87, 255, 0.14);
    color: var(--ffn-demo-accent);
}

.ffn-home-demo-log {
    flex: 1 1 auto;
    min-height: 12rem;
    max-height: 22.5rem;
    overflow-y: auto;
    padding: 0.82rem 0.85rem 0.65rem;
    background:
        radial-gradient(circle at top left, rgba(0, 87, 255, 0.02), transparent 26%),
        linear-gradient(180deg, rgba(250, 251, 253, 0.96), rgba(255, 255, 255, 0.99));
    overscroll-behavior: contain;
    overflow-anchor: none;
    scrollbar-gutter: stable both-edges;
}

.ffn-home-demo-stack {
    display: grid;
    gap: 0.68rem;
}

.ffn-home-demo-row {
    display: flex;
    width: 100%;
}

.ffn-home-demo-row.is-user {
    justify-content: flex-end;
}

.ffn-home-demo-row.is-ai {
    justify-content: flex-start;
}

.ffn-home-demo-bubble {
    max-width: min(87%, 22rem);
    min-width: 0;
    padding: 0.76rem 0.85rem;
    border-radius: 1rem;
    line-height: 1.48;
    word-break: break-word;
    font-size: 0.9rem;
}

.ffn-home-demo-row.is-user .ffn-home-demo-bubble {
    background: linear-gradient(135deg, var(--ffn-demo-accent) 0%, #0047d5 100%);
    box-shadow: 0 8px 18px rgba(0, 87, 255, 0.14);
    color: #ffffff;
}

.ffn-home-demo-row.is-ai .ffn-home-demo-bubble {
    border: 1px solid rgba(11, 30, 58, 0.08);
    background: var(--ffn-ed-surface);
    box-shadow:
        0 5px 14px rgba(11, 30, 58, 0.045),
        0 1px 4px rgba(11, 30, 58, 0.02);
}

.ffn-home-demo-label {
    display: inline-flex;
    margin-bottom: 0.36rem;
    color: inherit;
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.82;
    text-transform: uppercase;
}

.ffn-home-demo-card {
    display: grid;
    gap: 0.55rem;
}

.ffn-home-demo-card-title {
    color: var(--ffn-ed-text);
    font-size: 0.86rem;
    font-weight: 800;
}

.ffn-home-demo-card-subtitle {
    color: rgba(11, 30, 58, 0.66);
    font-size: 0.76rem;
    line-height: 1.45;
}

.ffn-home-demo-metric-list {
    display: grid;
    gap: 0.45rem;
}

.ffn-home-demo-metric-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.58rem 0.66rem;
    border-radius: 0.88rem;
    background: var(--ffn-ed-surface);
}

.ffn-home-demo-metric-name,
.ffn-home-demo-panel-value {
    color: var(--ffn-ed-text);
    font-weight: 800;
}

.ffn-home-demo-metric-meta,
.ffn-home-demo-panel-meta {
    color: rgba(11, 30, 58, 0.6);
    font-size: 0.69rem;
    line-height: 1.38;
}

.ffn-home-demo-metric-value {
    color: var(--ffn-demo-accent);
    font-family: var(--ffn-ed-font-mono);
    font-weight: 800;
    font-size: 0.75rem;
}

.ffn-home-demo-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.ffn-home-demo-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.72rem;
    padding: 0 0.62rem;
    border-radius: 999px;
    background: rgba(0, 87, 255, 0.07);
    color: var(--ffn-demo-accent);
    font-size: 0.68rem;
    font-weight: 800;
}

.ffn-home-demo-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.ffn-home-demo-panel {
    display: grid;
    gap: 0.24rem;
    padding: 0.66rem;
    border-radius: 0.88rem;
    background: var(--ffn-ed-surface);
}

.ffn-home-demo-panel-label {
    color: rgba(11, 30, 58, 0.62);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.ffn-home-demo-bullets {
    margin: 0;
    padding-left: 1rem;
    color: rgba(11, 30, 58, 0.76);
    display: grid;
    gap: 0.35rem;
    font-size: 0.76rem;
    line-height: 1.45;
}

.ffn-home-demo-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.56rem;
    color: rgba(11, 30, 58, 0.62);
    font-size: 0.76rem;
    font-weight: 700;
}

.ffn-home-demo-typing-dots {
    display: inline-flex;
    gap: 0.35rem;
}

.ffn-home-demo-typing-dots span {
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 999px;
    background: var(--ffn-demo-accent);
    opacity: 0.2;
    animation: ffnDemoPulse 1s infinite ease-in-out;
}

.ffn-home-demo-typing-dots span:nth-child(2) {
    animation-delay: 0.12s;
}

.ffn-home-demo-typing-dots span:nth-child(3) {
    animation-delay: 0.24s;
}

.ffn-home-demo-cursor {
    display: inline-block;
    width: 0.6ch;
    margin-left: 0.08rem;
    animation: ffnDemoBlink 1s step-end infinite;
}

.ffn-home-demo-bottombar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.72rem;
    flex-wrap: wrap;
    padding: 0.82rem 0.95rem 0.9rem;
    border-top: 1px solid rgba(11, 30, 58, 0.08);
    background: var(--ffn-ed-surface);
    flex-shrink: 0;
}

.ffn-home-demo-cta,
.ffn-home-demo-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 30, 58, 0.08);
    cursor: pointer;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ffn-home-demo-cta {
    padding: 0 1rem;
    background: var(--ffn-demo-accent);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 87, 255, 0.2);
}

.ffn-home-demo-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.48rem;
    flex: 1 1 14rem;
    flex-wrap: wrap;
}

.ffn-home-demo-control {
    padding: 0 0.78rem;
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text);
}

.ffn-home-demo-control.is-primary {
    border-color: rgba(0, 87, 255, 0.2);
    background: rgba(0, 87, 255, 0.08);
    color: var(--ffn-demo-accent);
}

.ffn-home-demo-control:disabled {
    cursor: default;
    opacity: 0.48;
}

.ffn-home-demo-cta:hover {
    background: #0047d5;
    border-color: transparent;
}

.ffn-home-demo-control:hover:not(:disabled) {
    border-color: rgba(0, 87, 255, 0.18);
}

.ffn-home-demo-note-panel {
    display: grid;
    gap: 0.28rem;
    padding: 0.78rem 0.84rem;
    border-radius: 0.96rem;
    border: 1px dashed rgba(0, 87, 255, 0.26);
    background: var(--ffn-ed-surface);
}

.ffn-home-demo-note-title {
    color: var(--ffn-demo-accent);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.ffn-home-demo-note-copy {
    color: rgba(11, 30, 58, 0.74);
    font-size: 0.76rem;
    line-height: 1.45;
}

@keyframes ffnDemoPulse {
    0%, 80%, 100% {
        opacity: 0.24;
    }
    40% {
        opacity: 0.52;
    }
}

@keyframes ffnDemoBlink {
    0%, 48% {
        opacity: 1;
    }
    49%, 100% {
        opacity: 0;
    }
}

.ffn-pilot-mini-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.ffn-pilot-mini-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}

.ffn-pilot-mini-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(0, 87, 255, 0.1);
    color: var(--ffn-ed-accent);
    font-family: var(--ffn-ed-font-mono);
    font-weight: 800;
}

.ffn-pilot-mini-row strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--ffn-ed-text);
}

.ffn-pilot-mini-row span {
    color: var(--ffn-ed-text-muted);
    line-height: 1.6;
}

.ffn-pilot-section {
    margin-top: 2rem;
}

.ffn-pilot-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--ffn-ed-border);
    color: var(--ffn-ed-text-muted);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ffn-pilot-home .ffn-pilot-section-head span:first-child {
    flex: 0 0 15rem;
}

.ffn-pilot-home .ffn-pilot-section-head span:last-child {
    text-align: right;
}

.ffn-pilot-home .ffn-pilot-shell > .ffn-pilot-section > .ffn-pilot-section-head {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

/* Legacy article-cluster (replaced by ffn-article-grid) */
.ffn-pilot-home .article-cluster {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* New article card system */
.ffn-article-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ffn-article-card {
    padding: 0;
}

.ffn-article-link {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ffn-article-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ffn-ed-surface-muted);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ffn-article-thumb-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

/* Native lazy loading does not set the legacy JavaScript .loaded class. */
.ffn-pilot-home .ffn-article-thumb-image {
    opacity: 1;
}

.ffn-article-card:hover .ffn-article-thumb {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 87, 255, 0.1);
}

.ffn-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    align-items: center;
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.7rem;
    color: var(--ffn-ed-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ffn-article-tag {
    color: var(--ffn-ed-accent);
    border: 1px solid var(--ffn-ed-accent);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    font-size: 0.6rem;
    font-weight: 700;
}

.ffn-article-divider {
    border: none;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        rgba(7, 16, 31, 0.1),
        rgba(7, 16, 31, 0.1) 4px,
        transparent 4px,
        transparent 8px
    );
    margin: 2.5rem 0;
}

.ffn-pilot-home .article-box {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 19rem;
    border-radius: 1.8rem;
    border: 1px solid var(--ffn-ed-border-strong);
    box-shadow: var(--ffn-ed-shadow-card);
    isolation: isolate;
}

.ffn-pilot-home .article-box.featured {
    min-height: 34rem;
}

.ffn-pilot-home .article-box.secondary {
    min-height: 16.3rem;
}

.ffn-pilot-home .article-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.35s ease;
}

.ffn-pilot-home .article-box:hover img {
    transform: scale(1.05);
}

.ffn-pilot-home .article-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 1.4rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 16, 31, 0.82) 70%, rgba(7, 16, 31, 0.92) 100%);
    color: #ffffff;
}

.ffn-pilot-home .article-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-home .article-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.3rem, 2.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.ffn-pilot-home .article-excerpt {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.97rem;
    line-height: 1.6;
}

.ffn-pilot-home .article-date {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.74);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ffn-pilot-home .home-about-box {
    margin: 0;
}

.ffn-pilot-home .info-heading {
    margin: 0 0 1rem;
    color: var(--ffn-ed-text);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ffn-pilot-home .info-link {
    color: var(--ffn-ed-accent);
    text-decoration: none;
}

.ffn-pilot-home .info-link:hover {
    color: var(--ffn-ed-text);
}

.ffn-pilot-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ffn-pilot-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ffn-pilot-social-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.22);
    background: var(--ffn-ed-surface-strong);
}

.ffn-pilot-social-pill span:first-child {
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-details {
    margin-top: 1.2rem;
    border-top: 1px solid var(--ffn-ed-border);
    padding-top: 1.2rem;
}

.ffn-pilot-details summary {
    cursor: pointer;
    color: var(--ffn-ed-text);
    font-weight: 700;
    list-style: none;
}

.ffn-pilot-details summary::-webkit-details-marker {
    display: none;
}

.ffn-pilot-details ul {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--ffn-ed-text-muted);
}

.ffn-pilot-home .homepage-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.ffn-pilot-home .homepage-tool-link {
    display: block;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ffn-pilot-home .homepage-tool-link:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.24);
    background: var(--ffn-ed-surface-strong);
}

.ffn-pilot-home .ffn-data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.ffn-pilot-home .rankings-section,
.ffn-pilot-home .more-articles-panel {
    border-radius: var(--ffn-ed-radius-card);
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ffn-pilot-home .rankings-title,
.ffn-pilot-home .more-articles-header h2 {
    margin: 0;
    color: var(--ffn-ed-text);
    font-size: 1.38rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.ffn-pilot-home .rankings-title a {
    color: inherit;
    text-decoration: none;
}

.ffn-pilot-home .ppr-toggle,
.ffn-pilot-home .position-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    max-width: none;
}

.ffn-pilot-home .ffn-toggle {
    min-height: 2.6rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--btn-transition);
}

.ffn-pilot-home .ffn-toggle:hover,
.ffn-pilot-home .ffn-toggle.active {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.24);
    background: var(--ffn-ed-accent);
    color: #ffffff;
}

.ffn-pilot-home .player-name {
    color: var(--ffn-ed-text);
    font-weight: 700;
}

.ffn-pilot-home .see-full-list {
    display: flex;
    justify-content: center;
    color: var(--ffn-ed-accent);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-home .bottom-articles {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.ffn-pilot-home .bottom-article {
    display: block;
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(7, 16, 31, 0.06);
    background: var(--ffn-ed-surface);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ffn-pilot-home .bottom-article:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.22);
    background: var(--ffn-ed-surface-strong);
}

.ffn-pilot-home .bottom-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ffn-pilot-home .bottom-article-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(14, 34, 64, 0.08);
    color: #0e2240;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ffn-pilot-home .bottom-article-date {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.ffn-pilot-home .bottom-article h3 {
    margin: 0 0 0.6rem;
    color: var(--ffn-ed-text);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ffn-pilot-home .bottom-article p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.65;
}

.ffn-pilot-home .archive-actions {
    margin-top: 1.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

/* Article grid side padding + max-width for less stretch */
.ffn-pilot-home .ffn-article-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.ffn-pilot-home .ffn-article-card,
.ffn-pilot-home .ffn-article-divider {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════
   HOMEPAGE ABOUT SECTION
   ═══════════════════════════════════════ */

.ffn-home-about-stack {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.ffn-home-about-disclosure {
    margin: 0;
}

.ffn-home-about-disclosure > summary {
    cursor: pointer;
    list-style: none;
    margin-bottom: 0;
}

.ffn-home-about-disclosure > summary::-webkit-details-marker {
    display: none;
}

.ffn-home-about-disclosure > summary > span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.ffn-home-about-disclosure > summary > span:last-child::after {
    content: "+";
    display: inline-grid;
    flex: 0 0 1.75rem;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--ffn-ed-border);
    border-radius: 999px;
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-accent);
    font-size: 1.1rem;
    line-height: 1;
}

.ffn-home-about-disclosure[open] > summary {
    margin-bottom: 1.2rem;
}

.ffn-home-about-disclosure[open] > summary > span:last-child::after {
    content: "\2212";
}

.ffn-home-about-disclosure > summary:hover,
.ffn-home-about-disclosure > summary:focus-visible {
    color: var(--ffn-ed-text);
}

.ffn-home-about-disclosure > summary:focus-visible {
    outline: 3px solid var(--ffn-ed-accent-soft);
    outline-offset: 4px;
}

.ffn-home-about-title {
    margin: 0 0 1.2rem;
    color: var(--ffn-ed-text);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.ffn-home-about-body {
    margin: 0 0 0.9rem;
    color: var(--ffn-ed-text-muted);
    font-size: var(--font-size-base);
    line-height: 1.75;
}

.ffn-home-about-body:last-of-type {
    margin-bottom: 0;
}

.ffn-home-about-social {
    margin-top: 1.5rem;
}

.ffn-home-tools-section .ffn-pilot-section-head {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.ffn-home-tools-section .ffn-pilot-section-head {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ═══════════════════════════════════════
   FOOTER REDESIGN
   ═══════════════════════════════════════ */

.ffn-ed-footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1.5fr 0.7fr;
    gap: 2rem;
    padding: 2rem;
    border-radius: var(--ffn-ed-radius-card);
    border: 1px solid var(--ffn-ed-border-strong);
    background: var(--brand-surface-white);
    box-shadow: var(--ffn-ed-shadow-soft);
}

.ffn-ed-footer-copy {
    max-width: 38ch;
    color: var(--ffn-ed-text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.ffn-ed-footer-legal {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--ffn-ed-border);
    text-align: center;
    color: var(--ffn-ed-text-soft);
    font-size: var(--font-size-xs);
}

/* ═══════════════════════════════════════
   RESPONSIVE: ABOUT + TOOLS
   ═══════════════════════════════════════ */

@media (max-width: 860px) {
    .ffn-ed-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .ffn-home-about-title {
        font-size: 1.5rem;
    }

    .ffn-ed-footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1rem 0.8rem;
        padding: 1rem;
        border-radius: 1.15rem;
    }

    .ffn-ed-footer {
        padding: 1.15rem 0.75rem 1.35rem;
    }

    .ffn-ed-footer-inner > section:first-child {
        grid-column: 1 / -1;
        padding-bottom: 0.9rem;
        border-bottom: 1px solid var(--ffn-ed-border);
    }

    .ffn-ed-footer-inner > section:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .ffn-ed-footer-inner > section:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .ffn-ed-footer-heading {
        margin-bottom: 0.45rem;
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }

    .ffn-ed-footer-copy {
        max-width: none;
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .ffn-ed-footer-list {
        gap: 0.12rem;
    }

    .ffn-ed-footer-inner > section:nth-child(3) .ffn-ed-footer-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0.75rem;
    }

    .ffn-ed-footer .ffn-ed-footer-list a {
        min-height: 2.3rem;
        font-size: 0.82rem;
        line-height: 1.15;
    }

    .ffn-ed-footer-legal {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        font-size: 0.68rem;
        line-height: 1.35;
    }
}

.ffn-pilot-about .ffn-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 1.5rem;
}

.ffn-pilot-about .ffn-about-copy {
    color: var(--ffn-ed-text-muted);
    font-size: 1.04rem;
    line-height: 1.85;
}

.ffn-pilot-about .ffn-about-copy p + p {
    margin-top: 1rem;
}

.ffn-pilot-about .ffn-about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.ffn-pilot-about .ffn-about-stat {
    padding: 1rem;
    border-radius: 1.1rem;
    background: var(--ffn-ed-surface);
    border: 1px solid var(--ffn-ed-border);
}

.ffn-pilot-about .ffn-about-stat strong {
    display: block;
    color: var(--ffn-ed-text);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.ffn-pilot-about .ffn-about-stat span {
    display: block;
    margin-top: 0.3rem;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-about .ffn-about-social-grid,
.ffn-pilot-about .ffn-about-pillars,
.ffn-pilot-about .ffn-about-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ffn-pilot-about .ffn-about-social-card,
.ffn-pilot-about .ffn-about-pillar,
.ffn-pilot-about .ffn-about-content-card {
    display: block;
    padding: 1.25rem;
    border-radius: 1.2rem;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ffn-pilot-about .ffn-about-social-card:hover,
.ffn-pilot-about .ffn-about-pillar:hover,
.ffn-pilot-about .ffn-about-content-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.22);
    background: var(--ffn-ed-surface-strong);
}

.ffn-pilot-about .ffn-about-social-card span:first-child,
.ffn-pilot-about .ffn-about-pillar span:first-child,
.ffn-pilot-about .ffn-about-content-card span:first-child {
    display: block;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-about .ffn-about-social-card strong,
.ffn-pilot-about .ffn-about-pillar strong,
.ffn-pilot-about .ffn-about-content-card strong {
    display: block;
    margin: 0.65rem 0 0.45rem;
    color: var(--ffn-ed-text);
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ffn-pilot-about .ffn-about-social-card p,
.ffn-pilot-about .ffn-about-pillar p,
.ffn-pilot-about .ffn-about-content-card p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.65;
}

.ffn-pilot-about .ffn-about-quote {
    padding: 1.4rem 1.5rem;
    border-radius: 1.4rem;
    border-left: 4px solid var(--ffn-ed-accent);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text-muted);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.75;
}

.ffn-pilot-about .ffn-about-checklist {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ffn-pilot-about .ffn-about-checklist li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    color: var(--ffn-ed-text-muted);
    line-height: 1.75;
}

.ffn-pilot-about .ffn-about-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(0, 87, 255, 0.12);
    color: var(--ffn-ed-accent);
    font-family: var(--ffn-ed-font-mono);
    font-weight: 800;
}

.ffn-pilot-about .ffn-about-cta {
    display: grid;
    gap: 1rem;
    text-align: center;
}

.ffn-pilot-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.ffn-pilot-content-stack {
    display: grid;
    gap: 1.5rem;
}

.ffn-pilot-page-note {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.1rem;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-page-note::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--ffn-ed-accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 87, 255, 0.12);
}

.ffn-pilot-prose {
    color: var(--ffn-ed-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.ffn-pilot-prose section + section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(7, 16, 31, 0.08);
}

.ffn-pilot-prose h2 {
    margin: 0 0 0.95rem;
    color: var(--ffn-ed-text);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ffn-pilot-prose p {
    margin: 0 0 1rem;
}

.ffn-pilot-prose ul,
.ffn-pilot-prose ol {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.2rem 1.25rem;
}

.ffn-pilot-prose li {
    padding-left: 0.15rem;
}

.ffn-pilot-prose a,
.ffn-pilot-aside-item a,
.ffn-pilot-support-card a,
.ffn-pilot-link-card a {
    color: var(--ffn-ed-accent);
}

.ffn-pilot-prose a:hover,
.ffn-pilot-aside-item a:hover,
.ffn-pilot-support-card a:hover,
.ffn-pilot-link-card a:hover {
    color: var(--ffn-ed-text);
}

.ffn-pilot-aside-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ffn-pilot-aside-item {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(7, 16, 31, 0.08);
    background: var(--ffn-ed-surface);
}

.ffn-pilot-aside-item strong {
    color: var(--ffn-ed-text);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ffn-pilot-aside-item span,
.ffn-pilot-aside-item p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.7;
}

.ffn-pilot-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ffn-pilot-link-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.3rem 1.35rem;
    border-radius: 1.35rem;
    border: 1px solid var(--ffn-ed-border-strong);
    background: var(--ffn-ed-surface);
    box-shadow: var(--ffn-ed-shadow-card);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ffn-pilot-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.2);
    background: var(--ffn-ed-surface-strong);
}

.ffn-pilot-link-card span {
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ffn-pilot-link-card strong {
    color: var(--ffn-ed-text);
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ffn-pilot-link-card p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.65;
}

.ffn-pilot-callout {
    padding: 1.5rem;
    border-radius: 1.4rem;
    border-left: 4px solid var(--ffn-ed-accent);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text-muted);
    line-height: 1.75;
}

.ffn-pilot-callout strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--ffn-ed-text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ffn-pilot-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.ffn-pilot-contact-form {
    display: grid;
    gap: 1rem;
}

.ffn-pilot-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.ffn-pilot-field {
    display: grid;
    gap: 0.45rem;
}

.ffn-pilot-field label {
    color: var(--ffn-ed-text);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffn-pilot-input,
.ffn-pilot-textarea {
    width: 100%;
    border: 1px solid rgba(7, 16, 31, 0.12);
    border-radius: 1rem;
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text);
    font: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ffn-pilot-input {
    min-height: 3.15rem;
    padding: 0 1rem;
}

.ffn-pilot-textarea {
    min-height: 11rem;
    padding: 0.95rem 1rem;
    resize: vertical;
}

.ffn-pilot-input:focus,
.ffn-pilot-textarea:focus {
    outline: none;
    border-color: rgba(0, 87, 255, 0.35);
    box-shadow: 0 0 0 0.22rem rgba(0, 87, 255, 0.12);
    background: var(--ffn-ed-surface);
}

.ffn-pilot-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.ffn-pilot-form-submit[disabled] {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

.ffn-pilot-form-status {
    min-height: 1.5rem;
    color: var(--ffn-ed-text-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.ffn-pilot-form-status.is-success {
    color: #0b7a5c;
}

.ffn-pilot-form-status.is-error {
    color: #c73442;
}

.ffn-pilot-support-grid {
    display: grid;
    gap: 1rem;
}

.ffn-pilot-support-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.2rem 1.25rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(7, 16, 31, 0.08);
    background: var(--ffn-ed-surface);
}

.ffn-pilot-support-card span {
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ffn-pilot-support-card strong {
    color: var(--ffn-ed-text);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ffn-pilot-support-card p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.7;
}

.ffn-pilot-faq-grid {
    display: grid;
    gap: 1rem;
}

.ffn-pilot-faq-item {
    border-radius: 1.4rem;
    border: 1px solid rgba(7, 16, 31, 0.08);
    background: var(--ffn-ed-surface);
    box-shadow: var(--ffn-ed-shadow-soft);
    overflow: hidden;
}

.ffn-pilot-faq-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 1.35rem;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.ffn-pilot-faq-question {
    color: var(--ffn-ed-text);
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.4;
}

.ffn-pilot-faq-icon {
    position: relative;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    border: 1px solid rgba(7, 16, 31, 0.12);
    background: var(--ffn-ed-surface);
    flex-shrink: 0;
}

.ffn-pilot-faq-icon::before,
.ffn-pilot-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.78rem;
    height: 2px;
    border-radius: 999px;
    background: var(--ffn-ed-accent);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ffn-pilot-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.ffn-pilot-faq-item.is-open .ffn-pilot-faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.ffn-pilot-faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.35rem;
    transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
}

.ffn-pilot-faq-item.is-open .ffn-pilot-faq-answer {
    max-height: 28rem;
    opacity: 1;
    padding-bottom: 1.3rem;
}

.ffn-pilot-faq-answer p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.75;
}

@media (max-width: 1200px) {
    .ffn-pilot-home .ffn-data-grid,
    .ffn-pilot-home .article-cluster,
    .ffn-pilot-about .ffn-about-grid,
    .ffn-pilot-about .ffn-about-social-grid,
    .ffn-pilot-about .ffn-about-pillars,
    .ffn-pilot-about .ffn-about-content-grid,
    .ffn-pilot-content-layout,
    .ffn-pilot-contact-grid {
        grid-template-columns: 1fr;
    }

    .ffn-pilot-about .ffn-about-stats {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .ffn-pilot-link-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ffn-pilot-home .ffn-pilot-hero-main.has-mascot {
        padding-right: 9rem;
    }
}

@media (max-width: 900px) {
    .ffn-pilot-perimeter {
        display: none;
    }

    .ffn-pilot-page {
        padding: 4.5rem 0 3rem;
    }

    .ffn-pilot-shell {
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
    }

    .ffn-pilot-hero,
    .ffn-pilot-home .ffn-pilot-hero,
    .ffn-pilot-home .article-cluster,
    .ffn-pilot-home .homepage-tools-grid,
    .ffn-pilot-about .ffn-about-stats,
    .ffn-pilot-link-grid,
    .ffn-pilot-field-row {
        grid-template-columns: 1fr;
    }

    .ffn-pilot-home .article-box.featured,
    .ffn-pilot-home .article-box.secondary {
        min-height: 18rem;
    }

    .ffn-pilot-home .ffn-pilot-hero-main.has-mascot {
        padding-right: clamp(1.8rem, 4vw, 2.2rem);
    }

    .ffn-pilot-home .ffn-home-demo-side {
        margin-top: 1.5rem;
    }

    .ffn-pilot-home .ffn-pilot-section-head span:first-child {
        flex: 0 0 auto;
    }

    .ffn-demo-callout {
        position: static;
        margin: 1rem auto 0;
    }

    .ffn-demo-callout__arrow--up {
        display: none;
    }

    .ffn-demo-callout__arrow--down {
        display: block;
        width: 1.6rem;
        height: auto;
    }

    .ffn-home-demo-log {
        max-height: 16rem;
        min-height: 8rem;
    }

    .ffn-brand-mascot {
        position: relative;
        top: auto;
        right: auto;
        margin: 0.9rem auto 0;
        width: min(11rem, 52vw);
        transform: rotate(-4deg);
    }

    .ffn-brand-mascot__annotation {
        left: -4.75rem;
        font-size: 1.15rem;
    }

    .ffn-brand-mascot__annotation {
        left: -4.75rem;
        font-size: 1.15rem;
    }

    .ffn-pilot-bloom {
        animation: none;
        filter: blur(80px);
    }
}

@media (max-width: 900px) {
    /* `overflow-x: hidden` makes the other axis compute to `auto`, turning
       these layout wrappers into nested vertical scroll containers. Even a
       few overflow pixels can then consume the first touch gesture. `clip`
       keeps the viewport guard without creating a scrolling box; `visible`
       is the safe fallback for older engines because html/body still clip x. */
    .ffn-pilot-page {
        max-width: 100vw;
        overflow-x: visible;
        overflow-x: clip;
    }

    .ffn-pilot-shell {
        width: 100%;
        max-width: calc(100vw - 2rem);
        overflow-x: visible;
        overflow-x: clip;
        box-sizing: border-box;
    }

    .ffn-pilot-hero-main,
    .ffn-pilot-hero-side,
    .ffn-pilot-home .ffn-pilot-hero-main.has-mascot {
        max-width: 100%;
        overflow-x: visible;
        overflow-x: clip;
        box-sizing: border-box;
    }

    .ffn-home-demo-shell {
        max-width: 100%;
        overflow: hidden;
    }

    .ffn-home-demo-tab {
        font-size: 0.66rem;
        padding: 0 0.48rem;
        min-height: 1.92rem;
        letter-spacing: 0;
    }

    .ffn-home-demo-dismiss {
        display: none;
    }

    .ffn-pilot-home .rankings-section,
    .ffn-pilot-home .more-articles-panel {
        max-width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        overflow-x: visible;
        overflow-x: clip;
    }

    .ffn-pilot-home .bottom-article {
        padding: 0.85rem 0.9rem;
    }

    .ffn-pilot-home .bottom-article h3 {
        font-size: 1rem;
    }

    .ffn-pilot-home .archive-actions {
        padding: 0;
        max-width: 100%;
    }

    .ffn-home-tools-section .ffn-pilot-section-head {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .ffn-pilot-home .ffn-pilot-shell > .ffn-pilot-section > .ffn-pilot-section-head {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 640px) {
    .ffn-pilot-page {
        padding: 4rem 0 2rem;
    }

    .ffn-pilot-section {
        margin-top: 1.5rem;
    }

    .ffn-pilot-shell {
        max-width: calc(100vw - 2rem);
    }

    .ffn-pilot-title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .ffn-pilot-lead {
        font-size: 0.95rem;
    }

    .ffn-pilot-hero-main,
    .ffn-pilot-home .ffn-pilot-hero-main.has-mascot {
        padding: 1.2rem;
    }

    .ffn-pilot-actions {
        flex-direction: column;
        gap: 0.65rem;
    }

    .ffn-pilot-meta-strip {
        gap: 0.55rem;
    }

    .ffn-pilot-meta-chip {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .ffn-pilot-button {
        width: 100%;
        justify-content: center;
        min-width: 0;
    }

    .ffn-home-demo-log {
        max-height: 14rem;
        min-height: 6rem;
    }

    .ffn-brand-mascot {
        margin-top: 0.9rem;
        width: min(9rem, 48vw);
    }

    .ffn-home-demo-topbar,
    .ffn-home-demo-bottombar {
        padding-left: 0.72rem;
        padding-right: 0.72rem;
    }

    .ffn-home-demo-tabs,
    .ffn-home-demo-log {
        padding-left: 0.62rem;
        padding-right: 0.62rem;
    }

    .ffn-home-demo-tabs {
        gap: 0.32rem;
        padding-top: 0.55rem;
        padding-bottom: 0.6rem;
    }

    .ffn-home-demo-tab {
        font-size: 0.6rem;
        padding: 0 0.43rem;
        min-height: 1.7rem;
    }

    .ffn-home-demo-bottombar {
        align-items: stretch;
        gap: 0.5rem;
        padding-top: 0.62rem;
        padding-bottom: 0.68rem;
    }

    .ffn-home-demo-cta,
    .ffn-home-demo-controls {
        width: 100%;
    }

    .ffn-home-demo-cta {
        min-height: 1.85rem;
        font-size: 0.58rem;
        padding: 0 0.78rem;
    }

    .ffn-home-demo-controls {
        justify-content: flex-start;
        gap: 0.36rem;
    }

    .ffn-home-demo-control {
        min-height: 2.04rem;
        font-size: 0.67rem;
        padding: 0 0.7rem;
    }

    .ffn-home-demo-bubble {
        font-size: 0.76rem;
        padding: 0.55rem 0.65rem;
        border-radius: 0.82rem;
    }

    .ffn-home-demo-stack {
        gap: 0.5rem;
    }

    .ffn-home-demo-label {
        font-size: 0.5rem;
        margin-bottom: 0.24rem;
    }

    .ffn-home-demo-card {
        gap: 0.4rem;
    }

    .ffn-home-demo-card-title {
        font-size: 0.74rem;
    }

    .ffn-home-demo-card-subtitle {
        font-size: 0.66rem;
    }

    .ffn-home-demo-metric-row {
        padding: 0.42rem 0.5rem;
        gap: 0.4rem;
        border-radius: 0.66rem;
    }

    .ffn-home-demo-metric-list {
        gap: 0.32rem;
    }

    .ffn-home-demo-metric-name,
    .ffn-home-demo-panel-value {
        font-size: 0.72rem;
    }

    .ffn-home-demo-metric-meta,
    .ffn-home-demo-panel-meta {
        font-size: 0.58rem;
    }

    .ffn-home-demo-metric-value {
        font-size: 0.64rem;
    }

    .ffn-home-demo-chip {
        min-height: 1.38rem;
        padding: 0 0.48rem;
        font-size: 0.56rem;
    }

    .ffn-home-demo-chip-row {
        gap: 0.28rem;
    }

    .ffn-home-demo-panel {
        padding: 0.48rem;
        border-radius: 0.66rem;
    }

    .ffn-home-demo-panel-label {
        font-size: 0.48rem;
    }

    .ffn-home-demo-bullets {
        font-size: 0.66rem;
        padding-left: 0.82rem;
        gap: 0.24rem;
    }

    .ffn-home-demo-dual-grid {
        grid-template-columns: 1fr;
        gap: 0.36rem;
    }

    .ffn-home-demo-note-panel {
        padding: 0.58rem 0.64rem;
        border-radius: 0.72rem;
    }

    .ffn-home-demo-note-title {
        font-size: 0.48rem;
    }

    .ffn-home-demo-note-copy {
        font-size: 0.66rem;
    }

    .ffn-home-demo-progress {
        font-size: 0.68rem;
    }

    .ffn-home-demo-eyebrow {
        font-size: 0.52rem;
    }

    .ffn-home-demo-topbar {
        padding-top: 0.6rem;
        padding-bottom: 0.52rem;
        gap: 0.5rem;
    }

    .ffn-home-demo-dot {
        width: 0.5rem;
        height: 0.5rem;
    }

    .ffn-home-demo-typing {
        font-size: 0.66rem;
    }

    .ffn-home-demo-shell {
        border-radius: 1rem;
    }

    .ffn-brand-mascot__annotation,
    .ffn-brand-mascot__arrow {
        display: none;
    }

    /* Social pills wrap cleanly */
    .ffn-pilot-social-pill {
        flex: 1 1 auto;
        justify-content: center;
        font-size: 0.8rem;
    }

    /* Rankings toggle tap targets */
    .ffn-pilot-home .ffn-toggle {
        min-height: 2.8rem;
        padding: 0 0.75rem;
    }
}

/* --- Small phones (≤ 420px) --- */
@media (max-width: 420px) {
    .ffn-home-demo-bubble {
        font-size: 0.7rem;
        padding: 0.45rem 0.55rem;
        max-width: 92%;
    }

    .ffn-home-demo-tab {
        font-size: 0.55rem;
        padding: 0 0.36rem;
        min-height: 1.54rem;
    }

    .ffn-home-demo-cta {
        min-height: 1.7rem;
        font-size: 0.52rem;
    }

    .ffn-home-demo-control {
        min-height: 1.82rem;
        font-size: 0.6rem;
        padding: 0 0.58rem;
    }

    .ffn-home-demo-card-title {
        font-size: 0.68rem;
    }

    .ffn-home-demo-card-subtitle {
        font-size: 0.6rem;
    }

    .ffn-home-demo-metric-name,
    .ffn-home-demo-panel-value {
        font-size: 0.66rem;
    }

    .ffn-home-demo-metric-value {
        font-size: 0.58rem;
    }

    .ffn-home-demo-metric-meta,
    .ffn-home-demo-panel-meta {
        font-size: 0.52rem;
    }

    .ffn-home-demo-chip {
        min-height: 1.22rem;
        padding: 0 0.38rem;
        font-size: 0.5rem;
    }

    .ffn-home-demo-log {
        max-height: 12rem;
        min-height: 5rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .ffn-home-demo-stack {
        gap: 0.4rem;
    }

    .ffn-home-demo-topbar,
    .ffn-home-demo-bottombar {
        padding-left: 0.58rem;
        padding-right: 0.58rem;
    }

    .ffn-home-demo-tabs {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .ffn-home-demo-bullets {
        font-size: 0.6rem;
        padding-left: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ffn-pilot-bloom,
    .ffn-pilot-button,
    .ffn-pilot-social-pill,
    .ffn-pilot-home .article-box img,
    .ffn-pilot-home .homepage-tool-link,
    .ffn-pilot-about .ffn-about-social-card,
    .ffn-pilot-about .ffn-about-pillar,
    .ffn-pilot-about .ffn-about-content-card,
    .ffn-pilot-link-card,
    .ffn-brand-mascot,
    .ffn-home-demo-tab,
    .ffn-home-demo-cta,
    .ffn-home-demo-control,
    .ffn-home-demo-typing-dots span,
    .ffn-home-demo-cursor,
    .ffn-pilot-faq-answer,
    .ffn-pilot-faq-icon::before,
    .ffn-pilot-faq-icon::after,
    .ffn-brand-mascot__glint,
    .ffn-brand-mascot__football-trails path,
    .ffn-brand-mascot__clipboard-check {
        animation: none !important;
        transition: none !important;
    }

    .ffn-brand-mascot [data-draw] {
        opacity: var(--ffn-mascot-draw-opacity, 1) !important;
        stroke-dasharray: none !important;
        stroke-dashoffset: 0 !important;
    }

    .ffn-brand-mascot [data-fade],
    .ffn-brand-mascot__annotation,
    .ffn-brand-mascot__shadow {
        clip-path: inset(0 0 0 0) !important;
        opacity: 1 !important;
    }

    .ffn-brand-mascot__figure-breath,
    .ffn-brand-mascot__football-motion,
    .ffn-brand-mascot__clipboard {
        rotate: 0deg !important;
        translate: 0 0 !important;
    }
}

/* Mobile data-card view generated by editorial-shell.js */
.ffn-mobile-table-cards {
    display: none;
}

@media (max-width: 640px) {
    .rankings-table-wrap.has-mobile-card-view,
    .proj-table-wrap.has-mobile-card-view,
    .dk-table-scroll.has-mobile-card-view {
        overflow-x: visible;
    }

    .rankings-table-wrap.has-mobile-card-view > table,
    .proj-table-wrap.has-mobile-card-view > table,
    .dk-table-scroll.has-mobile-card-view > table {
        display: none;
    }

    .rankings-table-wrap.has-mobile-card-view > .ffn-mobile-table-cards,
    .proj-table-wrap.has-mobile-card-view > .ffn-mobile-table-cards,
    .dk-table-scroll.has-mobile-card-view > .ffn-mobile-table-cards {
        display: grid;
        gap: 0.65rem;
    }

    .ffn-mobile-table-card {
        display: grid;
        gap: 0.65rem;
        min-width: 0;
        padding: 0.78rem;
        border: 1px solid rgba(7, 16, 31, 0.07);
        border-radius: 8px;
        background: var(--ffn-ed-surface);
        box-shadow: 0 8px 18px rgba(7, 16, 31, 0.06);
    }

    .ffn-mobile-table-card.has-team-tint {
        border-color: rgba(var(--ffn-mobile-team-rgb), 0.39375);
        background:
            radial-gradient(circle at 16% -16%, rgba(var(--ffn-mobile-team-rgb), 0.284375), transparent 42%),
            linear-gradient(145deg, rgba(var(--ffn-mobile-team-rgb), 0.109375), rgba(255, 255, 255, 0.96) 44%, rgba(247, 250, 253, 0.92));
        box-shadow:
            0 8px 18px rgba(7, 16, 31, 0.06),
            0 8px 22px rgba(var(--ffn-mobile-team-rgb), 0.0875);
    }

    .ffn-mobile-table-card.player-row {
        cursor: pointer;
    }

    .ffn-mobile-table-card.player-row:active {
        transform: translateY(1px);
    }

    .ffn-mobile-table-card.player-row:focus-visible {
        outline: 2px solid rgba(0, 87, 255, 0.34);
        outline-offset: 2px;
    }

    .ffn-mobile-table-card-head {
        display: grid;
        grid-template-columns: minmax(3.1rem, auto) minmax(0, 1fr);
        gap: 0.62rem;
        align-items: start;
        min-width: 0;
    }

    .ffn-mobile-table-rank {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
        min-width: 3.1rem;
        min-height: 3rem;
        padding: 0.36rem 0.48rem;
        border-radius: 8px;
        background: #0c1d39;
        color: #fff;
    }

    .ffn-mobile-table-rank em,
    .ffn-mobile-table-meta em,
    .ffn-mobile-table-context i {
        font-style: normal;
    }

    .ffn-mobile-table-rank em {
        color: rgba(255, 255, 255, 0.7);
        font-family: var(--ffn-ed-font-mono);
        font-size: 0.54rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        line-height: 1;
        text-transform: uppercase;
    }

    .ffn-mobile-table-rank strong {
        color: #ffffff;
        font-family: var(--ffn-ed-font-mono);
        font-size: 0.86rem;
        font-weight: 900;
        line-height: 1.05;
    }

    .ffn-mobile-table-title {
        display: grid;
        gap: 0.32rem;
        min-width: 0;
        padding-top: 0.05rem;
    }

    .ffn-mobile-table-title > strong,
    .ffn-mobile-table-title > strong a {
        min-width: 0;
        color: var(--ffn-ed-text, #07101f);
        font-size: 1rem;
        font-weight: 850;
        line-height: 1.18;
        overflow-wrap: anywhere;
        text-decoration: none;
    }

    .ffn-mobile-table-card a {
        color: inherit;
        text-decoration: none;
    }

    .ffn-mobile-table-context {
        display: flex;
        flex-wrap: wrap;
        gap: 0.2rem 0.45rem;
        align-items: center;
        min-width: 0;
        color: var(--ffn-ed-text-muted, #42516c);
        font-size: 0.72rem;
        font-weight: 750;
        line-height: 1.32;
    }

    .ffn-mobile-table-context span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .ffn-mobile-table-context i {
        color: var(--ffn-ed-text-soft, #64748b);
        font-family: var(--ffn-ed-font-mono);
        font-size: 0.66rem;
        font-weight: 800;
    }

    .ffn-mobile-table-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .ffn-mobile-table-meta > span,
    .ffn-mobile-table-field {
        min-width: 0;
        border-radius: 8px;
        background: rgba(238, 244, 250, 0.86);
        box-shadow: inset 0 0 0 1px rgba(7, 16, 31, 0.025);
    }

    .ffn-mobile-table-meta > span {
        display: grid;
        align-content: center;
        gap: 0.12rem;
        min-height: 1.9rem;
        padding: 0.32rem 0.5rem;
        color: var(--ffn-ed-text-muted, #42516c);
        line-height: 1.15;
    }

    .ffn-mobile-table-meta em {
        color: var(--ffn-ed-text-soft, #64748b);
        font-family: var(--ffn-ed-font-mono);
        font-size: 0.55rem;
        font-weight: 850;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .ffn-mobile-table-meta strong {
        min-width: 0;
        color: var(--ffn-ed-text-muted, #42516c);
        font-family: var(--ffn-ed-font-mono);
        font-size: 0.8rem;
        font-weight: 850;
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .ffn-mobile-table-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .ffn-mobile-table-field {
        display: grid;
        align-content: start;
        gap: 0.2rem;
        min-height: 3.35rem;
        padding: 0.52rem 0.58rem;
    }

    .ffn-mobile-table-field span {
        color: var(--ffn-ed-text-soft, #64748b);
        font-family: var(--ffn-ed-font-mono);
        font-size: 0.64rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .ffn-mobile-table-field strong {
        min-width: 0;
        color: var(--ffn-ed-text, #07101f);
        font-size: 0.9rem;
        font-weight: 800;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .ffn-mobile-table-field .proj-bar-wrap {
        width: 100%;
        min-width: 0;
        margin-top: 0.08rem;
    }

    html[data-theme="dark"] .ffn-mobile-table-card {
        border-color: rgba(148, 168, 198, 0.16);
        background: linear-gradient(145deg, rgba(11, 22, 37, 0.94), rgba(15, 29, 47, 0.86));
        color: var(--ffn-ed-text, #f3f7ff);
        box-shadow: 0 12px 28px rgba(2, 8, 17, 0.38);
    }

    html[data-theme="dark"] .ffn-mobile-table-card.has-team-tint {
        border-color: rgba(var(--ffn-mobile-team-rgb), 0.7875);
        background:
            radial-gradient(circle at 16% -16%, rgba(var(--ffn-mobile-team-rgb), 0.56875), transparent 42%),
            linear-gradient(145deg, rgba(var(--ffn-mobile-team-rgb), 0.284375), rgba(11, 22, 37, 0.94) 48%, rgba(15, 29, 47, 0.88));
        box-shadow:
            0 12px 28px rgba(2, 8, 17, 0.38),
            0 10px 30px rgba(var(--ffn-mobile-team-rgb), 0.284375);
    }

    html[data-theme="dark"] .ffn-mobile-table-title > strong,
    html[data-theme="dark"] .ffn-mobile-table-title > strong a,
    html[data-theme="dark"] .ffn-mobile-table-field strong {
        color: var(--ffn-ed-text, #f3f7ff);
    }

    html[data-theme="dark"] .ffn-mobile-table-context,
    html[data-theme="dark"] .ffn-mobile-table-meta strong {
        color: var(--ffn-ed-text-muted, #c2d0e6);
    }

    html[data-theme="dark"] .ffn-mobile-table-meta > span,
    html[data-theme="dark"] .ffn-mobile-table-field {
        background: rgba(17, 32, 52, 0.78);
        box-shadow: inset 0 0 0 1px rgba(148, 168, 198, 0.1);
    }

    html[data-theme="dark"] .ffn-mobile-table-meta > span,
    html[data-theme="dark"] .ffn-mobile-table-meta em,
    html[data-theme="dark"] .ffn-mobile-table-context i,
    html[data-theme="dark"] .ffn-mobile-table-field span {
        color: var(--ffn-ed-text-soft, #8fa3c2);
    }

    html[data-theme="dark"] .ffn-mobile-table-rank {
        background: rgba(99, 180, 255, 0.16);
        color: #d8efff;
        box-shadow: inset 0 0 0 1px rgba(99, 180, 255, 0.18);
    }

    html[data-theme="dark"] .ffn-mobile-table-card.player-row:focus-visible {
        outline-color: rgba(99, 180, 255, 0.45);
    }

    .ffn-data-table-card::after {
        display: none;
    }

    .ffn-pilot-button,
    .ffn-pilot-breadcrumbs a,
    .article-tag,
    .ffn-home-demo-tab,
    .ffn-home-demo-control,
    .ffn-home-demo-cta {
        min-height: 44px;
    }

    .ffn-pilot-breadcrumbs a,
    .article-tag,
    .ffn-home-demo-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        padding-inline: 0.25rem;
    }

    .ffn-mobile-table-card-head a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .ffn-home-demo-shell,
    .ffn-home-about-body {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

/* Align the homepage hero CTAs with the generated header scale. */
.ffn-pilot-home {
    --ffn-home-header-nav-size: var(--ffn-action-font-size, 0.78rem);
    --ffn-home-header-button-size: var(--ffn-action-font-size, 0.78rem);
    --ffn-home-header-small-size: var(--ffn-action-small-font-size, 0.72rem);
    --ffn-home-header-letter-spacing: var(--ffn-action-letter-spacing, 0.08em);
}

.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button {
    min-height: 2.9rem;
    padding: 0 1rem;
    border-radius: var(--ffn-ed-radius-pill);
    border: 1px solid var(--ffn-ed-border);
    background: #ffffff;
    color: var(--ffn-ed-text-muted);
    font-family: var(--ffn-ed-font-sans, var(--font-body));
    font-size: var(--ffn-home-header-button-size);
    font-weight: 700;
    letter-spacing: var(--ffn-home-header-letter-spacing);
    line-height: 1.2;
    text-transform: uppercase;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button.is-primary {
    border-color: transparent;
    background: var(--ffn-ed-accent);
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 87, 255, 0.22);
}

.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button.is-primary:hover,
.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button.is-primary:focus-visible {
    background: #0047d5;
    color: #ffffff;
    transform: translateY(-2px);
}

.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button:not(.is-primary) {
    border-color: var(--ffn-ed-border);
    background: #ffffff;
    color: var(--ffn-ed-text-muted);
    box-shadow: none;
}

.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button:not(.is-primary):hover,
.ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button:not(.is-primary):focus-visible {
    border-color: rgba(0, 87, 255, 0.22);
    background: #f8fafc;
    color: var(--ffn-ed-text);
    transform: translateY(-2px);
}

html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button:not(.is-primary) {
    border-color: var(--ffn-ed-border);
    background: rgba(11, 22, 37, 0.82);
    color: var(--ffn-ed-text-muted);
}

html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button:not(.is-primary):hover,
html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button:not(.is-primary):focus-visible {
    border-color: rgba(99, 180, 255, 0.28);
    background: rgba(18, 34, 56, 0.96);
    color: var(--ffn-ed-text);
}

html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button.is-primary {
    color: #041019;
    background: linear-gradient(135deg, #63b4ff, #7fd4ff);
    box-shadow: 0 18px 48px rgba(99, 180, 255, 0.22);
}

html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button.is-primary:hover,
html[data-theme="dark"] .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button.is-primary:focus-visible {
    color: #041019;
    background: linear-gradient(135deg, #79c3ff, #93ddff);
}

@media (max-width: 640px) {
    .ffn-pilot-home .ffn-pilot-hero .ffn-pilot-button {
        min-height: 44px;
        font-size: var(--ffn-home-header-button-size);
    }
}

/* ------------------------------------------------------------------ */
/* Home field markings (2026-07-16): the whole page is the field.     */
/* Yard lines run from the top of the page to the endzone at the      */
/* foot. Geometry: 1 yd = 24px. Yard lines every 5 yd (120px), hash   */
/* ticks every yard on the two inbound columns (NFL hashes sit at     */
/* 44.1% / 55.9% of field width). The grid is anchored to the GOAL    */
/* LINE, not the page top: an inline script on the home page measures */
/* the top of the endzone paint and sets --ffn-goal-y (goal line y)   */
/* and --ffn-field-shift (goal-y mod 120) on .ffn-page-field, so a    */
/* yard line always lands exactly on the goal line and every numeral  */
/* sits on a real line. Without JS the shift is 0 and the descending  */
/* numerals park off-canvas: same field, just top-anchored.           */
/* The drive reads top to bottom as a full 100-yard field: the        */
/* masthead is the own endzone, and numerals climb 10 / 20 / 30 /     */
/* 40 / 50 with arrows pointing up at the own goal. The 10 starts     */
/* below the fixed perimeter labels' band (~50vh) so nothing stacks   */
/* on them at the opener; deeper numerals reveal on scroll. The       */
/* middle of the page is open field however long it runs, then 40 /   */
/* 30 / 20 / 10 count back down into the goal line with arrows        */
/* pointing down at the endzone, like the far side of a real field.   */
/* The                                                                */
/* endzone: full-bleed paint between a goal line and an end line at   */
/* 2x yard-line weight, four corner pylons, the try-line dash 2 yd    */
/* out, and the FCT mark painted on the turf.                         */
/* ------------------------------------------------------------------ */

.ffn-page-field {
    --ffn-field-line: rgba(7, 16, 31, 0.055);
    --ffn-field-hash: rgba(7, 16, 31, 0.085);
    --ffn-field-numeral: rgba(7, 16, 31, 0.11);
    position: absolute;
    top: 0;
    bottom: 5rem;
    right: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(to bottom, var(--ffn-field-line) 0 2px, transparent 2px),
        linear-gradient(to bottom, var(--ffn-field-hash) 0 2px, transparent 2px),
        linear-gradient(to bottom, var(--ffn-field-hash) 0 2px, transparent 2px);
    background-position:
        0 var(--ffn-field-shift, 0px),
        44.1% var(--ffn-field-shift, 0px),
        55.9% var(--ffn-field-shift, 0px);
    background-repeat: repeat-y;
    background-size: 100% 120px, 14px 24px, 14px 24px;
}

html[data-theme="dark"] .ffn-page-field {
    --ffn-field-line: rgba(238, 243, 251, 0.065);
    --ffn-field-hash: rgba(238, 243, 251, 0.095);
    --ffn-field-numeral: rgba(238, 243, 251, 0.12);
}

/* Yard lines and hash ticks use small repeating tiles. Keeping the field out
   of a mask/transform compositor surface matters on very long archive, tool,
   and article pages even when the viewport itself is desktop-sized. */

/* The endzone is the last thing on the page: no padding below it,
   and the field runs all the way down to the goal line. */
.ffn-pilot-page.ffn-pilot-home {
    padding-bottom: 0;
}

.ffn-pilot-home .ffn-page-field {
    bottom: 0;
}

.ffn-field-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
}

.ffn-field-rail.is-left {
    left: clamp(1.2rem, 2.6vw, 3rem);
}

.ffn-field-rail.is-right {
    right: clamp(1.2rem, 2.6vw, 3rem);
}

.ffn-field-num {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    color: var(--ffn-field-numeral);
    font-family: var(--ffn-ed-font-sans);
    font-size: clamp(2rem, 2.6vw, 2.9rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
}

/* Numerals sit on the 10-yard lines (240px apart), rotated to face
   the sidelines exactly as painted numerals do on a top-down field.
   The climbing set hangs off the top of the grid (30/40/50, the 50
   just past the hero, no numerals through the open middle of the
   page); the descending set (40/30/20/10) hangs off the goal line,
   240px apart, counting down into the endzone. Lines are 2px, so
   numeral centers sit at line + 1px. Without JS, --ffn-goal-y stays
   at its off-canvas fallback and the descending set never shows. */
.ffn-field-num.is-up-10 { top: calc(var(--ffn-field-shift, 0px) + 481px); }
.ffn-field-num.is-up-20 { top: calc(var(--ffn-field-shift, 0px) + 721px); }
.ffn-field-num.is-up-30 { top: calc(var(--ffn-field-shift, 0px) + 961px); }
.ffn-field-num.is-up-40 { top: calc(var(--ffn-field-shift, 0px) + 1201px); }
.ffn-field-num.is-up-50 { top: calc(var(--ffn-field-shift, 0px) + 1441px); }
.ffn-field-num.is-down-40 { top: calc(var(--ffn-goal-y, -9999px) - 959px); }
.ffn-field-num.is-down-30 { top: calc(var(--ffn-goal-y, -9999px) - 719px); }
.ffn-field-num.is-down-20 { top: calc(var(--ffn-goal-y, -9999px) - 479px); }
.ffn-field-num.is-down-10 { top: calc(var(--ffn-goal-y, -9999px) - 239px); }

.ffn-field-rail.is-left .ffn-field-num {
    transform: translate(-50%, -50%) rotate(90deg);
}

.ffn-field-rail.is-right .ffn-field-num {
    transform: translate(-50%, -50%) rotate(-90deg);
}

/* Arrow beside each sub-50 numeral pointing at the nearer goal line,
   as painted on a real field: the climbing set points up at the own
   goal behind the masthead, the descending set points down at the
   endzone. The 50 has none. */
.ffn-field-num::after {
    content: "";
    width: 0;
    height: 0;
    border-block: 0.3em solid transparent;
}

.ffn-field-rail.is-left .ffn-field-num::after {
    order: -1;
    border-right: 0.48em solid var(--ffn-field-numeral);
}

.ffn-field-rail.is-right .ffn-field-num::after {
    border-left: 0.48em solid var(--ffn-field-numeral);
}

.ffn-field-rail.is-left .ffn-field-num.is-down::after {
    order: 0;
    border-right: 0;
    border-left: 0.48em solid var(--ffn-field-numeral);
}

.ffn-field-rail.is-right .ffn-field-num.is-down::after {
    order: -1;
    border-left: 0;
    border-right: 0.48em solid var(--ffn-field-numeral);
}

.ffn-field-num.is-fifty::after {
    display: none;
}

@media (max-width: 1180px), (hover: none) and (pointer: coarse) {
    /* Small screens and coarse-pointer tablets do not need a separate field
       element. Paint the same small tiles directly on the page and remove
       even that sparse page-height layer. Numerals stay desktop-only. */
    .ffn-pilot-page,
    .pricing-main {
        --ffn-field-line: rgba(7, 16, 31, 0.055);
        --ffn-field-hash: rgba(7, 16, 31, 0.085);
        background-image:
            linear-gradient(to bottom, var(--ffn-field-line) 0 2px, transparent 2px),
            linear-gradient(to bottom, var(--ffn-field-hash) 0 2px, transparent 2px),
            linear-gradient(to bottom, var(--ffn-field-hash) 0 2px, transparent 2px);
        background-position:
            0 var(--ffn-field-shift, 0px),
            44.1% var(--ffn-field-shift, 0px),
            55.9% var(--ffn-field-shift, 0px);
        background-repeat: repeat-y;
        background-size: 100% 120px, 14px 24px, 14px 24px;
    }

    html[data-theme="dark"] .ffn-pilot-page,
    html[data-theme="dark"] .pricing-main {
        --ffn-field-line: rgba(238, 243, 251, 0.065);
        --ffn-field-hash: rgba(238, 243, 251, 0.095);
    }

    .ffn-page-field {
        display: none;
    }
}

/* Endzone: full-bleed paint from sideline to sideline. Same paint in
   both themes, so text tokens inside are pinned to the on-paint
   palette. */
.ffn-home-endzone .ffn-endzone-paint {
    --ffn-ed-text: #f3f7ff;
    --ffn-ed-text-muted: #c9d6ec;
    --ffn-ed-text-soft: #93a7c9;
    --ffn-ed-border: rgba(243, 247, 255, 0.16);
    --ffn-ed-border-strong: rgba(243, 247, 255, 0.26);
    --ffn-ed-surface: #0b1a33;
    --ffn-ed-surface-strong: #0c1c38;
    --ffn-ed-accent: #2f7bff;
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    display: grid;
    align-content: center;
    margin-top: 4.5rem;
    padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 3rem);
    border-top: 4px solid rgba(243, 247, 255, 0.92);
    border-bottom: 4px solid rgba(243, 247, 255, 0.8);
    border-radius: 0;
    background:
        repeating-linear-gradient(-45deg, rgba(243, 247, 255, 0.032) 0 26px, rgba(243, 247, 255, 0) 26px 52px),
        radial-gradient(ellipse 80% 70% at 50% 0%, rgba(47, 123, 255, 0.26), transparent 62%),
        linear-gradient(178deg, #0c2247 0%, #0a1c3b 58%, #071228 100%);
    box-shadow:
        inset 0 3px 16px -4px rgba(243, 247, 255, 0.22),
        inset 0 30px 70px -40px rgba(2, 8, 20, 0.75),
        inset 0 -26px 60px -40px rgba(2, 8, 20, 0.65);
}

/* Try-line dash, 2 yards out from the goal line */
.ffn-endzone-paint::before {
    content: "";
    position: absolute;
    top: -52px;
    left: 50%;
    width: 30px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--ffn-field-try-line, rgba(7, 16, 31, 0.28));
}

html[data-theme="dark"] .ffn-endzone-paint::before {
    background: rgba(238, 243, 251, 0.3);
}

/* FCT Weekly sits on the open field just shy of the goal line: the
   page-wide yard lines and hash ticks run behind it, and the try-line
   dash below marks the two yards between it and the endzone. Theme
   tokens come from the base band styles in page-newsletter.css. */
.ffn-home-newsletter-section {
    position: relative;
}

.ffn-home-newsletter-section .ffn-home-newsletter-band {
    margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

/* Corner pylons: two on the goal line, two on the end line */
.ffn-home-endzone .ffn-endzone-pylon {
    position: absolute;
    width: 10px;
    height: 26px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ffa04d 0%, #f4610f 70%, #d9530c 100%);
    box-shadow: 0 3px 8px rgba(244, 97, 15, 0.4);
    z-index: 2;
}

.ffn-home-endzone .ffn-endzone-pylon.is-front {
    top: -15px;
}

.ffn-home-endzone .ffn-endzone-pylon.is-back {
    bottom: -15px;
}

.ffn-home-endzone .ffn-endzone-pylon.is-left {
    left: 8px;
}

.ffn-home-endzone .ffn-endzone-pylon.is-right {
    right: 8px;
}

/* Footer on the endzone paint (home only): the whole footer is one
   condensed card sitting on the paint, so the endzone reads goal
   line -> card -> end line. */
.ffn-home-endzone .ffn-endzone-paint #footer {
    position: relative;
    z-index: 1;
}

.ffn-home-endzone .ffn-ed-footer {
    max-width: 1080px;
    margin-top: 0;
    padding: 0;
}

.ffn-home-endzone .ffn-ed-footer .ffn-ed-footer-inner {
    padding: 1.4rem 1.6rem 1.5rem;
    gap: 1.4rem 2rem;
    border: 1px solid var(--ffn-ed-border);
    border-radius: 1rem;
    background: var(--ffn-ed-surface);
    box-shadow: 0 18px 44px -22px rgba(2, 8, 20, 0.8);
}

.ffn-home-endzone .ffn-ed-footer-heading {
    margin-bottom: 0.55rem;
}

.ffn-home-endzone .ffn-ed-footer-copy {
    font-size: 0.85rem;
    line-height: 1.55;
}

.ffn-home-endzone .ffn-ed-footer-list {
    gap: 0.4rem;
}

.ffn-home-endzone .ffn-ed-footer-list a {
    font-size: 0.82rem;
}

/* The Tools column runs long: two columns keep the card short */
.ffn-home-endzone .ffn-ed-footer-inner > section:nth-child(3) .ffn-ed-footer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.1rem;
}

.ffn-home-endzone .ffn-ed-footer-legal {
    margin-top: 1rem;
    color: var(--ffn-ed-text-soft);
    font-size: 0.7rem;
}

.ffn-home-endzone .ffn-ed-footer .ffn-ed-footer-list a:hover,
.ffn-home-endzone .ffn-ed-footer .ffn-ed-footer-list a:focus-visible {
    color: #ffffff;
}

/* Homepage NOW // High-Signal Stories (validated X pulse). Valid empty contracts show
   "Scanning" rows; stale, invalid, unavailable, or failed contracts stay hidden. The desk
   itself is styled in css/ffn-home-additions.css ("High-signal desk"). */
.ffn-home-x-pulse-section[hidden] {
    display: none;
}

.ffn-home-x-pulse-section .ffn-pilot-section-head span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.ffn-home-x-pulse-section .ffn-pilot-section-head span:first-child::before {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--ffn-ed-accent);
    box-shadow: 0 0 0 0 rgba(0, 87, 255, 0.35);
    animation: ffn-x-pulse-beat 2.4s ease-out infinite;
}

@keyframes ffn-x-pulse-beat {
    0% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0.35); }
    70% { box-shadow: 0 0 0 0.55rem rgba(0, 87, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .ffn-home-x-pulse-section .ffn-pilot-section-head span:first-child::before {
        animation: none;
    }
}

/* Home page only: pull the hero up toward the header. Other pages keep the
   default 4.75rem shell padding and the standard hero card padding. */
body[data-ffn-shell="editorial"] .ffn-pilot-page.ffn-pilot-home {
    padding-top: 2.25rem;
}

.ffn-pilot-home .ffn-pilot-hero-main {
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 900px) {
    body[data-ffn-shell="editorial"] .ffn-pilot-page.ffn-pilot-home {
        padding-top: 1.5rem;
    }

    .ffn-pilot-home .ffn-pilot-hero-main {
        padding-top: 0.75rem;
    }
}

/* Homepage hero lead widths. The copy | board layout itself lives in
   css/ffn-home-additions.css ("Hero board (2026-09-26)"). */
@media (min-width: 1360px) {
    .ffn-pilot-home .ffn-pilot-hero-main .ffn-pilot-lead {
        max-width: 28rem;
    }
}

@media (min-width: 901px) and (max-width: 1359px) {
    .ffn-pilot-home .ffn-pilot-hero-main .ffn-pilot-lead {
        max-width: 36rem;
    }
}

@media (max-width: 900px) {
    .ffn-pilot-home .ffn-pilot-hero {
        row-gap: 0.75rem;
    }
}

/* UI polish pass (2026-09-25) */

/* Phones: stack section-head label and caption instead of squeezing two columns. */
@media (max-width: 560px) {
    .ffn-pilot-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .ffn-pilot-section-head span:last-child,
    .ffn-pilot-home .ffn-pilot-section-head span:last-child {
        text-align: left;
    }
}

/* Empty/held state inside scrollable data tables; sticky so it stays in view on phones. */
.ffn-table-empty {
    padding: 2.5rem 1.25rem;
    text-align: left;
}

.ffn-table-empty__inner {
    position: sticky;
    left: 1.25rem;
    display: grid;
    justify-items: start;
    gap: 0.65rem;
    max-width: min(34rem, calc(100vw - 5rem));
    color: var(--ffn-ed-text-muted);
    white-space: normal;
}

.ffn-table-empty__inner strong {
    color: var(--ffn-ed-text);
    font-size: 1.05rem;
}

.ffn-table-empty__inner p {
    margin: 0;
}

/* Week number inside table titles was picking up the small mono caption style. */
.ffn-data-table-head #week-number {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
}

@media (max-width: 640px) {
    #back-to-top {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 2.6rem;
        height: 2.6rem;
    }
}

/* Articles: body starts on the title's left edge and keeps a readable measure. */
@media (min-width: 1100px) {
    .ffn-article-page .ffn-article-panel {
        padding-inline: 3rem;
    }
}

.ffn-article-page .article-content > :is(p, ul, ol, h2, h3, h4, blockquote) {
    max-width: 46rem;
}

/* Transactions: wrap cells between words only, and keep short code columns on one line. */
#transactions-table th,
#transactions-table td {
    overflow-wrap: normal;
    word-break: normal;
}

#transactions-table td:nth-child(-n+4),
#transactions-table td:nth-child(6),
#transactions-table td:nth-child(8) {
    white-space: nowrap;
}

/* About: social cards live in a half-width column; stack them so long handles fit. */
.ffn-pilot-about .ffn-about-social-grid {
    grid-template-columns: 1fr;
}

.ffn-pilot-about .ffn-about-social-card strong {
    overflow-wrap: anywhere;
}

/* Withdrawn articles: lead with the notice, not the old hero photo and "use this read" rail. */
main[data-ffn-withdrawn="true"] .ffn-article-panel > .player-hero,
main[data-ffn-withdrawn="true"] .ffn-article-rail {
    display: none;
}

main[data-ffn-withdrawn="true"] .ffn-article-layout {
    grid-template-columns: minmax(0, 1fr);
}

/* Weekly data pages from the Front Office generator (start/sit, waiver wire, DST, injury report). */
main[data-fo-week] .ffn-pilot-shell {
    gap: 0.75rem;
}

main[data-fo-week] .ffn-pilot-shell > h1 {
    margin: 1.5rem 0 0.25rem;
    color: var(--ffn-ed-text);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

main[data-fo-week] .ffn-pilot-shell > p {
    margin: 0;
    color: var(--ffn-ed-text-muted);
}

main[data-fo-week] nav[aria-label="Weekly data"] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem;
    font-size: 0; /* hides the text separators between links */
}

main[data-fo-week] nav[aria-label="Weekly data"] a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 1rem;
    border: 1px solid var(--ffn-ed-border-strong);
    border-radius: var(--ffn-ed-radius-pill);
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

main[data-fo-week] nav[aria-label="Weekly data"] a:hover {
    border-color: var(--ffn-ed-accent);
    color: var(--ffn-ed-accent);
}

main[data-fo-week] .ffn-pilot-section h2 {
    margin: 1.5rem 0 0.75rem;
}

main[data-fo-week] .rankings-table th {
    text-align: left;
}

main[data-fo-week] table a {
    color: var(--ffn-ed-accent);
    font-weight: 600;
    text-decoration: none;
}

/* In-season note on draft-season pages (Draft Kit). Remove or hide during next preseason. */
.ffn-season-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--ffn-ed-border-strong);
    border-left: 4px solid var(--ffn-ed-accent);
    border-radius: 1rem;
    background: var(--ffn-ed-surface);
    color: var(--ffn-ed-text-muted);
}

.ffn-season-banner strong {
    color: var(--ffn-ed-text);
}

.ffn-season-banner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}

.ffn-tool-page--draft-kit .draft-section {
    scroll-margin-top: 6rem;
}

/* Rankings page weekly fallback has no search-interest data; hide those two columns. */
.is-weekly-fallback th:nth-child(n+6),
.is-weekly-fallback td:nth-child(n+6) {
    display: none;
}

/* Paged mobile card lists (editorial-shell.js pageMobileCards). */
.ffn-mobile-table-cards > .ffn-mobile-table-card[hidden] {
    display: none;
}

.ffn-mobile-cards-more {
    justify-self: stretch;
    width: 100%;
    margin-top: 0.5rem;
}

.transactions-more-row td {
    padding: 1rem;
    text-align: center;
}

/* Phones: confidence and source are the same on nearly every row; keep event cards short. */
@media (max-width: 640px) {
    #transactions-table .contracts-cell--confidence,
    #transactions-table .contracts-cell--source {
        display: none;
    }
}

.draft-picks-more {
    display: flex;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

/* Weekly rankings: drop the repeated forecast-source column and spread the remaining columns. */
#weekly-rankings-table.hide-source-col th:last-child,
#weekly-rankings-table.hide-source-col td:last-child {
    display: none;
}

#weekly-rankings-table th:nth-child(2) {
    width: 30%;
}

/* Plain links inside data tables (mock draft, dynasty rookies) match the site instead of browser blue. */
.ffn-data-page .rankings-table td > a:not([class]) {
    color: var(--ffn-ed-text);
    font-weight: 700;
    text-decoration: none;
}

.ffn-data-page .rankings-table td > a:not([class]):hover {
    color: var(--ffn-ed-accent);
}

/* Team/position index cards: every card used the same logo placeholder; drop it. */
.ffn-player-directory-card > img[src="/images/ffn-main-logo.png"] {
    display: none;
}

/* Archive: with a single year, the "Latest Articles" header repeats the year count. */
.ffn-archive-static:not(:has(.year-section ~ .year-section)) > .ffn-archive-section-head {
    display: none;
}

.ffn-archive-page .ffn-pilot-breadcrumbs {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

/* Phones: the headline mascot takes a whole row by itself. */
@media (max-width: 480px) {
    .ffn-page-headline .ffn-title-nerd {
        display: none;
    }
}

.is-weekly-fallback th:nth-child(2) {
    width: 30%;
}

/* Team-colored names: the team's own color, darkened (light) or lifted (dark) until it reads as text. */
@supports (color: oklch(from red l c h)) {
    :where(.has-team-tint, [data-team], [data-team-id]) {
        --ffn-team-ink: oklch(from var(--ffn-row-team-color, #6b7280) min(l, 0.5) c h);
        --ffn-team-ink-on-dark: oklch(from var(--ffn-row-team-color, #6b7280) max(l, 0.8) min(c, 0.14) h);
    }

    html[data-theme="dark"] :where(.has-team-tint, [data-team], [data-team-id]) {
        --ffn-team-ink: oklch(from var(--ffn-row-team-color, #6b7280) max(l, 0.8) min(c, 0.14) h);
    }
}

/* "Keep going" block (FCT SEO SUPPORT): it sits after .ffn-pilot-shell inside <main>, so it had no
   gutter and bare headings. Give it the shell width and lay the three notes out side by side. */
main > .ffn-pilot-section:has(> .ffn-pilot-section-panel > .ffn-pilot-link-grid) {
    width: min(calc(100vw - 2 * clamp(1rem, 4.5vw, 4rem)), 1520px);
    margin: 4rem auto 0;
}

main > .ffn-pilot-section > .ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: minmax(0, 1fr);
    column-gap: 2rem;
    padding: 0;
}

.ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > .ffn-pilot-section-head {
    grid-column: 1 / -1;
    grid-row: 1;
}

.ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > h2 {
    grid-row: 2;
    margin: 1.2rem 0 0.4rem;
    color: var(--ffn-ed-text);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > p {
    grid-row: 3;
    margin: 0;
    color: var(--ffn-ed-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > .ffn-pilot-link-grid {
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    margin-top: 1.6rem;
}

@media (max-width: 860px) {
    main > .ffn-pilot-section > .ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) {
        grid-template-columns: minmax(0, 1fr);
    }

    .ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > h2,
    .ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > p,
    .ffn-pilot-section-panel:has(> .ffn-pilot-link-grid) > .ffn-pilot-link-grid {
        grid-row: auto;
    }
}

/* UI/UX sweep (2026-09-26 AM): dimmed title words keep large-text contrast (3:1). */
.ffn-pilot-title .is-dim {
    color: rgba(7, 16, 31, 0.47);
}

/* UI/UX sweep (2026-09-26 AM): shared editorial fixes */
/* Link cards in one row stretch to equal height; keep their content at the top so titles line up. */
.ffn-pilot-link-card {
    align-content: start;
}

/* About grids fit their width (4 coverage cards in one row, 6 weekly cards as 2x3 in the half column). */
.ffn-pilot-about .ffn-about-content-grid {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

/* FAQ toggles are buttons, which do not inherit the page font. */
.ffn-pilot-faq-toggle {
    font: inherit;
}

/* Policy prose headings: tight leading when a heading wraps. */
.ffn-pilot-prose h2,
.ffn-pilot-prose h3 {
    line-height: 1.2;
}

/* Hero meta line: keep the status dot on the first line when the text wraps. */
.ffn-pilot-page-note {
    flex-wrap: nowrap;
    align-items: flex-start;
}
.ffn-pilot-page-note::before {
    flex: none;
    margin-top: 0.3em;
}

/* Prose placed straight in a full-width panel (corrections) keeps a readable measure. */
.ffn-pilot-section-panel > .ffn-pilot-prose {
    max-width: 72ch;
}

/* Index badges ("01") on the light accent tint need a slightly deeper blue for small text. */
html:not([data-theme="dark"]) .ffn-pilot-mini-index {
    color: #0047d5;
}

/* Aside items that are whole links (404 recovery list). */
.ffn-pilot-aside-item.is-link {
    padding: 0;
}
.ffn-pilot-aside-item.is-link > a {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: inherit;
    color: inherit;
    text-decoration: none;
}
.ffn-pilot-aside-item.is-link > a:hover,
.ffn-pilot-aside-item.is-link > a:focus-visible {
    color: inherit;
    box-shadow: inset 0 0 0 1px var(--ffn-ed-accent);
}
.ffn-pilot-aside-item.is-link strong::after {
    content: " \2192";
    color: var(--ffn-ed-accent);
}

/* Sitemap on phones: two compact link cards per row instead of 40 full-width cards. */
@media (max-width: 640px) {
    .ffn-pilot-page--sitemap .ffn-pilot-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
    .ffn-pilot-page--sitemap .ffn-pilot-link-card {
        gap: 0.3rem;
        padding: 0.8rem 0.85rem;
        border-radius: 1rem;
    }
    .ffn-pilot-page--sitemap .ffn-pilot-link-card strong {
        font-size: 0.92rem;
    }
    .ffn-pilot-page--sitemap .ffn-pilot-link-card p {
        font-size: 0.78rem;
        line-height: 1.4;
    }
}

/* Section heads in the narrow side column stack their two labels instead of wrapping each. */
.ffn-pilot-content-stack .ffn-pilot-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}
