@font-face {
  font-family: "Goldplay";
  src: url("/fonts/Goldplay/Goldplay%20Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goldplay";
  src: url("/fonts/Goldplay/Goldplay%20SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goldplay";
  src: url("/fonts/Goldplay/Goldplay%20Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goldplay";
  src: url("/fonts/Goldplay/Goldplay%20Black.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --pet-bg: #f8f9f7;
  --pet-surface: #ffffff;
  --pet-surface-soft: #e8f3f0;
  --pet-surface-soft-2: #edf5f2;
  --pet-teal: #24cba1;
  --pet-teal-dark: #1cb793;
  --pet-navy: #0b2d63;
  --pet-text: #111111;
  --pet-muted: #707070;
  --pet-border: #d4dbe3;
  --pet-border-soft: #e6eaee;
  --pet-danger: #f05b67;
  --pet-shadow: 0 18px 50px rgba(16, 44, 95, 0.13);
  --pet-shadow-soft: 0 10px 30px rgba(16, 44, 95, 0.08);
  --pet-font: "Goldplay", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0 !important;
  font-family: var(--pet-font);
  font-weight: 400;
  color: var(--pet-text);
  background: var(--pet-bg);
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-wrap: balance;
}

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

a:hover {
  color: var(--pet-teal);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
  text-wrap: auto;
}

.has-js .pet-step {
  display: none;
}

.has-js .pet-step.is-active {
  display: block;
}

/* Funnel */
.pet-funnel {
  position: relative;
  flex: 1 0 auto;
  overflow: clip;
  padding: clamp(48px, 7vh, 78px) 0 36px;
}

.pet-funnel__container {
  position: relative;
  z-index: 1;
}

.pet-funnel__glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: rgba(36, 203, 161, 0.28);
  filter: blur(0.5px);
  pointer-events: none;
}

.pet-funnel__glow--top {
  width: 154px;
  height: 154px;
  top: -54px;
  right: -78px;
}

.pet-funnel__glow--bottom {
  width: 110px;
  height: 110px;
  left: -48px;
  bottom: 44px;
  opacity: 0.32;
}

.pet-landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 620px);
  gap: 36px;
  align-items: center;
}

.pet-landing__copy {
  position: relative;
  min-width: 0;
  padding-top: 18px;
}

.pet-landing__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 36px;
}

.pet-landing__logo img {
  display: block;
  width: 230px;
}

.pet-landing__title {
  margin: 0;
  color: var(--pet-navy);
  font-size: clamp(44px, 3.6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 520px;
  text-wrap: balance;
}

.pet-landing__title-line {
  display: block;
}

.pet-landing__title-accent {
  color: var(--pet-teal);
}

.pet-landing__figure {
  position: relative;
  width: min(100%, 610px);
  margin-top: 25px;
  z-index: -1;
}

.pet-landing__figure img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

.pet-landing__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(36, 203, 161, 0.26);
  pointer-events: none;
}

.pet-landing__blob--one {
  width: 240px;
  height: 240px;
  left: 22px;
  bottom: 44px;
}

.pet-landing__blob--two {
  width: 160px;
  height: 160px;
  right: 28px;
  top: 10px;
}

.pet-landing__panel {
  position: relative;
}

/* Form card */
.pet-form__logo {
  display: none;
}

.pet-form {
  position: relative;
  z-index: 2;
  padding: 38px 42px 34px;
  background: var(--pet-surface);
  border-radius: 34px;
  box-shadow: var(--pet-shadow);
}

