@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/inter-1.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/inter-2.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/inter-3.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./assets/fonts/inter-4.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(./assets/fonts/inter-5.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(./assets/fonts/inter-6.ttf) format("truetype");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f8fcfb;
  color: #101827;
}
.app {
  width: 100%;
  max-width: 360px;
  margin: auto;
  padding: 20px 21px 17px;
  min-height: 100vh;
  background: linear-gradient(150deg, #f7fffc, #fff 50%, #fbfaff);
  box-shadow: 0 0 80px #87bfa80b;
}
header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
}
.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  flex: 1;
}
.brand b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #8b95a4;
  font-weight: 700;
  margin-top: 1px;
}
.logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  border-radius: 13px;
  background: linear-gradient(135deg, #37d6ad, #02b486 60%, #6650e9);
  color: white;
  font-size: 36px;
  line-height: 1;
  box-shadow: 0 7px 20px #00b48c26;
}
select {
  font-family: inherit;
  max-width: 107px;
  border: 1px solid #e8ebed;
  background: #fff;
  border-radius: 25px;
  font-size: 11px;
  color: #475164;
  padding: 14px 9px;
  cursor: pointer;
}
button {
  font-family: inherit;
  cursor: pointer;
}
button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #6254e9;
  outline-offset: 3px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9eee2;
  border-radius: 22px;
  background: #edfff7;
  color: #137c65;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 6px 12px;
  white-space: nowrap;
}
.hero {
  margin-top: 20px;
  background:
    radial-gradient(at 0% 0%, #dff6eb 0%, transparent 55%),
    radial-gradient(at 100% 0%, #e5defc 0%, transparent 60%), linear-gradient(140deg, #fff, #fbfcff);
  padding: 26px 24px 24px;
  border-radius: 31px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px #2933460c;
}
.hero:after {
  content: "";
  position: absolute;
  bottom: -58px;
  right: -66px;
  width: 155px;
  height: 155px;
  border: 23px solid #d6f3ec65;
  border-radius: 50%;
  pointer-events: none;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.badge {
  padding: 9px 11px;
  background: #ffffffaf;
  border-radius: 25px;
  font-size: 9px;
  font-weight: 700;
  color: #6b788c;
  white-space: nowrap;
}
.badge span {
  color: #02ac83;
  font-size: 15px;
  margin-right: 6px;
}
.star {
  background: #ffffff80;
  color: #6150da;
  font-size: 25px;
  border-radius: 15px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.07;
  letter-spacing: -1.6px;
  font-weight: 900;
  margin: 22px 0 20px;
  color: #090e18;
}
p {
  font-size: 14px;
  line-height: 1.5;
  color: #788595;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 25px;
  position: relative;
  z-index: 1;
}
.stat {
  border: 1px solid #ffffffa8;
  background: #ffffff55;
  border-radius: 19px;
  padding: 14px 12px;
  min-height: 94px;
}
.stat b {
  font-size: 16px;
  letter-spacing: -0.6px;
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
}
.stat small {
  font-size: 9px;
  line-height: 1.15;
  color: #8a96a5;
  display: block;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 16px 0 20px;
}
.card {
  padding: 18px 16px;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 30px #28345305;
}
.icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: #eafff7;
  color: #069c7b;
  font-size: 21px;
  margin-bottom: 13px;
}
.card:nth-child(2) .icon {
  color: #6650d7;
  background: #f0eeff;
}
.card b {
  display: block;
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: -0.3px;
}
.card p {
  font-size: 10px;
  line-height: 1.4;
  margin-top: 6px;
  color: #9aa3b0;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 14px;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(100deg, #10b78c, #08af82 47%, #5940ec);
  color: white;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 25px #08b58a21;
}
.cta:hover {
  filter: brightness(1.04);
}
.cta:disabled {
  opacity: 0.5;
  cursor: default;
}
.trust {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  color: #9aa3b0;
  font-size: 10px;
  line-height: 1.4;
}
.trust span {
  color: #08ad84;
  font-size: 16px;
}
footer {
  text-align: center;
  color: #c4cbd1;
  font-size: 9px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  font-weight: 700;
  margin: 28px 0 13px;
}
.disclosure {
  text-align: center;
  color: #87929e;
  font-size: 9px;
  line-height: 1.5;
  border-top: 1px solid #edf1f2;
  padding-top: 10px;
}
dialog {
  border: 1px solid #e8f0ed;
  border-radius: 25px;
  background: linear-gradient(150deg, #f6fffa, #fff 60%, #f2fff7);
  padding: 28px 22px 21px;
  width: calc(100% - 42px);
  max-width: 320px;
  color: #111827;
  text-align: center;
  box-shadow: 0 22px 50px #18263440;
}
dialog::backdrop {
  background: #1b283a8c;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 21px;
  letter-spacing: -0.9px;
  line-height: 1.15;
  margin: 16px 0;
}
dialog p {
  font-size: 14px;
  line-height: 1.5;
}
dialog .pill {
  font-size: 8px;
  letter-spacing: 1px;
}
.benefits {
  display: grid;
  gap: 6px;
  margin: 20px 0;
}
.benefits div {
  display: grid;
  grid-template-columns: 45px 1fr;
  text-align: left;
  align-items: center;
  border: 1px solid #e2e7ed;
  border-radius: 15px;
  background: #f7f9fc;
  padding: 13px 12px;
  gap: 8px;
  font-size: 13px;
  color: #7a8798;
  font-weight: 600;
}
.benefits b {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}
.demo-note {
  font-size: 9px;
  display: block;
  color: #8b98a1;
  margin-top: 11px;
}
#back {
  border: 1px solid #e5e9eb;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  font-size: 25px;
  color: #697582;
  flex-shrink: 0;
}
#back[hidden] {
  display: none;
}
.quiz-header {
  margin-top: 5px;
}
.quiz-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #098b6a;
  font-weight: 800;
}
.progress-text {
  display: flex;
  justify-content: space-between;
  color: #8a96a5;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 8px;
}
.progress-text strong {
  font-size: 12px;
  color: #6c7788;
  font-weight: 500;
}
.track {
  height: 6px;
  background: #e8ecef;
  border-radius: 8px;
  margin: 25px 0 34px;
}
.track span {
  height: 6px;
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #13c68f, #10b788 60%, #6741eb);
}
.question {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 30px;
}
.options {
  display: grid;
  gap: 12px;
}
.option {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  width: 100%;
  border: 1px solid #e5e8eb;
  border-radius: 19px;
  padding: 15px 16px;
  background: #fff;
  color: #707c89;
  font-size: 13px;
  font-weight: 700;
  min-height: 57px;
}
.option span {
  border: 1px solid #e6e9ec;
  background: #f8fafb;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #9ba6b3;
  flex-shrink: 0;
}
.option.selected {
  border-color: #0ab48b;
  background: #edfff8;
  color: #116c58;
}
.option.selected span {
  background: #0ab48b;
  color: white;
  border-color: #0ab48b;
}
.complete {
  padding: 24px 0;
}
.complete .check {
  color: #0ab48b;
  font-size: 56px;
  text-align: center;
}
.complete h2 {
  font-size: 25px;
  letter-spacing: -1px;
}
.complete p {
  font-size: 13px;
  margin: 20px 0;
}
.complete ul {
  font-size: 12px;
  color: #788595;
  line-height: 1.8;
  padding-left: 18px;
}
@media (min-width: 700px) {
  body {
    padding: 30px 0;
    background: radial-gradient(at 0 0, #e3f5ee, transparent 60%), #f5f7fb;
  }
  .app {
    border: 1px solid #e6eeeb;
    border-radius: 32px;
    min-height: 0;
    box-shadow: 0 18px 70px #254b3b0c;
  }
}
@media (max-width: 340px) {
  .app {
    padding: 16px;
  }
  .brand b {
    font-size: 12px;
  }
  .logo {
    width: 32px;
    height: 34px;
  }
  select {
    max-width: 99px;
    padding: 12px 6px;
  }
  h1 {
    font-size: 27px;
  }
  .hero {
    padding: 22px 20px;
  }
  .badge {
    font-size: 8px;
  }
}
/* Allow longer European translations without horizontal overflow. */
.pill {
  white-space: normal;
  text-align: center;
  max-width: 100%;
  line-height: 1.45;
}
.badge {
  white-space: normal;
  line-height: 1.4;
}
.brand {
  min-width: 0;
}
select {
  flex-shrink: 0;
  max-width: 110px;
}
.cta {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.stat {
  min-width: 0;
}
.stat small,
.card b,
.card p,
.progress-text {
  overflow-wrap: anywhere;
}
.option {
  overflow-wrap: anywhere;
}
.progress-text > div {
  min-width: 0;
  padding-right: 8px;
}
.question,
h1 {
  overflow-wrap: anywhere;
}
#language {
  font-family: inherit;
  flex-shrink: 0;
  max-width: 112px;
  border: 1px solid #e8ebed;
  background: #fff;
  border-radius: 25px;
  font-size: 11px;
  color: #475164;
  padding: 13px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#languages-dialog {
  width: calc(100% - 28px);
  max-width: 380px;
  max-height: 85vh;
  padding: 22px 18px 16px;
  border-radius: 23px;
  text-align: left;
  background: #fff;
  overflow: hidden;
}
#languages-dialog::backdrop {
  background: #15203680;
  backdrop-filter: blur(4px);
}
.language-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.language-head h2 {
  font-size: 18px;
  letter-spacing: 0;
  margin: 0;
  font-weight: 800;
}
#language-close {
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #f0f4f6;
  font-size: 24px;
  color: #637083;
}
#lang-search {
  width: 100%;
  margin: 16px 0 10px;
  border: 1px solid #e3e9ec;
  border-radius: 13px;
  font: inherit;
  font-size: 13px;
  padding: 13px;
  color: #162334;
  background: #f8fafb;
}
#lang-search:focus {
  outline: 2px solid #12b68a;
  outline-offset: 1px;
}
#lang-count {
  font-size: 11px;
  color: #8b97a3;
  margin-bottom: 9px;
}
#lang-list {
  overflow: auto;
  max-height: calc(85vh - 175px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 3px;
}
.language-option {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 12px 35px 12px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: #182333;
  font-size: 14px;
  min-height: 58px;
}
.language-option:hover {
  background: #f3faf7;
}
.language-option[aria-pressed="true"] {
  background: #ecfbf5;
  border-color: #b9eadb;
}
.language-option small {
  display: block;
  color: #8a95a1;
  font-size: 10px;
  margin-top: 4px;
}
.language-check {
  position: absolute;
  right: 13px;
  top: 19px;
  color: #08ac85;
  font-weight: 800;
}
.empty-languages {
  font-size: 13px;
  padding: 20px 0;
}
.fallback {
  font-size: 10px;
  line-height: 1.5;
  color: #788595;
  padding: 9px 11px;
  border: 1px solid #e6edeb;
  border-radius: 12px;
  margin: -15px 0 18px;
}
#lang-search,
#language-title,
.language-option {
  overflow-wrap: anywhere;
}

