:root {
  /* ICC Charts: indigo + teal (ICC Terminal is navy + amber, so the two never look alike) */
  --bg: #070b16; --bg2: #0a1020; --panel: #0e1528; --panel2: #121a31; --line: rgba(148, 163, 214, .12); --line2: rgba(148, 163, 214, .22);
  --text: #eef1fa; --soft: #c2c9db; --muted: #8a94ad; --accent: #2dd4bf; --accent-ink: #032824; --violet: #8b5cf6;
  --blue: #3b82f6; --green: #26a69a; --red: #ef5350;
  --grad: linear-gradient(135deg, #2dd4bf 0%, #60a5fa 50%, #8b5cf6 100%);
  --radius: 16px;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
::selection { background: rgba(45, 212, 191, .3); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---- nav ---------------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 22, .6); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { background: rgba(7, 11, 22, .85); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--text); text-decoration: none; margin-right: auto; letter-spacing: -.2px; }
.logo b { font-weight: 800; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.links { display: flex; gap: 4px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 7px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.links .links-cta { display: none; }
.links a { white-space: nowrap; }
/* 11 links (12 with Rulebooks): a compact row on wide screens, the phone menu up to 1180 px */
@media (min-width: 1181px) { .nav-in { gap: 18px; } .links { gap: 0; } .links a { padding: 7px 7px; font-size: 14px; } }
.menu-btn { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line2); border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- buttons ------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px rgba(45, 212, 191, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { box-shadow: 0 10px 34px rgba(45, 212, 191, .38), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { border-color: var(--line2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(148, 163, 214, .4); background: rgba(255, 255, 255, .06); }
.btn-light { background: #fff; color: #0a1020; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.btn.disabled { background: var(--panel2); color: var(--muted); box-shadow: none; border-color: var(--line); pointer-events: none; }

/* ---- hero --------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-bottom: 40px; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%); opacity: .7; }
.hero-glow { position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .32), transparent), radial-gradient(closest-side at 30% 70%, rgba(45, 212, 191, .22), transparent); filter: blur(20px); }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 80px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: var(--soft); text-decoration: none; border: 1px solid var(--line2); background: rgba(14, 21, 40, .7); margin-bottom: 26px; transition: border-color .2s; }
.pill:hover { border-color: rgba(45, 212, 191, .5); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); animation: ping 2s infinite; }
.pill-arrow { color: var(--accent); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); } }
h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -2px; font-weight: 800; margin: 0 0 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--soft); font-size: clamp(16px, 1.6vw, 19px); max-width: 680px; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-shot { position: relative; width: 100%; max-width: 1080px; margin-top: 64px; }
.hero-shot::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: linear-gradient(180deg, rgba(139, 92, 246, .6), rgba(45, 212, 191, .2) 40%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 1; }
.window { position: relative; border-radius: 16px; overflow: hidden; background: #0d121f; border: 1px solid var(--line2);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(139, 92, 246, .35); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #10172a; border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3350; }
.window-bar i:nth-child(1) { background: #ef5350; } .window-bar i:nth-child(2) { background: #f5b942; } .window-bar i:nth-child(3) { background: #26a69a; }
.window-bar span { margin: 0 auto; transform: translateX(-24px); font: 500 12px var(--mono); color: var(--muted); padding: 3px 14px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.window img { display: block; width: 100%; height: auto; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500;
  color: var(--text); background: rgba(14, 21, 40, .82); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.f1 { left: -28px; top: 22%; } .f2 { right: -32px; top: 40%; animation-delay: -2s; } .f3 { left: 8%; bottom: -22px; animation-delay: -4s; }
/* below 1180px the hero picture fills the width: its floating labels stay on screen instead of being cut */
@media (max-width: 1180px) { .f1 { left: 12px; } .f2 { right: 12px; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.tag { font: 600 11px var(--mono); padding: 3px 7px; border-radius: 6px; }
.tag-teal { color: #2dd4bf; background: rgba(45, 212, 191, .14); }
.tag-violet { color: #b9a2ff; background: rgba(139, 92, 246, .18); }
.tag-red { color: #ff8a87; background: rgba(239, 83, 80, .16); }

/* ---- markets marquee ---------------------------------------------------------------------- */
.markets { border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; margin-top: 40px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: baseline; gap: 8px; padding: 18px 34px; font: 600 15px var(--mono); color: var(--text); border-right: 1px solid var(--line); }
.marquee-track em { font: 400 13px var(--font); font-style: normal; color: var(--muted); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- stats -------------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 64px; padding-bottom: 8px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 4px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font-size: 44px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---- sections ----------------------------------------------------------------------------- */
.section { padding-top: 104px; padding-bottom: 104px; }
.band { position: relative; background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); }
.head { margin-bottom: 44px; max-width: 720px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; margin: 0 0 12px; font: 600 12.5px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1.2px; font-weight: 800; margin: 0 0 14px; }
h3 { letter-spacing: -.2px; }
.sub { color: var(--muted); font-size: 17px; margin: 0; }

/* cards */
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .25s, transform .25s, box-shadow .25s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(45, 212, 191, .09), transparent 60%); }
.card:hover { border-color: var(--line2); transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 0 0 8px; font-size: 18.5px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; color: var(--accent);
  background: rgba(45, 212, 191, .08); border: 1px solid rgba(45, 212, 191, .22); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background: radial-gradient(600px 300px at 100% 0%, rgba(139, 92, 246, .16), transparent), var(--panel); }
.bento .big h3 { font-size: 24px; }
.bento .big p { font-size: 16px; max-width: 520px; }
.bento .wide { grid-column: span 2; }
.mini-chart { display: block; width: 100%; max-width: 440px; height: auto; margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.chips span { font: 500 13px var(--mono); padding: 7px 12px; border-radius: 8px; color: var(--soft); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.chips span:nth-child(3n+1) { color: #5eead4; border-color: rgba(45, 212, 191, .25); }
.chips span:nth-child(3n+2) { color: #b9a2ff; border-color: rgba(139, 92, 246, .28); }
.limits { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 20px; }
.limits div:not(.lim-note) { padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.limits small { display: block; color: var(--muted); font-size: 12px; }
.limits b { font: 600 18px var(--mono); }
.lim-note { color: var(--muted); font-size: 12px; padding-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
.dl { display: flex; flex-direction: column; gap: 14px; }
.dl .ico { margin-bottom: 4px; }
.dl h3 { margin: 0; }
.dl .btn { align-self: flex-start; margin-top: auto; }

/* showcase */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.tab { font: 500 14px var(--font); color: var(--muted); background: none; border: 0; padding: 9px 16px; border-radius: 9px; cursor: pointer; transition: color .15s, background .15s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line2); }
.showcase .window { display: grid; }
.showcase .window-bar { grid-area: 1 / 1; }
.shot { grid-area: 2 / 1; opacity: 0; transition: opacity .45s ease; }
.shot.active { opacity: 1; }
.shot-cap { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; text-align: center; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -19px; width: 20px; height: 1px; background: var(--line2); }
.step-n { display: inline-block; font: 600 14px var(--mono); color: var(--accent); padding: 5px 10px; border-radius: 8px; background: rgba(45, 212, 191, .1); margin-bottom: 18px; }
.steps h3 { margin: 0 0 8px; font-size: 18.5px; }
.steps p { margin: 0; color: var(--soft); font-size: 15px; }

/* models */
.models { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.models li { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  font-weight: 500; color: var(--soft); transition: border-color .2s, background .2s; }
.models li:hover { border-color: rgba(45, 212, 191, .35); background: var(--panel2); color: var(--text); }
.models b { flex: none; min-width: 46px; text-align: center; font: 600 13px var(--mono); color: var(--accent); padding: 4px 8px; border-radius: 7px; background: rgba(45, 212, 191, .1); }
.models li.models-group { grid-column: 1 / -1; display: block; background: none; border: 0; padding: 18px 2px 2px; }
.models li.models-group:first-child { padding-top: 0; }
.models li.models-group:hover { background: none; }
.models-group h3 { margin: 0; font-size: 18px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.models-group h3 span { font: 600 12px var(--mono); padding: 2px 8px; border-radius: 999px; color: var(--accent); background: rgba(45, 212, 191, .1); }
.models-group p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.models li.m-wolf b, .models-wolf h3 span { color: #ffc35c; background: rgba(255, 195, 92, .12); }
.models li.m-vsa b, .models-vsa h3 span { color: #a99cff; background: rgba(124, 108, 255, .14); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-bottom: 22px; align-items: stretch; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, border-color .25s; }
.plan:hover { transform: translateY(-3px); border-color: var(--line2); }
.plan.vip { background: radial-gradient(500px 240px at 50% 0%, rgba(139, 92, 246, .22), transparent), var(--panel2); border-color: rgba(139, 92, 246, .55);
  box-shadow: 0 30px 70px -30px rgba(139, 92, 246, .55); }
.plan.vip::before { content: "VIP"; position: absolute; top: -12px; left: 24px; font: 600 11px var(--mono); letter-spacing: 1px; text-transform: uppercase;
  color: #fff; padding: 4px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--violet), #6366f1); }
.plan h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--soft); }
.price { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price.soon { font-size: 22px; letter-spacing: -.3px; color: var(--muted); padding: 10px 0 6px; }
.plan > p { margin: 0; }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--soft); border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(45, 212, 191, .14)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan li.no { color: var(--muted); }
.plan li.no::before { background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94ad' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.faq .head { position: sticky; top: 100px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 17px; padding: 22px 40px 22px 0; position: relative; transition: color .15s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 1px solid var(--line2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2c9db' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--soft); margin: -6px 0 22px; padding-right: 40px; }

/* cta band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 72px 24px; margin-bottom: 40px; border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, .4); background: linear-gradient(135deg, #1a1446 0%, #12224a 50%, #0b3a3a 100%); }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(500px 200px at 20% 0%, rgba(139, 92, 246, .45), transparent), radial-gradient(500px 220px at 85% 100%, rgba(45, 212, 191, .35), transparent); pointer-events: none; }
.cta-band > *:not(.cta-glow) { position: relative; }
.cta-band h2 { max-width: 760px; margin: 0 auto 12px; }
.cta-band p { margin: 0 auto 30px; color: var(--soft); font-size: 17px; max-width: 560px; }

/* risk + footer */
.risk-box { margin-bottom: 64px; padding: 18px 20px; border: 1px solid rgba(239, 83, 80, .25); background: rgba(239, 83, 80, .06); border-radius: 14px; color: #f1c6d2; font-size: 14px; }
.risk-box a { color: #ff9a97; }
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); font-size: 14px; background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
#foot-contact { display: flex; flex-direction: column; gap: 10px; word-break: break-all; }
.foot-grid h4 { margin: 0 0 14px; color: var(--text); font-size: 14px; font-weight: 600; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; }
.foot-brand p { max-width: 320px; margin: 14px 0 0; }
.footer a:not(.logo) { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer a:not(.logo):hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-tm { flex-basis: 100%; font-size: 12px; color: var(--muted); line-height: 1.5; }
.foot-tm a { color: inherit; text-decoration: underline; }
/* short footer on the legal pages */
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-in nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* legal pages */
.doc { max-width: 780px; padding: 64px 16px 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; }
.doc h2 { font-size: 22px; letter-spacing: -.3px; margin-top: 36px; }
.doc p, .doc li { color: var(--soft); }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: #070b16; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .6); }
  .links.open { display: flex; }
  .links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .links .links-cta { display: block; color: var(--accent); font-weight: 600; border-bottom: 0; }
  .menu-btn { display: flex; }
  .nav-in { gap: 12px; }
}
@media (max-width: 960px) {
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: #070b16; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .6); }
  .links.open { display: flex; }
  .links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .links .links-cta { display: block; color: var(--accent); font-weight: 600; border-bottom: 0; }
  .menu-btn { display: flex; }
  .nav-in { gap: 12px; }
  .nav .nav-cta { padding: 8px 14px; font-size: 14px; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .big { grid-column: span 2; grid-row: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
  .steps, .cards, .cards.three { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .faq { grid-template-columns: 1fr; gap: 8px; }
  .faq .head { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .f1 { left: -8px; } .f2 { right: -8px; }
}
@media (max-width: 640px) {
  .hero-in { padding-top: 56px; }
  h1 { letter-spacing: -1.2px; }
  .hero-shot { margin-top: 44px; }
  .float { font-size: 12px; padding: 7px 10px; }
  .f1 { top: auto; bottom: -18px; left: 4px; } .f2 { top: -16px; right: 4px; } .f3 { display: none; }
  .window-bar span { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento .big, .bento .wide { grid-column: auto; }
  .stat { padding: 4px 14px; }
  .stat b { font-size: 34px; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 9px 8px; }
  .cta-band { padding: 52px 20px; border-radius: 22px; }
  .btn-lg { width: 100%; }
  .cta { width: 100%; }
}
@media (max-width: 420px) {
  .nav .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- community page ---------------------------------------------------------------------- */
.links a.active { color: var(--text); background: rgba(255, 255, 255, .06); }
.cm-page { padding-bottom: 80px; }
.cm-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 24px; }
.cm-hero h1 { margin: 0 0 6px; font-size: clamp(32px, 5vw, 46px); letter-spacing: -.02em; }
.cm-hero p { margin: 0; max-width: 620px; }
.cm-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cm-tabs { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.cm-tabs button { padding: 10px 16px; border: 0; background: none; color: var(--muted); font: 600 15px var(--font); cursor: pointer; border-bottom: 2px solid transparent; }
.cm-tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.cm-tabs .grow { flex: 1; }
.cm-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.cm-page input { font: 15px var(--font); color: var(--text); background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 9px 12px; outline: none; }
.cm-page input:focus { border-color: var(--accent); }
.cm-seg { display: inline-flex; background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 3px; }
.cm-seg button { border: 0; background: none; color: var(--muted); padding: 6px 12px; border-radius: 8px; font: 600 13.5px var(--font); cursor: pointer; }
.cm-seg button.on { background: rgba(45, 212, 191, .15); color: var(--text); }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-bottom: 20px; }
.cm-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); color: var(--text); cursor: pointer; overflow: hidden; font: inherit; transition: transform .15s, border-color .15s; }
.cm-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.cm-thumb { position: relative; aspect-ratio: 16 / 9; background: #0f1424; }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-dir { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: #fff; background: #64748b; }
.cm-thumb .cm-dir { position: absolute; top: 10px; left: 10px; }
.cm-dir.long { background: var(--green); } .cm-dir.short { background: var(--red); }
.cm-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.cm-card-body p { margin: 2px 0; font-size: 14px; color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-sym { color: var(--accent); font-weight: 700; }
.cm-modal { position: fixed; inset: 0; z-index: 50; background: rgba(4, 7, 15, .72); display: grid; place-items: center; padding: 16px; }
.cm-modal[hidden] { display: none; }
body.cm-lock { overflow: hidden; }
.cm-sheet { width: min(980px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 18px 20px 20px; }
.cm-sheet header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cm-sheet h2 { margin: 0; font-size: 22px; }
.cm-sheet h3 { font-size: 16px; margin: 18px 0 8px; }
.cm-x { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.cm-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0 14px; font-size: 14px; }
.cm-img { width: 100%; border-radius: 12px; border: 1px solid var(--line2); }
.cm-text { white-space: pre-wrap; color: var(--soft); }
.cm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cm-comments { display: flex; flex-direction: column; gap: 8px; }
.cm-comment { background: var(--panel2); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.cm-comment p { margin: 4px 0 0; }
.cm-send { display: flex; gap: 8px; padding-top: 12px; }
.cm-send input { flex: 1; min-width: 0; }
.cm-chat { display: flex; height: min(640px, 72dvh); border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--panel); }
.cm-rooms { width: 220px; flex: none; border-right: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.cm-rooms button { text-align: left; border: 0; background: none; color: var(--soft); padding: 9px 10px; border-radius: 8px; font: 500 14px var(--font); cursor: pointer; }
.cm-rooms button.on { background: rgba(45, 212, 191, .14); color: var(--text); font-weight: 600; }
.cm-room { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cm-msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cm-room .cm-send { padding: 10px; border-top: 1px solid var(--line); }
.cm-msg { max-width: 78%; background: var(--panel2); border-radius: 12px; padding: 8px 12px; font-size: 14.5px; }
.cm-msg.mine { align-self: flex-end; background: rgba(45, 212, 191, .14); }
.cm-msg p { margin: 3px 0 0; white-space: pre-wrap; word-break: break-word; }
.cm-empty { margin: auto; }
.cm-join { display: flex; flex-direction: column; gap: 10px; margin: auto; max-width: 460px; width: 100%; padding: 8px; }
.cm-join pre { white-space: pre-wrap; font: 13px/1.5 var(--font); color: var(--soft); max-height: 200px; overflow: auto; }
.cm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
@media (max-width: 720px) {
  .cm-chat { flex-direction: column; height: 78dvh; }
  .cm-rooms { width: auto; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .cm-rooms button { white-space: nowrap; }
  .cm-msg { max-width: 92%; }
  .cm-modal { padding: 0; }
  .cm-sheet { max-height: 100dvh; border-radius: 0; }
}

/* donations (shown when the admin turns them on) */
.donate-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.donate-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.donate-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
.donate-form input:not([type=checkbox]), .donate-form select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; }
.donate-form .donate-check { flex-direction: row; align-items: center; }
.donate-form .btn { align-self: flex-start; }
#donate code { word-break: break-all; }

/* donate page */
.donate-page .lead { font-size: 18px; color: var(--soft); }
.donate-jump { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 8px; }
.donate-uses { margin: 12px 0; }
.donate-give { margin-top: 36px; padding: 22px; border: 1px solid var(--line2); border-radius: 16px; background: var(--panel); }
.donate-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.donate-tabs button, .donate-amounts button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.donate-tabs button.on, .donate-amounts button.on { border-color: #ec4899; color: #ec4899; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.donate-amounts input { width: 110px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; }
.donate-give label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
.donate-give input:not([type=checkbox]), .donate-give select { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; }
.donate-give .donate-check { flex-direction: row; align-items: center; margin-top: 8px; }
.donate-full { margin-top: 10px; }
.donate-nets { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.crypto-box { margin-top: 12px; }
.crypto-box code { word-break: break-all; cursor: pointer; }
.crypto-box .warn { color: #f59e0b; }
.donate-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* auto-trading guide */
.at-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.at-toc a { font-size: 13.5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); text-decoration: none; }
.at-toc a:hover { color: var(--accent); border-color: var(--accent); }
.at-note { border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); padding: 12px 14px; border-radius: 8px; color: var(--soft); }
.at-page code { font: 500 13px var(--mono); background: color-mix(in srgb, var(--line) 50%, transparent); padding: 1px 6px; border-radius: 5px; word-break: break-all; }
.at-table { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.at-table > div { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 11px 14px; border-top: 1px solid var(--line); }
.at-table > div:first-child { border-top: 0; }
.at-table span { color: var(--soft); }
.at-funnel { list-style: none; padding: 0; counter-reset: f; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.at-funnel li { counter-increment: f; width: calc(100% - var(--i, 0) * 3%); text-align: center; padding: 9px 12px; border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.at-funnel li b::before { content: counter(f) ". "; color: var(--accent); }
.at-funnel li span { display: block; font-size: 13.5px; color: var(--muted); }
.at-funnel li:nth-child(2) { --i: 1 } .at-funnel li:nth-child(3) { --i: 2 } .at-funnel li:nth-child(4) { --i: 3 } .at-funnel li:nth-child(5) { --i: 4 }
.at-funnel li:nth-child(6) { --i: 5 } .at-funnel li:nth-child(7) { --i: 6 } .at-funnel li:nth-child(8) { --i: 7 } .at-funnel li:nth-child(9) { --i: 8 }
.at-funnel li:nth-child(10) { --i: 9 } .at-funnel li:nth-child(11) { --i: 10 }
.at-cta { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .at-table > div { grid-template-columns: 1fr; gap: 4px; } .at-funnel li { width: 100%; } }

/* ---- rulebooks (members only) ---------------------------------------------------------------- */
.rb-hero { position: relative; overflow: hidden; padding: 72px 0 36px; text-align: center; }
.rb-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 0 16px; }
.rb-status { display: inline-block; margin-top: 4px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .03); color: var(--soft); font-size: 14.5px; }
.rb-status.ok { border-color: rgba(45, 212, 191, .35); color: #9ff0e4; background: rgba(45, 212, 191, .07); }
.rb-status.warn { border-color: rgba(251, 191, 36, .35); color: #fde68a; background: rgba(251, 191, 36, .07); }
.rb-books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 18px auto 40px; }
.rb-book { display: flex; flex-direction: column; gap: 6px; padding: 26px; transform-style: preserve-3d;
  box-shadow: 0 2px 0 rgba(148, 163, 214, .08), 0 26px 50px -30px rgba(0, 0, 0, .8); }
.rb-book h2 { margin: 6px 0 2px; font-size: 24px; letter-spacing: -.4px; }
.rb-book h3 { margin: 12px 0 4px; font: 600 12px var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.rb-book .btn { margin-top: auto; align-self: flex-start; }
.rb-book-top { display: flex; align-items: center; justify-content: space-between; }
.rb-badge { font: 700 12px var(--mono); letter-spacing: 1.5px; padding: 5px 10px; border-radius: 8px; color: var(--accent-ink);
  background: var(--grad); box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.rb-lock { font-size: 13px; color: #fde68a; }
.rb-toc { margin: 0 0 18px; padding-left: 20px; color: var(--soft); font-size: 14.5px; columns: 2; column-gap: 26px; }
.rb-toc li { break-inside: avoid; margin: 2px 0; }
.rb-signin { margin-bottom: 40px; }
.rb-signin-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 30px 26px; border-radius: var(--radius);
  border: 1px solid var(--line2); background: linear-gradient(160deg, rgba(139, 92, 246, .12), rgba(45, 212, 191, .06)), var(--panel);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.rb-signin-card h2 { margin: 0 0 6px; }
.rb-signin-buttons { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 8px; }
.rb-signin-buttons svg { width: 20px; height: 20px; }
.rb-google { background: #fff; color: #1f2937; border: 1px solid #dadce0; }
.rb-google:hover { background: #f5f6f8; }
.rb-facebook { background: #1877f2; color: #fff; border: 1px solid #1877f2; }
.rb-facebook:hover { background: #166fe5; }
.rb-reader-wrap { margin-bottom: 40px; }
.rb-reader-bar { position: sticky; top: 68px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 0;
  background: rgba(7, 11, 22, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.rb-reader-bar h2 { margin: 0 auto 0 0; font-size: 19px; }
.rb-reader { margin-top: 20px; padding: 30px clamp(18px, 4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line);
  background-color: var(--panel); background-repeat: repeat; -webkit-user-select: none; user-select: none; color: var(--soft); font-size: 15.5px; }
.rb-reader h2 { color: var(--text); margin: 34px 0 12px; padding: 10px 16px; border-radius: 12px; font-size: 21px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .55), rgba(49, 46, 129, .55)); box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.rb-reader h2:first-child { margin-top: 0; }
.rb-reader h3 { color: var(--text); margin: 24px 0 8px; padding-left: 12px; border-left: 4px solid var(--accent); font-size: 17px; }
.rb-reader strong { color: var(--text); }
.rb-reader table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 18px; font-size: 14px; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line2); display: block; overflow-x: auto; }
.rb-reader th { background: rgba(79, 70, 229, .45); color: var(--text); text-align: left; padding: 8px 10px; white-space: nowrap; }
.rb-reader td { padding: 7px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.rb-reader tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.rb-reader code { font: 500 13px var(--mono); background: rgba(255, 255, 255, .06); padding: 1px 5px; border-radius: 5px; }
.rb-reader pre { background: #050813; border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; overflow-x: auto; font-size: 13px; }
.rb-reader .fig { margin: 14px auto 22px; max-width: 760px; padding: 6px; border-radius: 16px;
  background: linear-gradient(145deg, #2b2f6e, #0b0e24); box-shadow: 0 6px 0 #04060f, 0 18px 30px rgba(0, 0, 0, .5); }
.rb-reader .fig svg { display: block; width: 100%; height: auto; }
.rb-reader .cap { color: #c7d2fe; font-size: 13px; padding: 6px 8px 2px; }
.rb-reader hr { border: 0; height: 1px; background: var(--line2); margin: 26px 0; }
@media print { .rb-body * { visibility: hidden !important; } }
@media (max-width: 820px) {
  .rb-books { grid-template-columns: 1fr; }
  .rb-toc { columns: 1; }
  .rb-reader-bar { top: 60px; flex-wrap: wrap; }
}

/* ---- VSA section and page --------------------------------------------------------------------- */
.vsa-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: center; margin-bottom: 26px; }
.vsa-visual { perspective: 1200px; }
.vsa-visual svg { display: block; width: 100%; height: auto; border-radius: 16px; transform: rotateX(10deg) rotateY(-8deg);
  box-shadow: 0 8px 0 #04060f, 0 40px 60px -24px rgba(0, 0, 0, .8); transition: transform .5s ease; }
.vsa-visual:hover svg { transform: rotateX(4deg) rotateY(-2deg); }
.vsa-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vsa-list .card { padding: 20px; }
.vsa-list .card h3 { font-size: 17px; }
.vsa-list .card p { font-size: 14.5px; }
.vsa-more { margin: 8px 0 0; }
.page-hero { position: relative; overflow: hidden; padding: 72px 0 40px; text-align: center; }
.page-hero > .wrap { position: relative; }  /* above the decorative grid, so the buttons can be clicked */
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.07; letter-spacing: -1.3px; margin: 0 0 16px; }
.page-hero .cta { justify-content: center; }
.prose { max-width: 820px; margin: 0 auto; color: var(--soft); }
.prose h2 { color: var(--text); font-size: clamp(24px, 3vw, 32px); letter-spacing: -.6px; margin: 48px 0 12px; }
.prose h3 { color: var(--text); margin: 26px 0 8px; }
.prose li { margin: 4px 0; }
.models-vsa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 18px 0 8px; }
@media (max-width: 1100px) { .models-vsa { grid-template-columns: repeat(2, 1fr); } }
.models-vsa .card b { display: inline-block; font: 700 12px var(--mono); color: var(--accent-ink); background: var(--grad);
  padding: 3px 8px; border-radius: 7px; margin-bottom: 8px; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
@media (max-width: 900px) {
  .vsa-grid { grid-template-columns: 1fr; }
  .vsa-visual svg { transform: none; }
  .models-vsa { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .vsa-list { grid-template-columns: 1fr; } }

.logo span { white-space: nowrap; }

/* top menu: ICC Zillas, our trading journal, with its own mark */
.links a.nav-zl { display: inline-flex; align-items: center; gap: 6px; }
.nav-zl-mark { width: 16px; height: 16px; flex: none; border-radius: 5px; }

/* ---- apps / models / help pages (2026-10-13) ---------------------------------------------------- */
.section-sm { padding-top: 56px; padding-bottom: 56px; }
.ico.ico-sm { width: 38px; height: 38px; margin: 0; flex: none; border-radius: 10px; }
.ico.ico-sm svg { width: 19px; height: 19px; }
.ico.ico-xs { width: 22px; height: 22px; margin: 0; flex: none; border-radius: 7px; background: none; border: 0; }
.ico.ico-xs svg { width: 17px; height: 17px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.app-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-split h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.8px; margin: 0 0 12px; }
.feat-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list div > b { display: block; color: var(--text); font-size: 16px; }
.feat-list div > span { display: block; color: var(--soft); font-size: 15px; }
.phone-pair { display: flex; gap: 18px; justify-content: center; }
.phone-frame { margin: 0; width: min(46%, 230px); padding: 8px; border-radius: 30px; background: #0b1122; border: 1px solid var(--line2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .03); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 23px; }
.phone-pair .phone-frame:last-child { transform: translateY(28px); }
.steps-title { margin: 64px 0 18px; font-size: 22px; }
.install-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: st; }
.install-steps li { position: relative; display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); counter-increment: st; }
.install-steps li::before { content: counter(st); position: absolute; top: 12px; right: 14px; font: 600 12px var(--mono); color: var(--muted); }
.install-steps.four { grid-template-columns: repeat(4, 1fr); }
.install-steps h4 { margin: 2px 0 4px; font-size: 16px; }
.install-steps p { margin: 0; color: var(--soft); font-size: 14.5px; }
.install-steps code, .faq-list code { font: 500 13px var(--mono); color: var(--accent); }
.tips { margin-top: 8px; }
.tips .ico { margin-bottom: 14px; }
.cmp-table { max-width: 860px; margin: 0 auto 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1fr 90px 90px 90px; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--line); align-items: center; }
.cmp-row:first-child { border-top: 0; }
.cmp-row span:not(:first-child) { text-align: center; color: var(--accent); font-weight: 600; }
.cmp-row span:first-child { color: var(--soft); font-size: 15px; }
.cmp-head { background: var(--panel2); }
.cmp-head span { color: var(--text) !important; font-weight: 700; }
.model-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .model-cards { grid-template-columns: repeat(2, 1fr); } }
.model-cards li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .2s, transform .2s; }
.model-cards li:hover { border-color: var(--line2); transform: translateY(-2px); }
.model-cards b { flex: none; height: fit-content; min-width: 48px; text-align: center; font: 600 13px var(--mono); padding: 5px 8px; border-radius: 8px; color: var(--accent); background: rgba(45, 212, 191, .1); }
.model-cards li.m-wolf b { color: #ffc35c; background: rgba(255, 195, 92, .12); }
.model-cards li.m-vsa b { color: #a99cff; background: rgba(124, 108, 255, .14); }
.model-cards h3 { margin: 0 0 4px; font-size: 16.5px; }
.model-cards p { margin: 0; color: var(--soft); font-size: 14.5px; }
.bias-cards { margin-top: 18px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-link .more { margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.help-hero { padding-bottom: 56px; }
.help-search { position: relative; display: block; max-width: 680px; margin: 26px auto 0; }
.help-search input { width: 100%; padding: 17px 20px 17px 54px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel);
  color: var(--text); font: 16px var(--font); outline: none; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); }
.help-search input:focus { border-color: rgba(45, 212, 191, .55); box-shadow: 0 0 0 4px rgba(45, 212, 191, .12); }
.help-search-ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); display: inline-grid; }
.help-search-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.help-results { max-width: 680px; margin: 10px auto 0; text-align: left; border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); overflow: hidden; }
.help-results a, .help-results p { display: block; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; margin: 0; }
.help-results a:first-child { border-top: 0; }
.help-results a:hover, .help-results a:focus { background: var(--panel2); }
.help-results small { display: block; color: var(--muted); font-size: 13px; }
.help-results p { color: var(--muted); }
.help-quick { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.help-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .03); color: var(--soft); text-decoration: none; font-size: 14px; }
.help-quick a:hover { border-color: rgba(45, 212, 191, .45); color: var(--text); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: inherit; text-decoration: none;
  transition: border-color .2s, transform .2s, background .2s; }
.topic:hover { border-color: rgba(45, 212, 191, .35); background: var(--panel2); transform: translateY(-2px); }
.topic h3 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.topic p { margin: 0; color: var(--soft); font-size: 14px; }
.faq-list details.hit summary { color: var(--accent); }
/* inside the terminal (help.html?embed=1): no site menu, footer or risk box; links stay in the window */
html.embed .nav, html.embed .footer, html.embed .risk-box { display: none; }
html.embed .page-hero { padding-top: 36px; }
@media (max-width: 960px) {
  .app-split { grid-template-columns: 1fr; gap: 36px; }
  .install-steps, .install-steps.four, .topic-grid, .cards.two { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .install-steps, .install-steps.four, .topic-grid, .cards.two { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr 52px 62px 62px; padding: 12px; font-size: 14px; }
  .cmp-row span:first-child { font-size: 13.5px; }
  .model-cards { grid-template-columns: 1fr; }
  .phone-pair .phone-frame:last-child { transform: none; }
}

/* ICC Charts home: the four pillars (charts, models, education, trade) */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; border-radius: 18px;
  background: linear-gradient(170deg, rgba(251, 191, 36, .07), transparent 55%), var(--panel); border: 1px solid var(--line2);
  transition: transform .2s, border-color .2s, box-shadow .2s; scroll-margin-top: 90px; }
.pillar:hover { transform: translateY(-3px); border-color: rgba(251, 191, 36, .45); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.pillar .ico { margin: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fbbf24; background: rgba(251, 191, 36, .12); }
.pillar .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.2px; }
.pillar p { margin: 0; color: var(--soft); font-size: 15px; }
.pillar ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; color: var(--muted); font-size: 14px; }
.pillar li { position: relative; padding-left: 20px; }
.pillar li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: #fbbf24; opacity: .8; }
.pillar .more { margin-top: auto; padding-top: 8px; font-weight: 600; text-decoration: none; color: #fbbf24; }
.pillar .more:hover { text-decoration: underline; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } .pillar { padding: 22px 20px; } }
#vsa-volume .vsa-grid, #ict-layers .bento { margin-top: 8px; }

.btn-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-right: 8px; vertical-align: -3px; }

/* ---- professional icons (2026-10-14): colour tiles, asset logos in the marquee, brand marks in the menu ---- */
.ico { position: relative; color: #fff; border: 0; background: linear-gradient(135deg, var(--i1, #2dd4bf), var(--i2, #0ea5e9));
  box-shadow: 0 8px 22px -8px var(--i1, #2dd4bf), inset 0 1px 0 rgba(255, 255, 255, .28); }
.ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%); pointer-events: none; }
.ico svg { position: relative; z-index: 1; stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
:nth-child(6n+1) > .ico { --i1: #2dd4bf; --i2: #0891b2; }
:nth-child(6n+2) > .ico { --i1: #fbbf24; --i2: #ea580c; }
:nth-child(6n+3) > .ico { --i1: #a78bfa; --i2: #6d28d9; }
:nth-child(6n+4) > .ico { --i1: #60a5fa; --i2: #2563eb; }
:nth-child(6n+5) > .ico { --i1: #f472b6; --i2: #be185d; }
:nth-child(6n+6) > .ico { --i1: #4ade80; --i2: #15803d; }
.ico.ico-xs { background: none; box-shadow: none; color: var(--accent); }
.ico.ico-xs::after { display: none; }
.card:hover .ico, .pillar:hover .ico { transform: translateY(-1px) scale(1.04); }
.ico { transition: transform .2s; }
.pillar .ico { color: #fff; background: linear-gradient(135deg, var(--i1), var(--i2)); width: 50px; height: 50px; border-radius: 14px; }
.pillar .ico svg { stroke-width: 2; }

.marquee-track span { align-items: center; }
.tk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; font: 800 10.5px var(--font); font-style: normal;
  color: #fff; letter-spacing: -.3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 6px rgba(0, 0, 0, .35); }
.tk-au { background: radial-gradient(circle at 35% 30%, #fff1b8, #f5b631 45%, #b45309); color: #4a2c02; }
.tk-ag { background: radial-gradient(circle at 35% 30%, #ffffff, #cbd5e1 45%, #64748b); color: #1e293b; }
.tk-btc { background: linear-gradient(135deg, #fbbf24, #f7931a 55%, #c2410c); font-size: 13px; }
.tk-ndx { background: linear-gradient(135deg, #38bdf8, #2563eb); font-size: 12px; }
.tk-spx { background: linear-gradient(135deg, #f87171, #b91c1c); font-size: 8.5px; }
.tk-eur { background: linear-gradient(135deg, #3b82f6, #1e3a8a); color: #fde047; font-size: 12px; }
.tk-gbp { background: linear-gradient(135deg, #ef4444, #1e3a8a); font-size: 12px; }
.tk-usd { background: linear-gradient(135deg, #22c55e, #166534); font-size: 12px; }
.tk2 { display: inline-flex; flex: none; font-style: normal; }
.tk2 .tk + .tk { margin-left: -8px; outline: 2px solid var(--bg); }

.links a.nav-zl img.nav-zl-mark, .links a.nav-zl svg.nav-zl-mark { width: 18px; height: 18px; border-radius: 5px; box-shadow: 0 2px 8px rgba(251, 191, 36, .25); }
.ico.ico-brand { background: none; box-shadow: 0 8px 22px -8px rgba(251, 191, 36, .45); overflow: hidden; }
.ico.ico-brand::after { display: none; }
.ico.ico-brand img { width: 100%; height: 100%; display: block; }