.pet-form__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.pet-form__track {
  display: flex;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.pet-form__bar {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: #edf2f3;
  transition: background-color 0.25s ease;
}

.pet-form__bar.is-active {
  background: var(--pet-teal);
}

.pet-form__label {
  white-space: nowrap;
  color: var(--pet-text);
  font-size: 18px;
  font-weight: 400;
}

body:not(.is-pet-step-1) .pet-funnel {
  padding-top: 34px;
  padding-bottom: 54px;
}

body:not(.is-pet-step-1) .pet-funnel__glow {
  display: none;
}

body:not(.is-pet-step-1) .pet-landing {
  display: block;
  min-height: 0;
}

body:not(.is-pet-step-1) .pet-landing__copy {
  display: none;
}

body:not(.is-pet-step-1) .pet-landing__panel {
  width: min(100%, 700px);
  margin: 0 auto;
}

body:not(.is-pet-step-1) .pet-form {
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

body:not(.is-pet-step-1) .pet-form__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

body:not(.is-pet-step-1) .pet-form__logo img {
  display: block;
  width: 236px;
}

body:not(.is-pet-step-1) .pet-form__progress {
  margin-bottom: 34px;
}

body:not(.is-pet-step-1) .pet-step__head {
  margin-bottom: 34px;
}

body:not(.is-pet-step-1) .pet-step__title {
  font-size: 26px;
  line-height: 1.08;
}

body:not(.is-pet-step-1) .pet-option__label {
  min-height: 51px;
  padding-left: 20px;
}

body:not(.is-pet-step-1) .pet-field input {
  height: 61px;
}

body:not(.is-pet-step-1) .pet-field__icon,
body:not(.is-pet-step-1) .pet-field__status {
  top: 30.5px;
}

body:not(.is-pet-step-1) .pet-step__actions {
  margin-top: 50px;
}

body.is-pet-step-3 .pet-step__actions,
body.is-pet-step-4 .pet-step__actions {
  margin-top: 235px;
}

body.is-pet-step-5 .pet-step__actions {
  margin-top: 138px;
}

body:not(.is-pet-step-1) .pet-step__privacy {
  margin-top: 44px;
}

.pet-step {
  display: none;
}

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

.pet-step__head {
  margin-bottom: 26px;
}

.pet-step__title {
  margin: 0;
  color: var(--pet-navy);
  font-size: clamp(28px, 2.1vw, 41px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.pet-step__subtitle {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.12;
  color: var(--pet-text);
}

.pet-options {
  display: grid;
  gap: 13px;
}

.pet-options--dense {
  gap: 12px;
}

.pet-option {
  position: relative;
}

.pet-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.pet-option__label {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--pet-border);
  border-radius: 12px;
  background: var(--pet-surface);
  color: var(--pet-text);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pet-option__label:hover {
  border-color: rgba(36, 203, 161, 0.72);
  box-shadow: 0 0 0 1px rgba(36, 203, 161, 0.08);
}

.pet-option__bullet {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.6px solid #ced5df;
  background: #fff;
}

.pet-option__bullet::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--pet-teal);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.pet-option input:checked + .pet-option__label {
  border-color: var(--pet-teal);
  background: #fbfefe;
}

.pet-option input:checked + .pet-option__label .pet-option__bullet {
  border-color: var(--pet-teal);
}

.pet-option input:checked + .pet-option__label .pet-option__bullet::after {
  opacity: 1;
  transform: scale(1);
}

.pet-option__text {
  font-size: 17px;
  line-height: 1.2;
}

.pet-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 16px;
  background: var(--pet-surface-soft);
  border-radius: 12px;
}

.pet-callout img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.pet-callout p {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.25;
}

.pet-fields {
  display: grid;
  gap: 13px;
}

.pet-field {
  position: relative;
}

.pet-field input {
  width: 100%;
  height: 60px;
  padding: 0 22px 0 56px;
  border: 1px solid var(--pet-border);
  border-radius: 12px;
  background: var(--pet-surface);
  color: var(--pet-text);
  font-size: 17px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pet-field input::placeholder {
  color: #a8adb4;
}

.pet-field input:focus {
  border-color: var(--pet-teal);
  box-shadow: 0 0 0 3px rgba(36, 203, 161, 0.12);
}

.pet-field__icon,
.pet-field__status {
  position: absolute;
  top: 30px;
  transform: translateY(-50%);
  pointer-events: none;
}

.pet-field__icon {
  left: 18px;
  width: 20px;
  height: 20px;
}

.pet-field__status {
  right: 18px;
  width: 18px;
  height: 18px;
}

.pet-field--status input {
  padding-right: 48px;
}

.pet-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
}

.pet-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pet-check__box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1px solid var(--pet-border);
  background: #fff;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.pet-check input:checked + .pet-check__box {
  border-color: var(--pet-teal);
  background: var(--pet-teal);
}

.pet-check input:checked + .pet-check__box::after {
  content: "✓";
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

.pet-check__text {
  font-size: 16px;
  line-height: 1.35;
}

.pet-check__text a {
  color: var(--pet-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pet-step__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
}

.pet-step__actions--single {
  justify-content: center;
}

.pet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 58px;
  min-width: 230px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid var(--pet-teal);
  background: transparent;
  color: var(--pet-teal);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.pet-btn img {
  flex: 0 0 auto;
  width: 20px;
  height: 14px;
}

.pet-btn:hover {
  transform: translateY(-1px);
}

.pet-btn--primary {
  background: var(--pet-teal);
  color: #fff;
  border-color: var(--pet-teal);
  box-shadow: 0 10px 20px rgba(36, 203, 161, 0.18);
}

.pet-btn--primary:hover {
  background: var(--pet-teal-dark);
  border-color: var(--pet-teal-dark);
  color: #fff;
}

.pet-btn--ghost {
  background: #fff;
  color: var(--pet-teal);
}

.pet-btn--ghost:hover {
  border-color: var(--pet-teal-dark);
  color: var(--pet-teal-dark);
}

.pet-btn--submit {
  min-width: 318px;
}

.pet-step__privacy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--pet-navy);
  font-size: 14px;
  line-height: 1.15;
}

.pet-step__privacy img {
  width: 14px;
  height: 18px;
  margin-top: -1px;
}

label.error {
  display: block;
  margin: 8px 0 0;
  color: var(--pet-danger);
  font-size: 12px;
  line-height: 1.2;
}

.pet-options label.error {
  grid-column: 1 / -1;
  padding-left: 6px;
}

.pet-option input.error + .pet-option__label {
  border-color: var(--pet-danger);
}

.pet-field input.error {
  border-color: var(--pet-danger);
  box-shadow: none;
}

.pet-check input.error + .pet-check__box {
  border-color: var(--pet-danger);
}

.pet-check label.error,
.pet-check input.error + .pet-check__box + .pet-check__text + label.error {
  margin-left: 30px;
}

/* Result pages */
.pet-result {
  position: relative;
  flex: 1 0 auto;
  overflow: clip;
  padding: 24px 0 34px;
}

.pet-result__container {
  position: relative;
  z-index: 1;
}

.pet-result__glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(36, 203, 161, 0.28);
  pointer-events: none;
}

