html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
}

.section-hero {
  position: relative;
  isolation: isolate;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #3b3020;
  border-radius: 18px;
  padding: 34px 38px;
  box-shadow: 0 24px 70px #0007;
}

.section-hero::before,
.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.section-hero::before {
  background-image: url('/assets/brand/otg-section-hero.jpg');
  background-size: cover;
  background-position: center 50%;
}

.section-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 8, .96) 0%, rgba(6, 7, 8, .9) 40%, rgba(6, 7, 8, .56) 70%, rgba(6, 7, 8, .3) 100%),
    linear-gradient(0deg, rgba(8, 8, 6, .68), rgba(8, 8, 6, .08) 65%);
}

.section-hero .eyebrow {
  margin-top: 0;
}

.section-hero h1 {
  max-width: 720px;
  text-shadow: 0 3px 24px #000;
}

.section-hero .lead {
  max-width: 760px;
  color: #d0ccc2;
  text-shadow: 0 2px 14px #000;
}

@media (max-width: 1100px) {
  .section-hero {
    min-height: 220px;
    padding: 28px 30px;
  }

  .section-hero::before {
    background-position: 58% center;
  }

  .section-hero::after {
    background: linear-gradient(90deg, rgba(6, 7, 8, .97), rgba(6, 7, 8, .8) 70%, rgba(6, 7, 8, .55));
  }
}

@media (max-width: 760px) {
  .shell {
    display: block;
    min-height: 100vh;
  }

  .sidebar {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    padding: 14px 14px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    padding: 0 4px 13px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .brand strong {
    font-size: 12px;
    letter-spacing: 1.4px;
  }

  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .sidebar nav a {
    min-width: 0;
    padding: 11px 10px;
    gap: 8px;
    font-size: 13px;
  }

  .sidebar nav a span {
    width: 17px;
    font-size: 17px;
  }

  .isolation {
    display: none;
  }

  .page {
    max-width: none;
    padding: 22px 14px 42px;
  }

  .page h1 {
    font-size: 31px;
    line-height: 1.06;
    letter-spacing: -1.2px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .overview-hero,
  .section-hero {
    min-height: 230px;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .overview-hero::before {
    background-position: 63% center;
  }

  .section-hero::before {
    background-position: 65% center;
  }

  .overview-hero::after,
  .section-hero::after {
    background:
      linear-gradient(90deg, rgba(6, 7, 8, .98) 0%, rgba(6, 7, 8, .91) 58%, rgba(6, 7, 8, .62) 100%),
      linear-gradient(0deg, rgba(6, 7, 8, .78), transparent);
  }

  .cards {
    margin-top: 14px;
    gap: 12px;
  }

  .card {
    min-height: 145px;
    padding: 19px;
  }

  .card h2 {
    margin-top: 20px;
  }

  .network-launch {
    grid-template-columns: 1fr;
    margin-top: 18px;
    padding: 20px;
  }

  .network-symbol {
    width: 52px;
    height: 52px;
  }

  .network-launch .button {
    grid-column: auto;
    width: 100%;
    text-align: center;
  }

  .studio-hero {
    margin-top: 18px;
    padding: 20px;
  }

  .studio-hero-copy h2 {
    font-size: 28px;
  }

  .studio-preview {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions button,
  .actions .button {
    width: 100%;
  }

  .order-form,
  .order-status {
    max-width: none;
    padding: 20px;
  }

  #toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    text-align: center;
  }
}
