/*
 * FFN editorial redesign foundation.
 * This file is intentionally not wired into live pages yet.
 * It provides the shared tokens and component primitives for the full-site migration.
 */

:root {
    --ffn-ed-bg: #f1f5fb;
    --ffn-ed-surface: rgba(255, 255, 255, 0.62);
    --ffn-ed-surface-strong: rgba(255, 255, 255, 0.82);
    --ffn-ed-surface-muted: rgba(226, 233, 244, 0.72);
    --ffn-ed-text: #07101f;
    --ffn-ed-text-muted: #42516c;
    --ffn-ed-text-soft: #7d8ca8;
    --ffn-ed-border: rgba(7, 16, 31, 0.08);
    --ffn-ed-border-strong: rgba(7, 16, 31, 0.14);
    --ffn-ed-accent: #0057ff;
    --ffn-ed-accent-soft: rgba(0, 87, 255, 0.1);
    --ffn-ed-shadow-soft: 0 18px 60px rgba(21, 45, 91, 0.08);
    --ffn-ed-shadow-card: 0 26px 80px rgba(7, 16, 31, 0.1);
    --ffn-ed-radius-card: 1.6rem;
    --ffn-ed-radius-pill: 999px;
    --ffn-ed-max-width: 1560px;
    --ffn-ed-font-sans: "Inter", "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
    --ffn-ed-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --ffn-ed-font-hand: "Caveat", cursive;
}

.ffn-ed-body {
    background: var(--ffn-ed-bg);
    color: var(--ffn-ed-text);
    font-family: var(--ffn-ed-font-sans);
}

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

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

.ffn-ed-bloom[data-bloom="1"] {
    top: -10%;
    left: 12%;
    width: 56vw;
    height: 56vw;
    background: radial-gradient(circle, rgba(41, 98, 255, 0.75) 0%, transparent 70%);
    animation-delay: -5s;
}

.ffn-ed-bloom[data-bloom="2"] {
    bottom: -22%;
    right: 8%;
    width: 66vw;
    height: 66vw;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.8) 0%, transparent 70%);
    opacity: 0.11;
}

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

@keyframes ffn-ed-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 10%) scale(1.1);
    }
}

.ffn-ed-page {
    position: relative;
    z-index: 1;
    max-width: var(--ffn-ed-max-width);
    margin: 0 auto;
    padding: 6rem 5rem 5rem;
}

.ffn-ed-main-offset {
    padding-top: clamp(6.5rem, 10vw, 8rem);
}

.ffn-ed-skip-link {
    position: fixed;
    left: 1rem;
    top: -3rem;
    z-index: 90;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    background: var(--ffn-ed-surface-strong);
    color: var(--ffn-ed-text);
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--ffn-ed-shadow-soft);
    transition: top 0.2s ease;
}

.ffn-ed-skip-link:focus {
    top: 1rem;
}

.ffn-ed-shell {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(18px);
}

.ffn-ed-header {
    max-width: var(--ffn-ed-max-width);
    margin: 0 auto;
    padding: 1.25rem 2rem 0;
}

.ffn-ed-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 4.75rem;
}

.ffn-ed-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.ffn-ed-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(5.5rem, 9vw, 7rem);
    height: 4.25rem;
    padding: 0.55rem 0.9rem;
    border-radius: 1.4rem;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface);
    box-shadow: var(--ffn-ed-shadow-soft);
    backdrop-filter: blur(20px);
}

