/* Editorial rhythm and motion for the approval version. */
:root {
  --motion-curve: cubic-bezier(.2,.72,.25,1);
  --header-height: 76px;
}
html { scroll-padding-top: calc(var(--header-height) + 16px); }
.feature-shortcuts {
  display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.25rem 0 2.25rem;
}
.feature-shortcuts a {
  --feature-ink: #30e4d8;
  display: inline-flex; align-items: center; gap: .55rem; padding: .68rem .94rem;
  min-height: 44px; border: 1px solid color-mix(in srgb, var(--feature-ink) 32%, #142b38);
  border-radius: .7rem; background: color-mix(in srgb, var(--feature-ink) 5%, #071923);
  color: #eff8fa; font-size: .94rem; font-weight: 700; line-height: 1.3; text-decoration: none;
  transition: background-color .24s, border-color .24s;
}
.feature-shortcuts [data-feature="opportunities"] { --feature-ink: #ffc069; }
.feature-shortcuts [data-feature="ai"] { --feature-ink: #bf9dff; }
.feature-shortcuts [data-feature="terminal"] { --feature-ink: #73b5ff; }
.feature-shortcuts [data-feature="academy"] { --feature-ink: #ff9f88; }
.feature-shortcuts svg {
  width: 1.15rem; height: 1.15rem; flex: none; color: var(--feature-ink);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature-shortcuts a:is(:hover,:focus-visible,[aria-current]) {
  border-color: var(--feature-ink); background: color-mix(in srgb, var(--feature-ink) 13%, #071923);
}
@media (max-width: 600px) {
  .feature-shortcuts { gap: .45rem; margin: 1rem 0 1.35rem; }
  .feature-shortcuts a { padding: .55rem .68rem; font-size: .875rem; }
}
.site-header {
  background: #03131ff5;
  transition: background-color .28s, box-shadow .28s;
}
.site-header[data-scrolled] {
  background: #03131fed;
  box-shadow: 0 8px 26px #00101840;
}
.header-inner { height: var(--header-height); gap: clamp(.75rem, 1.8vw, 2rem); }
.header-inner #mainNav { gap: clamp(.85rem, 1.8vw, 2.35rem); }
#mainNav > a, .resource-menu > summary {
  position: relative;
  font-size: clamp(.9375rem, 1.1vw, 1.125rem);
  font-weight: 750;
  letter-spacing: .035em;
  line-height: 1.35;
  color: #f0f7fa;
  white-space: nowrap;
  text-transform: uppercase;
}
#mainNav > a::after {
  content: '';
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  border-radius: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--motion-curve);
}
#mainNav > a:is(:hover,:focus-visible,[aria-current]) { color: var(--cyan); }
#mainNav > a:is(:hover,:focus-visible,[aria-current])::after { transform: scaleX(1); }
.resource-menu { position: relative; }
.resource-menu > summary {
  display: inline-flex; align-items: center; gap: .48rem; padding-block: 12px;
  cursor: pointer; list-style: none;
}
.resource-menu > summary::-webkit-details-marker { display: none; }
.resource-menu > summary::after {
  content: ''; width: .4rem; height: .4rem; border: solid currentColor;
  border-width: 0 1.7px 1.7px 0; transform: translateY(-.12rem) rotate(45deg);
}
.resource-menu[open] > summary::after { transform: translateY(.12rem) rotate(225deg); }
.resource-menu[open] > summary, .resource-menu > summary:is(:hover,:focus-visible),
.resource-menu:has(a[aria-current]) > summary { color: var(--cyan); }
.resource-menu-list {
  position: absolute; z-index: 2; left: 0; top: 100%;
  min-width: 230px; padding: .42rem; display: grid; gap: .12rem;
  border: 1px solid #235469; border-radius: .75rem; background: #071c29;
  box-shadow: 0 12px 32px #0007;
}
.resource-menu:not([open]) > .resource-menu-list { display: none; }
.resource-menu-list a, .header-inner .resource-menu-list a {
  display: flex; align-items: center; gap: .72rem; padding: .66rem .76rem; min-height: 40px;
  color: #e9f5fa; border-radius: .36rem; white-space: nowrap; font-size: .97rem; font-weight: 650;
}
.resource-menu-list .resource-overview {
  color: #a5c6d6; border-bottom: 1px solid #204354; margin-bottom: .16rem;
}
.resource-menu-list [data-feature-page]::before {
  content: ''; width: .32rem; height: .92rem; flex: none; border-radius: 4px; background: #69efda;
}
.resource-menu-list [data-feature-page="opportunities"]::before { background: #ffd181; }
.resource-menu-list [data-feature-page="ai"]::before { background: #c6adff; }
.resource-menu-list [data-feature-page="terminal"]::before { background: #8dc1ff; }
.resource-menu-list [data-feature-page="academy"]::before { background: #ffa590; }
.resource-menu-list [data-feature-page="news"]::before { background: #75d6fd; }
.resource-menu-list [data-feature-page="mapaview"]::before { background: #8be7a9; }
.resource-menu-list a:is(:hover,:focus-visible,[aria-current]) { color: #7af3ee; background: #123342; }
.header-actions { gap: clamp(.55rem, 1.3vw, 1.25rem); }
.header-actions .login-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 78px; max-width: none; padding: .62rem 1.05rem;
  border-radius: .55rem; border: 1px solid #45eee7; background: #28ded3;
  color: #04232c; font-size: .94rem; font-weight: 800; line-height: 1.1; letter-spacing: .045em;
}
.header-actions .login-link:is(:hover,:focus-visible) { background: #88fff3; color: #06232c; }
.header-actions .language-switcher summary { min-height: 42px; }
.header-actions .button { font-size: 15px; }
.hero h1 { letter-spacing: -.055em; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::before, .welcome-section .eyebrow::before {
  content: ''; display: inline-block; width: 29px; height: 2px; background: var(--cyan);
}
.hero .button svg, .final-cta .button svg { transition: transform .2s var(--motion-curve); }
.hero .button:hover svg, .final-cta .button:hover svg { transform: translateX(3px); }
.welcome-section {
  background: radial-gradient(ellipse at 79% 65%, #0b354133, transparent 52%), #041721;
  padding-block: clamp(60px, 8vw, 124px);
}
.welcome-inner {
  max-width: 1360px;
  display: grid;
  grid-template-columns: minmax(235px,.74fr) minmax(0,1.5fr);
  align-items: center;
  gap: clamp(36px,6vw,104px);
}
.welcome-section .section-heading { text-align: left; margin: 0; }
.welcome-section .eyebrow { display: flex; align-items: center; gap: 12px; }
.welcome-section h2, .resources-section .section-heading h2, .pricing-section h2 {
  font-size: clamp(34px,4vw,64px); letter-spacing: -.052em; line-height: 1.04; text-wrap: balance;
}
.welcome-section .section-description { max-width: 36ch; font-size: clamp(16px,1.25vw,19px); }
.welcome-film video { border: 1px solid #2e5961; border-radius: 14px; box-shadow: 0 18px 72px #0006; }
.welcome-film figcaption { text-align: right; font-variant-numeric: tabular-nums; }
.resources-section { padding-block: clamp(52px,7vw,105px); }
.resources-section .section-heading { max-width: 850px; margin-bottom: clamp(32px,4vw,64px); }
.exchange-connections { margin-top: clamp(32px,5vw,70px); padding-top: clamp(34px,4vw,56px); }
.exchange-logos { max-width: none; gap: 0; border-block: 1px solid #204553; margin: 24px 0; }
.exchange-logos li {
  background: transparent; border: 0; border-right: 1px solid #204553; border-radius: 0;
  min-height: clamp(63px,6vw,88px);
}
.exchange-logos li:last-child { border-right: 0; }
.exchange-logos strong { font-size: clamp(15px,1.4vw,19px); }
.journey-section { padding-block: clamp(40px,5.4vw,82px); }
.steps::after { background: #17404e; }
.steps::before {
  content: ''; position: absolute; z-index: 1; height: 1px; bottom: 0; left: 26px; right: 26px;
  background: var(--cyan); transform: scaleX(var(--journey-progress,1)); transform-origin: left;
}
.steps article::after { z-index: 2; }
.pricing-section { padding-block: clamp(52px,7vw,105px); }
.pricing-grid { gap: clamp(14px,1.4vw,22px); }
.price-card { box-shadow: 0 12px 30px #00111d38; }
.price-card.featured { box-shadow: 0 0 0 1px #00ebef11, 0 14px 44px #00899128; }
.faq-section { padding-block: clamp(45px,6vw,88px); }
.faq-grid summary { font-size: clamp(15px,1.15vw,18px); }
.preview-label { opacity: .88; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: mapa-arrive .7s var(--motion-curve) backwards; }
  .hero-copy h1 { animation-delay: .07s; }
  .hero-description { animation-delay: .14s; }
  .hero-copy .cta-row { animation-delay: .21s; }
  .hero-copy .trust { animation-delay: .25s; }
  .route-label { animation: mapa-waypoint .65s var(--motion-curve) backwards; }
  .route-free { animation-delay: .18s; }
  .route-trader { animation-delay: .31s; }
  .route-pro { animation-delay: .44s; }
  .route-elite { animation-delay: .57s; }
  .motion-arriving {
    animation: mapa-arrive .7s var(--motion-curve) backwards;
    animation-delay: var(--arrival-delay,0ms);
  }
  .price-card.motion-arriving { animation-name: mapa-plan-arrive; }
  .price-card.featured { --price-offset: -10px; }
  .motion-arriving:focus-within { animation: none; }
  @keyframes mapa-arrive {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes mapa-waypoint {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes mapa-plan-arrive {
    from { opacity: .04; transform: translateY(calc(var(--price-offset,0px) + 24px)); }
    to { opacity: 1; transform: translateY(var(--price-offset,0px)); }
  }
}
@media (min-width: 1001px) and (prefers-reduced-motion: no-preference) {
  .hero-art, .hero-route { translate: 0 var(--landscape-shift,0px); }
  .hero-copy { translate: 0 var(--copy-shift,0px); }
}
@media (max-width: 1000px) {
  .header-inner #mainNav { top: var(--header-height); }
  .header-inner #mainNav.open {
    display: grid; align-items: stretch; justify-content: stretch;
    gap: .12rem; padding: .75rem max(18px,calc((100% - 700px) / 2));
    max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height));
    overflow-y: auto; overscroll-behavior: contain;
  }
  .resource-menu > summary { width: 100%; justify-content: space-between; }
  .resource-menu-list {
    position: static; min-width: 0; margin-bottom: .45rem; box-shadow: none;
  }
  .price-card.featured { --price-offset: 0px; }
}
@media (max-width: 900px) {
  .welcome-inner { gap: 30px; }
}
@media (max-width: 760px) {
  :root { --header-height: 66px; }
  .welcome-inner { grid-template-columns: 1fr; gap: 24px; }
  .welcome-film figcaption { text-align: left; }
  .steps::before { display: none; }
  .exchange-logos { gap: 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .exchange-logos li:nth-child(3n) { border-right: 0; }
  .exchange-logos li:nth-child(n+4) { border-top: 1px solid #204553; }
  .exchange-logos img { width: 24px; }
  .exchange-logos strong { font-size: 14px; }
  .exchange-logos li { gap: 6px; padding-inline: 4px; }
  .header-actions .login-link { min-width: 62px; min-height: 40px; padding: .58rem .72rem; font-size: .82rem; }
  #mainNav > a, .resource-menu > summary { font-size: 18px; }
  #mainNav > a::after { right: auto; width: 28px; bottom: 5px; }
}
@media (max-width: 390px) {
  .header-inner .brand { width: 109px; }
}
