/* Landing page */
.nav { align-items: center; }
.nav-link { color: var(--muted); text-decoration: none; padding: 6px 10px; font-size: 0.92rem; }
.nav-link:hover { color: var(--text); }
@media (max-width: 720px) { .hide-sm { display: none; } }
.btn-lg { padding: 12px 22px; font-size: 1rem; border-radius: 12px; }

.l-hero { padding: 56px 0 40px; background: radial-gradient(1000px 400px at 80% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.l-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .l-hero-grid { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 0.85rem; background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 4px 12px; border-radius: 999px; }
.l-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.35; margin: 16px 0 12px; font-weight: 900; }
.l-hero h1 span { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.fine { color: var(--muted); font-size: 0.82rem; margin-top: 10px; }

.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.live-dot { font-size: 0.78rem; color: var(--buy); display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 4px var(--buy-bg); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.hero-stats > div { background: var(--surface-2); border-radius: 12px; padding: 10px; }
.k { color: var(--muted); font-size: 0.78rem; }
.v { font-weight: 800; font-size: 1.35rem; }
.bars { display: flex; align-items: center; gap: 6px; height: 120px; margin-top: 10px; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); position: relative; }
.bars::after { content: ''; position: absolute; inset-inline: 0; top: 50%; border-top: 1px solid var(--border); }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; position: relative; }
.bar { width: 100%; border-radius: 4px; position: absolute; inset-inline: 0; }
.bar.pos { background: var(--buy); bottom: 50%; }
.bar.neg { background: var(--sell); top: 50%; }

.section { padding: 40px 16px; }
.section-title { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 24px; }

.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
@media (max-width: 820px) { .markets { grid-template-columns: repeat(2, 1fr); } }
.market { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.market h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.market p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.m-ico { font-size: 1.6rem; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.steps h3 { margin: 10px 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 900; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan-badge { position: absolute; top: -12px; inset-inline-start: 18px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 800; padding: 2px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 1.15rem; }
.plan-price { font-size: 1.6rem; font-weight: 900; }
.plan-price small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.plan-month { color: var(--muted); font-size: 0.85rem; }
.plan .btn { margin-top: 8px; }
.plan-features { list-style: none; padding: 0; margin: 20px auto 0; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; color: var(--muted); font-size: 0.92rem; }

.tg-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface)); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.tg-cta h2 { margin: 0 0 4px; }
.tg-cta p { margin: 0; color: var(--muted); }

.faq { max-width: 760px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin: 0; }
@media (max-width: 820px) { .lead-box { grid-template-columns: 1fr; } }
.lead-box h2 { margin: 0 0 6px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .lead-form { grid-template-columns: 1fr; } }
.lead-form .msg { grid-column: 1 / -1; }

.markets.markets-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .markets.markets-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .markets.markets-5 { grid-template-columns: repeat(2, 1fr); } }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-title.al { text-align: right; margin: 0; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.learn-cards { display: grid; gap: 10px; }
.learn-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; transition: border-color .2s, transform .2s; }
.learn-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.learn-card .n { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-grad); color: var(--accent-ink); font-weight: 900; flex: none; }
.learn-card p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }
.hero-empty { text-align: center; color: var(--muted); padding: 18px 8px 6px; font-size: 0.9rem; }
.hero-empty b { display: block; color: var(--text); font-size: 1.02rem; margin-bottom: 4px; }
.market { transition: border-color .2s, transform .2s; }
a.market:hover { border-color: var(--accent); transform: translateY(-2px); }
.l-hero h1 span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-card { box-shadow: var(--glow); }
.step-n, .plan-badge { background: var(--gold-grad); }
.plan.featured { box-shadow: var(--glow); }
.tg-cta { background: radial-gradient(600px 200px at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--surface); }

.record-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; align-items: start; }
@media (max-width: 880px) { .record-grid { grid-template-columns: 1fr; } }