.ffn-ed-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ffn-ed-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ffn-ed-brand-kicker {
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ffn-ed-brand-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ffn-ed-nav,
.ffn-ed-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ffn-ed-nav {
    flex-wrap: wrap;
}

.ffn-ed-actions {
    position: relative;
}

.ffn-ed-dropdown {
    position: relative;
}

.ffn-ed-nav-link,
.ffn-ed-button,
.ffn-ed-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0 1rem;
    border-radius: var(--ffn-ed-radius-pill);
    border: 1px solid var(--ffn-ed-border);
    background: rgba(255, 255, 255, 0.42);
    color: var(--ffn-ed-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    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-ed-nav-link:hover,
.ffn-ed-button:hover,
.ffn-ed-auth-link:hover,
.ffn-ed-nav-link[aria-current="page"] {
    transform: translateY(-2px);
    color: var(--ffn-ed-text);
    background: var(--ffn-ed-surface-strong);
    border-color: rgba(0, 87, 255, 0.22);
}

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

.ffn-ed-button.is-primary:hover,
.ffn-ed-auth-link.is-primary:hover {
    color: #ffffff;
    background: #0047d5;
}

.ffn-ed-nav-link.is-toggle {
    cursor: pointer;
    font: inherit;
}

.ffn-ed-nav-chevron {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s ease;
}

.ffn-ed-dropdown.is-open .ffn-ed-nav-chevron {
    transform: rotate(180deg);
}

.ffn-ed-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 0;
    width: min(20rem, 72vw);
    padding: 1rem;
    border-radius: 1.3rem;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface-strong);
    box-shadow: var(--ffn-ed-shadow-card);
    backdrop-filter: blur(22px);
}

.ffn-ed-dropdown-panel[hidden] {
    display: none;
}

.ffn-ed-dropdown-panel.is-tools {
    width: min(22rem, 76vw);
}

.ffn-ed-dropdown-section + .ffn-ed-dropdown-section {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--ffn-ed-border);
}

.ffn-ed-dropdown-heading {
    margin-bottom: 0.55rem;
    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-ed-dropdown-links,
.ffn-ed-mobile-link-list {
    display: grid;
    gap: 0.45rem;
}

.ffn-ed-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 2.8rem;
    padding: 0 0.85rem;
    border-radius: 0.95rem;
    color: var(--ffn-ed-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.ffn-ed-dropdown-link:hover,
.ffn-ed-dropdown-link[aria-current="page"] {
    background: rgba(0, 87, 255, 0.06);
    color: var(--ffn-ed-text);
}

.ffn-ed-dropdown-hint {
    margin-top: 0.9rem;
    color: var(--ffn-ed-text-soft);
    font-size: 0.72rem;
    line-height: 1.6;
}

.ffn-ed-week-search {
    display: grid;
    gap: 0.55rem;
}

.ffn-ed-week-label {
    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-ed-week-input {
    width: 100%;
    min-height: 3rem;
    padding: 0 0.95rem;
    border-radius: 1rem;
    border: 1px solid var(--ffn-ed-border);
    background: rgba(255, 255, 255, 0.7);
    color: var(--ffn-ed-text);
    font: inherit;
    font-size: 0.92rem;
}

.ffn-ed-week-input:focus {
    outline: none;
    border-color: rgba(0, 87, 255, 0.38);
    box-shadow: 0 0 0 0.24rem rgba(0, 87, 255, 0.1);
}

.ffn-ed-week-feedback {
    min-height: 1rem;
    color: #b42318;
    font-size: 0.74rem;
    font-weight: 600;
}

.ffn-ed-week-feedback:empty {
    display: none;
}

.ffn-ed-week-suggestions {
    display: grid;
    gap: 0.45rem;
}

.ffn-ed-week-suggestions[hidden] {
    display: none;
}

.ffn-ed-week-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.48);
    color: var(--ffn-ed-text);
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.ffn-ed-week-option:hover {
    border-color: rgba(0, 87, 255, 0.18);
    background: rgba(0, 87, 255, 0.06);
}

.ffn-ed-week-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.3rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: rgba(0, 87, 255, 0.1);
    color: var(--ffn-ed-accent);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.7rem;
    font-weight: 800;
}

.ffn-ed-week-option-copy {
    display: grid;
    gap: 0.16rem;
}

.ffn-ed-week-option-copy strong {
    font-size: 0.84rem;
    letter-spacing: -0.01em;
}

.ffn-ed-week-option-copy small {
    color: var(--ffn-ed-text-soft);
    font-size: 0.74rem;
}

.ffn-ed-profile {
    position: relative;
}

.ffn-ed-profile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.9rem;
    padding: 0 0.8rem 0 0.35rem;
    border-radius: var(--ffn-ed-radius-pill);
    border: 1px solid var(--ffn-ed-border);
    background: rgba(255, 255, 255, 0.5);
    color: var(--ffn-ed-text);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--ffn-ed-shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ffn-ed-profile-toggle:hover,
.ffn-ed-profile.is-open .ffn-ed-profile-toggle {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 255, 0.22);
    background: var(--ffn-ed-surface-strong);
}

