/* /features - full catalog, docs style. Matches the key guides / education pages. */
:root {
    --fx-panel: rgba(9, 20, 34, 0.72);
    --fx-line: rgba(255, 255, 255, 0.09);
    --fx-text: #f5f1e8;
    --fx-muted: rgba(245, 241, 232, 0.72);
    --fx-soft: rgba(245, 241, 232, 0.52);
    --fx-gold: #f2c95f;
    --fx-gold-2: #d8a83d;
    --fx-green: #86e08d;
}
.fx-body {
    background:
        radial-gradient(circle at 90% 4%, rgba(216, 180, 106, 0.08), transparent 30%),
        linear-gradient(180deg, #14191d 0%, #050d18 100%);
    color: var(--fx-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}
.fx-page { padding: 30px 26px 64px; }
.fx-page *, .fx-page *::before, .fx-page *::after { box-sizing: border-box; }
.fx-page a { color: var(--fx-gold); }
.fx-page h1, .fx-page h2, .fx-page h3 { color: #fff; margin: 0; }
.fx-page p { margin: 0; }
.fx-ic { color: var(--fx-gold); flex: none; }
.fx-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Intro */
.fx-intro { padding: 6px 0 24px; border-bottom: 1px solid var(--fx-line); }
.fx-eyebrow { font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-gold); }
.fx-intro h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -.03em; line-height: 1.06; margin-top: 8px; }
.fx-lead { color: var(--fx-muted); font-size: 1.02rem; line-height: 1.6; max-width: 720px; margin-top: 12px !important; }
.fx-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: .9rem; color: var(--fx-soft); }
.fx-stats b { color: #fff; font-family: Georgia, serif; font-weight: 500; font-size: 1.15rem; margin-right: 5px; }
.fx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.fx-filters__label { font-size: .8rem; color: var(--fx-soft); margin-right: 2px; }
.fx-chip { font: inherit; font-size: .84rem; font-weight: 800; color: #d5d9df; background: transparent; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 6px 13px; cursor: pointer; white-space: nowrap; }
.fx-chip:hover { border-color: rgba(242, 201, 95, .5); }
.fx-chip.is-on { border-color: var(--fx-gold-2); color: var(--fx-gold); background: rgba(216, 155, 53, .1); }

/* Tags */
.fx-tag { display: inline-block; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; border-radius: 5px; padding: 2px 6px; white-space: nowrap; vertical-align: middle; margin-left: 6px; position: relative; top: -1px; }
.fx-tag--members { color: var(--fx-soft); border: 1px solid rgba(255, 255, 255, .15); }
.fx-tag--free { color: var(--fx-green); background: rgba(112, 208, 111, .1); border: 1px solid rgba(112, 208, 111, .36); }
.fx-tag--new { color: var(--fx-gold); background: rgba(216, 155, 53, .12); border: 1px solid rgba(216, 155, 53, .45); }

/* Docs layout */
.fx-wrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 26px; }
.fx-side { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; padding: 14px; border: 1px solid var(--fx-line); border-radius: 14px; background: rgba(5, 14, 25, .72); scrollbar-width: thin; }
.fx-q { width: 100%; font: inherit; font-size: .88rem; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .15); border-radius: 9px; padding: 8px 11px; outline: none; }
.fx-q::placeholder { color: var(--fx-soft); }
.fx-q:focus { border-color: var(--fx-gold-2); }
.fx-side__h { font-size: .68rem !important; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-soft) !important; margin: 16px 0 6px !important; }
.fx-page .fx-side__cat { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; font-weight: 800; color: #e3e6ea; padding: 6px 8px; border-radius: 7px; text-decoration: none; }
.fx-page .fx-side__cat:hover, .fx-page .fx-side__cat.is-on { background: rgba(216, 155, 53, .1); color: var(--fx-gold); }
.fx-side__cat small { color: var(--fx-soft); font-weight: 700; }
.fx-side__sub { list-style: none; margin: 2px 0 6px 8px; padding: 0 0 0 10px; border-left: 1px solid var(--fx-line); }
.fx-page .fx-side__sub a { display: block; font-size: .78rem; color: rgba(245, 241, 232, .62); padding: 3px 0; text-decoration: none; line-height: 1.35; }
.fx-page .fx-side__sub a:hover { color: var(--fx-gold); }

.fx-cat { padding: 2px 0 26px; scroll-margin-top: 16px; }
.fx-cat + .fx-cat { border-top: 1px solid var(--fx-line); padding-top: 26px; }
.fx-cat__head h2 { font-family: Georgia, serif; font-weight: 500; font-size: 1.65rem; letter-spacing: -.02em; }
.fx-cat__head p { color: var(--fx-soft); font-size: .94rem; margin-top: 4px !important; }
.fx-list { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
.fx-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--fx-line); scroll-margin-top: 16px; }
.fx-item .fx-ic { margin-top: 1px; }
.fx-item h3 { font-size: .98rem; font-weight: 800; line-height: 1.4; }
.fx-item p { font-size: .9rem; color: var(--fx-muted); line-height: 1.5; margin-top: 3px !important; }
.fx-page details { margin-top: 7px; }
.fx-page summary { cursor: pointer; font-size: .8rem; font-weight: 800; color: var(--fx-gold); list-style: none; display: inline-block; }
.fx-page summary::-webkit-details-marker { display: none; }
.fx-page summary::after { content: " +"; }
.fx-page details[open] summary::after { content: " −"; }
.fx-page details ul { margin: 7px 0 0; padding-left: 16px; display: grid; gap: 4px; }
.fx-page details li { font-size: .85rem; color: rgba(245, 241, 232, .66); line-height: 1.45; }
.fx-empty { color: var(--fx-muted); padding: 24px 0; }