/* ===== home hero: copy + "market race" card ===== */
.x-hero { --p: 0; position: relative; overflow: hidden; min-height: min(calc(100svh - 120px), 760px); display: flex; align-items: flex-start; padding: clamp(48px, 9vh, 110px) 0 0; }
.x-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%); }
.x-bg::after { content: ''; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--bg)); }
.x-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.x-glow.g1 { width: 560px; height: 560px; top: -240px; right: -120px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%);
  transform: translate(calc(var(--p) * -260px), calc(var(--p) * 220px)) scale(calc(1 + var(--p) * .35)); }
.x-glow.g2 { width: 440px; height: 440px; bottom: -170px; left: -110px; background: radial-gradient(circle, color-mix(in srgb, #b8862d 45%, transparent), transparent 70%);
  opacity: calc(.3 + var(--p) * .4); transform: translateY(calc(var(--p) * -120px)); }
.x-dots { position: absolute; inset: -80px 0 0; background: radial-gradient(color-mix(in srgb, var(--text) 15%, transparent) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 55% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(70% 60% at 55% 40%, #000 10%, transparent 75%);
  transform: translateY(calc(var(--p) * -80px)); }
.x-linebox { position: absolute; left: 0; right: 0; bottom: 6%; height: 56%; transform: translateY(calc(var(--p) * -50px)); }
.x-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.x-stroke { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 70%, transparent)); }
.x-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #f3d58a; left: 100%; top: 100%; opacity: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 24px 6px color-mix(in srgb, var(--accent) 60%, transparent); transition: opacity .4s; }
.x-dot::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); animation: xPing 2s ease-out infinite; }
.x-hero.ready .x-dot { opacity: 1; }
@keyframes xPing { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.x-copy { position: relative; transform: translateY(calc(var(--p) * -70px)); opacity: calc(1 - var(--p) * 1.3); }
.x-cue { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 40px; margin-left: -13px; border: 1.5px solid color-mix(in srgb, var(--text) 35%, transparent); border-radius: 14px; opacity: calc(1 - var(--p) * 4); }
.x-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: xCue 1.8s ease-in-out infinite; }
@keyframes xCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.x-year { padding-top: 8px; }
.x-year .race { max-width: 760px; margin-inline: auto; opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.x-year .race.seen { opacity: 1; transform: none; }
:root[data-theme="light"] .x-glow { opacity: .28; }
@media (max-width: 560px) { .x-hero { min-height: 540px; padding-top: 40px; } .x-glow.g1 { width: 360px; height: 360px; top: -150px; right: -110px; } .x-linebox { height: 40%; bottom: 4%; } .x-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .x-dot::after, .x-cue i { animation: none; } .x-year .race { opacity: 1; transform: none; transition: none; } }
.x-copy h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.25; margin: 12px 0 14px; font-weight: 900; }
.x-copy h1 span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 0; flex-wrap: wrap; }
.x-trust li { display: flex; flex-direction: column; padding: 0 18px; border-inline-start: 1px solid var(--border); }
.x-trust li:first-child { padding-inline-start: 0; border: 0; }
.x-trust b { font-size: 1.15rem; font-weight: 900; color: var(--accent); }
.x-trust span { color: var(--muted); font-size: 0.8rem; }

