/*
 * Falcon Article template styles.
 *
 * Styles the importable Elementor article template in
 * elementor-templates/falcon-article.json. The template uses only native
 * Elementor widgets (Container, Heading, Text Editor, Image, Icon, Button,
 * Nested Accordion); each one carries an `fta-*` class, and every look lives
 * here. Changing this file restyles every article built from the template,
 * with nothing to re-edit in Elementor.
 *
 * Every block's root container carries `fta`, which scopes all rules below,
 * so a block copied into another post keeps its look on its own.
 *
 * Tokens mirror falcon-trading-systems-site-mockups/branding-guide-and-styles/
 * brand-guide.html (sections 04 Color, 05 Typography, 07 Primitives,
 * 08 Shape & Space). Change them there first, then here.
 */

.fta {
    --fta-black: #000000;
    --fta-dark: #0d0d0d;
    --fta-ground: #111111;
    --fta-panel: #1a1a1a;
    --fta-panel-mid: #222222;
    --fta-border: rgba(255, 255, 255, 0.08);
    --fta-border-lo: rgba(255, 255, 255, 0.06);

    --fta-blue: #2B64F8;
    --fta-blue-dark: #005DC7;
    --fta-blue-light: #58A6FF;
    --fta-blue-tint: #7ab4ff;

    --fta-white: #ffffff;
    --fta-gray: #b0b5bc;
    --fta-gray-dim: #848990;

    --fta-green: #4ade80;
    --fta-amber: #fbbf24;

    --fta-font-display: 'Eina01', 'Eina02', 'Poppins', sans-serif;
    --fta-font-body: 'Lexend Deca', 'Poppins', sans-serif;
    --fta-font-ui: 'Poppins', 'Lexend Deca', sans-serif;
    --fta-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;

    --fta-radius-pill: 50px;
    --fta-radius-card: 16px;
    --fta-radius-tile: 13px;
    --fta-radius-sm: 5px;

    color: var(--fta-gray);
    font-family: var(--fta-font-body);
}

/* Section numbers ("01", "02", ...) count every numbered eyebrow on the
   page, so the reset has to sit on an ancestor of all of them. */
body {
    counter-reset: fta-section;
}

/* ------------------------------------------------------------------
   Section rhythm
   ------------------------------------------------------------------ */

.fta.fta-section {
    position: relative;
    gap: 0;
    padding-block: 72px;
    padding-inline: 0;
}

.fta.fta-section:first-child {
    padding-top: 8px;
}

/* Copy that follows a block (cards, a table, a quote) needs air above it;
   copy right under the section head already has the head's margin. */
.fta.fta-section > :not(.fta-head):not(.fta-vol) + .fta-copy {
    margin-top: 32px;
}

/* A pull quote straight under a section head doesn't add its own gap. */
.fta .fta-head + .fta-quote {
    margin-top: 0;
}

/* Volume-bar strip across a section's top edge (see article-motif.js). */
.fta .fta-vol {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    overflow: hidden;
    border-radius: 4px;
    pointer-events: none;
}

/* ------------------------------------------------------------------
   Candlestick motif (see article-motif.js)
   ------------------------------------------------------------------ */

