/* ============================================================================
   ANAX CAPITAL — MOBILE (≤720px) — Editorial × Institutional rebuild
   ============================================================================
   Aesthetic: refined finance editorial. Generous whitespace, sharp ink borders,
   monospace numerics for precision, gold accents on premium tiers, single-CTA
   discipline on hero. Loads after components.css; scope = @media ≤720px.
   ============================================================================ */

/* --- Universal touches that apply at all widths (not @media-wrapped) --- */

/* Skip link visible on focus */
.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  z-index: 300;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--primary); outline-offset: 2px; }

/* Focus-visible site-wide */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
}

/* Password toggle min-target 44×44 (Codex blocker fix) */
.pwd-toggle {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.pwd-toggle:hover { background: var(--primary-100); color: var(--primary); }
.pwd-wrap input { padding-right: 52px; }

/* Form error badge (red circle "!" prefix) */
.field.invalid .err {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px; font-weight: 600;
}
.field.invalid .err::before {
  content: "!"; display: inline-flex;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--danger); color: #fff;
  font-size: 11px; font-weight: 800;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Disclaimer paragraph rhythm (footer regulatory block) */
.site-footer .disclaimer p { margin: 0 0 10px; }
.site-footer .disclaimer p:last-child { margin-bottom: 0; }
.site-footer .disclaimer strong { color: var(--body); font-weight: 700; }
.site-footer .disclaimer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .disclaimer a:hover { color: var(--primary); }

/* Magnetic hover disabled on touch + reduced-motion */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .magnetic { transition: none !important; transform: none !important; }
}

/* Reduced-motion marquee kill */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .recognition-track {
    animation: none !important; transform: none !important;
  }
}

/* ============================================================================
   MOBILE SCOPE — everything below targets ≤720px
   ============================================================================ */
