.content-wrapper .head {
  font-family: Inter, sans-serif;
  display: grid;
}

.content-wrapper .head .update {
  grid-row: 4;
  border: 1px solid var(--dark-turquoise);
  font-size: 10px;
  padding: 3px;
  border-radius: 5px;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content-wrapper .head .update .type {
  background-color: var(--green);
  border-radius: 5px;
  color: var(--darker-blue);
  padding: 6px 10px;
}

.content-wrapper .head .update .title {
  color: #bbebeb;
  font-family:
    Space Mono,
    monospace;
}

.content-wrapper .head .card {
  padding: 24px 28px;
}

.content-wrapper .head h1.card {
  margin: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  padding: 18px 24px 22px;
  color: var(--green);
}

.content-wrapper .head p.card {
  font-size: 12px;
  border-radius: 0;
  margin: 8px 0;
  line-height: 1.4;
}

.content-wrapper .head .signup {
  text-align: center;
  font-size: 12px;
  color: var(--darker-green);
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  padding-bottom: 20px;
}

.content-wrapper .head .signup a {
  font-size: 16px;
}

.content-wrapper h1 {
  color: var(--light-cyan);
  margin-top: 70px;
}

.tabs {
  font-family: Inter, sans-serif;
  border: 1px solid var(--green);
  border-top: none;
  border-radius: 20px;
}

.tabs .titles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 18px;
}

.tabs .titles > * {
  border-width: 1px 0 1px;
  border-color: var(--green);
  border-style: solid;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  padding: 15px 0;
  color: var(--darker-green);
  background-color: var(--darker-blue);
  cursor: pointer;
}

.tabs .titles > *:not(:last-child) {
  border-right-width: 1px;
}

.tabs .titles .active {
  background-color: var(--dark-blue);
  color: var(--green);
  border-bottom: none;
}

.tabs .contents {
  padding: 20px;
  font-size: 12px;
  line-height: 1.4;
}

.tabs .contents > *:not(.active) {
  display: none;
}

.tabs .expandable .content {
  max-height: 500px;
}

.tabs .expandable .content p:first-of-type {
  margin-top: 0;
}

.expand-button {
  font-family: SpaceMono, monospace;
  color: var(--green);
  cursor: pointer;
}

.expand-button::after {
  content: "";
  background-image: url("../svg/bracket_right_green.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: rotate(90deg);
  vertical-align: middle;
  width: 12px;
  height: 12px;
  display: inline-block;
  transition-duration: 500ms;
}

.expanded > .expand-button::after {
  transform: rotate(270deg);
}

:not(.expanded) > .expand-button .less,
.expanded > .expand-button .more {
  display: none;
}

.features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 30px;
}

.features img {
  height: 40px;
}

.features h2 {
  color: var(--blue);
  text-align: unset;
  line-height: 0.8;
}

.features p {
  font-family: Inter, sans-serif;
  color: var(--gray);
  font-size: 12px;
  line-height: 1.4;
}

.more-features {
  text-align: center;
  margin-top: 25px;
}

.more-features a {
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
}

.more-features a:hover {
  background-color: var(--blue);
  color: var(--darker-blue);
}

.locations {
  margin-top: 90px;
  border: 1px solid var(--green);
  border-radius: 20px;
  padding: 18px;
  padding-bottom: 165px;
  background-color: var(--darker-blue);
  background-image: url("../png/globe.png");
  background-position: bottom -95px center;
  background-size: auto 65%;
  background-repeat: no-repeat;
}

.locations h2 {
  color: var(--light-cyan);
  font-size: 36px;
  margin: 0;
  line-height: 0.85;
}

.locations p {
  color: var(--gray);
  font-size: 12px;
  font-family: Inter, sans-serif;
  line-height: 1.4;
  margin: 25px 0;
}

.locations a::after {
  content: unset;
}

.currency {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
}

.currency input {
  display: none;
}

.currency label {
  background-color: var(--darker-blue);
  color: var(--green);
  font-family: Inter, sans-serif;
  padding: 6px 10px;
  cursor: pointer;
}

.currency label:first-of-type {
  border-radius: 5px 0 0 5px;
}

.currency label:last-of-type {
  border-radius: 0 5px 5px 0;
}

.currency input:checked + label {
  background-color: var(--dark-turquoise);
}

.plans {
  display: grid;
  gap: 25px;
}

.plans > * {
  background-color: var(--dark-turquoise);
  border: 1px solid var(--green);
  border-radius: 20px;
}

.plans img {
  border-radius: 20px 20px 0 0;
  height: 132px;
  width: 100%;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--green);
}

.plans .content {
  padding: 24px;
}

.plans > *:last-child .content {
  background-color: var(--darker-blue);
  border-radius: 0 0 20px 20px;
}

.plans h4,
.plans .price {
  font-family: Inter, sans-serif;
  font-size: 18px;
  margin: 0;
}

.plans .currency-symbol {
  font-family: Inter, sans-serif;
}

.plans h4 {
  color: var(--green);
  font-weight: normal;
}

.plans ul {
  padding-left: 12px;
}

.plans li {
  line-height: 1.45;
  font-size: 12px;
}

.plans .form-submit-button {
  display: inline-block;
  padding: 7px 24px;
  color: var(--darker-blue);
}

.plans .warranty {
  font-family: Inter, sans-serif;
  color: var(--green);
  font-size: 10px;
  margin-top: 18px;
  margin-bottom: 0;
}