.fta .fta-candles,
.fta.fta-candles {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.fta .fta-motif {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.fta .fta-candles > :not(.fta-motif):not(.fta-vol),
.fta.fta-candles > :not(.fta-motif):not(.fta-vol) {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------------
   Section heads: eyebrow, H2, optional sub-lede
   ------------------------------------------------------------------ */

.fta .fta-head {
    gap: 14px;
    margin-bottom: 40px;
    max-width: 720px;
}

.fta .fta-eyebrow .elementor-heading-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--fta-blue-light);
    font-family: var(--fta-font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

.fta .fta-eyebrow--num .elementor-heading-title::before {
    counter-increment: fta-section;
    content: counter(fta-section, decimal-leading-zero);
    color: var(--fta-gray-dim);
    font-family: var(--fta-mono);
    font-weight: 500;
    letter-spacing: 0;
}

.fta .fta-h2 .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.15;
    text-wrap: balance;
}

.fta .fta-sub p {
    margin: 0;
    color: var(--fta-gray);
    font-size: 17px;
    line-height: 1.7;
}

/* ------------------------------------------------------------------
   Body copy
   ------------------------------------------------------------------ */

.fta .fta-copy p,
.fta .fta-lede p {
    margin: 0 0 1.1em;
    max-width: 70ch;
    color: var(--fta-gray);
    font-family: var(--fta-font-body);
    font-size: 16px;
    line-height: 1.75;
}

.fta .fta-copy p:last-child,
.fta .fta-lede p:last-child {
    margin-bottom: 0;
}

.fta .fta-copy strong,
.fta .fta-lede strong {
    color: var(--fta-white);
    font-weight: 600;
}

.fta .fta-copy a,
.fta .fta-lede a,
.fta .fta-fine a {
    color: var(--fta-blue-light);
    text-decoration: underline;
    text-decoration-color: rgba(88, 166, 255, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.15s;
}

.fta .fta-copy a:hover,
.fta .fta-lede a:hover,
.fta .fta-fine a:hover {
    text-decoration-color: var(--fta-blue-light);
}

.fta .fta-lede p:first-child {
    color: var(--fta-white);
    font-size: 20px;
    line-height: 1.55;
}

.fta .fta-fine p {
    margin: 0;
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 13px;
    letter-spacing: 0.2px;
}

/* ------------------------------------------------------------------
   Intro: product visual + lede
   ------------------------------------------------------------------ */

.fta .fta-intro-row {
    align-items: center;
    gap: 48px;
}

.fta .fta-intro-row > .e-con {
    flex: 1 1 0;
    min-width: 0;
}

/* The product-photo stage: near-black ground, cool blue rim light,
   per brand-guide section 09. */
.fta .fta-stage {
    min-height: 320px;
    padding: 28px;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(60% 65% at 50% 58%, rgba(43, 100, 248, 0.24), transparent 72%),
        var(--fta-ground);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
}

.fta .fta-stage .elementor-widget-image {
    width: 100%;
}

.fta .fta-stage img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: contain;
}

/* ------------------------------------------------------------------
   Stat strip
   ------------------------------------------------------------------ */

.fta .fta-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 48px;
    border-top: 1px solid var(--fta-border);
    border-bottom: 1px solid var(--fta-border);
}

.fta .fta-stat {
    gap: 6px;
    padding: 22px 20px;
    border-right: 1px solid var(--fta-border-lo);
}

.fta .fta-stat:last-child {
    border-right: 0;
}

.fta .fta-stat-num .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.fta .fta-stat-label p {
    margin: 0;
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 12.5px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* ------------------------------------------------------------------
   Grids
   ------------------------------------------------------------------ */

.fta .fta-grid {
    display: grid;
    gap: 22px;
}

.fta .fta-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fta .fta-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ------------------------------------------------------------------
   Cards (product, link) share one panel
   ------------------------------------------------------------------ */

.fta .fta-card {
    overflow: hidden;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
    transition: transform 0.2s, border-color 0.2s;
}

/* Lift only cards that are links (link cards use container HTML tag a). */
.fta a.fta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 166, 255, 0.35);
}

/* Product card */
.fta .fta-product {
    gap: 0;
}

.fta .fta-product-media {
    height: 220px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(55% 60% at 50% 60%, rgba(43, 100, 248, 0.28), transparent 75%),
        var(--fta-ground);
    border-bottom: 1px solid var(--fta-border-lo);
}

.fta .fta-product-media .elementor-widget-image {
    width: 100%;
}

.fta .fta-product-media img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.fta .fta-card-body {
    flex-grow: 1;
    gap: 10px;
    padding: 22px 24px 24px;
}

