/* ============================================================
   Responsive — Bootstrap max-width breakpoints, largest first.
   Each breakpoint appears exactly once; add new overrides to the
   matching block rather than creating another @media.
   ============================================================ */

/* xl — laptops / small desktops */
@media (max-width: 1399.98px) {
  .hero_sec .title {
    font-size: 68px;
  }
}

/* lg — large tablets landscape / small laptops */
@media (max-width: 1199.98px) {
  .cstm_container {
    padding: 0 40px;
  }
  .plan_sec .photo img {
    left: -40px;
    width: calc(100% + 40px);
  }
  /* section paddings */
  .hero_sec,
  .community_sec {
    padding: 56px 0;
  }
  .how_sec {
    padding: 72px 0;
  }
  .about_sec,
  .sports_sec {
    padding: 52px 0;
  }
  .inside_sec,
  .plan_sec {
    padding: 44px 0 0;
  }
  .contact_sec {
    padding: 64px 0;
  }
  .legal_sec {
    padding: 110px 0 52px;
  }
  /* headings */
  .how_sec .title,
  .inside_sec .title {
    font-size: 34px;
  }
  .hero_sec .title {
    font-size: 56px;
  }
  .about_sec .title {
    font-size: 32px;
  }
  .sports_sec .title {
    font-size: 26px;
  }
  .plan_sec .title {
    font-size: 30px;
  }
  .community_sec .title {
    font-size: 40px;
  }
  .contact_sec .title {
    font-size: 36px;
  }
  .legal_sec .title {
    font-size: 44px;
  }
  .how_sec .name {
    font-size: 17px;
  }
  /* cards get narrow: range meter drops below hex + name, full card width */
  .how_sec .top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px 14px;
  }
  .how_sec .meta {
    display: contents;
  }
  .how_sec .range {
    grid-column: 1 / -1;
  }
  .how_sec .card {
    padding: 28px;
  }
  /* spacing / grids / media */
  .how_sec .box {
    gap: 40px;
  }
  .about_sec .photo {
    min-height: 300px;
  }
  .inside_sec .cards {
    grid-template-columns: 1fr 1fr;
  }
  .inside_sec .screen {
    height: 190px;
  }
  .plan_sec .content {
    padding-bottom: 44px;
  }
}

/* md — tablets */
@media (max-width: 991.98px) {
  .cstm_container {
    padding: 0 28px;
  }
  .plan_sec .photo img {
    left: -28px;
    width: calc(100% + 28px);
  }
  /* section paddings */
  .hero_sec,
  .about_sec,
  .sports_sec {
    padding: 40px 0;
  }
  .how_sec {
    padding: 52px 0;
  }
  .inside_sec,
  .plan_sec {
    padding: 34px 0 0;
  }
  .community_sec {
    padding: 44px 0;
  }
  .contact_sec {
    padding: 48px 0;
  }
  .legal_sec {
    padding: 96px 0 40px;
  }
  .disclaimer_sec {
    padding: 26px 0;
  }
  .footer_sec {
    padding: 18px 0;
  }
  /* shared text sizes */
  .how_sec .head .text,
  .inside_sec .head .text,
  .hero_sec .text,
  .how_sec .card .text,
  .about_sec .text,
  .plan_sec .head .text {
    font-size: 14px;
  }
  .about_sec .text.muted,
  .contact_sec .note {
    font-size: 13.5px;
  }
  .how_sec .title,
  .inside_sec .title {
    font-size: 28px;
  }
  /* header: collapse nav into the hamburger menu */
  .header_sec .nav,
  .header_sec .box .btn {
    display: none;
  }
  .header_sec .toggle {
    display: flex;
  }
  .header_sec.open .menu {
    display: block;
  }
  .header_sec .logo img {
    height: 40px;
  }
  /* hero */
  .hero_sec .box {
    gap: 26px;
  }
  .hero_sec .content {
    gap: 14px;
  }
  .hero_sec .tag {
    font-size: 11px;
  }
  .hero_sec .title {
    font-size: 44px;
  }
  .hero_sec .btn {
    height: 48px;
    padding: 0 16px;
  }
  .hero_sec .btn svg {
    height: 22px;
  }
  .hero_sec .name {
    font-size: 16px;
  }
  /* how it works */
  .how_sec .box {
    gap: 30px;
  }
  /* two cards per row; the odd last card takes the full row */
  .how_sec .cards {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .how_sec .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .how_sec .card {
    padding: 16px 20px;
  }
  /* wider cards again: range meter back beside the hex */
  .how_sec .top {
    display: flex;
  }
  .how_sec .meta {
    display: flex;
  }
  .how_sec .range .row {
    gap: 8px;
  }
  .how_sec .range .val {
    font-size: 13px;
  }
  .how_sec .range .bar {
    gap: 4px;
  }
  .how_sec .range .total {
    font-size: 20px;
  }
  .how_sec .range .labels {
    font-size: 9px;
  }
  /* about */
  .about_sec .box {
    gap: 26px;
  }
  .about_sec .media {
    padding-left: 10px;
    padding-bottom: 10px;
  }
  .about_sec .photo {
    min-height: 240px;
  }
  .about_sec .badge {
    left: 14px;
    bottom: 14px;
  }
  .about_sec .content {
    gap: 15px;
  }
  .about_sec .title {
    font-size: 24px;
  }
  .about_sec .stats {
    padding-top: 14px;
  }
  .about_sec .item {
    padding: 0 10px;
  }
  .about_sec .num {
    font-size: 19px;
  }
  /* what's inside */
  .inside_sec .box {
    gap: 20px;
  }
  .inside_sec .cards {
    gap: 18px;
  }
  .inside_sec .card {
    padding: 16px 16px 0;
  }
  .inside_sec .name {
    font-size: 15px;
  }
  .inside_sec .card .text {
    font-size: 12.5px;
  }
  .inside_sec .screen {
    height: 256px;
  }
  /* sports */
  .sports_sec .box {
    gap: 18px;
  }
  .sports_sec .title {
    font-size: 22px;
  }
  .sports_sec .items {
    gap: 10px;
  }
  /* plan: single column (photo above content); steps become a row of cards — number left, name + text right */
  .plan_sec .box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .plan_sec .head {
    gap: 12px;
  }
  .plan_sec .head .text {
    margin-top: 0;
  }
  .plan_sec .steps {
    gap: 12px;
  }
  .plan_sec .item,
  .plan_sec .item:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #0d0d11;
  }
  .plan_sec .num {
    grid-row: 1 / 3;
  }
  .plan_sec .content {
    gap: 18px;
    padding-bottom: 34px;
  }
  .plan_sec .title,
  .plan_sec .num {
    font-size: 24px;
  }
  .plan_sec .name {
    font-size: 11px;
  }
  .plan_sec .item .text {
    font-size: 12px;
  }
  /* community */
  .community_sec .box {
    gap: 14px;
  }
  .community_sec .title {
    font-size: 30px;
  }
  .community_sec .text {
    font-size: 15px;
  }
  /* contact */
  .contact_sec .box {
    gap: 34px;
  }
  .contact_sec .info {
    gap: 28px;
  }
  .contact_sec .title {
    font-size: 26px;
  }
  .contact_sec .text {
    font-size: 15px;
  }
  .contact_sec .value {
    font-size: 13px;
  }
  .contact_sec .form {
    padding: 26px;
  }
  /* disclaimer */
  .disclaimer_sec .box {
    gap: 12px;
  }
  .disclaimer_sec .title {
    font-size: 18px;
  }
  .disclaimer_sec .text {
    font-size: 13.5px;
  }
  /* legal */
  .legal_sec .head {
    gap: 12px;
    padding-bottom: 24px;
  }
  .legal_sec .title {
    font-size: 30px;
  }
  .legal_sec .date {
    font-size: 12.5px;
  }
  .legal_sec .content {
    padding-top: 4px;
  }
  .legal_sec .item {
    grid-template-columns: 28px 1fr;
    gap: 8px 0;
    padding: 20px 0;
  }
  .legal_sec .num {
    font-size: 12px;
  }
  .legal_sec .name {
    font-size: 16px;
  }
  .legal_sec .sub {
    font-size: 14px;
  }
  .legal_sec .text,
  .legal_sec .list {
    font-size: 14px;
  }
  /* footer */
  .footer_sec .box {
    gap: 10px;
  }
  .footer_sec .row {
    gap: 14px 16px;
  }
  .footer_sec .logo {
    height: 44px;
  }
  .footer_sec .links {
    gap: 6px 10px;
  }
}

