@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #100e17;
  --surface: #18151f;
  --text: #f3f0f8;
  --muted: #aaa3b6;
  --line: #302b3c;
  --purple: #bf9bff;
  --green: #6ad4af;
  --red: #ef93a0;
  --mono: ui-monospace, "DejaVu Sans Mono", Consolas, monospace;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; min-width: 280px; }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #d2b2ff; outline-offset: 4px; }
button { border: 0; background: transparent; }
::selection { background: #644c8d; color: white; }
.container { width: min(calc(100% - clamp(44px, 10vw, 156px)), 1296px); margin-inline: auto; }
.icon-library { display: none; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip { position: absolute; top: 0; left: 10px; z-index: 20; padding: 10px; background: var(--text); color: var(--bg); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
header { background: #110f17; position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.header-row, .header-side, .brand, .main-nav, .utc, .feed-inner, .feed-name, .feed-quote, .hero-actions, .button, .eyebrow, .section-top, .fine-print, .footer-inner, .read { display: flex; align-items: center; }
.header-row { height: 74px; justify-content: space-between; gap: 24px; }
.brand { gap: 10px; width: fit-content; font-size: 22px; line-height: 1; font-weight: 720; letter-spacing: -1.1px; white-space: nowrap; }
.brand-fx { color: var(--purple); }
.main-nav { height: 100%; gap: 32px; }
.main-nav a { height: 100%; display: grid; place-items: center; position: relative; font-size: 14px; font-weight: 540; color: var(--muted); }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after { position: absolute; bottom: 14px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--purple); content: ""; }
.header-side { justify-content: flex-end; }
.utc { gap: 8px; color: #beb5cb; font: 11px var(--mono); letter-spacing: .035em; }
.utc .icon { width: 15px; height: 15px; color: var(--purple); }
.menu-button { display: none; }
.feed { border-bottom: 1px solid #25212e; background: #15121c; }
.feed-inner { height: 39px; gap: clamp(12px, 2.2vw, 35px); overflow: hidden; }
.feed-name { gap: 8px; white-space: nowrap; text-transform: uppercase; font: 9px var(--mono); letter-spacing: .12em; color: #c3b2d6; padding-right: clamp(12px, 2.1vw, 34px); border-right: 1px solid #393042; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #b28ce5; box-shadow: 0 0 8px #b28ce556; }
.feed-quotes { display: flex; align-items: center; justify-content: space-between; gap: 25px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.feed-quotes::-webkit-scrollbar { display: none; }
.feed-quote { white-space: nowrap; gap: 9px; font: 10.5px var(--mono); color: #c8c2d0; padding: 5px 0; }
.feed-quote b { color: #f0eaf7; font-weight: 700; }
.positive { color: var(--green); }
.negative { color: var(--red); }
.hero { overflow: hidden; position: relative; background: radial-gradient(ellipse at 78% 48%, #29203c69, transparent 65%), #110f19; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .23; background-image: radial-gradient(#796598 0.75px, transparent 0.9px); background-size: 21px 21px; mask-image: linear-gradient(90deg,transparent 6%,#000a 53%, black 98%); }
.hero-inner { min-height: 448px; display: grid; grid-template-columns: 48% 52%; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 1; padding: 54px 0 60px; }
.eyebrow { font: 600 10px/1.5 var(--mono); color: var(--purple); text-transform: uppercase; letter-spacing: .16em; gap: 10px; }
.accent-line { width: 20px; height: 2px; background: #b68afc; }
.intro-label { letter-spacing: .19em; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(56px, 5.6vw, 87px); line-height: .99; font-weight: 590; letter-spacing: -.054em; word-spacing: .035em; margin: 20px 0 20px; }
h1 em { font-style: normal; color: #b797ef; background: linear-gradient(100deg,#d3b5ff 0%,#b18af2 66%,#9380de 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy > p { color: #beb7cb; max-width: 450px; font-size: clamp(15px,1.22vw,18px); line-height: 1.63; letter-spacing: -.012em; }
.hero-actions { gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.button { min-height: 45px; padding: 0 18px; justify-content: center; gap: 10px; border-radius: 7px; border: 1px solid transparent; font-weight: 675; font-size: 13.5px; transition: background .2s, transform .2s, border-color .2s; }
.primary { background: #bb96f4; color: #1a112a; box-shadow: inset 0 1px 0 #e5ccff7d; }
.primary:hover { background: #ceb0ff; transform: translateY(-2px); }
.secondary { background: #1d1926; border-color: #3d344b; color: #ece6f4; }
.secondary:hover { border-color: #796394; background: #282030; transform: translateY(-2px); }
.button .icon { width: 16px; height: 16px; }
.globe { width: 114%; margin: -4px 0 -4px -7%; position: relative; user-select: none; }
.globe img { display: block; width: 100%; height: auto; }
.city { position: absolute; display: flex; flex-direction: column; gap: 3px; background: #191521ed; border: 1px solid #71598d82; border-radius: 4px; padding: 6px 9px; color: #e8dbfb; font: 600 clamp(8px,.69vw,10.5px)/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 5px 16px #08060f45; white-space: nowrap; }
.city time { font-size: .9em; letter-spacing: .04em; font-weight: 400; color: #b9a9c9; }
.new-york { right: 80%; top: 30.6%; transform: translateY(-50%); }
.london { left: 76.3%; top: 21.8%; transform: translateY(-50%); }
.sao-paulo { right: 70.1%; top: 80.6%; transform: translateY(-50%); }
.section { padding: 45px 0; scroll-margin-top: 8px; }
.section-top { justify-content: space-between; gap: 18px; margin-bottom: 23px; align-items: flex-end; }
h2 { font-size: clamp(31px,2.7vw,43px); line-height: 1.1; letter-spacing: -.043em; font-weight: 590; margin-top: 7px; }
.filter-group, .ranges { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); background: #15131c; border-radius: 7px; max-width: 100%; }
.filter-group button, .ranges button { padding: 7px 12px; line-height: 1.1; font-size: 12px; font-weight: 550; color: #aea6b9; border-radius: 4px; white-space: nowrap; }
.filter-group button:hover, .ranges button:hover { color: white; }
.filter-group [aria-pressed="true"], .ranges [aria-pressed="true"] { color: #e6d4ff; background: #33283f; box-shadow: inset 0 0 0 1px #68507855; }
.asset-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.asset-card { position: relative; text-align: left; color: var(--text); background: linear-gradient(120deg,#1c1824,#16141d 68%); border: 1px solid #37303f; border-radius: 11px; padding: 18px 18px 12px; min-width: 0; overflow: hidden; transition: border-color .18s, background-color .18s, transform .18s; }
.asset-card:hover, .lesson:hover { border-color: #705888; transform: translateY(-2px); }
.card-ident, .quote-line, .asset-label, .chart-heading { display: flex; align-items: center; }
.card-ident { gap: 10px; }
.asset-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; font-size: 22px; line-height: 1; font-weight: 650; box-shadow: inset 0 0 0 1px #ffffff0d; }
.asset-badge.fx { background: #272e4e; color: #a4b9ff; }
.asset-badge.btc { background: #3b2b20; color: #ffb266; }
.asset-badge.gold { background: #372e1e; color: #f4ce79; }
.asset-badge.index { background: #322746; color: #caabff; }
.asset-badge .icon { width: 21px; height: 21px; }
.asset-label { flex-direction: column; align-items: flex-start; gap: 2px; }
.asset-label strong { font-size: 14px; font-weight: 690; line-height: 1.2; letter-spacing: -.016em; }
.asset-label small { font-size: 11px; color: var(--muted); }
.card-link-icon { margin-left: auto; align-self: flex-start; color: #8b8198; width: 13px; height: 13px; }
.quote-line { gap: 6px; margin-top: 18px; justify-content: space-between; flex-wrap: wrap; }
.quote-price { font-size: clamp(20px,1.85vw,30px); font-weight: 570; font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -.047em; }
.change { font: 10.5px var(--mono); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.change .icon { width: 14px; height: 14px; }
.spark { width: 100%; height: 45px; display: block; margin-top: 9px; overflow: visible; }
.fine-print { margin-top: 16px; gap: 7px; font-size: 11.5px; color: #a49bad; line-height: 1.4; }
.fine-print .icon { width: 14px; height: 14px; color: #b199c9; }
.academy { border-top: 1px solid var(--line); background: #131019; padding-bottom: 57px; }
.lesson-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.lesson { padding: 0; text-align: left; display: flex; flex-direction: column; overflow: hidden; background: #1a1620; border: 1px solid #38303e; border-radius: 11px; transition: border-color .18s, transform .18s; }
.lesson-art { width: 100%; height: 104px; position: relative; overflow: hidden; border-bottom: 1px solid #ffffff10; display: grid; place-items: center; isolation: isolate; }
.lesson-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px); background-size: 23px 23px; z-index: -1; }
.art-quote { background: radial-gradient(ellipse at center,#46325e,#241d30 80%); }
.coin { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #c8a5f2a6; border-radius: 50%; color: #dfc6ff; background: linear-gradient(140deg,#6a4e84,#34263f); font-size: 29px; box-shadow: 3px 3px #403248, 4px 4px #b9a0d4a6; position: absolute; top: 27px; }
.eur { right: calc(50% + 20px); transform: rotate(-12deg); }
.usd { left: calc(50% + 20px); transform: rotate(12deg); }
.trade-arrow { color: #d4b7ee; font-size: 25px; }
.art-candle { background: radial-gradient(ellipse at center,#243c3c,#1c282b 80%); }
.candle-bars { display: flex; gap: 9px; align-items: center; transform: rotate(-5deg); }
.candle-bars i { display: block; height: 26px; width: 10px; border-radius: 1px; background: #84cead; color: #84cead; position: relative; top: 14px; }
.candle-bars i::after { content: ""; position: absolute; left: 4px; width: 2px; top: -8px; bottom: -7px; background: currentColor; }
.candle-bars i:nth-child(2n) { height: 13px; top: 5px; }
.candle-bars i:nth-child(3n) { background: #d88d9d; color: #d88d9d; top: 10px; height: 16px; }
.candle-bars i:nth-child(n+5) { top: -5px; }
.candle-bars i:nth-child(n+8) { top: -13px; }
.art-risk { background: radial-gradient(ellipse at center,#49382e,#2d2322 80%); }
.risk-ruler { width: 140px; border-top: 2px solid #d9af8c; display: flex; justify-content: space-between; transform: rotate(-10deg); }
.risk-ruler i { height: 12px; width: 1px; background: #c09074; }
.risk-ruler i:nth-child(odd) { height: 22px; }
.risk-pointer { position: absolute; top: 31px; left: 53%; border: 7px solid transparent; border-top-color: #f1c291; transform: rotate(-10deg); }
.lesson-copy { display: flex; flex-direction: column; padding: 21px; flex: 1; }
.category { color: #c2a0e8; font: 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.lesson-copy strong { font-size: 21px; font-weight: 590; letter-spacing: -.04em; margin: 8px 0; line-height: 1.2; }
.lesson-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.read { margin-top: auto; padding-top: 17px; gap: 8px; font-size: 12px; color: #cfb2f9; font-weight: 600; }
.read .icon { width: 14px; }
footer { border-top: 1px solid var(--line); }
.footer-inner { gap: 20px; justify-content: space-between; padding: 26px 0; font-size: 12px; color: var(--muted); }
.brand.small { font-size: 17px; gap: 7px; color: var(--text); letter-spacing: -.7px; }
.back-top:hover { color: var(--purple); }
dialog { color: var(--text); background: #1a1721; border: 1px solid #4b4057; border-radius: 15px; padding: clamp(22px, 4vw, 36px); width: min(580px,calc(100% - 28px)); max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 0 24px 100px #0009; }
dialog::backdrop { background: #09070ecd; backdrop-filter: blur(5px); }
.close-dialog { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #423748; background: #241f2c; border-radius: 50%; color: #d8cde1; }
.close-dialog:hover { background: #3b2f46; }
dialog h2 { font-size: 32px; padding-right: 25px; margin: 10px 0 15px; }
dialog h3 { font-size: 17px; letter-spacing: -.025em; }
dialog p { font-size: 15px; color: #c4bccd; line-height: 1.6; margin: 10px 0; }
dialog .category { padding-right: 34px; }
.chart-heading { justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 21px 0 10px; }
.chart-heading .quote-line { margin: 0; gap: 8px; }
.chart-heading .quote-price { font-size: 28px; }
.ranges button { padding: 6px 10px; }
.chart-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.detail-chart { width: 100%; height: auto; display: block; }
.range-stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 12px 0 0; padding: 0; }
.range-stats dt { color: var(--muted); font-size: 11px; }
.range-stats dd { margin: 4px 0 0; font: 13px var(--mono); }
.example, .quiz { padding: 15px 17px; background: #231d2c; border-radius: 8px; border: 1px solid #3c3247; margin: 16px 0; }
.example p { margin: 5px 0 0; }
.quiz { background: #1d1924; }
.quiz legend { padding: 0 5px; color: var(--purple); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.quiz p { margin: 0 0 10px; color: #eae2f2; }
.answers { display: flex; flex-wrap: wrap; gap: 6px; }
.answers button { border: 1px solid #53445e; background: #2a2332; border-radius: 5px; padding: 7px 11px; font-size: 13px; }
.answers [aria-pressed="true"] { border-color: var(--purple); }
.quiz .feedback { margin: 10px 0 0; font-size: 13px; color: var(--purple); }
.feedback:empty { display: none; }
.source { display: inline-flex; gap: 5px; align-items: center; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
.source .icon { width: 12px; height: 12px; }
@media (min-width: 1500px) { .hero-inner { min-height: 510px; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero-inner { min-height: 405px; }
  .asset-grid { gap: 10px; }
  .asset-card { padding: 15px 12px 10px; }
  .filter-group button { padding-inline: 9px; }
  .feed-quote { font-size: 10px; }
  .feed-quotes { gap: 18px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 42px); }
  .hero-inner { grid-template-columns: 51% 49%; min-height: 360px; }
  .globe { width: 122%; margin-left: -10%; }
  .hero-copy { padding: 45px 0; }
  h1 { font-size: clamp(45px,6.8vw,58px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { gap: 8px; }
  .button { padding-inline: 12px; font-size: 12px; gap: 7px; }
  .asset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .asset-card { padding: 16px; }
  .lesson-grid { gap: 10px; }
  .lesson-copy { padding: 15px; }
  .lesson-copy strong { font-size: 18px; }
  .section { padding: 36px 0; }
}
@media (max-width: 630px) {
  .container { width: calc(100% - 36px); }
  .header-row { height: 61px; gap: 10px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand img { width: 31px; height: 31px; }
  .main-nav { display: none; }
  .main-nav.open { position: absolute; top: 100%; left: 0; right: 0; height: auto; padding: 8px 18px 13px; display: flex; flex-direction: column; gap: 0; align-items: stretch; background: #1a161f; border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 10px; }
  .main-nav a.active { color: var(--purple); }
  .main-nav a.active::after { display: none; }
  .header-side { gap: 11px; }
  .utc { font-size: 9px; gap: 5px; }
  .utc .icon { width: 12px; }
  .menu-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; }
  .feed-inner { height: 34px; gap: 10px; }
  .feed-name { padding-right: 10px; font-size: 8px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 38px 0 0; }
  h1 { font-size: clamp(52px,11vw,68px); margin: 16px 0; }
  .hero-copy > p { max-width: 390px; font-size: 15px; }
  .hero-actions { margin-top: 21px; }
  .button { min-height: 43px; padding-inline: 15px; font-size: 13px; }
  .globe { width: min(115%,500px); align-self: center; margin: -2px 0 -6px; }
  .city { font-size: 8px; padding: 4px 6px; }
  .section-top { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 16px; }
  .filter-group { flex-wrap: wrap; }
  .filter-group button { padding: 7px 9px; font-size: 11px; }
  .asset-card { padding: 12px; }
  .card-ident { gap: 7px; }
  .asset-badge { width: 30px; height: 30px; font-size: 19px; border-radius: 8px; }
  .asset-label strong { font-size: 12px; }
  .asset-label small { font-size: 10px; }
  .quote-price { font-size: 22px; }
  .quote-line { gap: 4px 7px; margin-top: 13px; }
  .change { font-size: 9px; }
  .spark { height: 33px; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson { display: grid; grid-template-columns: 30% 70%; }
  .lesson-art { height: 100%; border: 0; border-right: 1px solid var(--line); }
  .coin { transform: scale(.73); }
  .eur { right: 42%; top: 22%; }
  .usd { left: 40%; top: 41%; }
  .trade-arrow { display: none; }
  .candle-bars, .risk-ruler { transform: scale(.64) rotate(-8deg); }
  .risk-pointer { top: 39%; }
  .lesson-copy { padding: 17px; }
  .read { padding-top: 12px; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
  .footer-inner > span { order: 3; width: 100%; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  .utc { display: none; }
  .filter-group button { padding-inline: 6px; }
  .asset-card { padding: 10px; }
  .card-link-icon { display: none; }
  .quote-price { font-size: 20px; }
  .hero-actions { gap: 6px; }
  .button { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