.fta .fta-card-kicker .elementor-heading-title {
    margin: 0;
    color: var(--fta-blue-light);
    font-family: var(--fta-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1;
    text-transform: uppercase;
}

.fta .fta-card-title .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.fta .fta-price p {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 2px 0 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.fta .fta-price span {
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fta .fta-card-text p {
    margin: 0;
    color: var(--fta-gray);
    font-size: 14px;
    line-height: 1.6;
}

.fta .fta-chips p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}

/* ------------------------------------------------------------------
   Badges and chips (brand-guide section 07)
   ------------------------------------------------------------------ */

.fta .fta-chip,
.fta .fta-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--fta-radius-pill);
    font-family: var(--fta-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.fta .fta-chip {
    background: rgba(43, 100, 248, 0.14);
    border: 1px solid rgba(43, 100, 248, 0.4);
    color: var(--fta-blue-tint);
}

/* Local vs. opt-in: always shown as a pair, never one alone. */
.fta .fta-badge--local {
    background: rgba(74, 222, 128, 0.12);
    border: 1px dashed rgba(74, 222, 128, 0.5);
    color: var(--fta-green);
}

.fta .fta-badge--optin {
    background: rgba(251, 191, 36, 0.12);
    border: 1px dashed rgba(251, 191, 36, 0.5);
    color: var(--fta-amber);
}

/* ------------------------------------------------------------------
   Callout panel (software / scope)
   ------------------------------------------------------------------ */

.fta .fta-callout {
    gap: 16px;
    margin-top: 22px;
    padding: 28px 30px;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-left: 3px solid var(--fta-blue);
    border-radius: 0 var(--fta-radius-card) var(--fta-radius-card) 0;
}

.fta .fta-callout-title .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.fta .fta-scope ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.fta .fta-scope li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0;
    color: var(--fta-gray);
    font-size: 14.5px;
    line-height: 1.55;
}

.fta .fta-scope li::before {
    content: none;
}

.fta .fta-scope .fta-badge {
    flex: 0 0 76px;
    text-align: center;
}

/* ------------------------------------------------------------------
   Split row: copy beside a stacked aside
   ------------------------------------------------------------------ */

.fta .fta-split {
    align-items: flex-start;
    gap: 48px;
}

.fta .fta-split > .fta-copy,
.fta .fta-split > .fta-split-main {
    flex: 1 1 0;
    min-width: 0;
}

.fta .fta-split > .fta-receipts {
    flex: 0 0 300px;
    gap: 14px;
}

/* Receipt: one dated, sourced fact */
.fta .fta-receipt {
    gap: 8px;
    padding: 20px 22px;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
}

.fta .fta-receipt-num .elementor-heading-title {
    margin: 0;
    color: var(--fta-blue-light);
    font-family: var(--fta-font-ui);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.fta .fta-receipt-text p {
    margin: 0;
    color: var(--fta-gray-dim);
    font-size: 13px;
    line-height: 1.5;
}

/* ------------------------------------------------------------------
   Pull quote (brand-guide .hero-line)
   ------------------------------------------------------------------ */

.fta .fta-quote {
    margin-top: 40px;
}

.fta .fta-quote p {
    margin: 0;
    padding: 28px 30px;
    background: var(--fta-panel);
    border-left: 3px solid var(--fta-blue);
    border-radius: 0 var(--fta-radius-card) var(--fta-radius-card) 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
    text-wrap: balance;
}

.fta .fta-quote strong,
.fta .fta-quote em {
    color: var(--fta-blue-light);
    font-style: normal;
    font-weight: 700;
}

.fta .fta-quote small {
    display: block;
    margin-top: 12px;
    color: var(--fta-gray);
    font-family: var(--fta-font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
}

/* ------------------------------------------------------------------
   Model-size ladder: each tier's bar fills one more third
   ------------------------------------------------------------------ */

.fta .fta-ladder {
    margin-top: 36px;
}

.fta .fta-tier {
    position: relative;
    gap: 8px;
    padding: 26px 24px 24px;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
    overflow: hidden;
}

.fta .fta-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: calc(var(--fta-level, 1) * 33.333%);
    background: linear-gradient(90deg, var(--fta-blue-dark), var(--fta-blue-light));
}

.fta .fta-tier:nth-child(2) { --fta-level: 2; }
.fta .fta-tier:nth-child(3) { --fta-level: 3; }

.fta .fta-tier-size .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.fta .fta-tier-label .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.35;
}

.fta .fta-tier-text p {
    margin: 0;
    color: var(--fta-gray-dim);
    font-size: 13px;
    line-height: 1.5;
}

/* ------------------------------------------------------------------
   Feature rows: icon tile + label + one line
   ------------------------------------------------------------------ */

.fta .fta-feats {
    margin-top: 22px;
}

.fta .fta-feat {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
}

.fta .fta-feat > .e-con {
    gap: 4px;
    flex: 1 1 0;
    min-width: 0;
}

.fta .fta-feat-h .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.fta .fta-feat-b p {
    margin: 0;
    color: var(--fta-gray-dim);
    font-size: 13px;
    line-height: 1.5;
}

/* Icon tile: Signal Blue at 12% fill, 11-14px radius, 2px-stroke feel */
.fta .fta-icon {
    flex: 0 0 auto;
    width: auto;
}

.fta .fta-icon .elementor-icon-wrapper {
    line-height: 0;
}

.fta .fta-icon .elementor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(43, 100, 248, 0.12);
    border: 1px solid rgba(43, 100, 248, 0.25);
    border-radius: 11px;
    color: var(--fta-blue-light);
    fill: var(--fta-blue-light);
    font-size: 17px;
}