.ffn-ed-profile-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0057ff, #3b82f6);
    color: #ffffff;
    font-size: 0.78rem;
    box-shadow: 0 12px 28px rgba(0, 87, 255, 0.2);
}

.ffn-ed-profile-label {
    white-space: nowrap;
}

.ffn-ed-profile-menu {
    position: absolute;
    top: calc(100% + 0.9rem);
    right: 0;
    min-width: 15rem;
    padding: 0.75rem;
    border-radius: 1.25rem;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface-strong);
    box-shadow: var(--ffn-ed-shadow-card);
    backdrop-filter: blur(22px);
}

.ffn-ed-profile-summary {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.3rem 0.75rem;
    border-bottom: 1px solid var(--ffn-ed-border);
}

.ffn-ed-profile-summary-name {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ffn-ed-profile-summary-email {
    margin-top: 0.25rem;
    color: var(--ffn-ed-text-soft);
    font-size: 0.82rem;
}

.ffn-ed-profile-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.8rem;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 0.9rem;
    background: transparent;
    color: var(--ffn-ed-text-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.ffn-ed-profile-link:hover {
    background: rgba(0, 87, 255, 0.06);
    color: var(--ffn-ed-text);
}

.ffn-ed-profile-link.is-danger {
    color: #b42318;
}

.ffn-ed-profile-link.is-danger:hover {
    background: rgba(180, 35, 24, 0.08);
    color: #8f1f13;
}

.ffn-ed-mobile-toggle {
    display: none;
}

.ffn-ed-mobile-panel {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.3rem;
    border: 1px solid var(--ffn-ed-border);
    background: var(--ffn-ed-surface-strong);
    box-shadow: var(--ffn-ed-shadow-soft);
    max-height: calc(100vh - 8rem);
    overflow: auto;
}

.ffn-ed-mobile-panel.is-open {
    display: grid;
    gap: 0.75rem;
}

.ffn-ed-mobile-panel .ffn-ed-nav-link,
.ffn-ed-mobile-panel .ffn-ed-button,
.ffn-ed-mobile-panel .ffn-ed-auth-link {
    width: 100%;
    justify-content: flex-start;
}

.ffn-ed-mobile-section {
    display: grid;
    gap: 0.7rem;
    padding-top: 0.3rem;
    border-top: 1px solid var(--ffn-ed-border);
}

.ffn-ed-mobile-section-title {
    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-ed-mobile-auth {
    display: grid;
    gap: 0.6rem;
    padding-top: 0.2rem;
    border-top: 1px solid var(--ffn-ed-border);
}

.ffn-ed-mobile-account {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--ffn-ed-border);
}

.ffn-ed-mobile-account-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.3rem 0.15rem 0.2rem;
}

.ffn-ed-mobile-account-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #0057ff, #3b82f6);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 87, 255, 0.2);
}

.ffn-ed-mobile-account-copy {
    min-width: 0;
}