/* sm — large phones / small tablets */
@media (max-width: 767.98px) {
  .hero_sec .box,
  .about_sec .box,
  .contact_sec .box,
  .how_sec .cards {
    grid-template-columns: 1fr;
  }
  .hero_sec .photo {
    max-width: 560px;
    margin: 0 auto;
  }
  .plan_sec .item {
    flex: 1 1 100%;
  }
  .footer_sec .row {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .plan_sec .tag,
  .contact_sec .tag {
    margin-bottom: 7px;
  }
  .plan_sec .head {
    gap: 7px;
  }
  .contact_sec .head {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .how_sec .head,
  .inside_sec .head {
    gap: 8px;
  }
}

/* xs — phones */
@media (max-width: 575.98px) {
  .cstm_container {
    padding: 0 18px;
  }
  .plan_sec .photo img {
    left: -18px;
    width: calc(100% + 18px);
  }
  .hero_sec .title {
    font-size: 34px;
  }
  .legal_sec {
    padding: 88px 0 32px;
  }
  .legal_sec .head {
    gap: 10px;
    padding-bottom: 20px;
  }
  .legal_sec .title {
    font-size: 28px;
  }
  .legal_sec .date {
    padding: 6px 10px;
    font-size: 12px;
  }
  .legal_sec .item {
    grid-template-columns: 26px 1fr;
    gap: 8px 0;
    padding: 18px 0;
  }
  .legal_sec .num {
    font-size: 12px;
  }
  .legal_sec .name {
    font-size: 16.5px;
  }
  .legal_sec .sub {
    font-size: 15px;
  }
  .legal_sec .text,
  .legal_sec .list {
    font-size: 14.5px;
    line-height: 1.8;
  }
  .legal_sec .list {
    padding-left: 18px;
  }
  .hero_sec .photo,
  .plan_sec .photo {
    min-height: 0;
  }
  .inside_sec .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about_sec .badge {
    right: 14px;
  }
  .about_sec .badge svg {
    flex-shrink: 0;
  }
  .about_sec .badge span {
    white-space: normal;
  }
  .sports_sec .item {
    flex-basis: 130px;
    min-width: 130px;
  }
  .community_sec .btn {
    padding: 14px 20px;
    font-size: 12px;
  }
  .inside_sec .screen {
    height: 260px;
  }
  .inside_sec .card .text {
    font-size: 14.5px;
  }
  .inside_sec .name {
    font-size: 16px;
  }
  .contact_sec .form {
    padding: 20px 16px;
  }
}
