:root {
    --ft-paper: #f4f6ff;
    --ft-white: #ffffff;
    --ft-ink: #0a1f6a;
    --ft-mute: #44548f;
    --ft-gold: #ffe14a;
    --ft-gold-2: #f5b400;
    --ft-gold-ink: #c79200;
    --ft-blue: #0010ef;
    --ft-blue-2: #0023b5;
    --ft-night: #051040;
    --ft-pitch: linear-gradient(160deg, #07351f 0%, #0b1d4d 58%, #00103a 100%);
    --ft-line: rgba(0, 16, 239, 0.12);
    --ft-pad: 2.5rem;
    --ft-max: 1240px;
    --ft-radius: 20px;
    --ft-radius-sm: 12px;
    --ft-shadow: 0 10px 28px rgba(10, 31, 106, 0.07);
    --ft-display: "Teko", "Arial Narrow", Impact, sans-serif;
    --ft-sans: "Manrope", "Segoe UI", sans-serif;
    --ft-band: linear-gradient(135deg, #0010ef, #0023b5);
}

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

html {
    scroll-behavior: smooth;
}

body.ft-public {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    font-family: var(--ft-sans);
    color: var(--ft-ink);
    background:
        radial-gradient(1100px 420px at 8% -8%, rgba(0, 16, 239, 0.14), transparent 55%),
        radial-gradient(800px 340px at 100% 0%, rgba(255, 196, 0, 0.14), transparent 48%),
        var(--ft-paper);
    overflow-x: hidden;
}

.ft-public h1,
.ft-public h2,
.ft-public h3,
.ft-public h4,
.ft-public p {
    color: inherit;
}

.ft-public a {
    color: var(--ft-blue);
}

.ft-public button {
    font-family: inherit;
}

.ft-wrap,
.ft-nav__inner,
.ft-hero__inner,
.ft-strip__inner,
.ft-section,
.ft-quote__inner,
.ft-final__inner,
.ft-footer__inner,
.ft-footer__legal {
    width: min(var(--ft-max), calc(100% - (var(--ft-pad) * 2)));
    margin-left: auto;
    margin-right: auto;
}

.ft-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 80;
    padding: 0.6rem 0.9rem;
    background: var(--ft-gold);
    color: #111;
    font-weight: 800;
}

.ft-public a.ft-skip,
.ft-public a.ft-skip:hover,
.ft-public a.ft-skip:focus {
    color: #111;
    text-decoration: none;
}

.ft-skip:focus {
    top: 1rem;
}

.ft-grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 15;
    opacity: 0.03;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

.ft-kicker,
.ft-tag {
    margin: 0 0 0.7rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ft-blue);
}

.ft-tag {
    margin-bottom: 0.45rem;
}

.ft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.7rem;
    padding: 0.55rem 1.15rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--ft-sans);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ft-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.ft-public a.ft-btn {
    text-decoration: none;
}

.ft-public a.ft-btn--gold,
.ft-public a.ft-btn--gold:hover,
.ft-public a.ft-btn--gold:focus {
    color: #14110a;
}

.ft-btn--gold {
    background: linear-gradient(180deg, var(--ft-gold) 0%, var(--ft-gold-2) 100%);
    color: #14110a;
    box-shadow: 0 10px 24px rgba(245, 180, 0, 0.28);
}

.ft-btn--ghost {
    background: rgba(255, 255, 255, 0.72);
    color: var(--ft-blue);
    border: 1px solid rgba(0, 16, 239, 0.28);
}

.ft-public a.ft-btn--ghost,
.ft-public a.ft-btn--ghost:hover,
.ft-public a.ft-btn--ghost:focus {
    color: var(--ft-blue);
}

.ft-nav .ft-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.ft-public .ft-nav a.ft-btn--ghost,
.ft-public .ft-nav a.ft-btn--ghost:hover,
.ft-public .ft-nav a.ft-btn--ghost:focus {
    color: #fff;
}

.ft-btn--xl {
    min-height: 3.15rem;
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
}

.ft-btn--block {
    width: 100%;
}

.ft-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: var(--ft-band);
    border-bottom: 3px solid var(--ft-gold);
    box-shadow: 0 6px 16px rgba(0, 16, 239, 0.25);
}