.fta .fta-icon .elementor-icon i,
.fta .fta-icon .elementor-icon svg {
    width: 17px;
    height: 17px;
    color: var(--fta-blue-light);
    fill: var(--fta-blue-light);
}

/* ------------------------------------------------------------------
   Link cards: the whole card is the link (container HTML tag = a)
   ------------------------------------------------------------------ */

.fta a.fta-link-card,
.fta .fta-link-card {
    position: relative;
    gap: 12px;
    padding: 24px 56px 24px 24px;
    color: inherit;
    text-decoration: none;
}

.fta .fta-link-card::after {
    content: '→';
    position: absolute;
    top: 22px;
    right: 24px;
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s, transform 0.15s;
}

.fta .fta-link-card:hover::after,
.fta .fta-link-card:focus-visible::after {
    color: var(--fta-blue-light);
    transform: translateX(3px);
}

.fta .fta-link-card:focus-visible {
    outline: 2px solid var(--fta-blue-light);
    outline-offset: 2px;
}

.fta .fta-link-card .fta-card-title .elementor-heading-title {
    font-size: 15.5px;
    transition: color 0.15s;
}

.fta .fta-link-card:hover .fta-card-title .elementor-heading-title {
    color: var(--fta-blue-light);
}

.fta .fta-link-card .fta-card-text p {
    color: var(--fta-gray-dim);
    font-size: 13.5px;
}

/* ------------------------------------------------------------------
   FAQ (Elementor Nested Accordion)
   ------------------------------------------------------------------ */

.fta .fta-accordion {
    --n-accordion-border-width: 0px;
    --n-accordion-item-title-space-between: 10px;
    --n-accordion-item-title-distance-from-content: 0px;
    --n-accordion-padding: 0px;
}

.fta .fta-accordion .e-n-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fta .fta-accordion .e-n-accordion-item {
    margin: 0;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
    overflow: hidden;
    transition: border-color 0.15s;
}

.fta .fta-accordion .e-n-accordion-item[open] {
    border-color: rgba(88, 166, 255, 0.35);
}

