/* ===========================================================================
   landing.css — the public landing page (public/landing.php)
   ---------------------------------------------------------------------------
   Built on the platform's own tokens (assets/css/tokens.css, loaded first):
   the same navy canvas, indigo accent, green/red direction colours, radii and
   fonts as the app, so the landing page is the same identity. The brand
   gradient is the favicon's: indigo to green.

   Performance rules (measured: the first version scrolled at ~22 fps):
   - animations use transform and opacity only, which the GPU composites;
   - no full-screen blur, no backdrop-filter except the nav once scrolled,
     no canvas particles, no filter on reveal;
   - decorative loops are few, and paused for prefers-reduced-motion.
   Logical properties throughout, so one sheet serves RTL and LTR.
   =========================================================================== */

:root {
    --brand-grad: linear-gradient(100deg, #93abff 0%, #7293ff 45%, #3cd283 100%);
    --font: var(--font-ar);
}
html[lang="en"] { --font: var(--font-ui); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    background: var(--canvas);
    color: var(--text);
    font: 400 17px/1.7 var(--font);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.center { text-align: center; margin-top: 40px; }

/* One static backdrop: two soft glows and a faint grid, painted once. */
.backdrop {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(900px 600px at 85% -10%, rgba(114, 147, 255, 0.18), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(60, 210, 131, 0.08), transparent 60%),
        linear-gradient(rgba(114, 147, 255, 0.05) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(114, 147, 255, 0.05) 1px, transparent 1px) 0 0 / 56px 56px;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.4) 70%, transparent);
}
main, .nav, .foot { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 46px; padding: 0 22px; border-radius: var(--radius-md); font-weight: 700; font-size: 15px;
    transition: transform var(--duration-base) var(--ease-out), background-color var(--duration-base), border-color var(--duration-base), box-shadow var(--duration-base);
    white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--gold, .btn--primary {
    background: var(--accent); color: var(--text-on-accent);
    box-shadow: 0 10px 26px -12px var(--accent-glow);
}
.btn--gold:hover, .btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--ghost { color: var(--text-secondary); }
.btn--ghost:hover { color: var(--text); }
.btn--glass { background: var(--surface-raised); border-color: var(--border); color: var(--text); }
.btn--glass:hover { border-color: var(--border-strong); background: var(--surface-overlay); }
.btn--dark { background: var(--canvas-alt); color: var(--text); border-color: var(--border-strong); }
.btn--dark:hover { transform: translateY(-2px); }
.btn .arrow { display: inline-block; transition: transform var(--duration-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(-4px); }
html[dir="ltr"] .btn .arrow { transform: scaleX(-1); }
html[dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-4px); }

/* ---------------------------------------------------------------- nav */
.nav {
    position: sticky; top: 0; display: flex; align-items: center; gap: 28px;
    padding: 16px clamp(18px, 4vw, 56px); border-bottom: 1px solid transparent; z-index: 20;
    transition: background-color var(--duration-slow), border-color var(--duration-slow);
}
.nav.is-scrolled { background: rgba(6, 13, 24, 0.86); border-color: var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.nav__logo { height: 40px; width: auto; }
.nav__name { font-family: var(--font-ui); font-size: 18px; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: 26px; margin-inline-start: 18px; }
.nav__links a { color: var(--text-muted); font-weight: 600; font-size: 15px; position: relative; transition: color var(--duration-fast); }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform var(--duration-slow) var(--ease-out); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { background: var(--surface-raised); border: 1px solid var(--border); color: var(--accent-text); height: 38px; min-width: 44px; border-radius: var(--radius-md); font: 700 13px var(--font-ui); cursor: pointer; }

/* ---------------------------------------------------------------- hero */
.hero {
    display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px;
    min-height: calc(100vh - 76px); padding: 30px clamp(18px, 5vw, 80px) 60px; overflow-x: clip;
}
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--accent-dim); border: 1px solid var(--border); color: var(--accent-text); font-weight: 600; font-size: 14px; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--up); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--up); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.8); opacity: 0; } }