.ft-nav__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ft-nav__brand img {
    display: block;
    height: 42px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.ft-nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--ft-radius-sm);
    background: transparent;
    padding: 0;
}

.ft-nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: transform 0.18s ease;
}

.ft-nav.is-open .ft-nav__toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.ft-nav.is-open .ft-nav__toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.ft-nav__panel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ft-nav__links {
    display: flex;
    gap: 1.15rem;
}

.ft-nav__links a {
    position: relative;
    color: #e9edff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.ft-nav__links a:hover,
.ft-nav__links a:focus {
    color: #fff;
}

.ft-nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    background: var(--ft-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.18s ease;
}

.ft-nav__links a:hover::after,
.ft-nav__links a:focus::after {
    transform: scaleX(1);
}

.ft-nav .ft-btn--ghost.is-current {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
}

.ft-nav .ft-btn--gold.is-current {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 10px 24px rgba(245, 180, 0, 0.28);
}

.ft-nav__actions {
    display: flex;
    gap: 0.55rem;
}

.ft-flash {
    width: 100%;
    margin: 0;
    background: #e8fff3;
    border-bottom: 1px solid #86efac;
}

.ft-flash__item {
    width: min(var(--ft-max), calc(100% - (var(--ft-pad) * 2)));
    margin: 0 auto;
    padding: 0.7rem 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #14532d;
    font-weight: 700;
    font-size: 0.92rem;
}

.ft-flash__item--danger,
.ft-flash__item--error {
    color: #991b1b;
}

.ft-flash:has(.ft-flash__item--danger),
.ft-flash:has(.ft-flash__item--error) {
    background: #fee2e2;
    border-bottom-color: #fca5a5;
}

.ft-hero {
    position: relative;
    width: 100%;
    min-height: min(84vh, 820px);
    padding: 3.4rem 0 4.2rem;
    overflow: hidden;
    isolation: isolate;
}

.ft-hero__media,
.ft-hero__veil {
    position: absolute;
    inset: 0;
}

.ft-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 42%;
}

.ft-hero__veil {
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(244, 246, 255, 0.9) 0%, rgba(244, 246, 255, 0.58) 32%, rgba(244, 246, 255, 0.12) 60%, transparent 78%),
        linear-gradient(180deg, rgba(0, 16, 239, 0.1), transparent 24%);
}

.ft-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.ft-hero h1,
.ft-section h2,
.ft-quote blockquote p,
.ft-final h2,
.ft-auth-panel h1 {
    font-family: var(--ft-display);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 0.9;
    text-transform: uppercase;
}

.ft-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(3.2rem, 8vw, 6.2rem);
    color: var(--ft-ink);
}

.ft-hero h1 em {
    font-style: normal;
    color: var(--ft-gold-ink);
}

.ft-hero__lead,
.ft-section__head p,
.ft-auth-panel p {
    color: var(--ft-mute);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 38rem;
}

.ft-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.5rem 0 0.8rem;
}

.ft-hero__fine {
    margin: 0;
    color: #6b7ab3;
    font-size: 0.88rem;
}

.ft-board {
    color: #f8fbff;
    background: var(--ft-pitch);
    border: 1px solid rgba(255, 225, 74, 0.28);
    border-radius: var(--ft-radius);
    padding: 1.15rem 1.2rem 1.05rem;
    box-shadow: 0 18px 40px rgba(10, 31, 106, 0.22);
}

.ft-board__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.ft-board__live {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #04140c;
    background: #8dffc0;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.ft-board__clock {
    font-family: var(--ft-display);
    font-size: 2rem;
    line-height: 1;
}

.ft-board__clock small {
    margin-left: 0.25rem;
    font-size: 0.85rem;
    color: rgba(248, 251, 255, 0.7);
}

.ft-board__replay {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.ft-board__score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.7rem;
    align-items: center;
}

.ft-board__team span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248, 251, 255, 0.7);
}

.ft-board__team strong {
    display: block;
    font-family: var(--ft-display);
    font-size: 1.7rem;
    line-height: 0.95;
}

.ft-board__team.is-you strong {
    color: var(--ft-gold);
}

.ft-board__team:last-child {
    text-align: right;
}

.ft-board__nums {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    font-family: var(--ft-display);
    font-size: 3.4rem;
    line-height: 0.8;
}