.fta .fta-accordion .e-n-accordion-item-title {
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.fta .fta-accordion .e-n-accordion-item-title-header {
    flex: 1 1 auto;
}

.fta .fta-accordion .e-n-accordion-item-title-text {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.15s;
}

.fta .fta-accordion .e-n-accordion-item-title:hover .e-n-accordion-item-title-text {
    color: var(--fta-blue-light);
}

.fta .fta-accordion .e-n-accordion-item-title-icon {
    color: var(--fta-blue-light);
    fill: var(--fta-blue-light);
}

.fta .fta-accordion .e-n-accordion-item-title-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--fta-blue-light);
}

.fta .fta-accordion .e-n-accordion-item > .e-con,
.fta .fta-accordion .e-n-accordion-item > [role="region"] {
    padding: 0 22px 20px;
    background: transparent;
    border: 0;
}

.fta .fta-accordion .elementor-widget-text-editor p {
    margin: 0;
    color: var(--fta-gray);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ------------------------------------------------------------------
   Closing CTA band
   ------------------------------------------------------------------ */

.fta .fta-cta {
    gap: 14px;
    align-items: center;
    padding: 64px 40px;
    text-align: center;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
}

/* Dim the motif behind the copy so it stays texture, not a chart to read. */
.fta .fta-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(50% 60% at 50% 50%, rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.25) 100%);
    pointer-events: none;
}

.fta .fta-cta .fta-eyebrow .elementor-heading-title {
    justify-content: center;
}

.fta .fta-cta .fta-h2 .elementor-heading-title {
    font-size: 36px;
}

.fta .fta-cta .fta-sub p {
    max-width: 560px;
    margin-inline: auto;
}

.fta .fta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.fta .fta-actions > .elementor-widget {
    width: auto;
}

.fta .fta-cta .fta-fine {
    margin-top: 6px;
}

/* ------------------------------------------------------------------
   Buttons: every interactive control is a pill
   ------------------------------------------------------------------ */

.fta .fta-btn .elementor-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: var(--fta-radius-pill);
    font-family: var(--fta-font-ui);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.fta .fta-btn--primary .elementor-button {
    background: var(--fta-blue);
    border: 1.5px solid var(--fta-blue);
    color: var(--fta-white);
}

.fta .fta-btn--primary .elementor-button:hover,
.fta .fta-btn--primary .elementor-button:focus-visible {
    background: var(--fta-blue-dark);
    border-color: var(--fta-blue-dark);
    color: var(--fta-white);
}

.fta .fta-btn--ghost .elementor-button {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--fta-white);
}

.fta .fta-btn--ghost .elementor-button:hover,
.fta .fta-btn--ghost .elementor-button:focus-visible {
    background: transparent;
    border-color: var(--fta-blue-light);
    color: var(--fta-blue-light);
}

.fta .fta-btn .elementor-button:focus-visible {
    outline: 2px solid var(--fta-blue-light);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Highlight badge: the one recommended option on a page
   ------------------------------------------------------------------ */

.fta .fta-badge--best {
    background: var(--fta-blue);
    border: 1px solid var(--fta-blue);
    color: var(--fta-white);
}

.fta .fta-rec-flag p,
.fta .fta-meter-flag p {
    margin: 0;
}

/* ------------------------------------------------------------------
   Compare table (this plugin's falcon_product_compare widget)
   ------------------------------------------------------------------ */

.fta .fta-compare .falcon-ew-compare-wrap {
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    scrollbar-width: thin;
}

.fta .fta-compare .falcon-ew-compare-wrap::-webkit-scrollbar {
    height: 6px;
}

.fta .fta-compare .falcon-ew-compare-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
}

.fta .fta-compare .falcon-ew-compare-table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.fta .fta-compare .falcon-ew-compare-table th,
.fta .fta-compare .falcon-ew-compare-table td {
    padding: 14px 18px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--fta-border-lo);
    color: var(--fta-gray);
    font-family: var(--fta-font-body);
    font-size: 14px;
    line-height: 1.5;
}

.fta .fta-compare .falcon-ew-compare-table tbody tr:last-child th,
.fta .fta-compare .falcon-ew-compare-table tbody tr:last-child td {
    border-bottom: 0;
}