.pet-result__glow--top {
  width: 146px;
  height: 146px;
  top: -62px;
  right: -72px;
}

.pet-result__glow--bottom {
  width: 118px;
  height: 118px;
  left: -42px;
  bottom: 42px;
  opacity: 0.28;
}

.pet-result__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

.pet-result__logo {
  display: inline-flex;
  margin-bottom: 28px;
}

.pet-result__logo img {
  width: 230px;
}

.pet-result__badge {
  display: block;
  margin-bottom: 24px;
}

.pet-result__badge img {
  display: block;
  width: 100px;
  height: auto;
}

.pet-result__title {
  margin: 0;
  color: var(--pet-navy);
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.pet-result__lead {
  max-width: 820px;
  margin: 12px auto 0;
  color: var(--pet-teal);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pet-result__text {
  max-width: 730px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.24;
}

.pet-result__accent {
  color: var(--pet-teal);
  font-weight: 800;
}

.pet-result__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 42px;
  background: var(--pet-surface-soft-2);
  border-radius: 30px;
  padding: 34px 10px 30px;
}

.pet-result__cards--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.pet-result-card {
  position: relative;
  padding: 0 32px;
}

.pet-result-card--divider::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: rgba(11, 45, 99, 0.7);
}

.pet-result-card__icon {
  display: block;
  width: 70px;
  margin: 0 auto 12px;
}

.pet-result-card__title {
  margin: 0;
  color: var(--pet-navy);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.pet-result-card__text {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.16;
}

.pet-result-card--single {
  padding: 0;
}

.pet-result__privacy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--pet-navy);
  font-size: 15px;
  line-height: 1.12;
  text-align: left;
}

.pet-result__privacy img {
  width: 14px;
  height: 18px;
  margin-top: 2px;
}

/* Footer */
#section-ads {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 30px 0;
  background: #ffffff;
  border-top: 1px solid #f0f2f4;
  text-align: center;
}

.adstrategy-lockup {
  display: inline-block;
}