.ft-board__nums em {
    font-style: normal;
    color: rgba(248, 251, 255, 0.7);
    font-size: 2rem;
}

.ft-board__nums.is-burst b {
    animation: ft-burst 0.45s ease;
}

.ft-board__status {
    margin: 0.85rem 0 0.7rem;
    color: #8dffc0;
    font-weight: 700;
    min-height: 1.4em;
}

.ft-board__feed {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 8.5rem;
}

.ft-feed-row {
    display: grid;
    grid-template-columns: 2.4rem 1.1rem 1fr;
    gap: 0.4rem;
    align-items: start;
    padding: 0.45rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.ft-feed-row.is-goal {
    background: rgba(255, 225, 74, 0.16);
}

.ft-feed-row small {
    display: block;
    color: rgba(248, 251, 255, 0.7);
}

@keyframes ft-burst {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.ft-strip,
.ft-ticker {
    width: 100%;
    background: var(--ft-white);
    border-block: 1px solid var(--ft-line);
}

.ft-strip {
    padding: 1.15rem 0;
}

.ft-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.ft-strip__inner > div {
    padding: 0.15rem 1rem;
}

.ft-strip__inner > div:not(:last-child) {
    border-right: 1px solid var(--ft-line);
}

.ft-strip strong {
    display: block;
    font-family: var(--ft-display);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--ft-blue);
}

.ft-strip span {
    color: var(--ft-mute);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.ft-ticker {
    overflow: hidden;
    border-top: 0;
    padding: 0.75rem 0;
    background: #eef1fb;
}

.ft-ticker__track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: ft-marquee 28s linear infinite;
    color: var(--ft-mute);
    font-size: 0.92rem;
}

.ft-ticker b {
    color: var(--ft-blue);
    margin: 0 0.4rem;
}

@keyframes ft-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ft-section {
    padding: 5rem 0 0;
}

.ft-section__head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.ft-section h2,
.ft-final h2,
.ft-auth-panel h1 {
    margin: 0 0 0.7rem;
    font-size: clamp(2.4rem, 5vw, 4.1rem);
}

.ft-surface,
.ft-steps li,
.ft-mode,
.ft-card,
.ft-auth-card,
.ft-faq details {
    background: var(--ft-white);
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius);
    box-shadow: var(--ft-shadow);
}

.ft-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ft-steps li {
    padding: 1.25rem 1.15rem 1.35rem;
    border-top: 3px solid var(--ft-gold);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ft-steps li:hover,
.ft-mode:hover,
.ft-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(10, 31, 106, 0.1);
}

.ft-steps span {
    font-family: var(--ft-display);
    font-size: 2.2rem;
    color: var(--ft-blue);
}

.ft-steps h3,
.ft-mode h3,
.ft-card h3,
.ft-auth-card h2 {
    font-family: var(--ft-display);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0.2rem 0 0.45rem;
}

.ft-steps p,
.ft-mode p,
.ft-card p,
.ft-faq p {
    margin: 0;
    color: var(--ft-mute);
    line-height: 1.5;
}

.ft-modes {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1rem;
}

.ft-mode {
    padding: 1.45rem;
}

.ft-mode--featured {
    grid-row: span 2;
    color: #fff;
    background: var(--ft-pitch);
    border: 1px solid rgba(255, 225, 74, 0.28);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ft-mode--featured:hover {
    transform: translateY(-3px);
}

.ft-mode--featured p {
    color: rgba(255, 255, 255, 0.86);
}

.ft-mode--featured .ft-tag {
    color: var(--ft-gold);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ft-mode--featured .ft-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8dffc0;
    box-shadow: 0 0 0 0 rgba(141, 255, 192, 0.65);
    animation: ft-live 1.6s ease-out infinite;
}

@keyframes ft-live {
    70% { box-shadow: 0 0 0 8px rgba(141, 255, 192, 0); }
    100% { box-shadow: 0 0 0 0 rgba(141, 255, 192, 0); }
}

.ft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ft-card {
    padding: 1.3rem 1.25rem 1.4rem;
    border-top: 3px solid var(--ft-gold);
}

.ft-quote {
    width: 100%;
    margin: 5rem 0 0;
    padding: 2.4rem 0;
    background: var(--ft-white);
    border-block: 1px solid var(--ft-line);
}

.ft-quote__inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
}

