@font-face {
  font-family: "Avenir Next";
  src: url("/assets/AvenirNextLTPro-Regular-b00ec3af.otf") format("opentype");
  font-weight: 400 600;
}

@font-face {
  font-family: "Avenir Next";
  src: url("/assets/AvenirNextLTPro-Demi-10a5e1fb.otf") format("opentype");
  font-weight: 700;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --black-100: #1e1e1e;
  --black-200: #333333;
  --gray-100: #acaaaa;
  --gray-200: #cbcbcb;
  --gray-250: #d8d8dc;
  --gray-300: #7b7b7b;
  --gray-400: #f9f9f9;
  --green-100: #007a36;
  --blue-100: #0075ff;
  --blue-200: #75b0ff;
  --purple-100: #7059e7;
  --purple-100-t10: rgba(112, 89, 231, 0.1);
  --purple-100-t40: rgba(112, 89, 231, 0.4);
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

html {
  font-size: 62.5%;
}

body {
  min-width: 320px;
  margin: 0 auto;
  padding: 0;
  color: var(--black-100);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  background: var(--gray-400);
}

a {
  color: inherit;
}

.koko-base-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.koko-base-layout > main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0 2rem;
  background: var(--gray-400);
}

.koko-base-layout > main > .page-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 94rem;
}

.koko-base-layout > main > .page-container > * {
  flex: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0.1rem solid transparent;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.button:disabled {
  opacity: 0.6;
}

.button:hover,
.text-link:hover,
.cta-item:hover {
  filter: brightness(0.8);
}

.button--primary,
.button--secondary,
.button--default {
  padding: 2rem 4rem;
  border-radius: 4rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.button--primary {
  color: var(--white);
  background: var(--purple-100);
  border-color: var(--purple-100);
}

.button--secondary {
  color: rgba(0, 0, 0, 0.85);
  background: var(--gray-250);
  border-color: var(--gray-250);
}

.text-link {
  color: var(--blue-100);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1em;
  transition: all 0.3s ease-out;
}

.koko-cta-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.koko-cta-list__item {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  height: 8rem;
  border-top: 0.1rem solid var(--gray-200);
  color: var(--black-100);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.koko-cta-list__item:last-of-type {
  border-bottom: 0.1rem solid var(--gray-200);
}

.koko-cta-list__item > .left-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.koko-cta-list__item > .left-panel > span:last-child {
  margin-left: 0.5rem;
  color: var(--black-100);
  font-size: 1.8rem;
  font-weight: 500;
}

.koko-cta-list__item .story-icon {
  flex: 0 0 5rem;
  width: 5rem;
  height: 5rem;
  margin-left: 1.2rem;
  object-fit: contain;
}

.koko-cta-list__item > .right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-100);
  font-size: 3.4rem;
  line-height: 1;
}

.koko-cta-list__item > .right-panel::before {
  content: "\203a";
}

.koko-page__main {
  display: flex;
  flex-direction: column;
  padding-top: 15.2rem;
  position: relative;
}

.koko-page__main > .language-selector {
  position: absolute;
  top: 3.6rem;
  right: 0;
}

.language-selector {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
}

.language-selector > summary {
  display: flex;
  align-items: center;
  min-width: 9.5rem;
  height: 3.8rem;
  padding: 0 3.2rem 0 1.2rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--purple-100);
  cursor: pointer;
  list-style: none;
}

.language-selector > summary::-webkit-details-marker {
  display: none;
}

.language-selector > summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  width: 0.9rem;
  height: 0.9rem;
  border-right: 0.2rem solid var(--white);
  border-bottom: 0.2rem solid var(--white);
  transform: translateY(-20%) rotate(45deg);
}

.language-selector[open] > summary::after {
  transform: translateY(20%) rotate(225deg);
}

.language-selector > nav {
  position: absolute;
  right: 0;
  top: 4.4rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 20rem;
  border-radius: 0.5rem;
  background: var(--white);
  box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.language-link {
  padding: 1rem 1.2rem;
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
}

.language-link.is-active {
  color: var(--black-100);
  background: var(--purple-100-t10);
}

.koko-page__main > .header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.koko-page__main .img-logo {
  width: 13.3rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0.4rem 0.4rem var(--purple-100-t40));
}

.koko-page__main .description {
  margin: 3rem 0 4rem;
  color: var(--black-100);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.koko-page__main > .content {
  flex: 1;
}

.koko-page__main > .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links .divider {
  width: 0.1rem;
  height: 1.6rem;
  background: var(--black-100);
}

.copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem;
  color: var(--gray-300);
  font-size: 1.2rem;
  font-weight: 500;
}