@media (max-width: 720px) {

  /* --- Mobile token overrides --- */
  :root {
    --m-gutter: 20px;
    --m-radius: 14px;
    --m-radius-lg: 20px;
    --m-stack: 14px;
    --m-section: 56px;
  }

  /* --- Reset + base typography rhythm --- */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
  }
  @supports not (overflow: clip) {
    html, body { overflow-x: hidden !important; }
  }
  body {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    padding-bottom: env(safe-area-inset-bottom);
  }
  body.has-app-nav { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body.no-app-nav { padding-bottom: env(safe-area-inset-bottom); }

  /* Headings — editorial scale */
  h1, .hero h1, .hero-h1, .page-hero h1 {
    font-size: clamp(28px, 7.5vw, 38px) !important;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    overflow-wrap: break-word;
    word-break: normal;
    color: var(--ink);
  }
  h2 {
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: 1.15;
    letter-spacing: -0.018em;
    overflow-wrap: break-word;
    color: var(--ink);
  }
  h3 {
    font-size: 18px !important;
    line-height: 1.25;
    letter-spacing: -0.005em;
    overflow-wrap: break-word;
    color: var(--ink);
  }
  h4 { font-size: 15px !important; }
  p, .lead { overflow-wrap: break-word; }
  .lead { font-size: 16px !important; line-height: 1.55; color: var(--body); }
  .sub { font-size: 15px; line-height: 1.55; }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--primary);
    font-weight: 700;
  }

  /* --- Container: 20px gutter, max-width fluid --- */
  .container { width: min(100% - 40px, 1240px); margin-inline: auto; }
  @media (max-width: 380px) {
    .container { width: min(100% - 28px, 1240px); }
  }

  /* --- Section spacing — editorial rhythm --- */
  section.section { padding: 56px 0 !important; }
  section.section-tight { padding: 40px 0 !important; }
  @media (max-width: 480px) {
    section.section { padding: 48px 0 !important; }
    section.section-tight { padding: 32px 0 !important; }
  }

  /* --- Grid kill switch: collapse all inline 2-col grids --- */
  [style*="grid-template-columns:1"][style*="fr"],
  [style*="grid-template-columns: 1"][style*="fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .grid.c-2, .grid.c-3, .grid.c-4, .grid.c-5, .grid.c-6 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hero-grid > *, .grid > *, .form-grid > * { min-width: 0 !important; }

  /* --- Risk bar: slim, ink black, single message + corner close --- */
  .risk-bar {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 8px 42px 8px 16px !important;
    font-size: 11.5px;
    line-height: 1.4;
    text-align: left !important;
    justify-content: flex-start !important;
    letter-spacing: 0.01em;
    padding-top: max(8px, env(safe-area-inset-top));
  }
  .risk-bar .dot { display: none; }
  .risk-bar a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
  }
  #risk-bar-close {
    position: absolute !important;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    min-width: 32px; min-height: 32px;
    padding: 0;
    background: rgba(255,255,255,0.10);
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
  }

  /* --- Topbar: 56px sticky, white bg, only brand + Open Account + burger ---
     NOTE: NO backdrop-filter — creates containing block which traps
     position:fixed drawer inside topbar's box instead of viewport. */
  .topbar {
    position: sticky; top: 0; z-index: 70;
    background: #ffffff;
    border-bottom: 1px solid var(--border-soft);
    padding-top: env(safe-area-inset-top);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }
  .topbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,37,49,0.06);
  }
  .topbar-inner {
    padding: 10px 0 !important;
    min-height: 60px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
  }
  .topbar .brand img { height: 34px; width: auto; }
  .topbar .nav-cta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
  .topbar .nav-cta a.btn.btn-ghost,
  .topbar .nav-cta a.btn.btn-ghost.btn-sm,
  .topbar .nav-cta .btn:not(.btn-primary):not(.burger) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 9px 12px !important;
    font-size: 12.5px !important;
    font-weight: 700;
    min-height: 38px;
    border: 1.5px solid var(--border) !important;
    background: transparent !important;
    color: var(--ink) !important;
    border-radius: 999px !important;
  }
  .topbar .nav-cta .btn-ghost:active { background: var(--bg-tint); }
  .topbar .nav-cta .btn-primary {
    padding: 9px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700;
    min-height: 38px;
    border-radius: 999px;
  }
  @media (max-width: 380px) {
    .topbar .brand img { height: 28px; }
    .topbar .nav-cta .btn-ghost { padding: 8px 10px !important; font-size: 11.5px !important; }
    .topbar .nav-cta .btn-primary { padding: 8px 11px !important; font-size: 11.5px !important; }
  }
  .burger {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    min-width: 44px; min-height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--ink);
    cursor: pointer;
  }
  .burger svg { width: 22px; height: 22px; }

  /* Scroll progress decorative bar hidden on mobile */
  .scroll-progress { display: none !important; }

  /* --- Mobile drawer (full-screen takeover, ink backdrop) --- */
  .topbar .nav {
    position: fixed !important;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 88vw);
    background: #fff;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 76px 24px calc(40px + env(safe-area-inset-bottom));
    margin: 0 !important;
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(108%);
    transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -18px 0 48px rgba(0,37,49,0.20);
    z-index: 220 !important;
  }
  .topbar .nav.open { transform: translateX(0); }

  /* Drawer stacking fix: when menu open, lift entire topbar above root backdrop */
  body.menu-open .topbar {
    z-index: 230 !important;
  }

  body.menu-open::before {
    content: "";
    position: fixed; inset: 0;
    background: rgba(0,37,49,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 210 !important;
    animation: m-fade-in .3s ease forwards;
  }
  @keyframes m-fade-in { from { opacity: 0; } to { opacity: 1; } }
  body.menu-open { overflow: hidden; }
  body.menu-open .app-nav,
  body.menu-open .wa-fab,
  body.menu-open .call-fab,
  body.menu-open .cookie-banner {
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .nav-close {
    position: fixed;
    top: 14px; right: 16px;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    display: none;
    align-items: center; justify-content: center;
    z-index: 221 !important;
    cursor: pointer;
  }
  body.menu-open .nav-close { display: inline-flex; }

  /* Drawer items — bigger tap target, editorial style */
  .topbar .nav > li {
    list-style: none;
    border-bottom: 1px solid var(--border-soft);
    width: 100%;
  }
  .topbar .nav > li:last-child { border-bottom: 0; }
  .topbar .nav > li > a,
  .topbar .nav > li > button {
    display: flex !important;
    align-items: center; justify-content: space-between;
    width: 100%;
    padding: 16px 4px !important;
    font-size: 17px !important;
    font-weight: 700;
    color: var(--ink);
    background: transparent;
    border: 0;
    text-align: left;
    min-height: 56px;
  }
  .topbar .nav .mega-col h5 {
    margin: 14px 4px 8px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .topbar .nav .mega-col a {
    padding: 10px 4px;
    font-size: 14px;
    font-weight: 500;
    min-height: 44px;
    border-bottom: 0;
  }
  .topbar .nav .mega-col a .meta .d { font-size: 12px; color: var(--muted); }

  /* --- Hero (homepage): single-column editorial layout --- */
  .hero {
    position: relative;
    padding: 24px 0 40px !important;
    background:
      radial-gradient(800px 460px at 100% 0%, rgba(109,166,242,0.18), transparent 65%),
      radial-gradient(700px 420px at 0% 80%, rgba(94,177,254,0.16), transparent 65%),
      var(--bg);
    overflow: hidden;
  }
  .hero::before { opacity: 0.4; animation: none; }
  .hero::after { display: none; }
  .hero-grid { gap: 18px !important; }
  .hero .sca-badge.lg,
  .hero .sca-badge {
    font-size: 11px !important;
    padding: 7px 12px !important;
    margin-bottom: 14px !important;
    display: inline-flex !important;
    align-items: center; gap: 8px;
    background: rgba(109,166,242,0.10);
    border-radius: 999px;
    color: var(--primary);
    border: 1px solid rgba(109,166,242,0.20);
  }
  .hero .sca-badge .sca-seal {
    background: var(--primary);
    color: #fff;
    padding: 3px 7px;
    border-radius: 31px;
    font-size: 9.5px;
    letter-spacing: 0.04em;
    font-weight: 800;
  }
  .hero .sub {
    font-size: 15.5px !important;
    line-height: 1.5;
    color: var(--body);
    margin: 0 0 22px;
  }
  .hero .cta-row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .hero .cta-row .btn {
    width: 100%;
    padding: 16px 24px !important;
    font-size: 15.5px;
    min-height: 52px;
    border-radius: 999px;
    font-weight: 700;
  }
  .hero .cta-row .btn-primary {
    box-shadow: 0 8px 22px rgba(109,166,242,0.28);
  }
  .hero .cta-row .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(0,37,49,0.18);
    font-weight: 600;
  }
  .hero-verifieds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
    font-size: 12.5px;
    color: var(--body);
  }
  .hero-verifieds span { display: inline-flex; align-items: center; gap: 5px; }
  .hero-verifieds svg { width: 14px; height: 14px; color: var(--success); }

  /* Hero art / rotating stage */
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .hero-stage {
    aspect-ratio: 1/1;
    max-width: 240px;
    margin: 0 auto;
  }
  .stage-arrow .arrow {
    width: 52% !important;
    max-width: 150px;
    filter: drop-shadow(0 14px 26px rgba(109,166,242,0.22));
  }
  .arrow-orbit { font-size: 13px; }
  .orbit-sym {
    width: 32px; height: 32px;
    font-size: 13px;
  }
  .hero-progress {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .hero-progress span {
    width: 22px !important; height: 3px !important;
    border-radius: 2px;
    background: rgba(0,37,49,0.18);
    transition: background .3s, width .3s;
  }
  .hero-progress span.is-active {
    background: var(--primary);
    width: 32px !important;
  }
  .tag-rotator { min-height: 1.1em; width: 100%; display: block; }
  .tag-rotator .tag-line { white-space: normal; word-break: normal; }

  /* --- Page-hero (interior pages) — tighter editorial --- */
  .page-hero {
    padding: 28px 0 24px !important;
    background:
      radial-gradient(500px 320px at 100% 0%, rgba(109,166,242,0.14), transparent 60%),
      var(--bg-tint);
  }
  .page-hero h1 {
    margin: 14px 0 12px;
  }
  .page-hero .lead {
    font-size: 15px !important;
    line-height: 1.5;
  }
  .page-hero .sca-badge {
    font-size: 10.5px !important;
    padding: 5px 10px !important;
  }
  .breadcrumbs {
    font-size: 12px;
    margin-bottom: 14px;
    color: var(--muted);
  }
  .breadcrumbs a { color: var(--muted); }
  .breadcrumbs .sep { margin: 0 6px; opacity: 0.5; }

  /* --- Buttons — pill, big tap, micro press --- */
  .btn {
    min-height: 44px;
    transition: transform .12s ease, background-color .2s, color .2s, box-shadow .2s;
  }
  .btn:active { transform: scale(0.97); }
  .btn-lg { padding: 16px 26px; font-size: 15.5px; min-height: 52px; }
  .btn-sm { padding: 10px 16px; font-size: 13px; min-height: 38px; }
  .btn svg { width: 16px; height: 16px; }

  /* --- Cards — sharp 1.5px border, no soft shadow, paper feel --- */
  .card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--m-radius);
    padding: 20px 18px;
    box-shadow: none;
    transition: border-color .25s, transform .12s;
  }
  .card:active { transform: scale(0.99); }

  /* --- KPI counters — 2-col, big monospace numbers --- */
  .kpis { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .kpi {
    padding: 20px 16px;
    border-radius: var(--m-radius);
    background: #fff;
    border: 1.5px solid var(--border);
  }
  .kpi .icon { width: 32px; height: 32px; }
  .kpi .icon svg { width: 18px; height: 18px; }
  .kpi .num {
    font-size: 28px !important;
    font-family: 'SF Mono', 'JetBrains Mono', 'IBM Plex Mono', Menlo, Consolas, monospace;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .kpi .lbl {
    font-size: 11.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
  }
  @media (max-width: 380px) {
    .kpis { grid-template-columns: 1fr !important; }
  }

  /* --- Pricing tiers — stack, gold accent on featured --- */
  .tiers, .tiers.tiers-3 {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .tier {
    padding: 24px 22px !important;
    border: 1.5px solid var(--border);
    border-radius: var(--m-radius-lg);
    background: #fff;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .tier.featured {
    border-color: var(--gold);
    background: linear-gradient(180deg, #001824 0%, var(--ink) 100%);
    color: #fff;
    position: relative;
  }
  .tier.featured .badge {
    position: absolute;
    top: -1px; right: 18px;
    background: var(--gold) !important;
    color: var(--ink) !important;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 0 !important;
    box-shadow: none !important;
  }
  .tier.featured h3, .tier.featured .price { color: #fff; }
  .tier.featured .from { color: var(--gold-100); }
  .tier.featured .muted { color: rgba(255,255,255,0.65); }
  .tier .label {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
  }
  .tier h3 { font-size: 24px !important; margin: 6px 0 6px; }
  .tier .price {
    font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 8px 0 14px;
    color: var(--ink);
  }
  .tier .price .from {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    margin-right: 6px;
    font-family: var(--ff);
  }
  .tier ul { list-style: none; padding: 0; margin: 16px 0 20px; }
  .tier li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; line-height: 1.5;
    color: inherit;
    margin-bottom: 10px;
  }
  .tier li::before {
    content: "";
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231377CA' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5 9-9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .tier.featured li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23C49B57' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5 9-9'/%3E%3C/svg%3E");
  }
  .tier .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14.5px;
    border-radius: 999px;
  }

  /* --- Live markets ticker --- */
  .live-markets { padding: 18px 0 !important; }
  .live-markets-head {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 0 0 8px;
  }
  .live-markets-head .t {
    font-size: 11px;
    letter-spacing: 0.22em;
  }
  .live-markets-head .updated {
    font-size: 11px;
    margin-left: auto;
    color: var(--muted);
  }
  .m-tile, .live-tile {
    font-family: 'SF Mono', Menlo, monospace;
    border-radius: var(--m-radius);
  }

  /* --- Forms — boxed inputs, 16px font, editorial labels --- */
  form[style*="padding:32px"],
  #contact-form, #ib-form, #report-form {
    padding: 24px 20px !important;
    border-radius: var(--m-radius-lg) !important;
    border: 1.5px solid var(--border) !important;
    box-shadow: 0 2px 0 rgba(0,37,49,0.04) !important;
  }
  .field label {
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    display: block;
  }
  .field input, .field select, .field textarea {
    width: 100%;
    font-size: 16px !important;
    padding: 14px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    -webkit-appearance: none; appearance: none;
    transition: border-color .2s, box-shadow .2s;
    min-height: 48px;
  }
  .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235A5C5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 38px;
  }
  .field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
  }
  .field input::placeholder, .field textarea::placeholder {
    color: var(--muted);
    opacity: 1;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(109,166,242,0.15);
    outline: none;
  }
  .field.invalid input, .field.invalid select, .field.invalid textarea {
    border-color: var(--danger);
  }
  .field .err {
    color: var(--danger);
    font-size: 12.5px;
    margin-top: 6px;
    display: none;
  }
  .field.invalid .err { display: flex; }
  .submit-btn {
    width: 100%;
    margin-top: 18px;
    padding: 16px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 15.5px;
    min-height: 52px;
    box-shadow: 0 10px 22px rgba(109,166,242,0.28);
    cursor: pointer;
    transition: transform .12s, background .2s, box-shadow .2s;
  }
  .submit-btn:active { transform: scale(0.98); }
  .submit-btn:disabled {
    background: var(--muted);
    box-shadow: none;
    cursor: not-allowed;
  }
  .form-msg {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    display: none;
  }
  .form-msg.ok {
    display: block;
    background: rgba(26,143,78,0.08);
    color: var(--success);
    border: 1px solid rgba(26,143,78,0.30);
  }
  .form-msg.err {
    display: block;
    background: rgba(194,53,79,0.06);
    color: var(--danger);
    border: 1px solid rgba(194,53,79,0.30);
  }
  .pwd-toggle { right: 8px; }
  .pwd-wrap input { padding-right: 56px; }
  .phone-row { display: grid; grid-template-columns: 100px 1fr; gap: 8px; }
  .consents { margin: 18px 0 8px; display: grid; gap: 12px; }
  .consents label, .consent-row, .consent {
    display: grid !important;
    grid-template-columns: 22px 1fr;
    gap: 10px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    align-items: start !important;
  }
  .consents input[type="checkbox"],
  .consent-row input[type="checkbox"],
  form input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    accent-color: var(--primary);
    margin: 0 !important;
  }

  /* --- Tab bar (register page tabs) --- */
  .tab-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 4px;
    background: var(--bg-tint);
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .tab-bar button {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 8px !important;
    font-size: 12.5px !important;
    font-weight: 700;
    background: transparent;
    border: 0;
    border-radius: 8px !important;
    color: var(--muted);
    min-height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: background .2s, color .2s;
  }
  .tab-bar button.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0,37,49,0.06);
  }
  @media (max-width: 380px) {
    .tab-bar button { font-size: 11.5px !important; padding: 11px 6px !important; }
  }

  /* --- Tables — horizontal scroll wrapper visual cue --- */
  .table-wrap, .table-scroll, .overflow-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 0 20px 8px;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
  table {
    font-size: 13px;
    min-width: 460px;
  }
  table th, table td { padding: 10px 14px; }
  table th {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
  }
  table td {
    font-family: 'SF Mono', Menlo, monospace;
    color: var(--ink);
  }

  /* --- INDICATIVE SPREADS — animated terminal-style cards --- */
  .spreads-section {
    position: relative;
    padding: 56px 0 !important;
    background:
      radial-gradient(700px 480px at 0% 0%, rgba(109,166,242,0.10), transparent 60%),
      radial-gradient(600px 420px at 100% 100%, rgba(179,154,126,0.06), transparent 65%),
      #002531;
    color: #fff;
    overflow: hidden;
  }
  .spreads-section .spreads-bg { position: absolute; inset: 0; pointer-events: none; }
  .spreads-section .sp-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 80%);
  }
  .spreads-section .sp-glow {
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
  }
  .spreads-section .sp-g1 { top: -80px; left: -80px; background: var(--primary); animation: sp-glow-drift 14s ease-in-out infinite alternate; }
  .spreads-section .sp-g2 { bottom: -100px; right: -80px; background: var(--gold); animation: sp-glow-drift 18s ease-in-out infinite alternate-reverse; }
  @keyframes sp-glow-drift {
    from { transform: translate(0,0) scale(1); }
    to { transform: translate(40px, 30px) scale(1.2); }
  }
  .spreads-section .s-title { position: relative; z-index: 2; margin-bottom: 28px; }
  .spreads-section .s-title h2 { color: #fff; }
  .spreads-section .s-title p { color: rgba(255,255,255,0.62); }
  .spreads-section .eyebrow {
    color: var(--gold);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .spreads-section .eyebrow::before {
    content: ""; width: 8px; height: 8px;
    border-radius: 50%; background: #5BE1A6;
    box-shadow: 0 0 0 0 rgba(91,225,166,0.6);
    animation: sp-live-pulse 1.6s ease-in-out infinite;
  }
  @keyframes sp-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91,225,166,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(91,225,166,0); }
  }

  .spreads-section .spreads-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative; z-index: 2;
  }
  @media (min-width: 481px) {
    .spreads-section .spreads-cards { grid-template-columns: 1fr 1fr; }
  }

  .spreads-section .sp-card {
    position: relative;
    padding: 18px 18px 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--m-radius);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%),
      rgba(20,20,22,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    animation: sp-card-in .55s cubic-bezier(0.22,1,0.36,1) forwards;
  }
  .spreads-section .sp-card[data-i="0"] { animation-delay: .05s; }
  .spreads-section .sp-card[data-i="1"] { animation-delay: .12s; }
  .spreads-section .sp-card[data-i="2"] { animation-delay: .19s; }
  .spreads-section .sp-card[data-i="3"] { animation-delay: .26s; }
  .spreads-section .sp-card[data-i="4"] { animation-delay: .33s; }
  .spreads-section .sp-card[data-i="5"] { animation-delay: .40s; }
  @keyframes sp-card-in {
    to { opacity: 1; transform: translateY(0); }
  }
  .spreads-section .sp-card::before {
    content: ""; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    opacity: 0.6;
  }
  .spreads-section .sp-card:active { transform: scale(0.99); }

  .spreads-section .sp-card header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
  }
  .spreads-section .sp-tag {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    font-weight: 700;
  }
  .spreads-section .sp-card header svg {
    width: 18px; height: 18px;
    color: var(--primary-500);
    opacity: 0.8;
  }
  .spreads-section .sp-card h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 12px;
    line-height: 1.1;
  }
  .spreads-section .sp-card h3 .sp-sub {
    display: block;
    font-family: var(--ff);
    font-size: 11px;
    color: rgba(255,255,255,0.50);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-top: 2px;
  }
  .spreads-section .sp-pips {
    display: flex; align-items: baseline; gap: 6px;
    margin-bottom: 6px;
  }
  .spreads-section .sp-pips .num {
    font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow: 0 0 24px rgba(255,255,255,0.18);
  }
  .spreads-section .sp-pips .unit {
    font-size: 11px;
    color: rgba(255,255,255,0.50);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .spreads-section .sp-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.48);
    line-height: 1.45;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
  }
  .spreads-section .sp-spark {
    width: 100%;
    height: 26px;
    display: block;
  }
  .spreads-section .sp-spark path {
    fill: none;
    stroke: var(--primary-500);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: sp-spark-draw 2.2s cubic-bezier(0.22,1,0.36,1) forwards;
    animation-delay: 1s;
  }
  .spreads-section .sp-card[data-i="0"] .sp-spark path { animation-delay: 0.8s; }
  .spreads-section .sp-card[data-i="1"] .sp-spark path { animation-delay: 0.95s; }
  .spreads-section .sp-card[data-i="2"] .sp-spark path { animation-delay: 1.1s; }
  .spreads-section .sp-card[data-i="3"] .sp-spark path { animation-delay: 1.25s; }
  .spreads-section .sp-card[data-i="4"] .sp-spark path { animation-delay: 1.4s; }
  .spreads-section .sp-card[data-i="5"] .sp-spark path { animation-delay: 1.55s; }
  @keyframes sp-spark-draw {
    to { stroke-dashoffset: 0; }
  }

  /* Featured card: gold accent (XAU/USD Gold) */
  .spreads-section .sp-card.sp-featured {
    border-color: rgba(179,154,126,0.42);
    background:
      linear-gradient(180deg, rgba(179,154,126,0.10) 0%, rgba(179,154,126,0.02) 100%),
      rgba(20,18,14,0.72);
    box-shadow: 0 0 0 1px rgba(179,154,126,0.18);
  }
  .spreads-section .sp-card.sp-featured::before {
    background: linear-gradient(90deg, transparent 0%, rgba(179,154,126,0.40) 50%, transparent 100%);
  }
  .spreads-section .sp-card.sp-featured header svg { color: var(--gold); opacity: 1; }
  .spreads-section .sp-card.sp-featured .sp-tag {
    border-color: rgba(179,154,126,0.35);
    color: var(--gold-100);
    background: rgba(179,154,126,0.08);
  }
  .spreads-section .sp-card.sp-featured .sp-pips .num {
    color: var(--gold) !important;
    background: none !important;
    -webkit-text-fill-color: var(--gold) !important;
    text-shadow: 0 0 24px rgba(179,154,126,0.30);
  }
  .spreads-section .sp-card.sp-featured .sp-spark path {
    stroke: var(--gold);
  }

  .spreads-section .sp-foot {
    position: relative; z-index: 2;
    color: rgba(255,255,255,0.45);
    margin-top: 24px;
    font-size: 11.5px;
    line-height: 1.55;
  }
  .spreads-section .sp-foot a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* Reduced-motion respect */
  @media (prefers-reduced-motion: reduce) {
    .spreads-section .sp-card {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
    .spreads-section .sp-spark path {
      animation: none !important;
      stroke-dashoffset: 0 !important;
    }
    .spreads-section .sp-glow,
    .spreads-section .eyebrow::before { animation: none !important; }
  }

  /* --- Platforms showcase (px-section) — fix overflow + flex→grid --- */
  .px-section { padding: 48px 0 !important; overflow: hidden; }
  .px-tabs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    gap: 8px !important;
    padding: 6px !important;
    margin: 18px auto !important;
    max-width: 100% !important;
    border-radius: var(--m-radius-lg) !important;
    box-shadow: 0 1px 0 rgba(0,37,49,0.04) !important;
    background: var(--bg-tint) !important;
  }
  .px-tab {
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    min-height: 52px;
    border-radius: 10px !important;
    text-align: left;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--body) !important;
    box-sizing: border-box;
  }
  .px-tab svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted) !important; }
  .px-tab .px-tab-t { font-size: 14px; color: var(--ink) !important; }
  .px-tab .px-tab-d { font-size: 11.5px; color: var(--muted) !important; }
  .px-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-700)) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(109,166,242,0.20) !important;
  }
  .px-tab.active svg,
  .px-tab.active .px-tab-t { color: #fff !important; }
  .px-tab.active .px-tab-d { color: rgba(255,255,255,0.82) !important; }
  .px-stage {
    padding: 18px 0;
    min-height: auto !important;
    max-width: 100%;
    overflow: hidden;
  }
  .px-stage > * { max-width: 100% !important; }

  /* --- FAQ accordion --- */
  .faq-q {
    padding: 16px 16px !important;
    font-size: 14.5px;
    min-height: 56px;
    border-bottom: 1px solid var(--border-soft);
  }
  .faq-a-inner {
    padding: 0 16px 16px !important;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--body);
  }

  /* --- Steps cinema · scroll-pinned on mobile (spec moved to brand-sections.css) --- */
  /* Legacy flatten removed — see brand-sections.css mobile @media block */

  /* --- Payments strip --- */
  .payments-strip { padding: 24px 0 !important; }
  .payments-strip .payment-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 22px;
  }
  .payments-strip .payment-row svg {
    transform: scale(0.85);
    transform-origin: center;
  }

  /* --- Recognition / marquee — slow + readable --- */
  .marquee-track,
  .recognition-track {
    animation-duration: 60s !important;
    font-size: 11.5px;
  }
  .recognition-track > * { font-size: 11.5px; }

  /* --- Markets picker cards --- */
  .markets-row, .mp-rows {
    display: grid;
    gap: 6px;
  }
  .mp-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
  }
  .mp-row:last-child { border-bottom: 0; }
  .mp-row b {
    font-family: 'SF Mono', Menlo, monospace;
    font-weight: 700;
    color: var(--ink);
  }
  .mp-row .up { color: var(--success); font-size: 12px; }
  .mp-row .down { color: var(--danger); font-size: 12px; }

  /* --- Final CTA --- */
  .cta-final {
    padding: 56px 0 !important;
  }
  .cta-final h2 { font-size: clamp(24px, 7vw, 32px) !important; margin-bottom: 14px; }
  .cta-final .cta-row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }
  .cta-final .btn { width: 100%; }
  .cta-final .sca-badge { font-size: 11px !important; }

  /* --- Footer — collapsible-friendly, editorial type --- */
  .site-footer {
    padding: 44px 0 24px !important;
    background: var(--bg-deep);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 18px !important;
    margin-bottom: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { height: 32px; margin-bottom: 14px; }
  .footer-brand p { font-size: 13px; line-height: 1.55; }
  .footer-col h5 {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
    font-weight: 700;
  }
  .footer-col ul { list-style: none; padding: 0; margin: 0; }
  .footer-col li { margin-bottom: 9px; }
  .footer-col a {
    font-size: 13.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.4;
  }
  .footer-col a:hover { color: #fff; }
  .site-footer .disclaimer {
    font-size: 11.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
  }
  .site-footer .disclaimer p { margin-bottom: 8px; }
  .site-footer .disclaimer strong { color: rgba(255,255,255,0.85); }
  .site-footer .disclaimer a { color: rgba(255,255,255,0.82); }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.50);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .footer-bottom a { color: rgba(255,255,255,0.70); margin: 0 4px; }
  @media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr !important; }
  }

  /* --- Bottom app-nav (5 tabs) --- */
  .app-nav {
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-top: 1px solid var(--border-soft);
    display: flex !important;
    justify-content: space-around;
    align-items: stretch;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  }
  body.no-app-nav .app-nav { display: none !important; }
  .app-nav a {
    flex: 1 1 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    min-height: 56px;
    text-decoration: none;
    position: relative;
  }
  .app-nav a svg { width: 22px; height: 22px; }
  .app-nav a.active {
    color: var(--primary);
  }
  .app-nav a.active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 0 0 2px 2px;
  }

  /* --- WhatsApp FAB — round, green, safe-area-aware --- */
  .wa-fab {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 22px rgba(37,211,102,0.35);
    display: inline-flex;
    align-items: center; justify-content: center;
    z-index: 100;
    padding: 0;
    gap: 0;
  }
  .wa-fab-label { display: none; }
  .wa-fab svg { width: 24px; height: 24px; }
  body.has-app-nav .wa-fab {
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }
  /* Cookie banner pushes FAB well above its actual rendered height (~220px) */
  body:has(.cookie-banner.show) .wa-fab {
    bottom: calc(320px + env(safe-area-inset-bottom)) !important;
  }
  body.no-app-nav:has(.cookie-banner.show) .wa-fab {
    bottom: calc(240px + env(safe-area-inset-bottom)) !important;
  }
  /* Fallback for browsers without :has() — body class added via JS */
  body.cookie-visible .wa-fab {
    bottom: calc(320px + env(safe-area-inset-bottom)) !important;
  }
  body.no-app-nav.cookie-visible .wa-fab {
    bottom: calc(240px + env(safe-area-inset-bottom)) !important;
  }

  /* --- Call FAB — small pill right edge --- */
  .call-fab {
    position: fixed;
    right: 0; top: 50%;
    transform: translateY(-50%);
    z-index: 88;
    background: var(--primary);
    color: #fff;
    padding: 14px 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 10px 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    box-shadow: -8px 0 18px rgba(31,95,168,0.32);
    text-decoration: none;
    transition: padding .2s, background .2s;
  }
  body.has-app-nav .call-fab {
    bottom: auto; top: 50%;
  }
  body.menu-open .call-fab { display: none; }

  /* --- Cookie banner — bottom slide-up above app-nav --- */
  .cookie-banner {
    position: fixed;
    left: 8px; right: 8px;
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    width: auto;
    z-index: 120 !important;
    background: var(--ink);
    color: #fff;
    padding: 14px 16px !important;
    border-radius: var(--m-radius);
    box-shadow: 0 18px 40px rgba(0,37,49,0.30);
    transform: translateY(20px);
    opacity: 0;
    transition: transform .35s, opacity .35s;
    pointer-events: none;
  }
  body.no-app-nav .cookie-banner {
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  }
  .cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .cookie-banner h4 {
    font-size: 13px;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: 0;
  }
  .cookie-banner p {
    font-size: 12px;
    color: rgba(255,255,255,0.70);
    line-height: 1.45;
    margin: 0 0 10px;
  }
  .cookie-banner a { color: #fff; text-decoration: underline; }
  .cookie-actions {
    display: flex;
    gap: 8px;
  }
  .cookie-actions .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    min-height: 40px;
    border-radius: 999px;
  }
  .cookie-actions .btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.30);
  }
  .cookie-actions .btn-primary {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid #fff;
  }

  /* --- Sections with bg-tint backgrounds --- */
  section[style*="bg-tint"] {
    background-image:
      radial-gradient(500px 320px at 100% 0%, rgba(109,166,242,0.10), transparent 60%),
      linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%) !important;
  }

  /* --- Section titles editorial --- */
  .s-title {
    text-align: left;
    margin: 0 0 24px;
    max-width: 100%;
  }
  .s-title h2 { margin-bottom: 10px; }
  .s-title p { font-size: 14.5px; color: var(--body); }

  /* --- Section dividers — sharp ink rules instead of gradients --- */
  section + section {
    /* no extra rule; each section owns its padding */
  }

  /* --- Hide / dim decorative-only elements that don't add mobile value --- */
  .hero-art .glow { opacity: 0.4; }

  /* --- Image rendering safety --- */
  img, picture, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* --- Map embed --- */
  .map-embed {
    margin-top: 20px;
    height: 220px;
    border-radius: var(--m-radius);
    overflow: hidden;
  }
  .map-embed iframe { width: 100%; height: 100%; border: 0; }

  /* --- Markets/instruments cards (UAE stocks, energies, etc.) --- */
  .market-card, .ins-card {
    padding: 18px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--m-radius);
  }

  /* --- Sessions clock --- */
  .sessions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .session-card {
    padding: 14px 12px;
    font-size: 12px;
    border-radius: var(--m-radius);
    border: 1.5px solid var(--border);
  }
  .session-card .city {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .session-card .time {
    font-family: 'SF Mono', Menlo, monospace;
    color: var(--muted);
    font-size: 11.5px;
  }

  /* --- Section padding tighter on dark / featured sections --- */
  section[style*="bg-deep"], section.cta-final {
    padding: 56px 0 !important;
  }

  /* --- Stop excessive shadows on mobile (perf + clarity) --- */
  .card, .tier, .kpi, .sp-card {
    box-shadow: none !important;
  }
  .tier.featured {
    box-shadow: 0 16px 38px rgba(0,37,49,0.20) !important;
  }
  .btn-primary, .submit-btn {
    box-shadow: 0 10px 22px rgba(109,166,242,0.26) !important;
  }
}

/* ============================================================================
   ULTRA-SMALL SCREENS (≤380px) — iPhone SE / older Androids
   ============================================================================ */
@media (max-width: 380px) {
  body { font-size: 15.5px; }
  h1, .hero h1, .page-hero h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 17px !important; }
  .hero { padding: 20px 0 32px !important; }
  .container { width: min(100% - 28px, 1240px); }
  .btn-lg { padding: 14px 22px; font-size: 14.5px; }
  .tier .price { font-size: 32px; }
  .topbar .nav-cta .btn-primary { padding: 9px 13px; font-size: 12.5px; }
  .topbar .brand img { height: 24px; }
}

/* ============================================================================
   LANDSCAPE PHONES — adjust hero height
   ============================================================================ */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 16px 0 24px !important; }
  .hero-art { display: none; }
  .hero-grid { grid-template-columns: 1fr !important; }
}