.hero__title { margin: 20px 0 16px; font-weight: 800; font-size: clamp(34px, 4.3vw, 64px); line-height: 1.12; letter-spacing: -0.01em; }
html[lang="en"] .hero__title { letter-spacing: -0.03em; }
.hero__title .line { display: block; }
.shine { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.hero__lead { color: var(--text-muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 580px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; list-style: none; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg, .float svg, .feature__icon svg, .shield svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* visual */
.hero__visual { position: relative; height: 540px; perspective: 1200px; }
.terminal {
    position: absolute; inset: 56px 24px auto; padding: 22px;
    background: linear-gradient(160deg, var(--surface-overlay), var(--surface-raised));
    border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 70px -24px var(--accent-glow);
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform var(--duration-slow) var(--ease-out);
    will-change: transform;
}
html[dir="ltr"] .terminal { transform: rotateY(8deg) rotateX(5deg); }
.terminal__head { display: flex; justify-content: space-between; align-items: center; }
.terminal__pair { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); }
.terminal__icon { width: 30px; height: 30px; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--up); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--up); animation: ping 1.8s var(--ease-out) infinite; }
.terminal__px { text-align: end; }
.terminal__px b { display: block; font-size: 28px; font-weight: 700; }
.chg { font-size: 14px; font-weight: 700; }
.terminal__chart { width: 100%; height: 230px; margin: 16px 0 6px; overflow: visible; direction: ltr; }
.gridlines line { stroke: rgba(114, 147, 255, 0.08); stroke-dasharray: 4 6; }
#heroDot { fill: #93abff; }
.terminal__foot { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 13px; }
.terminal__btns { display: flex; gap: 8px; }
.terminal__btns .b { font-style: normal; padding: 7px 18px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13px; }
.terminal__btns .buy { background: var(--up-dim); color: var(--up); }
.terminal__btns .sell { background: var(--down-dim); color: var(--down); }

.glass { background: var(--surface-overlay); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; animation: bob 7s ease-in-out infinite; will-change: transform; }
.float img { width: 32px; height: 32px; }
.float small { display: block; color: var(--text-muted); font: 600 12px var(--font-ui); }
.float b { font-size: 16px; }
.f1 { top: 6px; inset-inline-end: 0; animation-delay: -2s; }
.f2 { bottom: -18px; inset-inline-start: 40px; animation-delay: -4.5s; }
.f3 { bottom: 8px; inset-inline-end: 36px; font-weight: 700; font-size: 14px; color: var(--accent-text); animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.orbit { position: absolute; inset: 0; margin: auto; width: 500px; height: 500px; border-radius: 50%; border: 1px dashed rgba(114, 147, 255, 0.16); animation: spin 60s linear infinite; will-change: transform; }
.orbit .coin { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-overlay) center/66% no-repeat; border: 1px solid var(--border); }
.c1 { top: -20px; left: calc(50% - 20px); } .c2 { top: 25%; right: -12px; } .c3 { bottom: 25%; right: -12px; }
.c4 { bottom: -20px; left: calc(50% - 20px); } .c5 { bottom: 25%; left: -12px; } .c6 { top: 25%; left: -12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- ticker */
.ticker { position: relative; overflow: hidden; direction: ltr; border-block: 1px solid var(--border); background: var(--canvas-alt); padding: 13px 0; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--canvas-alt), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--canvas-alt), transparent); }
.ticker__track { display: flex; gap: 46px; width: max-content; animation: marquee 55s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick { display: flex; align-items: center; gap: 10px; font: 600 14px var(--font-ui); white-space: nowrap; }
.tick img { width: 22px; height: 22px; }
.tick .p { color: var(--text); font-family: var(--font-mono); }
.tick .c { font-family: var(--font-mono); }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 64px clamp(18px, 5vw, 80px) 10px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(34px, 3.6vw, 50px); font-weight: 800; line-height: 1.15; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--font-ui); }
.stat b small { font-size: 0.5em; margin-inline-start: 4px; }
.stat > span { color: var(--text-muted); font-weight: 600; font-size: 15px; }

/* ---------------------------------------------------------------- sections */
.section { padding: 100px clamp(18px, 5vw, 80px) 30px; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.kicker { color: var(--accent-text); font-weight: 700; letter-spacing: var(--tracking-caps); font-size: 13px; text-transform: uppercase; }
.section h2, .security h2, .cta h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; line-height: 1.25; margin-top: 10px; }
.sub { color: var(--text-muted); margin-top: 12px; font-size: 18px; }

