/* Mobile composition. Only the tree switch and .mo-* rules belong here. */

@media (max-width: 768px) {
  .desktop-site {
    display: none;
  }

  .mobile-site {
    display: block;
  }

  body {
    font-size: 14px;
    line-height: 20px;
  }

  .mo-main {
    overflow: hidden;
    word-break: break-word;
  }

  .mo-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--dark-gray);
    background: var(--black);
  }

  .mo-nav {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    padding: 14px 16px;
  }

  .mo-nav-top,
  .mo-nav-links {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
  }

  .mo-brand {
    width: 74px;
    height: 20px;
  }

  .mo-brand img {
    width: 100%;
    height: 100%;
  }

  .mo-nav-cta {
    padding: 7px 20px;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }

  .mo-nav-links {
    color: var(--light-gray);
    font-size: 14px;
    line-height: 20px;
  }

  .mo-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
    padding: 30px 16px;
  }

  .mo-hero-glow {
    position: absolute;
    z-index: -1;
    top: -185px;
    left: -100px;
    width: 494px;
    height: 316px;
    background: radial-gradient(ellipse, rgba(59, 109, 246, 0.2), rgba(59, 109, 246, 0) 70%);
  }

  .mo-hero-media {
    display: flex;
    width: 100%;
    height: 140px;
    align-items: center;
    justify-content: center;
  }

  .mo-hero-media video,
  .mo-video-fallback {
    width: 250px;
    height: 140px;
  }

  .mo-hero-media video {
    display: none;
    object-fit: cover;
  }

  .mo-hero-media.has-video video {
    display: block;
  }

  .mo-hero-media.has-video .mo-video-fallback {
    display: none;
  }

  .mo-video-fallback {
    position: relative;
    overflow: hidden;
  }

  .mo-platform-shadow,
  .mo-platform-base,
  .mo-platform-top {
    position: absolute;
    left: 50%;
    width: 108px;
    height: 61px;
    transform: translateX(-50%) rotateX(63deg) rotateZ(45deg);
    border-radius: 3px;
  }

  .mo-platform-shadow { top: 58px; background: rgba(1, 100, 236, 0.32); filter: blur(12px); }
  .mo-platform-base { top: 50px; background: linear-gradient(135deg, #69809b, #253b58); }
  .mo-platform-top { top: 43px; border: 1px solid #e3f1ff; background: linear-gradient(135deg, #fff 5%, #e7f3ff 78%); }

  .mo-hero-content,
  .mo-hero-copy {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 30px;
  }

  .mo-eyebrow {
    color: #d0d0d0;
    font-size: 12px;
    letter-spacing: 0.12px;
    line-height: 16px;
  }

  .mo-hero h1 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.24px;
    line-height: 32px;
  }

  .mo-hero h1 span { color: var(--blue); }

  .mo-hero-description {
    color: var(--light-gray);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }

  .mo-hero-actions {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
  }

  .mo-button {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border-radius: 22px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }

  .mo-button-primary {
    width: 221px;
    gap: 10px;
    background: linear-gradient(90deg, var(--deep-blue), var(--blue));
  }

  .mo-button-primary img { width: 24px; height: 24px; }
  .mo-button-secondary { width: 142px; border: 1px solid var(--deep-blue); background: linear-gradient(90deg, rgba(6,20,197,.2), rgba(1,100,236,.2)); }

  .mo-section {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding-block: 30px;
  }

  .mo-heading {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding-inline: 16px;
  }

  .mo-heading > p {
    color: var(--jumbo);
    font-size: 10px;
    letter-spacing: 0.2px;
    line-height: 14px;
  }

  .mo-heading h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  .mo-heading > span {
    color: var(--light-gray);
    font-size: 14px;
    line-height: 20px;
  }

  .mo-journey { gap: 80px; padding-inline: 16px; }
  .mo-journey .mo-heading { padding: 0; }
  .mo-journey-groups { display: flex; width: 100%; flex-direction: column; gap: 30px; }
  .mo-journey-group { display: flex; width: 100%; flex-direction: column; gap: 25px; }
  .mo-journey-offset { height: 300px; }

  .mo-journey-card {
    display: flex;
    width: 100%;
    height: 260px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    padding: 30px 20px;
    border-radius: 10px;
    background-image: radial-gradient(ellipse at 50% 0, var(--black) 0, transparent 71%);
  }

  .mo-purple { background-color: var(--journey-purple); }
  .mo-green { background-color: var(--success); }
  .mo-blue { background-color: var(--deep-blue); }
  .mo-red { background-color: var(--danger); }
  .mo-journey-card > img { width: auto; height: 90px; object-fit: contain; }
  .mo-journey-card > div { display: flex; width: 100%; flex-direction: column; gap: 20px; }
  .mo-journey-card h3 { font-size: 16px; font-weight: 500; line-height: 24px; }
  .mo-journey-card p { color: var(--light-gray); font-size: 14px; line-height: 20px; }

  .mo-gap { gap: 50px; }
  .mo-gap-content { display: flex; width: 100%; flex-direction: column; gap: 60px; padding-inline: 16px; }
  .mo-gap-list { display: flex; width: 100%; margin: 0; padding: 0; flex-direction: column; gap: 35px; list-style: none; }
  .mo-gap-list li { display: flex; width: 100%; gap: 20px; }
  .mo-gap-list li > span { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 5px; padding-block: 3px; color: var(--blue); font-size: 20px; font-weight: 600; line-height: 28px; }
  .mo-gap-list small { font-size: 10px; font-weight: 400; letter-spacing: .2px; line-height: 16px; }
  .mo-gap-list li > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 10px; }
  .mo-gap-list h3 { font-size: 16px; font-weight: 500; line-height: 24px; }
  .mo-gap-list h3,
  .mo-gap-list p { overflow-wrap: anywhere; }
  .mo-gap-list p { color: var(--light-gray); font-size: 14px; line-height: 20px; }

  .mo-gap-charts {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .mo-gap-chart { position: relative; width: 100%; aspect-ratio: 737 / 367; margin: 0; overflow: hidden; border-radius: 10px; background: #11151d; }
  .mo-gap-chart img { width: 100%; height: 100%; object-fit: cover; }

  .mo-steps { gap: 50px; }
  .mo-step-list { display: flex; width: 100%; padding-inline: 16px; flex-direction: column; gap: 20px; }
  .mo-step-card { display: flex; width: 100%; min-height: 270px; flex-direction: column; gap: 12px; overflow: hidden; padding: 30px; border: 1px solid var(--blue); border-radius: 10px; background: radial-gradient(circle at 4% 102%, rgba(9,9,11,.95), transparent 68%), rgba(6,20,197,.2); }
  .mo-step-card > div { display: flex; flex-direction: column; gap: 7px; }
  .mo-step-card > div p { color: var(--light-gray); font-size: 12px; letter-spacing: .12px; line-height: 16px; }
  .mo-step-card h3 { font-size: 16px; font-weight: 500; line-height: 24px; }
  .mo-step-card > p { color: var(--light-gray); font-size: 14px; line-height: 20px; }
  .mo-step-card > img { width: 60px; height: 60px; align-self: flex-end; object-fit: contain; opacity: .8; }
  .mo-step-card > img.mo-sdk-icon { width: 49px; }

  .mo-features { position: relative; isolation: isolate; gap: 50px; overflow: hidden; }
  .mo-feature-content { position: relative; display: flex; width: 100%; flex-direction: column; gap: 22px; }
  .mo-feature-subgroup { display: flex; width: 100%; padding-inline: 16px; flex-direction: column; gap: 20px; }
  .mo-feature-pair { display: flex; width: 100%; flex-direction: column; gap: 20px; }
  .mo-feature-card { position: relative; z-index: 2; display: flex; width: 100%; min-height: 300px; flex-direction: column; justify-content: flex-start; gap: 20px; overflow: hidden; padding: 30px; border: 1px solid var(--dark-gray); border-radius: 10px; background: radial-gradient(circle at 4% 102%, rgba(9,9,11,.96), transparent 68%), rgba(44,44,44,.2); }
  .mo-feature-card h3 { font-size: 16px; font-weight: 500; line-height: 24px; }
  .mo-feature-card p { color: var(--light-gray); font-size: 14px; line-height: 20px; }
  .mo-feature-question { justify-content: center; border-color: transparent; background: transparent; }
  .mo-feature-icon { display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; border-radius: 10px; box-shadow: inset -2px -2px 8px rgba(0,0,0,.25); }
  .mo-feature-icon img { width: 34px; height: 34px; object-fit: contain; opacity: .8; }
  .mo-icon-purple { background: linear-gradient(#9051fa, #512ceb); }
  .mo-icon-blue { background: linear-gradient(var(--blue), var(--deep-blue)); }
  .mo-icon-green { background: linear-gradient(#25a34e, var(--success)); }
  .mo-icon-red { background: linear-gradient(#e54246, var(--danger)); }
  .mo-icon-red img { width: 43px; }
  .mo-icon-brown { background: linear-gradient(#995b4e, #663a31); }
  .mo-feature-wave { position: absolute; z-index: 1; top: 532px; left: calc(50% + 184px); width: 708px; max-width: none; height: 325px; object-fit: cover; opacity: .83; mix-blend-mode: lighten; mask-image: radial-gradient(ellipse, #000 45%, transparent 78%); }

  .mo-why-free { padding: 30px 16px; }
  .mo-free-card { position: relative; display: flex; width: 100%; min-height: 564px; flex-direction: column; align-items: center; gap: 80px; overflow: hidden; padding: 50px 20px; border: 1px solid var(--dark-gray); border-radius: 10px; }
  .mo-free-card > img { position: absolute; z-index: 0; inset: -1% 0 auto; width: 100%; height: 149%; object-fit: cover; opacity: .35; }
  .mo-free-card::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(9,9,11,.8), transparent), linear-gradient(180deg, transparent, rgba(1,100,236,.25)); content: ""; }
  .mo-free-copy, .mo-free-badges { position: relative; z-index: 2; }
  .mo-free-copy { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
  .mo-free-copy > p { color: var(--light-gray); font-size: 12px; letter-spacing: .12px; line-height: 16px; }
  .mo-free-copy h2 { font-size: 20px; font-weight: 600; line-height: 28px; }
  .mo-free-copy > span { font-size: 14px; line-height: 20px; }
  .mo-free-badges { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 15px; }
  .mo-free-badges span { display: flex; width: 200px; height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: linear-gradient(90deg,var(--deep-blue),var(--blue)); color: var(--light-gray); font-size: 12px; letter-spacing: .12px; line-height: 16px; }
  .mo-free-badges img { width: 18px; height: 18px; }

  .mo-platforms { gap: 50px; }
  .mo-platform-groups { display: flex; width: 100%; padding-inline: 16px; flex-direction: column; gap: 20px; }
  .mo-platform-pair { display: flex; width: 100%; flex-direction: column; gap: 20px; }
  .mo-platform-card { display: flex; width: 100%; min-height: 370px; flex-direction: column; justify-content: center; padding: 30px; overflow: hidden; border: 1px solid var(--dark-gray); border-radius: 10px; background: radial-gradient(circle at 4% 102%, rgba(9,9,11,.96), transparent 68%), rgba(44,44,44,.2); }
  .mo-platform-copy { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; }
  .mo-platform-copy > div:not(.mo-partner-logo), .mo-platform-copy > p, .mo-platform-copy > hr { margin-bottom: 16px; }
  .mo-partner-logo { display: flex; width: 100%; height: 40px; align-items: center; justify-content: center; margin-bottom: 16px; }
  .mo-partner-logo img { width: auto; max-width: 175px; height: 40px; object-fit: contain; }
  .mo-platform-card:nth-child(2) .mo-partner-logo img { width: 156px; height: 32px; }
  .mo-platform-pair:nth-child(2) .mo-platform-card:first-child .mo-partner-logo img { width: 147px; }
  .mo-platform-pair:nth-child(2) .mo-platform-card:last-child .mo-partner-logo img { width: 109px; }
  .mo-platform-copy hr { width: 100%; border: 0; border-top: 1px solid var(--dark-gray); }
  .mo-platform-copy h3 { font-size: 16px; font-weight: 500; line-height: 24px; }
  .mo-platform-copy a { color: var(--blue); font-size: 12px; letter-spacing: .12px; line-height: 16px; }
  .mo-platform-copy > p { color: var(--light-gray); font-size: 12px; letter-spacing: .12px; line-height: 16px; word-break: normal; }
  .mo-read-more { align-self: flex-start; padding: 15px 50px; border: 1px solid var(--disabled-border); border-radius: 5px; background: var(--disabled-surface); color: var(--primary); font-size: 14px; line-height: 20px; }

  .mo-faq { gap: 50px; padding-inline: 16px; }
  .mo-faq .mo-heading { padding: 0; }
  .mo-faq-list { display: flex; width: 100%; flex-direction: column; gap: 20px; }
  .mo-faq-card { display: flex; width: 100%; min-height: 127px; flex-direction: column; gap: 20px; overflow: hidden; padding: 20px; border: 1px solid var(--dark-gray); border-radius: 10px; background: radial-gradient(circle at 4% 102%, rgba(9,9,11,.96), transparent 70%), rgba(44,44,44,.2); }
  .mo-faq-card.mo-faq-tall { min-height: 147px; }
  .mo-faq-card > div { display: flex; width: 100%; align-items: center; gap: 7px; }
  .mo-faq-card span { display: flex; width: 25px; height: 25px; flex: 0 0 25px; align-items: center; justify-content: center; border-radius: 5px; background: var(--light-gray); color: var(--dark-gray); font-size: 14px; line-height: 20px; }
  .mo-faq-card > div:last-child span { background: linear-gradient(90deg,var(--deep-blue),var(--blue)); color: var(--white); }
  .mo-faq-card h3 { font-size: 16px; font-weight: 500; line-height: 24px; }
  .mo-faq-card p { color: var(--light-gray); font-size: 14px; line-height: 20px; }

  .mo-closing { position: relative; isolation: isolate; display: flex; width: 100%; height: 388px; flex-direction: column; align-items: center; gap: 25px; overflow: hidden; padding: 90px 16px; text-align: center; }
  .mo-closing > img:first-child { position: absolute; z-index: -1; top: 73px; left: 50%; width: 1097px; max-width: none; height: 624px; transform: translateX(-50%); object-fit: cover; opacity: .7; mask-image: linear-gradient(180deg, #09090b 4%, transparent 48%, #09090b 100%); }
  .mo-closing h2 { font-size: 24px; font-weight: 600; letter-spacing: -.24px; line-height: 32px; }
  .mo-closing p { color: var(--light-gray); font-size: 14px; line-height: 20px; }
  .mo-closing-button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 35px; border-radius: 10px; background: linear-gradient(90deg,var(--deep-blue),var(--blue)); font-size: 14px; line-height: 20px; white-space: nowrap; }
  .mo-closing-button img { width: 24px; height: 24px; }

  .mo-footer { border-top: 1px solid var(--light-gray); }
  .mo-footer-inner { display: flex; width: 100%; flex-direction: column; gap: 32px; padding: 40px 16px 52px; }
  .mo-footer-inner > div { display: flex; width: 100%; flex-direction: column; gap: 9px; }
  .mo-footer-inner > div img { width: 166px; height: 44px; }
  .mo-footer-inner > div .mo-footer-certification { width: 159px; height: 60px; margin-top: 9px; border-radius: 4px; }
  .mo-footer-inner p, .mo-footer address { color: var(--jumbo); font-size: 12px; font-style: normal; letter-spacing: .12px; line-height: 16px; }
  .mo-footer address { display: flex; width: 100%; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; overflow-wrap: anywhere; }
  .mo-footer address a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
  .mo-footer address a:hover, .mo-footer address a:focus-visible { color: var(--light-gray); text-decoration-color: currentColor; }
}
