/* ==========================================================================
   Ca-Tdx — Global stylesheet (Bootstrap 5 companion)
   Design tokens taken from the ca-tdx.com screenshots
   ========================================================================== */

:root {
  --green: #8bd856;          /* primary accent */
  --green-dark: #7bc847;     /* hover state */
  --black: #000000;
  --ink: #0b0b0b;            /* header / footer / account section */
  --dark: #1a1a1a;           /* secondary dark sections */
  --deep: #030303;           /* markets section */
  --white: #ffffff;
  --muted: #7a7a7a;          /* legal body text */
  --muted-dark: #9a9a9a;     /* footer links */
  --line: #5e5e5e;           /* header divider */
  --radius-sec: 24px;        /* rounded section tops */
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 92px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; }
.container { max-width: 1224px; }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1;
  border-radius: 50px; padding: 16px 32px; border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--white); color: var(--ink); }
.btn-outline-w { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-w:hover { background: var(--white); color: var(--ink); }
.btn-black { background: var(--black); color: var(--green); }
.btn-black:hover { background: var(--ink); color: var(--white); }
.btn-pill svg { width: 18px; height: 18px; }

/* ---------- Badge (small pill label) ---------- */
.tag {
  display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; padding: 9px 20px; border-radius: 50px; line-height: 1;
}
.tag-light { background: var(--white); color: var(--ink); }
.tag-glass { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.tag-sm { text-transform: none; letter-spacing: 0; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--ink); border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header .header-inner { height: 100%; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.site-header .logo img { height: 64px; width: auto; }
.main-nav { display: flex; gap: 36px; align-items: center; margin: 0; padding: 0; list-style: none; }
.main-nav a { font-size: 16px; font-weight: 500; color: var(--white); }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.header-cta { padding: 15px 32px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #444;
  background: transparent; color: var(--white); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { background: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav ul { list-style: none; margin: 0; padding: 12px 20px 24px; }
.mobile-nav li a { display: block; padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid #222; }
.mobile-nav li a.active { color: var(--green); }
.mobile-nav .btn-pill { margin-top: 18px; width: 100%; }

/* ---------- Rounded overlapping sections ---------- */
.sec-round { position: relative; z-index: 2; border-radius: var(--radius-sec) var(--radius-sec) 0 0; margin-top: calc(var(--radius-sec) * -1); }

/* ---------- Home hero (video) ---------- */
.hero-home { position: relative; height: calc(100vh - var(--header-h)); min-height: 640px; max-height: 860px; overflow: hidden; background: #000; }
.hero-home video, .hero-home .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-home::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-home .hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding-bottom: 60px; }
.hero-home h1 { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.02; color: var(--white); margin-bottom: 52px; }
.hero-home .hero-btns { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.hero-home .hero-btns .btn-pill { padding: 17px 36px; }

/* ---------- Inner page hero (image) ---------- */
.hero-page { position: relative; overflow: hidden; background: #000; }
.hero-page > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-page::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero-page .container { position: relative; z-index: 2; }
.hero-page h1 { color: var(--white); }
.hero-page.tall { min-height: 430px; padding: 110px 0 120px; }
.hero-page.tall h1 { font-size: clamp(34px, 3.3vw, 50px); line-height: 1.04; margin-top: 34px; max-width: 520px; }
.hero-page.legal { height: 300px; display: flex; align-items: flex-start; padding-top: 95px; }
.hero-page.legal::after { background: rgba(0,0,0,.25); }
.hero-page.legal h1 { font-size: clamp(36px, 3.4vw, 54px); line-height: 1.1; }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; }
.sec-head h2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.1; margin-top: 24px; }
.sec-head p { font-size: 16px; margin-top: 18px; }

/* ---------- Features mosaic (green, home + about) ---------- */
.feature-mosaic {
  background-color: var(--green);
  background-image:
    linear-gradient(115deg, transparent 49.8%, rgba(255,255,255,.18) 50%, transparent 50.2%),
    linear-gradient(65deg, transparent 49.8%, rgba(255,255,255,.14) 50%, transparent 50.2%);
  background-size: 620px 620px, 780px 780px;
  padding: 100px 0 104px;
}
.mosaic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-card { background: var(--black); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; color: var(--white); transition: transform .35s ease; }
.m-card:hover { transform: translateY(-6px); }
.m-card .m-body { padding: 42px 30px 0; }
.m-card h3 { font-size: 26px; line-height: 1.35; }
.m-card p { font-size: 15px; line-height: 1.6; margin-top: 22px; color: #e8e8e8; }
.m-card p strong { color: var(--white); font-weight: 700; }
.m-card .m-img-bottom { margin: auto 30px 0; border-radius: 22px 22px 0 0; overflow: hidden; }
.m-card .m-img-bottom img { width: 100%; height: 215px; object-fit: cover; }
.m-card .m-img-top { margin: 0 30px 0 0; }
.m-card .m-img-top img { width: 100%; height: 236px; object-fit: cover; border-radius: 0 0 0 0; }
.m-card.row1 { min-height: 520px; }
.m-card .push-bottom { margin-top: auto; padding: 0 30px 44px; }
.m-card .m-clover img { width: 100%; height: 356px; object-fit: cover; }
.m-card.row2 { min-height: 645px; }

/* ---------- Markets ---------- */
.markets { background: var(--deep); padding: 100px 0 100px; }
.markets .sec-head p { color: #d4d4d4; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1152px; margin: 56px auto 0; }
.market-card { border: 1px solid #c9c9c9; border-radius: 8px; padding: 16px 22px 30px; text-align: center; transition: border-color .3s, transform .3s, background-color .3s; }
.market-card:hover { border-color: var(--green); transform: translateY(-5px); background: #0b0b0b; }
.market-card .ico { width: 68px; height: 68px; background: var(--green); border-radius: 4px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; }
.market-card .ico img { width: 46px; height: 46px; object-fit: contain; }
.market-card h3 { font-size: 19px; margin-bottom: 8px; }
.market-card p { font-size: 15px; line-height: 1.55; color: #d9d9d9; }

/* ---------- Split about block ---------- */
.split { background: var(--dark); padding: 88px 0 120px; }
.split.black { background: var(--black); padding: 86px 0 110px; }
.portrait-card { position: relative; background: #f2f3f7; border-radius: 20px; max-width: 520px; padding-top: 22px; }
.portrait-card .man { width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 0 0 20px 20px; }
.portrait-card .float-chart { position: absolute; top: 40px; left: -12px; width: 40%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); animation: floaty 6s ease-in-out infinite; }
.portrait-card .float-coin { position: absolute; bottom: 30px; right: -12px; width: 40%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.15); animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.split-text h2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.04; margin: 34px 0 24px; }
.split-text p { font-size: 15.5px; line-height: 1.55; color: #e2e2e2; margin-bottom: 16px; }
.split-text .btn-pill { margin-top: 56px; padding: 17px 38px; }

/* ---------- Start trading banner ---------- */
.start-trading { position: relative; background: #000; }
.start-trading > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.start-trading::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.35) 100%); z-index: 1; }
.start-trading .container { position: relative; z-index: 2; }
.start-trading .st-text { padding-top: 170px; padding-bottom: 150px; }
.start-trading h2 { font-size: clamp(32px, 3vw, 46px); line-height: 1.05; max-width: 470px; }
.start-trading p { font-size: 15px; color: #d0d0d0; margin: 18px 0 70px; }
.start-trading .btn-pill { padding: 17px 36px; }
.start-trading .phones { position: absolute; right: 9%; top: -110px; width: 40%; max-width: 540px; z-index: 3; pointer-events: none; }
.start-trading .phones img { width: 100%; }

/* ---------- Highlight tiles (home) ---------- */
.tiles { background: var(--black); padding: 150px 0 80px; }
.tiles-row1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tiles-row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 40px; }
.tile { border-radius: 10px; overflow: hidden; transition: transform .3s; }
.tile:hover { transform: translateY(-5px); }
.tile.bordered { border: 1px solid #bdbdbd; background: #000; padding: 20px; }
.tile.greenfill { background: var(--green); padding: 20px; color: var(--ink); }
.tile .t-img { position: relative; border-radius: 6px; overflow: hidden; }
.tile .t-img img { width: 100%; height: 235px; object-fit: cover; }
.tile .t-ico { position: absolute; left: 0; bottom: 0; width: 60px; height: 60px; background: var(--green); display: flex; align-items: center; justify-content: center; border-top-right-radius: 6px; }
.tile .t-ico svg { width: 34px; height: 34px; }
.tile h3 { font-size: 22px; margin: 26px 0 8px; }
.tile p { font-size: 15.5px; line-height: 1.55; }
.tile.bordered p { color: #e2e2e2; }
.tile.photo img { width: 100%; height: 100%; min-height: 425px; object-fit: cover; }
.tile.coins { position: relative; background: var(--green); color: var(--ink); min-height: 296px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.tile.coins > img { position: absolute; right: 0; top: 0; height: 100%; width: 70%; object-fit: cover; opacity: .22; mix-blend-mode: multiply; }
.tile.coins > * { position: relative; }
.tile.coins h3 { font-size: 28px; line-height: 1.1; margin: 0 0 8px; max-width: 260px; }
.tile.support { position: relative; border: 1px solid #bdbdbd; background: #000; display: flex; min-height: 296px; }
.tile.support .s-text { padding: 36px 30px; max-width: 380px; position: relative; z-index: 2; }
.tile.support h3 { font-size: 28px; margin: 0 0 22px; }
.tile.support p { color: #d6d6d6; }
.tile.support .btn-pill { margin-top: 44px; padding: 15px 38px; }
.tile.support .s-img { position: absolute; right: 0; bottom: 0; width: 52%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; }
.tile.support .s-img img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- Steps ---------- */
.steps { background: var(--green); padding: 110px 0 160px; color: var(--ink); }
.steps .sec-head h2 { margin-top: 18px; }
.steps .sec-head p { margin-top: 10px; color: #111; }
.step-grid { display: grid; grid-template-columns: repeat(3, 340px); gap: 40px; justify-content: center; margin-top: 38px; }
.step-card { background: #0a0a0a; border-radius: 8px; padding: 30px 24px 38px; text-align: center; color: var(--white); transition: transform .3s; }
.step-card:hover { transform: translateY(-8px); }
.step-card img { height: 100px; width: auto; margin: 0 auto 28px; }
.step-card h3 { font-size: 28px; margin-bottom: 20px; }
.step-card p { font-size: 15.5px; color: #c9c9c9; }

/* ---------- Market overview (TradingView) ---------- */
.overview { background: var(--dark); padding: 110px 0 140px; }
.overview .sec-head h2 { margin-top: 22px; }
.tv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; max-width: 1170px; margin: 56px auto 0; }
.tv-box { background: #fff; border-radius: 2px; overflow: hidden; }
.tv-credit { text-align: center; font-size: 13px; margin-top: 10px; }
.tv-credit a { color: #2962ff; }

/* ---------- Accounts ---------- */
.accounts { background: var(--ink); padding: 120px 0 0; }
.acct-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1200px; margin: 88px auto 0; }
.acct-card { background: var(--green); color: var(--ink); border: 1px solid #e4ffd3; border-radius: 6px; padding: 30px 30px 30px; width: calc((100% - 40px) / 3); max-width: 386px; transition: transform .3s, box-shadow .3s; }
.acct-card.wide { max-width: 402px; width: 402px; }
.acct-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(139,216,86,.18); }
.acct-card h3 { font-size: 28px; }
.acct-card .price { font-size: 30px; font-weight: 600; margin: 20px 0 0 14px; }
.acct-card hr { border: 0; border-top: 1px solid #111; opacity: 1; margin: 34px 0 20px; }
.acct-card ul { list-style: none; padding: 0; margin: 0 0 30px; }
.acct-card li { display: flex; align-items: center; gap: 9px; font-size: 16px; padding: 7px 0; }
.acct-card li svg { width: 14px; height: 14px; flex: 0 0 14px; }
.acct-card .btn-pill { width: 100%; padding: 17px; font-size: 15px; }

/* comparison table */
.compare { background: var(--ink); padding: 100px 0 150px; }
.compare h2 { font-size: clamp(28px, 2.6vw, 38px); text-align: center; margin-bottom: 14px; }
.compare .intro { text-align: center; color: var(--muted-dark); margin-bottom: 40px; }
.compare-wrap { border: 1px solid #2c2c2c; border-radius: 12px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid #222; font-size: 15px; }
.compare th { background: var(--green); color: var(--ink); font-weight: 600; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare tbody tr:hover { background: #141414; }
.compare td svg { width: 18px; height: 18px; }
.compare .yes { color: var(--green); }
.compare .no { color: #5a5a5a; }

/* ---------- FAQ ---------- */
.faq { background: var(--dark); padding: 132px 0 150px; }
.faq h2 { font-size: 36px; }
.faq .lead-txt { color: #c4c4c4; font-size: 16px; line-height: 1.6; margin-top: 24px; max-width: 390px; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.faq-filter button { background: transparent; color: var(--white); border: 1px solid #4a4a4a; border-radius: 50px; padding: 9px 18px; font-family: var(--font); font-size: 14px; transition: all .25s; }
.faq-filter button:hover { border-color: var(--green); color: var(--green); }
.faq-filter button.active { background: var(--green); border-color: var(--green); color: var(--ink); }
.faq-cat { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-dark); margin: 26px 0 12px; }
.faq-cat:first-child { margin-top: 0; }
.acc-item { margin-bottom: 10px; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: transparent; color: var(--green); border: 1px solid #e6e6e6; border-radius: 6px; padding: 19px 22px; font-family: var(--font); font-weight: 500; font-size: 17px; transition: background-color .3s, color .3s, border-color .3s; }
.acc-btn svg { width: 20px; height: 20px; flex: 0 0 20px; transition: transform .35s ease; }
.acc-btn:hover { border-color: var(--green); }
.acc-item.open .acc-btn { background: var(--green); color: var(--ink); border-color: var(--green); }
.acc-item.open .acc-btn svg { transform: rotate(180deg); }
.acc-panel { height: 0; overflow: hidden; transition: height .4s ease; }
.acc-panel p { padding: 18px 20px 22px; color: var(--white); font-size: 16px; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); padding: 102px 0 102px; }
.form-card { background: #000; border-radius: 8px; padding: 42px 42px 42px; }
.form-card h2 { font-size: 44px; }
.form-card .sub { color: #bdbdbd; font-size: 15px; margin: 18px 0 30px; }
.form-card .form-control { height: 55px; border-radius: 12px; border: 1px solid #fff; font-family: var(--font); font-size: 15px; padding: 0 18px; color: #111; }
.form-card textarea.form-control { height: 112px; padding-top: 16px; resize: vertical; }
.form-card .form-control::placeholder { color: #b5b5b5; }
.form-card .form-control:focus { box-shadow: 0 0 0 3px rgba(139,216,86,.45); border-color: var(--green); }
.form-card .form-control.is-invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,.3); }
.form-card .invalid-feedback { font-size: 13px; color: #ff8a8a; }
.form-card .btn-send { width: 100%; background: var(--green); color: #fff; border: 0; border-radius: 50px; height: 44px; font-family: var(--font); font-weight: 500; font-size: 15px; transition: background-color .25s; }
.form-card .btn-send:hover { background: var(--green-dark); }
.form-alert { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: rgba(139,216,86,.12); border: 1px solid var(--green); color: var(--green); font-size: 15px; }
.contact-info { border-left: 2px solid var(--green); padding: 8px 0 4px 26px; }
.contact-info p { font-size: 15px; line-height: 1.4; }
.contact-info .lbl { margin-top: 30px; }
.contact-info .mail { font-size: 19px; font-weight: 600; margin-top: 8px; display: inline-block; }
.contact-info .mail:hover { color: var(--green); }
.contact-phone { margin-top: 38px; border-radius: 8px; overflow: hidden; background: #000; }
.contact-phone img { width: 100%; height: 326px; object-fit: cover; }
.map-wrap { position: relative; z-index: 1; height: 440px; background: #e3e3e3; padding-bottom: var(--radius-sec); box-sizing: content-box; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

/* ---------- Legal ---------- */
.legal { background: #fff; color: var(--ink); padding: 66px 0 64px; }
.legal .legal-body { max-width: 1200px; margin: 0 auto; }
.legal h2 { font-size: 28px; line-height: 1.3; color: var(--ink); margin: 18px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16px; line-height: 24px; color: var(--muted); margin-bottom: 16px; }
.legal ul.plain { list-style: none; padding: 0; }
.legal .tight p { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 86px 0 0; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding: 0 10px 54px; border-bottom: 1px solid #2b2b2b; }
.footer-cta h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; max-width: 580px; }
.footer-cta .btns { display: flex; gap: 40px; flex-shrink: 0; }
.footer-cta .btns .btn-pill { padding: 18px 38px; }
.footer-main { padding: 60px 0 52px; border-bottom: 1px solid #2b2b2b; }
.footer-logo img { width: 345px; max-width: 100%; height: auto; }
.footer-about { color: var(--muted-dark); font-size: 16px; line-height: 1.5; margin-top: 26px; max-width: 400px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); margin-top: 16px; font-size: 15px; }
.footer-mail:hover { color: var(--green); }
.footer-mail svg { width: 16px; height: 16px; }
.footer-col h5 { font-size: 20px; margin: 18px 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted-dark); font-size: 16px; }
.footer-col a:hover { color: var(--green); }
.risk-warning { margin: 34px 0 0; border: 1px solid #2b2b2b; border-left: 3px solid var(--green); border-radius: 8px; padding: 18px 22px; font-size: 13px; line-height: 1.6; color: var(--muted-dark); }
.risk-warning strong { color: var(--white); }
.copyright { text-align: center; color: var(--muted-dark); font-size: 14px; padding: 40px 0 70px; }

/* ---------- Scroll animations ---------- */
[data-anim] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
[data-anim].in { opacity: 1; transform: none; }
[data-anim-delay="1"] { transition-delay: .1s; }
[data-anim-delay="2"] { transition-delay: .2s; }
[data-anim-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
  .portrait-card .float-chart, .portrait-card .float-coin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .main-nav { gap: 24px; }
  .step-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 76px; }
  .compare { padding-bottom: 70px; }
  .site-header .logo img { height: 52px; }
  .main-nav, .header-cta { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .mosaic-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .m-card.row1, .m-card.row2 { min-height: 0; }
  .m-card .push-bottom { margin-top: 30px; }
  .tiles-row1 { grid-template-columns: repeat(2, 1fr); }
  .tiles-row2 { grid-template-columns: 1fr; }
  .tile.photo { grid-column: 1 / -1; }
  .tile.photo img { min-height: 320px; max-height: 360px; }
  .step-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .tv-grid { grid-template-columns: 1fr; }
  .acct-card, .acct-card.wide { width: calc((100% - 20px) / 2); max-width: none; }
  .start-trading .phones { position: relative; right: auto; top: auto; width: 80%; max-width: 480px; margin: 0 auto; padding-bottom: 40px; }
  .start-trading .st-text { padding-top: 110px; padding-bottom: 40px; }
  .split, .split.black { padding: 70px 0 90px; }
  .split-text { margin-top: 56px; }
  .portrait-card { margin: 0 auto; }
  .footer-cta { flex-direction: column; }
  .footer-col { margin-top: 30px; }
  .contact-side { margin-top: 40px; }
  .faq .faq-list { margin-top: 44px; }
}
@media (max-width: 767.98px) {
  :root { --radius-sec: 18px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .mosaic-grid, .market-grid, .tiles-row1 { grid-template-columns: 1fr; }
  .acct-card, .acct-card.wide { width: 100%; }
  .feature-mosaic, .markets, .overview, .faq, .contact, .accounts { padding-top: 76px; }
  .tiles { padding-top: 90px; }
  .hero-home { min-height: 560px; }
  .hero-home h1 { margin-bottom: 36px; }
  .hero-page.tall { min-height: 340px; padding: 80px 0 90px; }
  .hero-page.legal { height: 220px; padding-top: 70px; }
  .form-card { padding: 30px 22px; }
  .form-card h2 { font-size: 34px; }
  .tile.support { flex-direction: column; }
  .tile.support .s-img { position: relative; width: 100%; height: auto; }
  .tile.support .s-img img { width: 80%; margin-left: auto; }
  .footer-cta .btns { gap: 14px; flex-wrap: wrap; }
  .footer-cta .btns .btn-pill { padding: 16px 30px; }
  .legal h2 { font-size: 24px; }
  .map-wrap { height: 320px; }
  .portrait-card .float-chart { left: 6px; }
  .portrait-card .float-coin { right: 6px; }
}
.st-spacer { height: 110px; background: #000; }
@media (max-width: 991.98px) { .st-spacer { height: 40px; } }