/* markets */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mcard {
    position: relative; padding: 22px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border);
    transition: transform var(--duration-slow) var(--ease-out), border-color var(--duration-slow), box-shadow var(--duration-slow);
}
.mcard:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 24px 50px -28px var(--accent-glow); }
.mcard__top { display: flex; align-items: center; gap: 12px; }
.mcard__top img { width: 40px; height: 40px; }
.mcard__name b { display: block; font-family: var(--font-ui); }
.mcard__name small { color: var(--text-muted); font: 500 12px var(--font-ui); }
.mcard__chg { margin-inline-start: auto; font: 700 13px var(--font-mono); padding: 3px 10px; border-radius: var(--radius-pill); background: var(--surface-hover); }
.mcard__px { font-size: 26px; font-weight: 700; margin-top: 16px; }
.mcard svg { width: 100%; height: 60px; margin-top: 10px; direction: ltr; }
.up { color: var(--up); } .down { color: var(--down); }
.flash-up { color: var(--up) !important; } .flash-down { color: var(--down) !important; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
    position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface-raised);
    border: 1px solid var(--border); transition: transform var(--duration-slow) var(--ease-out), border-color var(--duration-slow), background-color var(--duration-slow);
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-overlay); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--accent-dim); border: 1px solid var(--border); margin-bottom: 18px; transition: transform var(--duration-slow) var(--ease-out); }
.feature:hover .feature__icon { transform: scale(1.08) rotate(-4deg); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 16px; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 33px; inset-inline: 16%; height: 2px; background: var(--brand-grad); transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.steps.in::before { transform: scaleX(1); }
.step { text-align: center; padding: 0 10px; }
.step__n { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; font: 800 24px var(--font-ui); color: var(--text-on-accent); background: var(--accent); box-shadow: 0 0 0 8px var(--accent-dim); position: relative; z-index: 1; }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { color: var(--text-muted); margin-top: 8px; }

/* security */
.security { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.security__art { position: relative; height: 340px; display: grid; place-items: center; }
.shield { width: 132px; height: 132px; border-radius: 36px; display: grid; place-items: center; background: linear-gradient(145deg, var(--surface-overlay), var(--surface-raised)); border: 1px solid var(--border-strong); box-shadow: 0 0 70px -16px var(--accent-glow); z-index: 1; }
.shield svg { width: 64px; height: 64px; stroke-width: 1.4; }
.ring { position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 1px solid var(--border-strong); animation: ripple 4.5s var(--ease-out) infinite; will-change: transform, opacity; }
.r2 { animation-delay: 1.5s; } .r3 { animation-delay: 3s; }
@keyframes ripple { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.2); opacity: 0; } }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 38px; font-size: 18px; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: var(--up); background: var(--up-dim); border: 1px solid rgba(60, 210, 131, 0.35); }

/* cta */
.cta {
    position: relative; overflow: hidden; margin: 100px clamp(18px, 5vw, 80px) 80px; padding: 72px 30px; text-align: center; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--surface-overlay), var(--canvas-alt));
    border: 1px solid var(--border-strong);
}
.cta__glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(114, 147, 255, 0.28), transparent 70%), radial-gradient(500px 260px at 50% 110%, rgba(60, 210, 131, 0.14), transparent 70%); pointer-events: none; }
.cta h2 { position: relative; }
.cta p { position: relative; color: var(--text-muted); font-size: 19px; margin: 10px auto 28px; max-width: 560px; }
.cta .btn { position: relative; }
.cta .btn--dark { background: var(--accent); color: var(--text-on-accent); border-color: transparent; }
.cta .btn--dark:hover { background: var(--accent-hover); }

/* footer */
.foot { padding: 46px clamp(18px, 5vw, 80px) 38px; border-top: 1px solid var(--border); background: var(--canvas-alt); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--text-muted); font-size: 15px; }
.foot__links a:hover { color: var(--accent-text); }
.foot__risk { margin-top: 26px; color: var(--text-faint); font-size: 13.5px; max-width: 900px; }
.foot__copy { margin-top: 14px; color: var(--text-faint); font-size: 13px; }