.ft-quote blockquote {
    margin: 0;
    max-width: 42rem;
    padding-left: 1.15rem;
    border-left: 3px solid var(--ft-gold);
}

.ft-quote blockquote p {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0 0 0.6rem;
    color: var(--ft-ink);
}

.ft-quote cite {
    color: var(--ft-mute);
    font-style: normal;
}

.ft-faq {
    display: grid;
    gap: 0.75rem;
}

.ft-faq details {
    padding: 0;
}

.ft-faq summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
    padding: 1rem 1.15rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.ft-faq summary::-webkit-details-marker {
    display: none;
}

.ft-faq summary::after {
    content: "+";
    font-family: var(--ft-display);
    font-size: 1.6rem;
    color: var(--ft-blue);
    line-height: 1;
}

.ft-faq details[open] {
    border-color: rgba(0, 16, 239, 0.22);
    box-shadow: 0 14px 28px rgba(10, 31, 106, 0.08);
}

.ft-faq details[open] summary {
    color: var(--ft-blue);
}

.ft-faq details[open] summary::after {
    content: "–";
    color: var(--ft-gold-ink);
}

.ft-faq p {
    padding: 0 1.15rem 1.1rem;
}

.ft-final {
    width: 100%;
    margin: 5rem 0 0;
    padding: 4.2rem 0 4rem;
    text-align: center;
    color: #fff;
    background: var(--ft-band);
}

.ft-final .ft-kicker {
    color: var(--ft-gold);
}

.ft-final h2 {
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.ft-final p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto 1.4rem;
    max-width: 34rem;
}

.ft-footer {
    width: 100%;
    margin-top: 0;
    padding: 2.6rem 0 2rem;
    background: var(--ft-night);
    border-top: 3px solid var(--ft-gold);
}

.ft-footer__brand img {
    display: block;
    height: 36px;
    width: auto;
    margin-bottom: 0.7rem;
}

.ft-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.ft-footer__brand p,
.ft-footer a,
.ft-footer small {
    color: #dbe4ff;
}

.ft-footer a {
    display: block;
    text-decoration: none;
    margin-top: 0.35rem;
}

.ft-public .ft-footer a,
.ft-public .ft-footer a:hover,
.ft-public .ft-footer a:focus {
    color: #dbe4ff;
}

.ft-public .ft-footer a:hover,
.ft-public .ft-footer a:focus {
    color: #fff;
}

.ft-footer__cols {
    display: flex;
    gap: 3rem;
}

.ft-footer__cols p {
    margin: 0;
    color: var(--ft-gold);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.ft-footer__legal {
    margin: 2rem auto 0;
}

.ft-dock {
    display: none;
}

.ft-auth-shell {
    width: 100%;
    min-height: calc(100vh - 220px);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
}

.ft-auth-panel {
    min-height: 520px;
    padding: clamp(2rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3.4rem);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(160deg, rgba(0, 16, 239, 0.78), rgba(5, 16, 64, 0.55)),
        url("/assets/img/hero-stadium.jpg") center / cover;
}

.ft-auth-panel .ft-kicker {
    color: var(--ft-gold);
}

.ft-auth-panel h1 {
    color: #fff;
}

.ft-auth-panel p {
    color: rgba(255, 255, 255, 0.86);
}

.ft-auth-panel__back {
    color: var(--ft-gold);
    margin-top: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
}

.ft-public a.ft-auth-panel__back,
.ft-public a.ft-auth-panel__back:hover,
.ft-public a.ft-auth-panel__back:focus {
    color: var(--ft-gold);
}

.ft-public a.ft-auth-panel__back:hover,
.ft-public a.ft-auth-panel__back:focus {
    color: #fff;
}

.ft-auth-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.6rem var(--ft-pad);
    background: var(--ft-paper);
}

.ft-auth-card {
    width: min(100%, 28rem);
    padding: 1.7rem 1.6rem;
    border-top: 3px solid var(--ft-gold);
}

.ft-auth-card h2 {
    color: var(--ft-ink);
}

.ft-auth-card__code {
    margin: 0 0 0.2rem;
    font-family: var(--ft-display);
    font-size: clamp(4.5rem, 10vw, 7rem);
    line-height: 0.8;
    color: var(--ft-blue);
}