/* Paid profiles featured band */
.fx-paid { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; margin-top: 16px; padding: 20px 22px; border: 1px solid rgba(216, 168, 61, .45); border-radius: 14px; background: linear-gradient(120deg, rgba(216, 155, 53, .13), rgba(9, 20, 34, .6) 60%); scroll-margin-top: 16px; }
.fx-paid__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 155, 53, .12); border: 1px solid rgba(216, 155, 53, .35); }
.fx-page .fx-paid__eyebrow { font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-gold); }
.fx-paid h3 { font-family: Georgia, serif; font-weight: 500; font-size: 1.4rem; letter-spacing: -.01em; margin-top: 4px !important; }
.fx-paid__body > p { color: var(--fx-muted); font-size: .94rem; line-height: 1.55; margin-top: 6px !important; }
.fx-paid__list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 5px; color: #e9e6df; font-size: .9rem; line-height: 1.45; }
.fx-paid__list li::marker { color: var(--fx-gold); }
.fx-paid__body > .fx-paid__fine { font-size: .82rem; color: var(--fx-soft); margin-top: 10px !important; }

/* Buttons */
.fx-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; border-radius: 10px; padding: 10px 16px; text-decoration: none; white-space: nowrap; }
.fx-page .fx-btn--primary { background: linear-gradient(180deg, #f2c95f, #d8a83d); color: #1a1406; }
.fx-page .fx-btn--ghost { border: 1px solid rgba(242, 201, 95, .5); color: var(--fx-gold); margin-top: 14px; }
.fx-page .fx-btn:hover { text-decoration: none; filter: brightness(1.06); }

/* Compare */
.fx-compare { padding-top: 40px; margin-top: 12px; border-top: 1px solid var(--fx-line); scroll-margin-top: 16px; }
.fx-compare h2 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(1.55rem, 2.4vw, 2.05rem); letter-spacing: -.02em; }
.fx-compare__lead { color: var(--fx-muted); margin-top: 8px !important; max-width: 720px; }
.fx-table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--fx-line); border-radius: 14px; }
.fx-table { width: 100%; border-collapse: collapse; min-width: 560px; color: var(--fx-text); }
.fx-table th, .fx-table td { padding: 11px 14px; border-top: 1px solid var(--fx-line); text-align: center; font-size: .9rem; }
.fx-table thead th { border-top: 0; background: rgba(255, 255, 255, .025); vertical-align: bottom; font-weight: 400; }
.fx-table thead th b { display: block; font-size: .98rem; color: #fff; }
.fx-table thead th small { display: block; font-family: Georgia, serif; font-size: 1.3rem; color: var(--fx-gold); margin-top: 2px; }
.fx-table thead th small em { font-family: Inter, sans-serif; font-style: normal; font-size: .76rem; color: var(--fx-soft); }
.fx-table td:first-child { text-align: left; color: #e3e6ea; }
.fx-table .fx-y { color: var(--fx-green); font-weight: 900; }
.fx-table .fx-n { color: #5b6679; }
.fx-table .fx-v { color: #fff; font-weight: 800; }
.fx-table .fx-grp td { background: rgba(255, 255, 255, .02); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #d1a14e; }
.fx-table .fx-pop { background: rgba(216, 155, 53, .05); }
.fx-fine { font-size: .85rem; color: var(--fx-soft); margin-top: 14px !important; line-height: 1.55; }
.fx-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 20px 24px; border: 1px solid rgba(216, 155, 53, .4); border-radius: 14px; background: linear-gradient(90deg, rgba(216, 155, 53, .09), rgba(8, 19, 33, .5)); }
.fx-cta h3 { font-family: Georgia, serif; font-weight: 500; font-size: 1.35rem; }
.fx-cta p { color: var(--fx-muted); font-size: .94rem; margin-top: 4px !important; }

/* Mobile nav */
.fx-mobnav { display: none; }
@media (max-width: 1199.98px) {
    .fx-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
    .fx-side { display: none; }
    .fx-mobnav { display: block; position: sticky; top: 0; z-index: 30; background: rgba(5, 13, 24, .96); border-bottom: 1px solid var(--fx-line); margin: 0 -26px 18px; padding: 10px 26px; }
    .fx-mobnav__row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 8px; }
    .fx-mobnav__row::-webkit-scrollbar { display: none; }
    .fx-page .fx-mobnav__row a { flex: none; white-space: nowrap; font-size: .8rem; font-weight: 800; color: #d5d9df; border: 1px solid rgba(255, 255, 255, .13); border-radius: 999px; padding: 6px 11px; text-decoration: none; }
    .fx-page .fx-mobnav__row a.is-on { border-color: var(--fx-gold-2); color: var(--fx-gold); }
    .fx-cat { scroll-margin-top: 100px; }
    .fx-item, .fx-paid { scroll-margin-top: 100px; }
}
@media (max-width: 575.98px) {
    .fx-page { padding: 22px 16px 48px; }
    .fx-mobnav { margin: 0 -16px 16px; padding: 10px 16px; }
    .fx-intro h1 { font-size: 1.9rem; }
    .fx-cat__head h2 { font-size: 1.4rem; }
    .fx-paid { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
    .fx-paid__icon { width: 42px; height: 42px; }
    .fx-cta { padding: 18px 16px; }
    .fx-cta .fx-btn { width: 100%; justify-content: center; }
}