.ffn-ed-mobile-account-name {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ffn-ed-mobile-account-email {
    color: var(--ffn-ed-text-soft);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.ffn-ed-grid {
    display: grid;
    gap: 1.5rem;
}

.ffn-ed-grid.is-two-column {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 4rem;
}

.ffn-ed-hero {
    position: relative;
    min-height: 26rem;
    padding: 1rem 0 0.5rem;
}

.ffn-ed-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    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;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ffn-ed-kicker::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-ed-panel,
.ffn-ed-card {
    border-radius: var(--ffn-ed-radius-card);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--ffn-ed-shadow-card);
    backdrop-filter: blur(22px);
}

.ffn-ed-panel {
    padding: 1.6rem 1.4rem;
}

.ffn-ed-card {
    padding: 1.25rem;
}

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

.ffn-ed-story-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.ffn-ed-story-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(0, 87, 255, 0.24);
    color: var(--ffn-ed-accent);
    font-size: 0.62rem;
    font-weight: 800;
}

.ffn-ed-table {
    width: 100%;
    border-collapse: collapse;
}

.ffn-ed-table th,
.ffn-ed-table td {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(7, 16, 31, 0.05);
    text-align: left;
}

.ffn-ed-table th {
    color: var(--ffn-ed-text-soft);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ffn-ed-table td.is-mono,
.ffn-ed-table th.is-mono {
    font-family: var(--ffn-ed-font-mono);
}

.ffn-ed-article-shell {
    max-width: 56rem;
    margin: 0 auto;
}

.ffn-ed-article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ffn-ed-border);
}

.ffn-ed-article-title {
    margin: 0.6rem 0 1rem;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.ffn-ed-article-content {
    color: var(--ffn-ed-text-muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.ffn-ed-article-content h2,
.ffn-ed-article-content h3 {
    color: var(--ffn-ed-text);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ffn-ed-footer {
    max-width: var(--ffn-ed-max-width);
    margin: 0 auto;
    padding: 2rem;
}

.ffn-ed-footer-inner {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr 0.9fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--ffn-ed-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.42));
    box-shadow: var(--ffn-ed-shadow-soft);
}

.ffn-ed-footer-heading {
    margin-bottom: 0.8rem;
    color: var(--ffn-ed-text-soft);
    font-family: var(--ffn-ed-font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ffn-ed-footer-list {
    display: grid;
    gap: 0.55rem;
}

.ffn-ed-footer-copy {
    margin: 0;
    color: var(--ffn-ed-text-muted);
    line-height: 1.65;
    max-width: 34ch;
}

.ffn-ed-footer-list a {
    color: var(--ffn-ed-text-muted);
    text-decoration: none;
}

.ffn-ed-footer-list a:hover {
    color: var(--ffn-ed-text);
}

@media (max-width: 1100px) {
    .ffn-ed-header-inner {
        gap: 1rem;
    }

    .ffn-ed-nav-link,
    .ffn-ed-button,
    .ffn-ed-auth-link,
    .ffn-ed-profile-toggle {
        min-height: 2.7rem;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        font-size: 0.72rem;
    }

    .ffn-ed-page {
        padding: 5rem 2.5rem 4rem;
    }

    .ffn-ed-grid.is-two-column,
    .ffn-ed-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .ffn-ed-header {
        padding: 1rem 1rem 0;
    }

    .ffn-ed-page {
        padding: 4.5rem 1.25rem 3rem;
    }

    .ffn-ed-nav,
    .ffn-ed-actions {
        display: none;
    }

    .ffn-ed-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        border: 1px solid var(--ffn-ed-border);
        background: var(--ffn-ed-surface);
        color: var(--ffn-ed-text);
        box-shadow: var(--ffn-ed-shadow-soft);
    }

    .ffn-ed-grid.is-two-column,
    .ffn-ed-footer-inner {
        grid-template-columns: 1fr;
    }

    .ffn-ed-hero {
        min-height: auto;
    }

    .ffn-ed-brand-copy {
        display: none;
    }

    .ffn-ed-mobile-panel {
        max-height: calc(100vh - 6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ffn-ed-bloom,
    .ffn-ed-nav-link,
    .ffn-ed-button,
    .ffn-ed-auth-link,
    .ffn-ed-profile-toggle,
    .ffn-ed-profile-link {
        animation: none !important;
        transition: none !important;
    }
}
