/*
| Home page v2 (step 335): the new top of the Home page - Hero, "What you get", NTR Terminal + NTR Desk, Connect your account, Plans.
| Loaded by index.php only when the new home is on (setting home_v2, default on). Header and footer are not touched.
| Colours: navy #0B1F3A, gold #E3B341, green #3FB68B, red #E5534B.
*/
/* sections: smaller padding so the page reads fast */
.h3 { --h3-navy: #0b1f3a; --h3-navy2: #08172c; --h3-gold: #e3b341; --h3-gold2: #c8962e; --h3-green: #3fb68b; --h3-red: #e5534b; --h3-title: #0b1b2e; --h3-text: #4b5b6b; --h3-line: #e6eaf0;
    position: relative; overflow: hidden; padding-block: clamp(36px, 4.6vw, 72px); font-family: inherit; }
.h3 *, .h3 *::before, .h3 *::after { box-sizing: border-box; }
.h3 [hidden] { display: none !important; }
.h3-shell { position: relative; z-index: 1; width: calc(100% - 2 * clamp(16px, 3vw, 58px)); margin-inline: auto; }
/* the side gap is exactly the header's (site-v3: clamp(16px, 3vw, 58px), 15px up to 820px, 14px up to 720px), so every section lines up with the logo */
@media (max-width: 820px) { .h3-shell { width: calc(100% - 30px); } }
@media (max-width: 720px) { .h3-shell { width: calc(100% - 28px); } }
.h3-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.h3-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #a67815; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.h3-eyebrow img { width: 22px; height: 22px; border-radius: 6px; }
body .h3 h2.h3-h2 { margin: 0; color: var(--h3-title); font-size: clamp(26px, 3.1vw, 40px) !important; line-height: 1.12 !important; letter-spacing: -.015em; }
.h3-lead { margin: 12px 0 0; max-width: 62ch; color: var(--h3-text); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; }
.h3-head { max-width: 760px; margin: 0 auto clamp(24px, 3vw, 40px); text-align: center; }
.h3-head .h3-lead { margin-inline: auto; }
.h3-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.h3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.h3-btn.gold { background: linear-gradient(90deg, #f2d27c, var(--h3-gold2)); color: #0b1020; box-shadow: 0 8px 22px rgba(200, 150, 46, .32); }
.h3-btn.line { border: 1px solid rgba(11, 31, 58, .25); color: var(--h3-title); background: #fff; }
.h3-btn.ghost { border: 1px solid rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .04); }
.h3-btn:hover, .h3-btn:focus-visible { transform: translateY(-1px); outline: none; }
.h3-btn:focus-visible { box-shadow: 0 0 0 3px rgba(227, 179, 65, .55); }
.h3-dark { background: var(--h3-navy); color: #dfe6f2; }
.h3-dark .h3-eyebrow { color: var(--h3-gold); }
body .h3-dark h2.h3-h2, body .h3-dark h1.h3-h1 { color: #fff; }
.h3-dark .h3-lead { color: #b8c4d8; }

/* 1. Hero */
.h3-hero { padding-block: clamp(26px, 3.4vw, 54px) clamp(30px, 3.8vw, 60px); background: radial-gradient(120% 90% at 85% 10%, #13305a 0%, var(--h3-navy) 48%, var(--h3-navy2) 100%); }
.h3-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 3.4vw, 56px); align-items: center; }
body .h3 h1.h3-h1 { margin: 0; font-size: clamp(28px, 3.4vw, 46px) !important; line-height: 1.06 !important; letter-spacing: -.02em; font-weight: 800; }
.h3-h1 em { font-style: normal; background: linear-gradient(90deg, #f6d98a, var(--h3-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3-hero .h3-lead { font-size: clamp(15px, 1.15vw, 17px); }
.h3-hero .h3-btns { margin-top: 18px; }
.h3-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; max-width: 560px; }
.h3-stats li { padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.h3-stats b { display: block; color: #fff; font-size: clamp(17px, 1.6vw, 21px); }
.h3-stats small { display: block; margin-top: 2px; color: #9fb0c9; font-size: 12.5px; line-height: 1.35; }
.h3-term { position: relative; max-width: 620px; justify-self: end; width: 100%; border-radius: 18px; overflow: hidden; background: #0a1126; border: 1px solid rgba(227, 179, 65, .38); box-shadow: 0 30px 70px rgba(0, 0, 0, .42); font: 12px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #cfd8ea; }
.h3-term-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #0e1733; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.h3-term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4566; }
.h3-term-bar i:nth-child(1) { background: #e5484d; } .h3-term-bar i:nth-child(2) { background: #f0b232; } .h3-term-bar i:nth-child(3) { background: #26d07c; }
.h3-term-bar b { margin-left: 6px; color: #fff; font-size: 12.5px; }
.h3-term-bar em { margin-left: auto; font-style: normal; color: #26d07c; font-weight: 700; }
.h3-term-body { display: grid; grid-template-columns: minmax(0, 1fr) 128px; }
.h3-term-chart { position: relative; aspect-ratio: 16 / 9; border-right: 1px solid rgba(255, 255, 255, .06); }
.h3-term-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.h3-term-wl { padding: 9px 9px 9px 10px; }
.h3-term-wl p { margin: 0 0 6px; color: #8f9bb8; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.h3-term-wl div { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); }
.h3-term-wl div b { color: #e8edf7; font-size: 11.5px; }
.h3-term-wl .u { color: #26d07c; } .h3-term-wl .d { color: #ff6b6b; }
.h3-term-tg { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; max-width: 250px; padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .97); color: #0b1020; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); font-size: 12px; line-height: 1.35; }
.h3-term-tg i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #29a9eb; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.h3-term-tg b { display: block; font-size: 12px; }

/* 2. What you get */
.h3-tools { background: #f5f7fa; }
.h3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.h3-card { position: relative; display: flex; flex-direction: column; padding: 20px 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, .92); border: 1px solid var(--h3-line); box-shadow: 0 4px 18px rgba(16, 24, 40, .05); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.h3-card:hover, .h3-card:focus-visible { transform: translateY(-3px); border-color: rgba(227, 179, 65, .7); box-shadow: 0 14px 34px rgba(16, 24, 40, .1); outline: none; }
.h3-card-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #fff3d6, #f6dda0); font-size: 21px; }
.h3-card b { display: block; margin-top: 14px; color: var(--h3-title); font-size: 17px; }
.h3-card p { flex: 1; margin: 6px 0 0; color: var(--h3-text); font-size: 14.5px; line-height: 1.55; }
.h3-card span.go { margin-top: 14px; color: #a67815; font-size: 13.5px; font-weight: 800; }

/* 3. NTR Terminal + NTR Desk */
.h3-sides { background: #fff; }
.h3-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.h3-side { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 32px); border-radius: 22px; border: 1px solid var(--h3-line); }
.h3-side.t { background: linear-gradient(160deg, #10284a, var(--h3-navy) 60%); color: #dfe6f2; border-color: rgba(227, 179, 65, .35); }
.h3-side.d { background: linear-gradient(160deg, #fffaf0, #fff3d9); }
.h3-side-top { display: flex; align-items: center; gap: 12px; }
.h3-side-top img { width: 40px; height: 40px; border-radius: 11px; }
.h3-side-top span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--h3-navy); color: var(--h3-gold); font-weight: 900; font-size: 15px; }
.h3-side h3 { margin: 0; font-size: clamp(20px, 2vw, 25px); color: var(--h3-title); }
.h3-side.t h3 { color: #fff; }
.h3-side-sub { margin: 10px 0 0; color: var(--h3-text); font-size: 15px; line-height: 1.55; }
.h3-side.t .h3-side-sub { color: #b8c4d8; }
.h3-side ul { display: grid; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; }
.h3-side li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.45; color: var(--h3-title); }
.h3-side.t li { color: #e8edf7; }
.h3-side li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(63, 182, 139, .16); color: var(--h3-green); font-size: 12px; font-weight: 900; }
.h3-mini { margin-top: auto; border-radius: 14px; box-shadow: 0 10px 26px rgba(8, 23, 44, .18); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: #0a1126; }
.h3-mini svg { display: block; width: 100%; height: auto; }
.h3-side.d .h3-mini { background: #fff; border-color: #f0e0bb; }
.h3-side .h3-btns { margin-top: 20px; }

/* 4. Connect your account */
.h3-connect { background: linear-gradient(180deg, var(--h3-navy2), var(--h3-navy)); }
.h3-brokers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.h3-broker { padding: 18px; border-radius: 16px; background: #12294a; border: 1px solid rgba(255, 255, 255, .1); }
.h3-broker small { display: inline-block; padding: 3px 9px; border-radius: 999px; background: rgba(227, 179, 65, .14); color: var(--h3-gold); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.h3-broker b { display: block; margin-top: 10px; color: #fff; font-size: 17px; }
.h3-broker p { margin: 6px 0 0; color: #a9b8cf; font-size: 13.5px; line-height: 1.5; }
.h3-broker.free { background: #0f3340; border-color: rgba(63, 182, 139, .35); }
.h3-broker.free small { background: rgba(63, 182, 139, .18); color: #7fe0b9; }
.h3-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; margin-top: 18px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(90deg, rgba(227, 179, 65, .16), rgba(227, 179, 65, .05)); border: 1px solid rgba(227, 179, 65, .4); }
.h3-offer b { display: block; color: #fff; font-size: 16.5px; }
.h3-offer p { margin: 4px 0 0; color: #c7d2e3; font-size: 14px; line-height: 1.5; max-width: 70ch; }
.h3-safe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: #b8c4d8; font-size: 13.5px; }
.h3-safe li::before { content: "🔒 "; }

/* 5. Plans */
.h3-plans { background: #f5f7fa; }
.h3-pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.h3-pcard { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--h3-line); box-shadow: 0 4px 18px rgba(16, 24, 40, .05); }
.h3-pcard.best { border: 2px solid var(--h3-gold); box-shadow: 0 18px 40px rgba(200, 150, 46, .18); }
.h3-pcard .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--h3-navy); color: var(--h3-gold); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.h3-pcard h3 { margin: 0; color: var(--h3-title); font-size: 20px; }
.h3-pcard .for { margin: 4px 0 0; color: var(--h3-text); font-size: 13.5px; }
.h3-price { margin: 16px 0 0; color: var(--h3-title); font-size: 32px; font-weight: 800; line-height: 1; }
.h3-price small { color: var(--h3-text); font-size: 14px; font-weight: 600; }
.h3-price-note { margin: 6px 0 0; min-height: 18px; color: #2f8f6a; font-size: 12.5px; font-weight: 700; }
.h3-pcard ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; flex: 1; }
.h3-pcard li { position: relative; padding-left: 24px; color: var(--h3-title); font-size: 14px; line-height: 1.45; }
.h3-pcard li::before { content: "✓"; position: absolute; left: 0; color: var(--h3-green); font-weight: 900; }
.h3-pcard .h3-btn { margin-top: 20px; width: 100%; }
.h3-plans-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; color: var(--h3-text); font-size: 14.5px; text-align: center; }
.h3-plans-more a { color: #a67815; font-weight: 800; text-decoration: none; }
.h3-plans-more a:hover { text-decoration: underline; }

@media (max-width: 1060px) { .h3-brokers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
    .h3-hero-grid { grid-template-columns: 1fr; }
    .h3-term { max-width: 600px; justify-self: start; }
    .h3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h3-pair { grid-template-columns: 1fr; }
    .h3-pcards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .h3-pcard.best { order: -1; }
}
@media (max-width: 600px) {
    .h3-cards, .h3-brokers { grid-template-columns: 1fr; }
    .h3-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .h3-stats li { padding: 10px 9px; }
    .h3-stats small { font-size: 11.5px; }
    .h3-term-body { grid-template-columns: minmax(0, 1fr); }
    .h3-term-chart { border-right: 0; }
    .h3-term-wl { display: none; }
    .h3-term-tg { display: none; }
    .h3-btns .h3-btn { flex: 1 1 100%; }
    .h3-offer .h3-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .h3-btn, .h3-card { transition: none; } }

/* step 336: the old FAQ section on the Home page gets the same side gap as the header (step 337: the risk band and everything below stay exactly as before) */
body .yq-inner { width: calc(100% - 2 * clamp(16px, 3vw, 58px)) !important; max-width: none !important; }
@media (max-width: 820px) { body .yq-inner { width: calc(100% - 30px) !important; } }
@media (max-width: 720px) { body .yq-inner { width: calc(100% - 28px) !important; } }

/* Telegram */
.h3-tg { background: #fff; }
.h3-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 4vw, 60px); align-items: center; }
.h3-langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.h3-langs li { padding: 6px 14px; border-radius: 999px; background: #fff7e6; border: 1px solid #f1dcaa; color: #7a5410; font-size: 13px; font-weight: 700; }
.h3-phone { justify-self: center; width: min(100%, 330px); padding: 14px 12px 18px; border-radius: 30px; background: #e9eef5; border: 8px solid #0b1f3a; box-shadow: 0 24px 50px rgba(11, 31, 58, .22); }
.h3-phone-top { display: flex; align-items: center; gap: 8px; padding: 4px 6px 12px; color: var(--h3-title); }
.h3-phone-top i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #29a9eb; color: #fff; font-style: normal; }
.h3-phone-top small { color: var(--h3-text); }
.h3-msg { margin-top: 9px; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: #fff; box-shadow: 0 2px 6px rgba(16, 24, 40, .06); border-left: 3px solid var(--h3-green); }
.h3-msg.y { border-left-color: var(--h3-gold); } .h3-msg.n { border-left-color: #29a9eb; }
.h3-msg b { display: block; color: var(--h3-title); font-size: 13.5px; }
.h3-msg span { display: block; margin-top: 2px; color: var(--h3-text); font-size: 12.5px; }

/* Algo Market */
.h3-algo { background: linear-gradient(180deg, var(--h3-navy), var(--h3-navy2)); }
.h3-al-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(227, 179, 65, .14); font-size: 18px; }

/* Products */
.h3-products { background: #fff; }
.h3-pbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.h3-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.h3-chips button { min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--h3-line); background: #fff; color: var(--h3-title); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.h3-chips button small { color: var(--h3-text); font-weight: 600; }
.h3-chips button.on { background: var(--h3-navy); border-color: var(--h3-navy); color: #fff; }
.h3-chips button.on small { color: #c8d3e3; }
.h3-search { display: flex; align-items: center; gap: 8px; min-width: min(100%, 260px); padding: 0 14px; border-radius: 999px; border: 1px solid var(--h3-line); background: #fff; }
.h3-search input { flex: 1; min-width: 0; min-height: 40px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--h3-title); }
.h3-search:focus-within { border-color: var(--h3-gold); box-shadow: 0 0 0 3px rgba(227, 179, 65, .25); }
.h3-plist { --pc-gap: clamp(14px, 1.8vw, 24px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.2vw, 28px) var(--pc-gap); }
/* each card sits in a small wrapper (filter + star), so the wrapper takes the shop card's size (product-cards.css: 250px, 3 up to 1000px, 2 on a phone) */
.h3-pi { position: relative; display: flex; flex: 0 0 250px; min-width: 0; }
.h3-pi > .pc-card, .h3-pi > a { flex: 1 1 auto; width: 100%; }
@media (min-width: 601px) and (max-width: 1000px) { .h3-pi { flex-basis: calc((100% - 2 * var(--pc-gap)) / 3); } }
@media (max-width: 600px) { .h3-plist { --pc-gap: 12px; gap: 16px 12px; } .h3-pi { flex-basis: calc((100% - var(--pc-gap)) / 2); } .h3-pcustom a { padding: 14px; } .h3-pcustom p { font-size: 12.5px; } .h3-star { top: 6px; left: 6px; font-size: 10.5px; padding: 3px 8px; } }
.h3-pi.more, .h3-pi[hidden] { display: none; }
.h3-star { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--h3-navy); color: var(--h3-gold); font-size: 11.5px; font-weight: 800; pointer-events: none; }
.h3-pcustom a { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; border: 2px dashed rgba(227, 179, 65, .7); background: #fffaf0; color: inherit; text-decoration: none; }
.h3-pcustom .ic { font-size: 28px; }
.h3-pcustom b { margin-top: 10px; color: var(--h3-title); font-size: 17px; }
.h3-pcustom p { flex: 1; margin: 6px 0 0; color: var(--h3-text); font-size: 14px; line-height: 1.55; }
.h3-pcustom .go { margin-top: 12px; color: #a67815; font-weight: 800; font-size: 14px; }
.h3-pnone { text-align: center; color: var(--h3-text); }

/* Services */
.h3-services { background: linear-gradient(180deg, #fffaf0, #fff3dc); }

/* Follow */
.h3-follow { background: var(--h3-navy); }
.h3-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.h3-social a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 700; text-decoration: none; }
.h3-social a:hover, .h3-social a:focus-visible { background: rgba(227, 179, 65, .18); border-color: var(--h3-gold); outline: none; }
.h3-social svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 960px) { .h3-split { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .h3-pbar { flex-direction: column; align-items: stretch; } .h3-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .h3-chips button { flex: none; } }

/* step 336: phones - shorter page (same content, tighter): no stats row or small pictures, 2-up small cards, services without the long line */
@media (max-width: 600px) {
    .h3 { padding-block: 34px; }
    .h3-stats, .h3-mini { display: none; }
    .h3-head { margin-bottom: 18px; }
    .h3-brokers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .h3-broker { padding: 13px; }
    .h3-broker b { font-size: 15px; margin-top: 8px; }
    .h3-broker p { font-size: 12.5px; }
    .h3-services .h3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .h3-services .h3-card { padding: 14px; }
    .h3-services .h3-card p, .h3-services .h3-card .go { display: none; }
    .h3-services .h3-card b { font-size: 14.5px; margin-top: 10px; }
    .h3-pcard { padding: 20px 18px 18px; }
    .h3-pcard ul { gap: 6px; margin-top: 12px; }
    .h3-side ul { gap: 7px; }
}

/* step 337: reviews - a slider that moves by itself (CSS only); stops on hover / touch / keyboard focus */
.h3-reviews { background: linear-gradient(180deg, #fffaf0, #fff); }
.h3-rv-view { overflow: hidden; padding: 6px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.h3-rv-track { display: flex; gap: 18px; width: max-content; animation: h3rv var(--h3-rv-time, 40s) linear infinite; }
.h3-rv-view:hover .h3-rv-track, .h3-rv-view:focus-within .h3-rv-track, .h3-rv-view:active .h3-rv-track { animation-play-state: paused; }
@keyframes h3rv { to { transform: translateX(calc(-50% - 9px)); } }
.h3-rv { display: flex; flex-direction: column; width: 330px; margin: 0; padding: 20px 20px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--h3-line); box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }
.h3-rv-stars { color: var(--h3-gold); font-size: 16px; letter-spacing: 2px; }
.h3-rv blockquote { flex: 1; margin: 10px 0 0; color: var(--h3-title); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.h3-rv figcaption { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.h3-rv figcaption > span:first-child { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--h3-navy); color: var(--h3-gold); font-size: 13px; font-weight: 800; }
.h3-rv figcaption b { display: block; color: var(--h3-title); font-size: 14px; }
.h3-rv figcaption small { display: block; color: var(--h3-text); font-size: 12.5px; }
.h3-reviews .h3-btns { margin-top: 14px; }
@media (max-width: 600px) { .h3-rv { width: 270px; padding: 16px; } .h3-rv-track { gap: 12px; } @keyframes h3rv { to { transform: translateX(calc(-50% - 6px)); } } }
/* step 338: the site's "motion off" look (body.motion-off, Admin -> Website design) stops every CSS animation with !important;
   the review slider is content, not decoration, so it keeps moving (only the visitor's own reduced-motion setting stops it) */
body.motion-off .h3-rv-track { animation: h3rv var(--h3-rv-time, 40s) linear infinite !important; }
body.motion-off .h3-rv-view:hover .h3-rv-track, body.motion-off .h3-rv-view:focus-within .h3-rv-track, body.motion-off .h3-rv-view:active .h3-rv-track { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .h3-rv-view { overflow-x: auto; } .h3-rv-track, body.motion-off .h3-rv-track { animation: none !important; } }

/* Step 602: every broker in 3 groups (Connect) + live strategy cards (Algo Market). */
.h3-bk-wrap { display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.h3-bk-group p { margin-top: 8px; }
.h3-bk-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.h3-bk-list li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #e6edf7; font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.h3-bk-ic { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 3px; border-radius: 999px; background: rgba(227, 179, 65, .18); color: var(--h3-gold); font-size: 10px; font-weight: 900; letter-spacing: .02em; }
.h3-bk-list li.soon { opacity: .55; }
.h3-bk-list li em { font-style: normal; font-size: 10.5px; color: #a9b8cf; font-weight: 600; }
.h3-bk-list li.any { background: transparent; border-style: dashed; }
.h3-al-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.h3-al-card { display: flex; flex-direction: column; padding: 18px 18px 14px; border-radius: 18px; background: #12294a; border: 1px solid rgba(255, 255, 255, .1); color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease; min-width: 0; }
.h3-al-card:hover, .h3-al-card:focus-visible { transform: translateY(-2px); border-color: rgba(227, 179, 65, .5); outline: none; }
.h3-al-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.h3-al-top small { padding: 3px 9px; border-radius: 999px; background: rgba(227, 179, 65, .14); color: var(--h3-gold); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.h3-al-run { display: inline-flex; align-items: center; gap: 6px; color: #7fe0b9; font-size: 12px; font-weight: 800; }
.h3-al-run i { width: 8px; height: 8px; border-radius: 50%; background: var(--h3-green); box-shadow: 0 0 0 0 rgba(63, 182, 139, .6); animation: h3-pulse 1.8s infinite; }
@keyframes h3-pulse { 70% { box-shadow: 0 0 0 7px rgba(63, 182, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 182, 139, 0); } }
.h3-al-card b { margin-top: 12px; color: #fff; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h3-al-code { color: #8fa1bb; font-size: 12px; font-weight: 700; }
.h3-al-pct { margin-top: 12px; font-size: 30px; font-weight: 900; line-height: 1; }
.h3-al-pct.up { color: #57d3a1; }
.h3-al-pct.dn { color: #ff7b72; }
.h3-al-pct small { margin-left: 8px; color: #8fa1bb; font-size: 12px; font-weight: 600; }
.h3-sp { display: block; width: 100%; height: 56px; margin-top: 10px; }
.h3-al-fig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.h3-al-fig dt { color: #8fa1bb; font-size: 11px; }
.h3-al-fig dd { margin: 2px 0 0; color: #fff; font-size: 14.5px; font-weight: 800; }
.h3-al-fig dd.rl { color: #57d3a1; }
.h3-al-fig dd.rm { color: var(--h3-gold); }
.h3-al-fig dd.rh { color: #ff7b72; }
.h3-al-note { margin: 14px 0 0; text-align: center; color: #8fa1bb; font-size: 12.5px; }
@media (max-width: 1060px) { .h3-bk-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h3-al-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .h3-bk-wrap, .h3-al-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .h3-al-card { transition: none; } .h3-al-run i { animation: none; } }

/* Step 603: NTR Terminal / NTR Desk cards - a small "when" line under the name, the same rhythm on both sides. */
.h3-side-top small { display: block; margin-top: 2px; color: #a67815; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.h3-side.t .h3-side-top small { color: var(--h3-gold); }
.h3-side.d .h3-mini { box-shadow: 0 10px 26px rgba(200, 150, 46, .14); }
.h3-side li::before { top: 1px; }

/* step 822: hero with a REAL terminal snapshot (views/public/sections/home-hero2.php); the moving candles / line stay behind it */
.h5-hero { position: relative; overflow: hidden; padding-block: clamp(34px, 4.5vw, 70px) 26px; background: radial-gradient(70% 90% at 78% 30%, rgba(56, 92, 170, .28) 0%, rgba(11, 18, 34, 0) 60%), linear-gradient(180deg, #0b1324 0%, #070d1a 100%); }
.h5-hero .h3-shell { position: relative; z-index: 1; }
.h5-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.h5-tag { margin: 0; color: #f6b70f; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
body .h3 h1.h5-h1 { margin: 14px 0 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; font-size: clamp(38px, 5vw, 68px) !important; line-height: 1.02 !important; font-weight: 900; letter-spacing: -.03em; color: #fff; }
.h5-h1 em { display: block; font-style: normal; color: #f6b70f; }
.h5-lead { margin: 16px 0 0; max-width: 40ch; color: #dfe6f1; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; }
.h5-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.h5-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 8px; background: #f6b70f; color: #0b1020; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 10px 26px rgba(246, 183, 15, .28); }
.h5-cta:hover, .h5-cta:focus-visible { background: #ffc531; outline: none; transform: translateY(-1px); }
.h5-link { color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.h5-link:hover, .h5-link:focus-visible { color: #f6b70f; outline: none; }
.h5-note { margin: 12px 0 0; color: #9aa6ba; font-size: 13px; }
.h5-shot { position: relative; perspective: 1600px; }
.h5-frame { transform: rotateY(-10deg) rotateX(4deg); transform-origin: 70% 50%; border-radius: 12px; overflow: hidden; background: #0e1830; border: 1px solid rgba(255, 255, 255, .14); box-shadow: -26px 34px 70px rgba(0, 0, 0, .6); }
.h5-frame img { display: block; width: 100%; height: auto; }
.h5-fbar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #121d35; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.h5-fbar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4566; }
.h5-fbar i:nth-child(1) { background: #e5484d; } .h5-fbar i:nth-child(2) { background: #f0b232; } .h5-fbar i:nth-child(3) { background: #26d07c; }
.h5-fbar span { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #0a1222; color: #8fa0bb; font-size: 11px; }
.h5-float { position: absolute; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.h5-tg { left: -26px; bottom: -14px; display: flex; gap: 10px; align-items: center; max-width: 280px; padding: 10px 14px 10px 10px; background: #fff; color: #0b1b2e; }
.h5-tg i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #29a9eb; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 16px; }
.h5-tg b { display: block; font-size: 13px; } .h5-tg small { display: block; color: #5b6b7e; font-size: 12px; line-height: 1.35; }
.h5-oc { right: -14px; top: -22px; width: min(300px, 62%); padding: 10px 12px; background: #0e1830; border: 1px solid rgba(246, 183, 15, .4); color: #dfe6f1; }
.h5-oc b { font-size: 12px; color: #f6b70f; letter-spacing: .06em; text-transform: uppercase; }
.h5-oc div { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 13px; }
.h5-oc em { font-style: normal; font-weight: 800; color: #fff; }
.h5-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 44px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .08); color: #c8d1df; font-size: 14px; font-weight: 600; }
.h5-trust li::before { content: "✓"; color: #f6b70f; margin-right: 7px; }
@media (max-width: 900px) {
    .h5-grid { grid-template-columns: minmax(0, 1fr); }
    .h5-frame { transform: none; }
    .h5-shot { margin: 26px 6px 18px; }
    .h5-tg { left: 6px; bottom: -22px; }
    .h5-oc { right: 6px; top: -28px; }
}
@media (max-width: 520px) {
    .h5-cta { width: 100%; }
    .h5-oc { display: none; }
    .h5-trust { justify-content: flex-start; gap: 8px 18px; font-size: 13px; }
}

/* step 822: Why NTR (6 cards), Product tour (tabs with real snapshots), How it works (3 steps) - views/public/sections/home-why.php, home-tour.php, home-steps.php */
.h6-why, .h6-tour, .h6-steps { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 90px); }
.h6-why .h3-shell, .h6-tour .h3-shell, .h6-steps .h3-shell { position: relative; z-index: 1; }
body .h3 h2.h6-h2 { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; font-weight: 900; letter-spacing: -.02em; max-width: 24ch; }
.h6-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.h6-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6eaf0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(11, 27, 46, .06); }
.h6-pic { height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #0e1830; }
.h6-pic img.h6-fit { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.h6-tx { padding: 16px 18px 18px; }
.h6-tx h3 { margin: 0; color: #0b1b2e; font-size: 18px; font-weight: 800; }
.h6-tx p { margin: 6px 0 0; color: #4b5b6b; font-size: 14.5px; line-height: 1.5; }
.h6-mtg { width: 86%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.h6-mtg i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #29a9eb; color: #fff; display: grid; place-items: center; font-style: normal; }
.h6-mtg b { display: block; color: #0b1b2e; font-size: 12.5px; } .h6-mtg small { color: #5b6b7e; font-size: 11.5px; }
.h6-mj { width: 86%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.h6-mj div { padding: 10px; border-radius: 10px; background: #121d35; color: #9aa6ba; font-size: 11px; }
.h6-mj b { display: block; margin-top: 3px; color: #fff; font-size: 16px; }
.h6-mm { width: 90%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.h6-mm span { padding: 8px 12px; border-radius: 999px; background: #121d35; color: #fff; font-weight: 700; font-size: 13px; border: 1px solid rgba(246, 183, 15, .35); }
.h6-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.h6-tabs button { padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; background: rgba(255, 255, 255, .04); color: #dfe6f1; font: 700 14px Inter, system-ui, sans-serif; cursor: pointer; }
.h6-tabs button.on { background: #f6b70f; border-color: #f6b70f; color: #0b1020; }
.h6-pane { display: none; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 34px; align-items: center; margin-top: 26px; }
.h6-pane.on { display: grid; }
.h6-pane h3 { margin: 0 0 14px; color: #fff; font-size: 22px; }
.h6-pane ul { margin: 0; padding: 0; list-style: none; }
.h6-pane li { position: relative; padding: 0 0 16px 30px; color: #dfe6f1; font-size: 16px; line-height: 1.5; }
.h6-pane li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #f6b70f; color: #0b1020; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.h6-big { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #0e1830; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.h6-big img { display: block; width: 100%; height: auto; }
.h6-stl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: h6s; }
.h6-stl li { padding: 22px; border: 1px solid #e6eaf0; border-radius: 16px; background: #fff; }
.h6-stl li::before { counter-increment: h6s; content: counter(h6s); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 10px; background: #0b1f3a; color: #f6b70f; font-weight: 900; font-size: 17px; }
.h6-stl h3 { margin: 0; color: #0b1b2e; font-size: 18px; }
.h6-stl p { margin: 6px 0 0; color: #4b5b6b; font-size: 14.5px; line-height: 1.5; }
.h6-legal { margin: 20px 0 0; color: #6b7a8c; font-size: 12.5px; line-height: 1.5; }
@media (max-width: 900px) {
    .h6-cards, .h6-stl { grid-template-columns: minmax(0, 1fr); }
    .h6-pane.on { grid-template-columns: minmax(0, 1fr); }
}

/* step 822: Connect your account = a big number of LIVE brokers per market (no names; views/public/sections/home-connect.php) */
.h7-connect .h3-head { text-align: center; }
.h7-total { display: inline-flex; align-items: center; gap: 10px; margin: 18px auto 0; padding: 8px 18px; border-radius: 999px; background: rgba(246, 183, 15, .1); border: 1px solid rgba(246, 183, 15, .45); color: #f3e6c3; font-size: 15px; font-weight: 600; }
.h7-total b { color: #f6b70f; font-size: 20px; font-weight: 900; }
.h7-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.h7-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(23, 44, 82, .92), rgba(10, 21, 42, .92)); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); transition: transform .2s ease, border-color .2s ease; }
.h7-card:hover { transform: translateY(-4px); border-color: rgba(246, 183, 15, .55); }
.h7-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 183, 15, .18), transparent 70%); pointer-events: none; }
.h7-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: rgba(246, 183, 15, .12); border: 1px solid rgba(246, 183, 15, .4); color: #f6b70f; font-size: 20px; font-weight: 900; }
.h7-card small { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(246, 183, 15, .14); color: #f6b70f; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.h7-num { display: block; margin-top: 12px; font-family: Inter, system-ui, sans-serif; font-size: clamp(44px, 4.4vw, 60px); line-height: 1; font-weight: 900; letter-spacing: -.03em; background: linear-gradient(180deg, #ffe08a, #f6b70f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h7-unit { margin-top: 4px; color: #fff; font-size: 16px; font-weight: 800; }
.h7-card p { margin: 10px 0 0; color: #a9b8cf; font-size: 13.5px; line-height: 1.5; }
.h7-more { margin-top: auto; padding-top: 14px; color: #8fd6b0; font-style: normal; font-size: 13px; font-weight: 700; }
.h7-free { background: linear-gradient(160deg, rgba(18, 74, 64, .92), rgba(9, 34, 34, .92)); border-color: rgba(47, 208, 122, .3); }
.h7-free .h7-ic { background: rgba(47, 208, 122, .12); border-color: rgba(47, 208, 122, .45); color: #2fd07a; }
.h7-free small { background: rgba(47, 208, 122, .14); color: #2fd07a; }
.h7-free .h7-num { background: linear-gradient(180deg, #b8f5d2, #2fd07a); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 1000px) { .h7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .h7-grid { grid-template-columns: minmax(0, 1fr); } .h7-total { font-size: 13px; } }

/* step 822: the sharp NTR Terminal picture (views/public/partials/home-ntr-shot.php) - our real chart at 2.5x + HTML top bar / order bar / watchlist */
.ns { --ns-b: #e0e3eb; background: #fff; color: #131722; font-family: Inter, system-ui, sans-serif; font-size: 11px; line-height: 1.2; text-align: left; }
.ns-hero { font-size: 9.5px; }
.ns-top { display: flex; align-items: center; gap: 1.2em; padding: .7em 1em; border-bottom: 1px solid var(--ns-b); white-space: nowrap; overflow: hidden; }
.ns-sym { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.15em; }
.ns-sym i { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #f6b70f; color: #3a2a00; font-style: normal; font-size: .75em; font-weight: 900; }
.ns-tf { display: inline-flex; gap: .35em; }
.ns-tf b { padding: .3em .55em; border-radius: .4em; color: #434651; font-weight: 600; }
.ns-tf b.on { background: #f0f3fa; color: #131722; font-weight: 800; }
.ns-live { color: #089981; font-weight: 700; }
.ns-desk { margin-left: auto; padding: .4em .8em; border-radius: .45em; background: #d4a537; color: #1a1305; font-weight: 800; }
.ns-body { display: grid; grid-template-columns: minmax(0, 1fr) 27%; }
.ns-chart { position: relative; border-right: 1px solid var(--ns-b); }
.ns-chart img { display: block; width: 100%; height: auto; }
.ns-bar { position: absolute; left: 1.4%; top: 9%; display: flex; align-items: stretch; gap: .35em; padding: .35em; border-radius: .6em; background: #fff; box-shadow: 0 .3em 1em rgba(0, 0, 0, .14); border: 1px solid var(--ns-b); }
.ns-bar span { display: flex; flex-direction: column; justify-content: center; padding: .3em .8em; border-radius: .4em; font-weight: 800; color: #fff; text-align: center; }
.ns-bar small { font-size: .72em; opacity: .9; }
.ns-bar .s { background: #f23645; } .ns-bar .b { background: #2962ff; }
.ns-bar .q { flex-direction: row; align-items: center; gap: .5em; color: #434651; font-weight: 700; padding: 0 .4em; }
.ns-bar .q b { color: #131722; }
.ns-bar .p { color: #b1831f; background: #fff7e0; border: 1px solid #f0d58f; padding: .3em .5em; }
.ns-wl { padding: .6em 0; overflow: hidden; }
.ns-wlh { margin: 0 .9em .4em; font-weight: 800; font-size: 1.1em; letter-spacing: .02em; }
.ns-g { margin: .7em .9em .25em; color: #787b86; font-size: .82em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ns-r { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6em; align-items: center; padding: .42em .9em; border-bottom: 1px solid #f0f3fa; }
.ns-r b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-r span { color: #131722; font-variant-numeric: tabular-nums; }
.ns-r em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.ns-r em.u { color: #089981; } .ns-r em.d { color: #f23645; }
.h6-big .ns { border-radius: 0; }
@media (max-width: 1100px) { .ns-hero { font-size: 8px; } }
@media (max-width: 900px) { .ns-hero, .ns-tour { font-size: 2.3vw; } }
@media (max-width: 520px) { .ns-wl { display: none; } .ns-body { grid-template-columns: minmax(0, 1fr); } .ns-chart { border-right: 0; } .ns-hero, .ns-tour { font-size: 2.6vw; } .ns-tf b:nth-child(n+4), .ns-desk { display: none; } }
.h6-also { margin: 22px 0 0; padding: 14px 18px; border-radius: 12px; background: rgba(246, 183, 15, .08); border: 1px dashed rgba(166, 120, 21, .4); color: #4b5b6b; font-size: 14.5px; line-height: 1.6; }
.h6-also b { color: #a67815; }
/* step 822: one heading font on the whole home page (the new sections are Inter; the older ones were Georgia) */
body .cms-runtime-section h2 { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; font-weight: 900 !important; letter-spacing: -.02em; }
/* step 822 mobile check: Connect = 2 compact columns on a phone; the hero's "See the plans" gets a full tap area */
@media (max-width: 520px) {
    .h7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .h7-card { padding: 16px 14px; }
    .h7-card p { display: none; }
    .h7-ic { width: 34px; height: 34px; margin-bottom: 10px; font-size: 17px; }
    .h7-num { font-size: 40px; }
    .h7-unit { font-size: 14px; }
    .h7-more { font-size: 12px; padding-top: 8px; }
    .h5-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
}
.h7-plat { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.h7-plat i { padding: 4px 10px; border-radius: 999px; background: rgba(246, 183, 15, .14); border: 1px solid rgba(246, 183, 15, .5); color: #ffe08a; font-style: normal; font-size: 12.5px; font-weight: 800; }

/* step 822: sharp HTML pictures of the option chain, the screener scans and the Algo Market (views/public/partials/home-tour-shots.php) */
.tsx { padding: 14px; background: #fff; color: #131722; font-family: Inter, system-ui, sans-serif; font-size: 12.5px; line-height: 1.3; text-align: left; }
.tsx b { font-weight: 800; }
.tsx-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 12px; background: #f6f7fb; border: 1px solid #e6e9f2; }
.tsx-tabs b { padding: 8px 4px; border-radius: 9px; text-align: center; color: #5b6475; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsx-tabs b.on, .tsx-sub b.on { background: linear-gradient(180deg, #e0b84f, #c9962c); color: #1a1305; }
.tsx-und { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.tsx-seg { display: inline-flex; border: 1px solid #e6e9f2; border-radius: 8px; overflow: hidden; }
.tsx-seg i { padding: 6px 12px; font-style: normal; font-weight: 700; color: #5b6475; }
.tsx-seg i.on { background: #c9962c; color: #fff; }
.tsx-box { padding: 6px 12px; border-radius: 8px; background: #f0f3fa; border: 1px solid #e6e9f2; font-weight: 600; }
.tsx-upd { margin-left: auto; color: #089981; font-weight: 700; font-size: 11.5px; }
.tsx-spot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; padding: 10px 12px; border: 1px solid #e6e9f2; border-radius: 12px; color: #5b6475; }
.tsx-spot > b { color: #131722; }
.tsx-spot strong { color: #131722; font-size: 18px; font-weight: 900; }
.tsx-spot span b { color: #131722; }
.tsx-bear { margin-left: auto; padding: 3px 10px; border-radius: 999px; border: 1px solid #f3a6ad; color: #e5484d; font-style: normal; font-weight: 800; }
.tsx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tsx-cards div { padding: 9px 11px; border: 1px solid #e6e9f2; border-radius: 12px; background: #fbfcfe; }
.tsx-cards small { display: block; color: #7a8394; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.tsx-cards b { display: block; margin-top: 3px; font-size: 15px; }
.tsx-cards b.d { color: #e5484d; }
.tsx-cards span { color: #7a8394; font-size: 11px; }
.tsx-cards .bar { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: #e6e9f2; overflow: hidden; }
.tsx-cards .bar u { display: block; height: 100%; background: linear-gradient(90deg, #f3a6ad, #e5484d); }
.tsx-cards .bar.sr u { width: 100%; background: linear-gradient(90deg, #089981, #c9962c, #e5484d); }
.tsx-oc { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 12px; }
.tsx-oc th { padding: 5px 6px; color: #7a8394; font-size: 10.5px; font-weight: 800; text-align: center; }
.tsx-oc th.ce { background: #fdecee; color: #e5484d; border-radius: 6px 0 0 0; }
.tsx-oc th.pe { background: #e6f6f1; color: #089981; border-radius: 0 6px 0 0; }
.tsx-oc td { padding: 6px; text-align: center; border-bottom: 1px solid #f0f3fa; }
.tsx-oc td.k, .tsx-oc th.k { background: #f6f0de; color: #6b4e0b; font-weight: 900; }
.tsx-oc td.u { color: #089981; font-weight: 700; }
.tsx-oc td.d { color: #e5484d; font-weight: 700; }
.tsx-oc td.oi { position: relative; }
.tsx-oc td.oi i { position: absolute; top: 4px; bottom: 4px; border-radius: 3px; opacity: .22; }
.tsx-oc td.oi.ce i { right: 3px; background: #e5484d; }
.tsx-oc td.oi.pe i { left: 3px; background: #089981; }
.tsx-oc td.oi span { position: relative; font-weight: 700; }
.tsx-oc tr.atm td { background: #fff8e6; }
.tsx-oc tr.atm td.k { background: #f0d58f; }
.tsx-oc tr.spot td { padding: 0; border: 0; text-align: center; }
.tsx-oc tr.spot span { display: inline-block; margin: 3px 0; padding: 2px 12px; border-radius: 999px; background: #2962ff; color: #fff; font-size: 11px; font-weight: 800; }
.tsx-sub { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.tsx-sub b { padding: 6px 10px; border-radius: 8px; color: #5b6475; font-size: 12px; }
.tsx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.tsx-chips i { padding: 5px 11px; border-radius: 999px; border: 1px solid #e6e9f2; font-style: normal; font-weight: 700; color: #5b6475; }
.tsx-chips i.on { background: #c9962c; border-color: #c9962c; color: #fff; }
.tsx-sc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.tsx-sc > div { padding: 9px 10px; border: 1px solid #e6e9f2; border-left: 3px solid #089981; border-radius: 10px; }
.tsx-sc > div.d { border-left-color: #e5484d; }
.tsx-sc p { display: flex; justify-content: space-between; gap: 6px; margin: 0; }
.tsx-sc em { font-style: normal; font-weight: 900; color: #089981; }
.tsx-sc .d em { color: #e5484d; }
.tsx-sc small { display: block; margin-top: 3px; color: #7a8394; font-size: 10.5px; line-height: 1.35; }
.tsx-sc span { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tsx-sc span i { padding: 2px 7px; border-radius: 6px; background: #f0f3fa; font-style: normal; font-weight: 700; font-size: 11px; }
.tsx-tb { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tsx-tb th { padding: 6px; border-bottom: 1px solid #e6e9f2; color: #7a8394; font-size: 10.5px; font-weight: 800; text-align: left; }
.tsx-tb td { padding: 6px; border-bottom: 1px solid #f0f3fa; }
.tsx-tb td.u { color: #089981; font-weight: 700; }
.tsx-tb td.d { color: #e5484d; font-weight: 700; }
.tsx-tb td.ar { color: #5b6475; letter-spacing: -1px; }
.tsx-tb em { padding: 2px 8px; border-radius: 999px; font-style: normal; font-weight: 800; font-size: 11px; }
.tsx-tb em.u { background: #e6f6f1; color: #089981; }
.tsx-tb em.d { background: #fdecee; color: #e5484d; }
.tsx-tb em.n { background: #f0f3fa; color: #5b6475; }
.tsx-ah b { display: block; font-size: 18px; }
.tsx-ah small { color: #7a8394; }
.tsx-note { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: #fff8e6; border: 1px solid #f0d58f; color: #5b4a1f; font-size: 11.5px; line-height: 1.45; }
.tsx-acard { max-width: 320px; margin-top: 12px; padding: 14px; border: 1px solid #e6e9f2; border-radius: 14px; box-shadow: 0 8px 24px rgba(11, 27, 46, .08); }
.tsx-acard-h { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.tsx-acard-h small { color: #a67815; font-weight: 800; letter-spacing: .06em; }
.tsx-acard-h span { display: flex; gap: 4px; }
.tsx-acard-h i { padding: 2px 8px; border-radius: 6px; background: #f0f3fa; font-style: normal; font-weight: 700; font-size: 11px; }
.tsx-acard-h i.risk { background: #fdecee; color: #e5484d; }
.tsx-an { display: block; margin-top: 6px; font-size: 16px; }
.tsx-aret { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 8px; }
.tsx-aret small { display: block; color: #7a8394; font-size: 11px; }
.tsx-aret strong { color: #089981; font-size: 24px; font-weight: 900; }
.tsx-aret svg { width: 100%; height: 46px; }
.tsx-astats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; padding: 8px; border-radius: 10px; background: #f6f7fb; }
.tsx-astats small { display: block; color: #7a8394; font-size: 10.5px; }
.tsx-astats b { font-size: 14px; }
.tsx-astats b.d { color: #e5484d; }
.tsx-afoot { margin: 8px 0 0; color: #7a8394; font-size: 11.5px; }
@media (max-width: 600px) {
    .tsx { font-size: 11px; padding: 10px; }
    .tsx-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tsx-tabs b:nth-child(n+4) { display: none; }
    .tsx-cards, .tsx-sc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tsx-cards div:nth-child(3), .tsx-sc > div:nth-child(n+5) { display: none; }
    .tsx-oc td:nth-child(2), .tsx-oc td:nth-child(6), .tsx-oc thead tr:last-child th:nth-child(2), .tsx-oc thead tr:last-child th:nth-child(6) { display: none; }
    .tsx-oc thead tr:first-child th.ce, .tsx-oc thead tr:first-child th.pe { font-size: 10px; }
    .tsx-tb th:nth-child(n+5), .tsx-tb td:nth-child(n+5) { display: none; }
    .tsx-bear { margin-left: 0; }
}
/* Hero "View chart" button (his ask 26 Nov): gold outline next to Start free practice, opens the NTR Terminal chart */
.h5-cta.h5-cta-chart { background: transparent; color: #f6b70f; border: 2px solid #f6b70f; padding: 12px 24px; box-shadow: none; }
.h5-cta.h5-cta-chart:hover, .h5-cta.h5-cta-chart:focus-visible { background: rgba(246, 183, 15, .12); color: #ffc531; border-color: #ffc531; }
/* His ask 26 Nov: Start free practice removed; View chart = one big solid gold button as wide as the old two (370 px) with a soft glow so the eye goes to it; phone keeps full width */
.h5-cta.h5-cta-chart { min-width: min(370px, 100%); font-size: 19px; background: #f6b70f; color: #0b1020; border-color: #f6b70f; animation: h5ChartGlow 2.2s ease-in-out infinite; }
.h5-cta.h5-cta-chart:hover, .h5-cta.h5-cta-chart:focus-visible { background: #ffc531; color: #0b1020; border-color: #ffc531; }
@keyframes h5ChartGlow { 0%, 100% { box-shadow: 0 10px 26px rgba(246, 183, 15, .30), 0 0 0 0 rgba(246, 183, 15, .55); } 50% { box-shadow: 0 10px 30px rgba(246, 183, 15, .45), 0 0 0 10px rgba(246, 183, 15, 0); } }
body.motion-off .h5-cta.h5-cta-chart { animation: h5ChartGlow 2.2s ease-in-out infinite !important; }
@media (prefers-reduced-motion: reduce) { .h5-cta.h5-cta-chart, body.motion-off .h5-cta.h5-cta-chart { animation: none !important; } }