.fta .fta-compare .falcon-ew-compare-table tbody tr:hover td,
.fta .fta-compare .falcon-ew-compare-table tbody tr:hover th {
    background-color: rgba(255, 255, 255, 0.025);
}

/* Header row: each product on its own lit stage */
.fta .fta-compare .falcon-ew-compare-table thead th {
    padding: 22px 18px 18px;
    background:
        radial-gradient(60% 55% at 50% 45%, rgba(43, 100, 248, 0.2), transparent 75%),
        var(--fta-ground);
    border-bottom: 1px solid var(--fta-border);
}

.fta .fta-compare .falcon-ew-compare-table thead th.falcon-ew-compare-corner {
    background: var(--fta-ground);
}

.fta .fta-compare .falcon-ew-compare-product-image {
    height: 130px;
}

.fta .fta-compare .falcon-ew-compare-name {
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

/* Row labels read as UI labels, not body copy */
.fta .fta-compare .falcon-ew-compare-table tbody th {
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fta .fta-compare .falcon-ew-compare-row--price td {
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.fta .fta-compare .falcon-ew-compare-empty {
    color: var(--fta-gray-dim);
}

/* ------------------------------------------------------------------
   Configuration cards: spec rows + a note
   ------------------------------------------------------------------ */

.fta .fta-config .fta-card-body {
    gap: 12px;
}

.fta .fta-specs ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--fta-border-lo);
}

.fta .fta-specs li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--fta-border-lo);
    color: var(--fta-white);
    font-size: 14px;
    line-height: 1.5;
}

.fta .fta-specs li::before {
    content: none;
}

.fta .fta-specs li span {
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fta .fta-note {
    margin-top: auto;
}

.fta .fta-note p {
    margin: 6px 0 0;
    padding: 16px 18px;
    background: rgba(43, 100, 248, 0.08);
    border: 1px solid rgba(43, 100, 248, 0.28);
    border-radius: 12px;
    color: var(--fta-gray);
    font-size: 13.5px;
    line-height: 1.6;
}

.fta .fta-note strong {
    color: var(--fta-blue-light);
    font-weight: 600;
}

/* ------------------------------------------------------------------
   AI-memory meters: one row per configuration, bar on a log2 scale
   (8GB = empty, 128GB = full) so 12GB and 16GB still read as different
   ------------------------------------------------------------------ */

.fta .fta-meters {
    gap: 10px;
}

.fta .fta-meter {
    position: relative;
    align-items: center;
    gap: 28px;
    padding: 22px 26px 26px;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
    overflow: hidden;
}

/* Track, then fill */
.fta .fta-meter::before,
.fta .fta-meter::after {
    content: '';
    position: absolute;
    left: 26px;
    bottom: 12px;
    height: 4px;
    border-radius: 2px;
}

.fta .fta-meter::before {
    right: 26px;
    background: rgba(255, 255, 255, 0.06);
}

.fta .fta-meter::after {
    width: calc((100% - 52px) * var(--fta-fill, 0.1));
    background: linear-gradient(90deg, var(--fta-blue-dark), var(--fta-blue-light));
}

.fta .fta-meter--12 { --fta-fill: 0.15; }
.fta .fta-meter--16 { --fta-fill: 0.25; }
.fta .fta-meter--24 { --fta-fill: 0.40; }
.fta .fta-meter--32 { --fta-fill: 0.50; }
.fta .fta-meter--64 { --fta-fill: 0.75; }
.fta .fta-meter--128 { --fta-fill: 1; }

.fta .fta-meter--featured {
    border-color: rgba(88, 166, 255, 0.45);
    background:
        linear-gradient(90deg, rgba(43, 100, 248, 0.10), transparent 60%),
        var(--fta-panel);
}

.fta .fta-meter-gb {
    flex: 0 0 120px;
    width: 120px;
}

.fta .fta-meter-gb .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.fta .fta-meter-copy {
    flex: 1 1 0;
    min-width: 0;
    gap: 6px;
}

.fta .fta-meter-config .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
}

