@font-face {
  font-family: "TT Fors";
  src: url("./assets/fonts/TTFors-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Fors";
  src: url("./assets/fonts/TTFors-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #2b2e37;
  --yellow: #ffc70a;
  --yellow-accent: #fbb918;
  --green: #31bc23;
  --green-dark: #27a11b;
  --blue: #165ea8;
  --grey: #9a9da3;
  --page: #ffffff;

  --container: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--page);
  color: var(--dark);
  font-family: "TT Fors", Verdana, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

button {
  border: none;
  outline: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

ul,
li {
  list-style: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.18);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(14px, 2.4vw, 20px);
}

.header__logo {
  width: clamp(140px, 20vw, 180px);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
}

.burger span {
  display: block;
  width: clamp(34px, 6vw, 42px);
  height: 5px;
  border-radius: 4px;
  background: #dcdde0;
}

.step {
  display: none;
  animation: fade 0.28s ease both;
}

.step.is-active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.step__body {
  padding-block: clamp(28px, 5vw, 64px);
}

.container--narrow {
  max-width: 820px;
}

.step[data-step="start"] .step__body {
  padding-block: clamp(40px, 9vw, 88px);
}

.step[data-step="start"] .title {
  font-size: clamp(56px, 16.5vw, 118px);
}

.step[data-step="start"] .lead {
  font-size: clamp(21px, 6.6vw, 34px);
  line-height: 1.32;
}

.hero {
  width: 100%;
  height: clamp(170px, 34vw, 460px);
  object-fit: cover;
  object-position: center 26%;
}

.display {
  font-weight: 700;
  font-size: clamp(52px, 15vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-align: center;
}

.title {
  font-weight: 700;
  font-size: clamp(42px, 13vw, 104px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.question {
  font-weight: 700;
  font-size: clamp(32px, 10.4vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--yellow-accent);
}

.blue {
  color: var(--blue);
  font-weight: 700;
}

.lead {
  font-weight: 500;
  font-size: clamp(18px, 5.6vw, 30px);
  line-height: 1.3;
}

.lead b {
  font-weight: 700;
}

.lead .accent {
  font-weight: 700;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px, 8vw, 72px);
}

.trust__coat,
.trust__negara {
  width: clamp(120px, 30vw, 190px);
  height: auto;
}

.cta {
  display: flex;
}

.btn {
  display: block;
  width: 100%;
  max-width: 520px;
  padding: clamp(16px, 4.4vw, 26px) clamp(18px, 4vw, 40px);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: clamp(22px, 7.2vw, 34px);
  line-height: 1.12;
  text-align: center;
  letter-spacing: -0.01em;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s ease, transform 0.08s ease;
}

.btn:hover {
  background: var(--green-dark);
}

.btn:active {
  transform: scale(0.99);
}

.btn--wrap {
  max-width: 620px;
  padding-inline: clamp(14px, 3.4vw, 40px);
  font-size: clamp(20px, 6.4vw, 32px);
}

.options {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 4vw, 20px);
  max-width: 680px;
}

.option {
  display: block;
  width: 100%;
  padding: clamp(16px, 4.6vw, 26px) clamp(20px, 5vw, 32px);
  background: var(--yellow);
  color: var(--dark);
  font-weight: 500;
  font-size: clamp(20px, 7vw, 30px);
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s ease, transform 0.08s ease;
}

.option:hover {
  background: var(--yellow-accent);
}

.option:active,
.option.is-picked {
  background: var(--yellow-accent);
  transform: scale(0.99);
}

.counter {
  font-weight: 500;
  font-size: clamp(16px, 5.4vw, 22px);
  color: var(--grey);
}

.loader {
  display: flex;
  gap: 12px;
}

.loader span {
  width: clamp(16px, 4.4vw, 22px);
  height: clamp(16px, 4.4vw, 22px);
  border-radius: 50%;
  background: var(--yellow);
  animation: bounce 1.05s infinite ease-in-out both;
}

.loader span:nth-child(2) {
  animation-delay: 0.16s;
}

.loader span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes bounce {
  0%,
  70%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  35% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.offer {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 4vw, 32px);
}

.offer__photo {
  width: clamp(130px, 37vw, 240px);
  aspect-ratio: 1;
  object-fit: cover;
  flex: none;
}

.offer__name {
  font-weight: 700;
  font-size: clamp(22px, 6.2vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.offer__role {
  margin-top: 0.4em;
  font-weight: 500;
  font-size: clamp(16px, 5vw, 26px);
  line-height: 1.2;
}

.offer__role b {
  font-weight: 700;
}

.price {
  font-weight: 700;
  font-size: clamp(30px, 9vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.footer {
  flex: none;
  background: var(--dark);
  color: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 36px);
  padding-block: clamp(32px, 6vw, 56px);
}

.socials {
  display: flex;
  align-items: center;
  gap: clamp(20px, 5.6vw, 28px);
}

.socials a {
  display: block;
  color: #fff;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.socials a:hover {
  opacity: 0.65;
}

.socials svg {
  display: block;
  width: clamp(26px, 7vw, 34px);
  height: auto;
  fill: currentColor;
}

.footer__logo {
  width: clamp(150px, 38vw, 200px);
  margin-top: clamp(16px, 4vw, 8px);
}

.footer__brand {
  margin-top: clamp(14px, 4vw, 20px);
  font-weight: 700;
  font-size: clamp(15px, 4.4vw, 22px);
  line-height: 1.3;
}

.footer__address {
  font-weight: 500;
  font-size: clamp(15px, 4.4vw, 20px);
  line-height: 1.55;
}

.footer__legal {
  margin-top: clamp(18px, 5vw, 26px);
  font-weight: 500;
  font-size: clamp(15px, 4.4vw, 20px);
  line-height: 1.55;
}

.footer__links {
  margin-top: 4px;
  font-weight: 500;
  font-size: clamp(15px, 4.4vw, 20px);
  line-height: 1.55;
  color: var(--grey);
}

.footer__links a {
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: #fff;
}

.mt-1 { margin-top: clamp(12px, 3vw, 20px); }
.mt-2 { margin-top: clamp(18px, 4vw, 28px); }
.mt-3 { margin-top: clamp(24px, 5vw, 36px); }
.mt-4 { margin-top: clamp(32px, 7vw, 48px); }
.mt-5 { margin-top: clamp(40px, 9vw, 60px); }

@media (min-width: 768px) {

  .home__content {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
  }

  .home__content .lead {
    max-width: 640px;
    margin-inline: auto;
  }

  .cta {
    justify-content: flex-start;
  }

  .home__content .cta,
  .analyzing .cta {
    justify-content: center;
  }

  .offer {
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }

  .footer__col--brand {
    flex: 0 0 auto;
  }

  .footer__col--legal {
    text-align: right;
  }

  .footer__logo {
    margin-top: clamp(20px, 3vw, 28px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer__col--legal {
    text-align: left;
  }
}