.koko-link {
  margin-top: 0.9rem;
}

.koko-link img {
  display: block;
  width: 3.4rem;
  height: auto;
  object-fit: contain;
}

.koko-page__countries {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 15.2rem;
}

.koko-page__countries > .language-selector {
  position: absolute;
  top: 3.6rem;
  right: 0;
}

.koko-page__countries > .header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.koko-page__countries > .header > .description {
  margin-top: 3rem;
  margin-bottom: 0;
  color: var(--black-100);
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}

.koko-page__countries > .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.country-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.select-shell {
  position: relative;
  width: 100%;
}

.country-combobox__enhanced {
  position: relative;
}

.country-combobox__native--hidden {
  display: none;
}

.select-input,
.country-selector {
  width: 100%;
  height: 6rem;
  padding: 0.5rem 7rem 0.5rem 2rem;
  border: 0.1rem solid var(--gray-200);
  border-radius: 1rem;
  background: var(--white);
  color: var(--black-100);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  appearance: none;
}

.select-input:hover,
.select-input:focus {
  border-color: var(--purple-100);
  box-shadow: none;
  outline: none;
}

.country-combobox__input {
  caret-color: var(--purple-100);
}

.country-combobox__list {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 24rem;
  margin: 0;
  padding: 0.6rem 0;
  overflow-y: auto;
  border: 0.1rem solid var(--gray-200);
  border-radius: 0.4rem;
  background: var(--white);
  box-shadow: 0 0.6rem 1.6rem rgb(0 0 0 / 12%);
  list-style: none;
}

.country-combobox__option {
  min-height: 4rem;
  padding: 1rem 2rem;
  color: var(--black-100);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
}

.country-combobox__option:hover,
.country-combobox__option.is-active {
  background: var(--purple-100-t20);
}

.country-combobox__option[aria-selected="true"] {
  font-weight: 600;
}

.clear-indicator {
  position: absolute;
  top: 50%;
  right: 4.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--gray-200);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
}

.dropdown-indicator {
  position: absolute;
  top: 50%;
  right: 1.8rem;
  width: 1.1rem;
  height: 1.1rem;
  border-right: 0.25rem solid var(--black-200);
  border-bottom: 0.25rem solid var(--black-200);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.btn-continue,
.koko-page__countries .btn-continue {
  width: 18.7rem;
  height: 6rem;
  margin-top: 3rem;
}

.koko-page__countries > .footer {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4.7rem;
}

.link-to-faq {
  margin: 1.6rem 0 0;
  color: var(--gray-300);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
}

.link-to-faq > a {
  color: var(--blue-100);
  font-size: 1.6rem;
  font-weight: 600;
}

.alert {
  margin: 2rem auto 0;
  padding: 1.2rem 1.4rem;
  border-left: 0.4rem solid var(--purple-100);
  background: var(--purple-100-t10);
  color: var(--black-100);
  font-size: 1.4rem;
}

.koko-page__resources,
.koko-page__self-help-courses {
  display: flex;
  flex-direction: column;
  padding-top: 11rem;
}

.koko-page__resources > .header,
.koko-page__self-help-courses > .header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.koko-page__resources > .header > .title,
.koko-page__self-help-courses > .header > .title {
  margin: 3rem 0 4rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: normal;
}

.koko-page__self-help-courses > .header > .title {
  margin-bottom: 4.5rem;
}

.koko-page__resources > .content,
.koko-page__self-help-courses > .content {
  flex: 1;
}

.koko-page__resources > .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4.7rem;
}

.koko-page__self-help-courses > .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  padding-top: 6rem;
  padding-bottom: 5rem;
  margin: 0;
  text-align: center;
}

.koko-page__self-help-courses > .footer > .comment,
.koko-page__peer-support__instructions > .footer > .comment {
  margin: 0 0 1rem;
  color: var(--black-100);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2em;
}

.koko-page__self-help-courses > .footer > .author,
.koko-page__peer-support__instructions > .footer > .author {
  color: var(--black-100);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
}

.koko-page__faq__introduction,
.koko-page__faq__options {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.koko-page__faq__introduction {
  flex-direction: column;
  text-align: center;
}

.koko-page__faq__introduction > .description {
  margin: 0;
  color: var(--black-100);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2em;
}

.koko-page__faq__introduction > .btn-continue {
  width: 18.7rem;
  height: 6rem;
  margin-top: 4rem;
}

.koko-page__faq__instructions {
  flex: 1;
}

.koko-page__faq__instructions > .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 19.5rem;
}