.adstrategy-lockup img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .pet-landing {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    gap: 24px;
  }

  .pet-landing__logo img,
  .pet-result__logo img {
    width: 208px;
  }

  .pet-form {
    padding: 32px 30px 28px;
  }

  .pet-result__cards {
    padding-left: 0;
    padding-right: 0;
  }

  .pet-result-card {
    padding: 0 22px;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .pet-funnel {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .pet-landing {
    gap: 30px;
  }

  .pet-landing__copy {
    padding-top: 0;
  }

  .pet-landing__logo {
    margin-bottom: 26px;
  }

  .pet-landing__logo img {
    width: 205px;
  }

  .pet-landing__title {
    font-size: clamp(42px, 3.25vw, 54px);
  }

  .pet-landing__figure {
    width: min(100%, 560px);
    margin-top: -10px;
  }

  .pet-form {
    padding: 30px 42px 28px;
  }

  .pet-form__progress {
    margin-bottom: 30px;
  }

  .pet-step__head {
    margin-bottom: 22px;
  }

  .pet-option__label {
    min-height: 48px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .pet-step__actions {
    margin-top: 30px;
  }

  .pet-btn {
    height: 56px;
  }

  .pet-step__privacy {
    margin-top: 16px;
  }

  #section-ads {
    padding: 22px 0;
  }

  .adstrategy-lockup img {
    width: 170px;
  }
}

@media (max-width: 991.98px) {
  .pet-funnel {
    padding-bottom: 24px;
  }

  .pet-landing {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pet-landing__copy {
    padding-top: 0;
    text-align: center;
  }

  .pet-landing__logo {
    justify-content: center;
    margin-bottom: 24px;
  }

  .pet-landing__title {
    max-width: 560px;
    margin: 0 auto;
  }

  .pet-landing__figure {
    width: min(100%, 560px);
    margin: 8px auto 0;
  }

  .pet-funnel__glow--top {
    width: 120px;
    height: 120px;
    top: -46px;
    right: -54px;
  }

  .pet-funnel__glow--bottom {
    left: -56px;
    bottom: 10px;
  }

  .pet-result__cards {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 0;
  }

  .pet-result-card {
    padding: 18px 28px;
  }

  .pet-result-card--divider::after {
    top: 0;
    bottom: auto;
    left: 28px;
    right: 28px;
    width: auto;
    height: 1px;
  }

  .pet-result__cards--single {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .pet-form {
    padding: 24px 18px 22px;
    border-radius: 26px;
  }

  .pet-form__progress {
    gap: 12px;
    margin-bottom: 24px;
  }

  .pet-form__label {
    font-size: 14px;
  }

  .pet-step__title {
    font-size: 26px;
  }

  .pet-step__subtitle {
    font-size: 18px;
  }

  .pet-option__label {
    min-height: 46px;
    gap: 12px;
    padding: 10px 14px;
  }

  .pet-option__text,
  .pet-callout p,
  .pet-field input,
  .pet-check__text,
  .pet-step__privacy,
  .pet-step__privacy p {
    font-size: 15px;
  }

  .pet-field input {
    height: 54px;
    padding-left: 48px;
  }

  .pet-btn {
    width: 100%;
    min-width: 0;
  }

  .pet-step__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pet-step__actions--single {
    align-items: center;
  }

  .pet-step__actions--single .pet-btn {
    width: 100%;
  }

  .pet-result__title {
    font-size: 30px;
  }

  .pet-result__lead {
    font-size: 22px;
  }

  .pet-result__text {
    font-size: 16px;
  }

  .pet-result__logo {
    margin-bottom: 22px;
  }

  .pet-result__badge {
    margin-bottom: 18px;
  }

  .pet-result__badge img {
    width: 84px;
  }

  .pet-result__privacy {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .pet-landing__logo img,
  .pet-result__logo img {
    width: 198px;
  }

  .pet-landing__title {
    font-size: clamp(34px, 8.8vw, 44px);
    max-width: 420px;
  }

  .pet-landing__figure {
    width: 100%;
    margin-top: 6px;
  }

  .pet-landing__blob--one {
    width: 180px;
    height: 180px;
    left: 10px;
    bottom: 30px;
  }

  .pet-landing__blob--two {
    width: 120px;
    height: 120px;
    right: 10px;
    top: 0;
  }

  .pet-callout {
    padding: 10px 12px;
  }

  .pet-callout img {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .pet-result__cards {
    margin-top: 32px;
  }

  .pet-result-card {
    padding: 16px 18px;
  }

  .pet-result-card__title {
    font-size: 20px;
  }

  .pet-result-card__text {
    font-size: 16px;
  }
}