/* ---------------------------------------------------------------- reveal (transform + opacity only) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 24px; }
    .hero__lead { margin-inline: auto; }
    .hero__cta, .hero__trust { justify-content: center; }
    .hero__visual { height: 480px; max-width: 620px; width: 100%; margin: 0 auto; }
    .markets, .features { grid-template-columns: repeat(2, 1fr); }
    .security { grid-template-columns: 1fr; text-align: center; }
    .checks { text-align: start; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav { gap: 12px; padding-inline: 16px; }
    .nav__links, .nav .btn--ghost, .nav__name { display: none; }
    .nav .btn { height: 40px; padding: 0 16px; font-size: 14px; }
    .nav__logo { height: 34px; }
    .hero { padding-inline: 16px; }
    .hero__visual { height: 400px; }
    .terminal { inset: 36px 4px auto; padding: 16px; }
    .terminal__px b { font-size: 21px; }
    .terminal__chart { height: 160px; }
    /* phones: the coin ring and two floating cards are the costliest decoration */
    .orbit, .f3 { display: none; }
    .float { animation: none; }
    .f1 { top: -8px; } .f2 { bottom: 40px; inset-inline-start: 0; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-inline: 16px; }
    .markets, .features, .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .section { padding: 76px 16px 20px; }
    .cta { margin-inline: 16px; padding: 56px 20px; }
    .btn--lg { height: 52px; padding: 0 22px; }
}

/* ---------------------------------------------------------------- why: four cards */
.features--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------- how traders profit */
.profit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.profit__ways { display: grid; gap: 14px; }
.way { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border); transition: transform var(--duration-slow) var(--ease-out), border-color var(--duration-slow); }
.way:hover { transform: translateX(-6px); border-color: var(--border-strong); }
html[dir="ltr"] .way:hover { transform: translateX(6px); }
.way__icon { flex: none; width: 54px; height: 54px; border-radius: var(--radius-md); display: grid; place-items: center; font: 800 26px var(--font-ui); }
.way--up .way__icon { background: var(--up-dim); color: var(--up); }
.way--down .way__icon { background: var(--down-dim); color: var(--down); }
.way--lev .way__icon { background: var(--accent-dim); color: var(--accent-text); }
.way h3 { font-size: 20px; font-weight: 700; }
.way p { color: var(--text-muted); }

.example { position: relative; padding: 30px; border-radius: var(--radius-xl); background: linear-gradient(150deg, var(--surface-overlay), var(--surface-raised)); border: 1px solid var(--border-strong); box-shadow: 0 0 60px -26px var(--accent-glow); }
.example__tag { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--accent-dim); color: var(--accent-text); font-weight: 700; font-size: 13px; }
.example__setup { margin-top: 16px; font-size: 22px; font-weight: 600; }
.example__setup b { font-size: 26px; color: var(--accent-text); }
.example__bar { position: relative; height: 10px; margin: 22px 0; border-radius: 99px; background: linear-gradient(90deg, var(--down) 0%, var(--surface-hover) 50%, var(--up) 100%); opacity: 0.85; overflow: hidden; }
.example__fill { position: absolute; top: 0; bottom: 0; width: 18%; border-radius: 99px; background: rgba(255, 255, 255, 0.9); animation: swing 4s ease-in-out infinite; will-change: transform; }
@keyframes swing { 0%, 100% { transform: translateX(10%); } 50% { transform: translateX(450%); } }
.example__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.out { padding: 18px; border-radius: var(--radius-lg); text-align: center; }
.out small { display: block; color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.out b { display: block; font-size: 38px; font-weight: 800; margin: 6px 0 2px; }
.out span { color: var(--text-muted); font-size: 14px; }
.out--up { background: var(--up-dim); border: 1px solid rgba(60, 210, 131, 0.3); }
.out--up b { color: var(--up); }
.out--down { background: var(--down-dim); border: 1px solid rgba(255, 107, 123, 0.3); }
.out--down b { color: var(--down); }
.example__note { margin-top: 18px; color: var(--text-muted); font-size: 15px; }

/* ---------------------------------------------------------------- safety line */
.safe { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 46px; color: var(--text-muted); font-size: 16px; text-align: center; }
.safe svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--up); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cta h2 { max-width: 820px; margin-inline: auto; margin-bottom: 28px; }

@media (max-width: 1100px) {
    .features--4 { grid-template-columns: repeat(2, 1fr); }
    .profit { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .features--4 { grid-template-columns: 1fr; }
    .example { padding: 22px; }
    .example__setup { font-size: 18px; }
    .out b { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