.koko-page__faq__instructions > .content > .title {
  max-width: 35rem;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.koko-page__faq__instructions > .content > .desc-texts {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 46rem;
}

.koko-page__faq__instructions > .content > .desc-texts > p {
  margin: 0;
  color: var(--black-100);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3em;
  text-align: left;
}

.koko-page__faq__instructions > .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  margin-top: 4rem;
}

.koko-page__faq__instructions > .footer > .button {
  width: 18.7rem;
  height: 6rem;
}

.koko-page__peer-support__instructions,
.koko-page__peer-support__platforms {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 15.2rem;
}

.koko-page__peer-support__instructions > .header,
.koko-page__peer-support__platforms > .header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.koko-page__peer-support__instructions > .header > .title,
.koko-page__peer-support__platforms > .header > .title {
  max-width: 35rem;
  margin: 3rem 0 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.koko-page__peer-support__platforms > .header > .subtitle {
  max-width: 35rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
  color: var(--black-100);
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}

.koko-page__peer-support__platforms > .content {
  flex: 1;
}

.koko-page__peer-support__instructions > .content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.koko-page__peer-support__instructions > .content > .btn-continue {
  width: 18.7rem;
  height: 6rem;
  margin-top: 0;
}

.koko-page__peer-support__instructions > .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  margin: 7rem 0 0;
  padding-bottom: 5rem;
  text-align: center;
}

.screen {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  text-align: center;
}

.compact-screen {
  padding: 8rem 0;
}

.page-title,
.intro-copy {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2em;
}

.subtitle,
.quote,
.empty-state,
.description {
  margin: 0;
  color: var(--gray-300);
  font-size: 1.6rem;
  font-weight: 500;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  align-items: center;
}

.helpline-screen {
  align-items: center;
  justify-content: flex-start;
  padding-top: 6rem;
}

.helpline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 46rem;
  margin: 3rem 0;
}

.helpline-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.5rem;
  border: 0.1rem solid var(--gray-200);
  border-radius: 0.5rem;
  background: var(--white);
}

.helpline-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.helpline-card h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2em;
  text-align: left;
}

.availability {
  margin: 0;
  max-width: 11rem;
  color: var(--green-100);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: right;
}

.helpline-card .description {
  margin: 2rem 0 0;
  color: var(--black-100);
  text-align: left;
}

.phone-number {
  margin: 2rem 0 0;
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
}

.topic-type {
  color: var(--black-100);
  text-transform: capitalize;
}

.back-link {
  color: var(--gray-300);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

.text-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 46rem;
}

.text-panel p {
  margin: 0;
  color: var(--black-100);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3em;
  text-align: left;
}

.quote {
  max-width: 46rem;
  color: var(--gray-300);
}

.quote cite {
  color: var(--black-100);
  font-style: normal;
  font-weight: 600;
}

@media (min-width: 425px) {
  .koko-base-layout > main {
    padding: 0 3rem;
  }
}

@media (min-width: 768px) {
  .koko-base-layout > main > .page-container {
    max-width: 60rem;
  }

  .koko-page__main > .language-selector {
    right: 7rem;
  }

  .koko-page__countries > .language-selector {
    right: 7rem;
  }

  .koko-page__main .img-logo {
    width: 21.9rem;
  }

  .koko-page__resources,
  .koko-page__self-help-courses {
    padding-top: 15.2rem;
  }

  .koko-page__faq__instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
  }

  .koko-page__faq__instructions > .content {
    margin-top: 0;
  }

  .koko-page__faq__instructions > .footer {
    flex-direction: row;
    gap: 2rem;
  }

  .koko-page__peer-support__instructions > .header > .title {
    max-width: 46rem;
  }

  .button-row {
    flex-direction: row;
    gap: 2rem;
  }

  .helpline-screen {
    padding-top: 14rem;
  }
}

@media (min-width: 1024px) {
  .koko-base-layout > main > .page-container {
    max-width: 75rem;
  }
}

@media (min-width: 1280px) {
  .koko-base-layout > main > .page-container {
    max-width: 80rem;
  }
}

@media (min-width: 1440px) {
  .koko-base-layout > main > .page-container {
    max-width: 94rem;
  }

  .koko-page__main,
  .koko-page__countries,
  .koko-page__resources,
  .koko-page__self-help-courses,
  .koko-page__peer-support__instructions,
  .koko-page__peer-support__platforms {
    padding-top: 17.6rem;
  }

  .helpline-screen {
    padding-top: 20.5rem;
  }
}