.registration {
  padding-top: 5px;
}
.registration h1,
.pending-receipt h1 {
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 22px 0 14px;
}
.registration-intro {
  font-size: 13px;
  margin-bottom: 25px;
}
.registration form > label {
  display: block;
  font-size: 12px;
  color: #46576b;
  font-weight: 650;
  margin: 17px 0;
}
.registration input:not([type="checkbox"]),
.registration select {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 49px;
  border: 1px solid #e0e7ec;
  background: #fff;
  border-radius: 14px;
  margin-top: 9px;
  padding: 13px 14px;
  font: inherit;
  font-size: 13px;
  color: #182635;
}
.registration input:focus,
.registration select:focus {
  outline: 2px solid #10b88a;
  outline-offset: 1px;
}
.registration .form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 400;
}
.form-consent input {
  margin: 4px 0 0;
  accent-color: #0bb68c;
}
.form-safety,
.submission-mode {
  font-size: 10px;
  line-height: 1.6;
  color: #8995a4;
}
.submission-mode {
  padding: 10px 12px;
  border: 1px solid #e5ece9;
  background: #f6faf8;
  border-radius: 12px;
  margin: 18px 0;
}
.form-error {
  color: #bb3345;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.pending-receipt {
  text-align: center;
  padding: 32px 0 15px;
}
.pending-symbol {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5fbf1;
  color: #0ab487;
  font-size: 39px;
  margin: 0 auto 25px;
}
.pending-receipt > p {
  font-size: 13px;
  line-height: 1.7;
}
.receipt-reference {
  text-align: left;
  border: 1px solid #e3eae7;
  border-radius: 16px;
  padding: 16px;
  margin: 24px 0;
}
.receipt-reference small {
  color: #8996a1;
  font-size: 10px;
}
.receipt-reference code {
  display: block;
  font-size: 11px;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: #53657a;
}
.erase-preview {
  background: none;
  border: 0;
  color: #8996a1;
  text-decoration: underline;
  font-size: 10px;
  line-height: 1.5;
  padding: 20px 0 0;
  width: 100%;
}

#language-auto {
  width: 100%;
  border: 1px solid #d9e9e3;
  background: #f2fbf6;
  color: #16836a;
  border-radius: 12px;
  padding: 11px 13px;
  text-align: left;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 14px;
  cursor: pointer;
}
#language-auto[aria-pressed="true"] {
  border-color: #0bb487;
  background: #e8faf0;
}
#lang-list {
  max-height: calc(85vh - 230px);
}
