.login-wrapper {
/*  background-color: red;*/
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  min-height: 100dvh;        /* or min-height if content may vary */
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  flex-direction: column;
  .login {
    width: 500px;
    height: auto;
    padding: 30px;
    .line-item {
      margin-top: 10px;
    }
    .title {
      padding-bottom: 0px;
    }
    .button {
      padding: 10px 14px;
      border: none;
      border-radius: 5px;
      background-color: var(--blue-100);
    }
    .button:hover {
      background-color: var(--blue-200);
    }
    .link-group {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
    }
  }
}


main.public {
/*  background-color: red;*/
  width: 100%;
  padding: 0px 10px 40px 10px;
  section {
    margin: 0px 20px 60px 20px;
    .title {
      padding: 0px 30px 0px 30px;
      h1 {
        padding-top: 20px;
        font-size: 60px;
        font-weight: 800;
        padding-bottom: 20px;
        line-height: 72px;
        margin-bottom: 30px;
      }
      h2 {
        padding-top: 20px;
        font-size: 60px;
        font-weight: 800;
        padding-bottom: 20px;
        line-height: 72px;
        text-align: left;
        margin-bottom: 20px;
      }
      h3 {
        font-size: 32px;
        font-weight: 600;
        text-align: left;
        line-height: 40px;
        padding-bottom: 10px;
      }
    }
    p {
      font-size: 22px;
      padding: 0px 30px 0px 30px;
    }
    .quote {
      padding: 0px 30px 30px 30px;
      text-align: left;
      font-weight: 600;
      font-style: italic;
      .signature {
        display: flex;
        justify-content: end;
        font-weight: 400;
        font-style: italic;
      }
    }
    .split {
      display: flex;
      justify-content: space-between;
      p {
        width: 50%;
        strong {
          font-weight: bold;
        }
        .signature {
          display: flex;
          justify-content: end;
          font-weight: 400;
          font-style: italic;
        }
      }
    }
  }
}


/* Subscriptions */
.subscriptions-public {
  margin-bottom: 10px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  .strong {
    font-weight: 800;
  }
  h1 {
    margin-bottom: 20px;
  }
  .table-wrapper {
    background-color: #fff;
    box-shadow: 3px 3px 6px #ccc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    width: 90%;
    .box-highlight-wrapper {
      display: flex;
      justify-content: left;
      .box-highlight {
        background-color: var(--blue-050);
        padding: 10px;
        margin: 10px;
        border-radius: 10px;
        .bold-text {
          font-weight: 800;
        }
      }
    }
    .intro {
      font-size: 30px;
      padding: 10px;
    }
    .text {
      font-size: 20px;
      padding: 10px;
    }
    .text-highlight {
      color: var(--cyan-600);
    }
    .plans {
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
      .plan-option {
        border-radius: 10px;
        background-color: var(--blue-050);      
        box-shadow: 3px 3px 10px #ccc;
        padding: 20px;
        width: 32%;
        height: 420px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .plan-top {   
          .title {
            font-size: 24px;
            font-weight: 800;           
          }
          .list {
            margin-bottom: 20px;
            .bolder {
              font-weight: 800;
            }
          }
          .description {
            margin: 10px 0px 10px 0px;
            font-size: 20px;
            line-height: 1.2;
          }
          span.subscription {
            font-size: 20px;
            font-weight: 800;
            padding: 10px;
          }
          .price {
            margin: 5px 0px 5px 0px;
            font-weight: 800;
            font-size: 24px;
          }
          .bolder {
            font-weight: 800;
          }
        }
        .plan-bottom {
          a.plan-button:link {
            padding: 10px 14px;
            border: none;
            border-radius: 10px;
            background-color: var(--cyan-200);
            color: var(--cyan-800);
            margin: 5px 0px 5px 0px;
            font-size: 20px;
            font-weight: 800;
          }
          a.plan-button:hover {
            padding: 10px 14px;
            border: none;
            border-radius: 10px;
            background-color: var(--cyan-300);
            color: var(--cyan-800);
            margin: 5px 0px 5px 0px;
            font-size: 20px;
            font-weight: 800;
          }
          a.plan-button:visited {
            color: var(--cyan-800);
            font-size: 20px;
            font-weight: 800;
            margin: 5px 0px 5px 0px;
          }
        }
        .plan-selectors {
          display: flex;
          flex-direction: column;
          gap: 8px;
          .plan-selector {
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.15s ease;
            &:hover {
              border-color: var(--cyan-300);
              background-color: var(--blue-050);
            }

            .plan-radio {
              width: 18px;
              height: 18px;
              accent-color: var(--cyan-600);
              cursor: pointer;
              flex-shrink: 0;
            }

            .selector-period {
              font-weight: 600;
              font-size: 16px;
              color: var(--blue-grey-800);
              min-width: 60px;
            }

            .selector-price {
              font-weight: 800;
              font-size: 18px;
              color: var(--cyan-800);
              margin-left: auto;
            }
          }

          .plan-selector:has(.plan-radio:checked) {
            border-color: var(--cyan-500);
            background-color: var(--cyan-050);
            box-shadow: 0 0 0 1px var(--cyan-200);
          }
        }
      }
    }
  }
}


.legal {
  counter-reset: section;

  h1 {
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
    margin-top: 40px;
    font-size: 40px;
  }

  h2 {
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
    margin-top: 40px;
  }

  h2::before {
    counter-increment: section;
    content: counter(section) ". ";
    color: var(--blue-300);
  }

  .contact-box {
    background: #f8fafc;
    border-left: 4px solid var(--blue-300);
    padding: 16px 20px;
    margin: 16px 0;
  }

  ul {
    list-style: none;
    padding-left: 0;
  }

  li {
    padding-left: 1.2em;
    position: relative;
  }

  li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--blue-300);
  }
}


@media (max-width: 1024px) {
  main.public {
    section {
      margin: 0px 0px 60px 0px;
      .title {
        padding: 0px;
        h1 {
          font-size: 46px;
          line-height: 52px;
        }
        h2 {
          font-size: 46px;
          line-height: 52px;
        }
        h3 {
          font-size: 26px;
          line-height: 34px;
        }
      }
      p {
        font-size: 20px;
        padding: 0px;
      }
      .split {
        display: block;
        p {
          width: 100%;
        }
      }
    }
  }
  
  /* Subscriptions */
  .subscriptions-public {
    .table-wrapper {
      width: 100%;
      padding: 6px;
      .plans {
        display: flex;
        flex-direction: column;
        align-items: center;
        .plan-option {
          width: 98%;
          margin: 10px;
        }
      } 
    } 
  }
  
  .login-wrapper {
    .login {
      width: 400px;
      .link-group {
        font-size: 14px;
      }
    }
  }
}