.ft-auth-card form {
    display: grid;
    gap: 0.85rem;
}

.ft-auth-card label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ft-auth-card input {
    min-height: 2.8rem;
    border: 1px solid var(--ft-line);
    border-radius: var(--ft-radius-sm);
    padding: 0.5rem 0.75rem;
    font-family: var(--ft-sans);
    background: var(--ft-white);
}

.ft-auth-card input:focus {
    outline: 2px solid var(--ft-blue);
    border-color: transparent;
}

.ft-alert {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 0.9rem;
    border-radius: var(--ft-radius-sm);
    margin-bottom: 0.8rem;
}

.ft-auth-card__alt {
    margin: 1rem 0 0;
    color: var(--ft-mute);
}

.ft-auth-card__alt a {
    color: var(--ft-blue);
    font-weight: 800;
}

body.ft-auth .ft-dock {
    display: none;
}

body.ft-auth .ft-footer {
    border-top: 3px solid var(--ft-gold);
}

body.ft-auth .ft-final {
    display: none;
}

@media (max-width: 980px) {
    :root {
        --ft-pad: 1.15rem;
    }

    .ft-hero__inner,
    .ft-steps,
    .ft-modes,
    .ft-grid,
    .ft-auth-shell,
    .ft-footer__inner {
        grid-template-columns: 1fr;
    }

    .ft-modes {
        display: flex;
        flex-direction: column;
    }

    .ft-mode--featured {
        grid-row: auto;
        min-height: 0;
        justify-content: flex-start;
    }

    .ft-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .ft-strip__inner > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--ft-line);
        padding-bottom: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .ft-strip__inner > div:nth-child(2n) {
        border-right: 0;
    }

    .ft-quote__inner,
    .ft-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-hero {
        min-height: 0;
        padding: 2rem 0 2.4rem;
    }

    .ft-hero__veil {
        background: linear-gradient(180deg, rgba(244, 246, 255, 0.92) 0%, rgba(244, 246, 255, 0.78) 46%, rgba(244, 246, 255, 0.4) 100%);
    }

    .ft-section,
    .ft-quote,
    .ft-final {
        padding-top: 3.2rem;
    }

    .ft-auth-panel {
        min-height: 280px;
        padding: 2rem 1.25rem;
    }

    .ft-auth-form {
        padding: 1.6rem var(--ft-pad) 2.4rem;
    }

    .ft-nav__toggle {
        display: inline-block;
    }

    .ft-nav__panel {
        display: none;
        position: absolute;
        left: var(--ft-pad);
        right: var(--ft-pad);
        top: 72px;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: var(--ft-radius);
        background: var(--ft-white);
        border: 1px solid var(--ft-line);
        border-top: 3px solid var(--ft-gold);
        box-shadow: 0 18px 40px rgba(10, 31, 106, 0.16);
        z-index: 45;
    }

    .ft-nav.is-open .ft-nav__panel {
        display: flex;
    }

    .ft-nav__links {
        flex-direction: column;
        gap: 0.7rem;
    }

    .ft-nav__links a::after {
        display: none;
    }

    .ft-nav__panel .ft-nav__links a {
        color: var(--ft-ink);
        padding: 0.25rem 0;
    }

    .ft-nav__panel .ft-btn--ghost {
        color: var(--ft-blue);
        border-color: rgba(0, 16, 239, 0.35);
        background: transparent;
    }

    .ft-public .ft-nav__panel a.ft-btn--ghost,
    .ft-public .ft-nav__panel a.ft-btn--ghost:hover,
    .ft-public .ft-nav__panel a.ft-btn--ghost:focus {
        color: var(--ft-blue);
    }

    body.ft-home .ft-footer {
        padding-bottom: 6.5rem;
    }

    body.ft-home .ft-dock {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
        border-top: 3px solid var(--ft-gold);
        background: rgba(244, 246, 255, 0.94);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--ft-line);
    }

    .ft-dock__cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ft-ticker__track,
    .ft-board__nums.is-burst b,
    .ft-mode--featured .ft-tag::before {
        animation: none;
    }

    .ft-btn:hover,
    .ft-steps li:hover,
    .ft-mode:hover,
    .ft-card:hover {
        transform: none;
    }
}