.fta .fta-meter-text p {
    margin: 0;
    color: var(--fta-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ------------------------------------------------------------------
   Recommendation cards
   ------------------------------------------------------------------ */

.fta .fta-rec .fta-card-body {
    gap: 12px;
}

.fta .fta-rec-pick p {
    margin: 4px 0 2px;
    color: var(--fta-blue-light);
    font-family: var(--fta-font-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.fta .fta-rec--featured {
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(43, 100, 248, 0.16), transparent 70%),
        var(--fta-panel);
    border-color: rgba(88, 166, 255, 0.5);
}

/* ------------------------------------------------------------------
   Numbered steps: real-text number in a circle, rows joined by a line
   ------------------------------------------------------------------ */

.fta .fta-steps {
    gap: 0;
}

.fta .fta-step {
    position: relative;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 36px;
}

.fta .fta-step:last-child {
    padding-bottom: 0;
}

/* The connecting line, centred under the number circle */
.fta .fta-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 48px;
    bottom: 8px;
    left: 21px;
    width: 2px;
    background: linear-gradient(180deg, rgba(43, 100, 248, 0.5), rgba(43, 100, 248, 0.08));
}

.fta .fta-step-num {
    flex: 0 0 44px;
    width: 44px;
}

.fta .fta-step-num .elementor-heading-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    background: rgba(43, 100, 248, 0.14);
    border: 1px solid rgba(43, 100, 248, 0.45);
    border-radius: 50%;
    color: var(--fta-blue-light);
    font-family: var(--fta-font-ui);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.fta .fta-step-body {
    flex: 1 1 0;
    min-width: 0;
    gap: 14px;
    padding-top: 9px;
}

.fta .fta-step-title .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* On-screen labels named in a how-to step ("Connection Settings") read
   as UI tokens, so they can be matched against the app at a glance. */
.fta .fta-steps .fta-copy strong,
.fta .fta-steps .fta-mini-text strong {
    display: inline-block;
    padding: 1px 8px;
    background: var(--fta-panel-mid);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--fta-radius-sm);
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 0.86em;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

/* ------------------------------------------------------------------
   Small panels: equal options side by side
   ------------------------------------------------------------------ */

.fta .fta-paths {
    gap: 14px;
}

.fta .fta-mini {
    gap: 8px;
    padding: 20px 22px;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
}

.fta .fta-mini-title .elementor-heading-title {
    margin: 0;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
}

.fta .fta-mini-text p {
    margin: 0;
    color: var(--fta-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ------------------------------------------------------------------
   Tables (a real <table> inside a Text Editor)
   ------------------------------------------------------------------ */

.fta .fta-table {
    margin-top: 28px;
    overflow-x: auto;
    background: var(--fta-panel);
    border: 1px solid var(--fta-border);
    border-radius: var(--fta-radius-card);
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    scrollbar-width: thin;
}

.fta .fta-table table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.fta .fta-table th,
.fta .fta-table td {
    padding: 16px 20px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--fta-border-lo);
    color: var(--fta-gray);
    font-family: var(--fta-font-body);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
}

.fta .fta-table tbody tr:last-child th,
.fta .fta-table tbody tr:last-child td {
    border-bottom: 0;
}

.fta .fta-table thead th {
    background: var(--fta-ground);
    border-bottom: 1px solid var(--fta-border);
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 13px;
    font-weight: 700;
}

.fta .fta-table tbody th {
    width: 26%;
    color: var(--fta-gray-dim);
    font-family: var(--fta-font-ui);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ------------------------------------------------------------------
   Tool cards: icon + local/opt-in badge, title, text
   ------------------------------------------------------------------ */

.fta .fta-tool .fta-card-body {
    gap: 12px;
}

.fta .fta-tool-top {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.fta .fta-tool-badge {
    width: auto;
}

.fta .fta-tool-badge p {
    margin: 0;
}

.fta .fta-tool--optin {
    border-color: rgba(251, 191, 36, 0.3);
}

/* Tier text with labelled lines ("Good for" / "Falls short") */
.fta .fta-tier-text p + p {
    margin-top: 10px;
}

.fta .fta-tier-text strong {
    display: block;
    margin-bottom: 2px;
    color: var(--fta-white);
    font-family: var(--fta-font-ui);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* A feature row with a title and no line under it sits centred on its icon */
.fta .fta-feat-copy:has(> :only-child) {
    align-self: center;
}

/* ------------------------------------------------------------------
   Responsive (Elementor's tablet / mobile breakpoints)
   ------------------------------------------------------------------ */

@media (max-width: 1024px) {
    .fta.fta-section {
        padding-block: 56px;
    }

    .fta .fta-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fta .fta-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fta .fta-stat:nth-child(2) {
        border-right: 0;
    }

    .fta .fta-stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--fta-border-lo);
    }

    .fta .fta-split {
        flex-direction: column;
    }

    .fta .fta-split > .fta-receipts {
        flex-basis: auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fta.fta-section {
        padding-block: 44px;
    }

    .fta .fta-step {
        gap: 16px;
    }

    .fta .fta-step-title .elementor-heading-title {
        font-size: 19px;
    }

    .fta .fta-table table {
        min-width: 560px;
    }

    /* Plain tables scroll sideways too; their row labels stay put. */
    .fta .fta-table tbody th,
    .fta .fta-table thead th:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 120px;
        background: var(--fta-panel);
    }

    .fta .fta-table thead th:first-child {
        background: var(--fta-ground);
    }

    /* The compare table scrolls sideways; its row labels stay put. */
    .fta .fta-compare .falcon-ew-compare-table {
        min-width: 620px;
    }

    .fta .fta-compare .falcon-ew-compare-table tbody th,
    .fta .fta-compare .falcon-ew-compare-table thead th.falcon-ew-compare-corner {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 110px;
        background: var(--fta-panel);
    }

    .fta .fta-meter {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 20px 26px;
    }

    .fta .fta-meter::before,
    .fta .fta-meter::after {
        left: 20px;
    }

    .fta .fta-meter::before {
        right: 20px;
    }

    .fta .fta-meter::after {
        width: calc((100% - 40px) * var(--fta-fill, 0.1));
    }

    .fta .fta-meter-gb {
        flex-basis: auto;
        width: auto;
    }

    .fta .fta-head {
        margin-bottom: 28px;
    }

    .fta .fta-h2 .elementor-heading-title,
    .fta .fta-cta .fta-h2 .elementor-heading-title {
        font-size: 27px;
    }

    .fta .fta-lede p:first-child {
        font-size: 18px;
    }

    .fta .fta-intro-row {
        flex-direction: column;
        gap: 28px;
    }

    .fta .fta-intro-row > .e-con {
        width: 100%;
    }

    .fta .fta-stage {
        min-height: 240px;
    }

    .fta .fta-grid-2,
    .fta .fta-grid-3,
    .fta .fta-split > .fta-receipts {
        grid-template-columns: minmax(0, 1fr);
    }

    .fta .fta-stat {
        padding: 18px 14px;
    }

    .fta .fta-stat-num .elementor-heading-title {
        font-size: 24px;
    }

    .fta .fta-quote p {
        padding: 22px 22px;
        font-size: 22px;
    }

    .fta .fta-callout {
        padding: 22px 22px;
    }

    .fta .fta-scope li {
        flex-direction: column;
        gap: 6px;
    }

    .fta .fta-scope .fta-badge {
        flex-basis: auto;
    }

    .fta .fta-cta {
        padding: 44px 22px;
    }

    .fta .fta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fta .fta-actions .elementor-button {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fta .fta-card,
    .fta .fta-link-card::after {
        transition: none;
    }

    .fta a.fta-card:hover {
        transform: none;
    }
}