.race { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; position: relative; box-shadow: var(--glow); }
.race::before { content: ''; position: absolute; inset-inline: 20px; top: -1px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.race-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.race-k { color: var(--muted); font-size: 0.8rem; }
.race-head h2 { margin: 2px 0 0; font-size: 1.2rem; font-weight: 900; }
.race-live { display: inline-flex; align-items: center; font-size: 0.75rem; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.race-chart { height: 200px; margin-top: 14px; background: linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 100% 25%; border-radius: 8px; }
.race-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.race-axis { display: flex; justify-content: space-between; direction: ltr; color: var(--muted); font-size: 0.74rem; margin-top: 6px; }
.race-board { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.race-board li { display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 10px; background: var(--surface-2); border-radius: 12px; padding: 8px 12px; font-size: 0.9rem; }
.race-board .rk { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 900; color: #fff; }
.race-board .nm { font-weight: 700; }
.race-board .vl { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.race-board .pc { font-weight: 900; color: var(--buy); min-width: 64px; text-align: left; }
.race-board .pc.neg { color: var(--sell); }
.race-cash { margin-top: 10px; display: flex; gap: 10px; align-items: center; border: 1px dashed color-mix(in srgb, var(--sell) 45%, var(--border)); border-radius: 12px; padding: 9px 12px; font-size: 0.86rem; }
.race-cash b { color: var(--sell); font-weight: 900; }
.yc-src { margin: 10px 0 0; color: var(--muted); font-size: 0.72rem; }
@media (max-width: 560px) { .race { padding: 16px 12px; } .race-chart { height: 160px; } .x-hero { padding-top: 32px; } }
@media (max-width: 560px) { .race-board li { grid-template-columns: 22px 1fr auto; } .race-board .vl { display: none; } .race-board .nm { white-space: nowrap; } }

/* simple bars card (replaces the busy chart) */
.race { padding: 26px 24px 20px; }
.race-k { color: var(--muted); font-size: 0.9rem; }
.race-q { margin: 4px 0 22px; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 900; line-height: 1.5; }
.race-q b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bars-x { display: grid; gap: 14px; }
.bx { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 12px; }
.bx-n { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.bx-track { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bx-fill { height: 100%; width: 0; border-radius: 999px; background: var(--gold-grad); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.race.go .bx-fill { width: var(--w); }
.bx:nth-child(2) .bx-fill { transition-delay: .12s; } .bx:nth-child(3) .bx-fill { transition-delay: .24s; } .bx:nth-child(4) .bx-fill { transition-delay: .36s; }
.bx-v { font-weight: 900; font-variant-numeric: tabular-nums; min-width: 92px; text-align: left; }
.bx.cash .bx-fill { background: var(--border-strong); }
.bx.cash .bx-n, .bx.cash .bx-v { color: var(--muted); }
.race-take { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 1rem; }
.race-take b { color: var(--accent); }
@media (max-width: 560px) { .bx { grid-template-columns: 1fr auto; gap: 6px 10px; } .bx-track { grid-column: 1 / -1; grid-row: 2; } .bx-v { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .bx-fill { transition: none; } }

/* ===== how it works: connected steps ===== */
.how { text-align: center; }
.how-k { display: inline-block; color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 6px; }
.flow { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; text-align: right; }
.flow::before { content: ''; position: absolute; top: 31px; right: 16%; left: 16%; height: 2px; background: var(--border); }
.flow::after { content: ''; position: absolute; top: 31px; right: 16%; height: 2px; width: 0; background: var(--gold-grad); transition: width 1.4s cubic-bezier(.4,.1,.2,1) .2s; }
.flow.on::after { width: 68%; }
.fl { display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.flow.on .fl { opacity: 1; transform: none; }
.flow.on .fl:nth-child(2) { transition-delay: .25s; } .flow.on .fl:nth-child(3) { transition-delay: .5s; }
.fl-n { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 0 0 6px var(--bg), 0 10px 30px color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.fl-n svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-n i { position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 900; background: var(--gold-grad); color: var(--accent-ink); box-shadow: 0 0 0 3px var(--bg); }
.fl-b { margin-top: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 16px 16px; width: 100%; flex: 1; display: flex; flex-direction: column; }
.fl-b h3 { margin: 0 0 4px; font-size: 1.1rem; }
.fl-b p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.8; }
.fl-vis { margin-top: auto; padding-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.fl-gift { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.fl-gift b { color: var(--accent); }
.fl-ticket span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 8px; border-radius: 10px; background: var(--surface-2); font-size: .72rem; }
.fl-ticket small { color: var(--muted); font-size: .7rem; }
.t-entry b { color: var(--text); } .t-tgt b { color: var(--buy); } .t-stop b { color: var(--sell); }
.fl-res, .fl-bell { font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.fl-res { background: var(--buy-bg); color: var(--buy); }
.fl-bell { background: var(--surface-2); color: var(--muted); }
.how-cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.how-link { color: var(--accent); font-size: .88rem; text-decoration: none; }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow::before, .flow::after { top: 32px; bottom: 32px; right: 31px; left: auto; width: 2px; height: auto; }
  .flow::after { height: 0; bottom: auto; transition: height 1.4s cubic-bezier(.4,.1,.2,1) .2s; }
  .flow.on::after { width: 2px; height: calc(100% - 64px); }
  .fl { flex-direction: row; align-items: flex-start; gap: 14px; text-align: right; }
  .fl-n { flex: none; }
  .fl-b { margin-top: 0; }
  .fl-vis { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .fl { opacity: 1; transform: none; transition: none; } .flow::after { transition: none; } }

/* hero proof strip: latest real result + record + Telegram */
.x-proof { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 22px; max-width: 720px; }
.x-proof[hidden] { display: none; }
.xp-last, .xp-rec { display: flex; flex-direction: column; gap: 2px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.xp-last:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.xp-last small, .xp-rec small { color: var(--muted); font-size: .72rem; }
.xp-last span, .xp-rec span { font-size: .95rem; }
.xp-tg { display: inline-flex; align-items: center; gap: 8px; align-self: center; }
.xp-tg svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .x-proof { gap: 8px; margin-top: 18px; }
  .xp-last, .xp-rec { flex: 1 1 calc(50% - 4px); padding: 9px 11px; }
  .xp-last span, .xp-rec span { font-size: .85rem; }
  .xp-tg { flex: 1 1 100%; justify-content: center; }
}
/* phones: the last-results table drops market + date so the result column is not cut off */
@media (max-width: 560px) {
  .recent-tbl th:nth-child(2), .recent-tbl td:nth-child(2), .recent-tbl th:nth-child(6), .recent-tbl td:nth-child(6) { display: none; }
  .recent-tbl th, .recent-tbl td { padding-inline: 8px; }
}

.markets.markets-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .markets.markets-6 { grid-template-columns: repeat(2, 1fr); } }

/* phones: keep the landing short — prices in two columns (6 shown), 3 news, 3 lessons */
@media (max-width: 560px) {
  #snap { grid-template-columns: 1fr 1fr; gap: 8px; }
  #snap .price-card { padding: 12px; gap: 4px; }
  #snap .price-card:nth-child(n+7) { display: none; }
  #snap .pc-val { font-size: 1.05rem; }
  #snap .pc-val small { display: block; font-size: .7rem; }
  #snap .pc-name { font-size: .85rem; }
  #lNews > :nth-child(n+4) { display: none; }
  .learn-cards > :nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  .markets .market { padding: 14px; }
  .markets .m-ico { font-size: 1.25rem; margin-bottom: 2px; }
  .markets .market h3 { font-size: 1rem; margin: 4px 0 2px; }
  .markets .market p { font-size: .8rem; line-height: 1.6; margin: 0; }
}

/* hero: the Telegram link is a quiet outline pill, not a solid bar over the gold line */
.x-proof .xp-tg { background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(6px); color: #3fa9e0; border: 1px solid color-mix(in srgb, #229ed9 55%, transparent); box-shadow: none; }
.x-proof .xp-tg:hover { background: color-mix(in srgb, #229ed9 14%, var(--surface)); filter: none; }
:root[data-theme="light"] .x-proof .xp-tg { color: #1b7fb3; }
/* phones: the gold line gets its own strip under the text instead of running through the buttons */
@media (max-width: 560px) {
  .x-hero { min-height: 0; padding-bottom: 150px; }
  .x-linebox { top: auto; bottom: 8px; height: 132px; transform: none; }
}