.we-accept {
  margin-top: 25px;
  font-size: 10px;
}

.we-accept > p {
  text-align: center;
}

.we-accept .payment-methods {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.we-accept .payment-methods img {
  height: 15px;
}

#got-questions {
  margin-top: 62px;
}

@media (max-width: 700px) {
  .content-wrapper {
    background-image: url("../png/homepage-alt.png");
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 76vw;
  }
  .content-wrapper .head {
    padding: 0 5px;
  }
  .content-wrapper .head > img {
    display: none;
  }
  .content-wrapper .head > .group {
    display: contents;
  }
  .content-wrapper .head h1.card {
    text-align: center;
    line-height: 1.4;
  }
  .content-wrapper .head .signup p {
    margin-top: 28px;
    margin-bottom: 5px;
  }
  .content-wrapper h1 {
    text-align: center;
  }
  .tabs .titles > * {
    text-align: center;
  }
  .tabs .titles .long {
    display: none;
  }
  .tabs .contents > * {
    padding-top: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .tabs .contents img.illustration {
    width: 100%;
  }
  .tabs .contents .vpn img.illustration {
    content: url("../svg/vpn-mobile.svg");
    height: 180px;
    min-width: 300px;
    align-self: start;
  }
  .tabs .contents .proxy img.illustration {
    min-width: 400px;
    max-height: 180px;
    align-self: center;
  }
  .locations .content {
    text-align: center;
  }
  .plans {
    margin-top: 32px;
  }
  .plans img {
    object-position: 50% -10px;
  }
  .we-accept .payment-methods .litecoin {
    display: none;
  }
}

@media (min-width: 701px) {
  .content-wrapper .head {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 38px;
  }
  .content-wrapper .head > img {
    width: 65%;
    margin-left: auto;
    grid-column: 2;
    margin-top: 42px;
  }
  .content-wrapper .head > .group {
    grid-row: 1;
  }
  .content-wrapper .head .card {
    padding: 26px 40px;
  }
  .content-wrapper .head .update {
    font-size: 14px;
    margin: 18px 0 32px;
    gap: 10px;
  }
  .content-wrapper .head .update .type {
    font-size: 12px;
    padding: 4px 14px;
  }
  .content-wrapper .head h1.card {
    padding: 38px 40px;
    line-height: 1.1;
  }
  .content-wrapper .head p.card {
    font-size: 16px;
  }
  .content-wrapper .head .signup {
    padding: 24px 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .content-wrapper h1 {
    margin-top: 80px;
    margin-bottom: 32px;
  }
  .tabs .titles {
    font-size: 28px;
  }
  .tabs .titles > * {
    padding: 32px 40px;
    font-weight: 500;
  }
  .tabs .titles .short {
    display: none;
  }
  .tabs .contents {
    font-size: 16px;
    padding: 40px;
  }
  .tabs .contents > * {
    display: grid;
    grid-template-columns: 34% 66%;
    padding-top: 20px;
    padding-bottom: 5px;
  }
  .tabs .contents .text {
    margin-right: 30px;
  }
  .tabs .contents img.illustration {
    margin-left: auto;
  }
  .tabs .contents .vpn img.illustration {
    content: url("../svg/vpn-desktop.svg");
  }
  .tabs .contents .expandable .content {
    max-height: 500px !important;
    opacity: 1;
  }
  .tabs .contents .expand-button {
    display: none;
  }
  .features {
    margin-top: 64px;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 50px;
  }
  .features img {
    height: 50px;
  }
  .features h2 {
    margin-top: 22px;
    margin-bottom: 25px;
    padding-right: 30px;
  }
  .features p {
    font-size: 16px;
  }
  .features .support {
    grid-column: 1;
    grid-row: 2;
  }
  .more-features {
    margin-top: 40px;
  }
  .locations {
    margin-top: 155px;
    padding: 54px 50px 58px;
    background-position: right -15px;
    background-size: auto 125%;
  }
  .locations h2 {
    font-size: 56px;
    line-height: 0.8;
  }
  .locations h2:nth-child(2) {
    color: var(--green);
  }
  .locations p {
    font-size: 16px;
    margin-top: 58px;
    margin-bottom: 64px;
  }
  .pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .currency {
    margin-top: 50px;
  }
  .plans {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .plans > * {
    border-radius: 20px 20px 15px 15px;
  }
  .plans img {
    height: 204px;
  }
  .plans .content {
    padding: 32px;
  }
  .plans h4,
  .plans .price {
    font-size: 28px;
  }
  .plans ul {
    padding-left: 18px;
  }
  .plans li {
    font-size: 16px;
  }
  .plans .form-submit-button {
    font-size: 14px;
    padding: 8px 25px;
  }
  .plans .warranty {
    font-size: 12px;
  }
  .plans > *:last-child .content {
    border-radius: 0 0 15px 15px;
  }
  .plans > *:last-child h4,
  .plans > *:last-child p {
    font-weight: 500;
  }
  .we-accept {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 29px;
    margin-top: 34px;
  }
  .we-accept .line {
    height: 1px;
    flex-grow: 1;
    border-top: 1px solid #7a7a7a;
    margin: 0 8px;
  }
  .we-accept .payment-methods {
    display: contents;
  }
  .we-accept .payment-methods img {
    height: 22px;
  }
  #got-questions {
    margin-top: 130px;
  }
}
