:root {
  --teal: #81c9c0;
  --dark-teal: #458d84;
  --teal-text: #37716a;
  --orange: #faab5c;
  --white: #fff;
  --text: #666c8d;
  --mint: #dbf0ed;
  --soft-mint: #f1f9f8;
  --soft-orange: #fef7ef;
  --line: #d7ece9;
  --radius: 24px;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--soft-mint);
  font-family: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.success-nav {
  position: relative;
  z-index: 10;
  height: 60px;
  padding: 0 clamp(1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--teal);
}

.success-nav__logo {
  position: absolute;
  left: clamp(1rem, 5vw, 4rem);
  top: 0;
  padding: 10px 16px 12px;
  background: var(--white);
  border: 1px solid var(--teal);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 2px 3px 0 rgba(69, 141, 132, .25);
}

.success-nav__logo img { width: 103px; height: auto; }
.success-nav > p { color: var(--white); font-size: 1rem; font-weight: 700; }

.success-page { overflow: hidden; }

.success-hero {
  position: relative;
  min-height: 475px;
  padding: 90px 24px 125px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--teal);
  isolation: isolate;
}

.success-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -3%;
  right: -3%;
  bottom: -48px;
  height: 100px;
  background: var(--soft-mint);
  border-radius: 50% 50% 0 0 / 75% 75% 0 0;
}

.success-hero__content { width: min(690px, 100%); }

.success-badge {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 7px 16px 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dark-teal);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(69, 141, 132, .22);
}

.success-badge__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark-teal);
}

.success-badge__icon svg { width: 20px; fill: none; stroke: white; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.success-hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -2px;
}

.success-hero h1 span { color: var(--orange); }

.success-hero__character {
  position: absolute;
  z-index: -1;
  width: clamp(75px, 10vw, 135px);
  filter: drop-shadow(5px 8px 0 rgba(69,141,132,.2));
}

.success-hero__character--left { left: max(3vw, 20px); bottom: 85px; transform: rotate(-8deg); }
.success-hero__character--right { right: max(3vw, 20px); top: 80px; transform: rotate(7deg); }

.next-steps {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 32px));
  margin: -52px auto 80px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border-radius: 32px;
  box-shadow: 12px 12px 0 rgba(219, 240, 237, .95);
}

.next-steps__header { text-align: center; }
.next-steps__eyebrow { color: var(--orange); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .7px; }
.next-steps__header h2 { margin-top: 3px; color: var(--dark-teal); font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.15; }

.steps-list {
  position: relative;
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 118px;
  padding: 22px 24px 22px 88px;
  display: flex;
  align-items: center;
  background: var(--soft-mint);
  border: 2px solid transparent;
  border-radius: 20px;
}

.step-card__number {
  position: absolute;
  left: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border: 3px solid var(--white);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--mint);
}

.step-card h3 { color: var(--teal-text); font-size: 1.28rem; line-height: 1.25; }
.step-card p { margin-top: 4px; font-size: 1.02rem; }
.step-card strong { color: var(--dark-teal); font-weight: 800; }

.step-card--important { background: var(--soft-orange); border-color: #f9d7b3; }
.step-card--important .step-card__number { background: var(--orange); box-shadow: 3px 3px 0 #f8e3cd; }
.step-card--important strong { color: #d4772f; }
.important-label {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 10px;
  color: #b96526;
  background: #fde3c7;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.install-area { margin-top: 32px; text-align: center; }
.btn-install {
  min-width: min(100%, 330px);
  padding: 17px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: var(--orange);
  border: 4px solid var(--white);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--mint);
  font-size: 1.4rem;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-install:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--mint); }
.btn-install:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--mint); }
.btn-install:focus-visible { outline: 3px solid var(--dark-teal); outline-offset: 4px; }
.install-area > p { margin-top: 13px; font-size: .98rem; }
.install-area > p a { color: var(--dark-teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.help-card {
  margin-top: 38px;
  padding: 26px 0 0;
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 2px dashed var(--line);
}

.help-card__icon {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #9186ae;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 800;
}

.help-card h2 { color: #665b82; font-size: 1.22rem; }
.help-card p { margin-top: 2px; font-size: .98rem; }
.help-card a { color: #665b82; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.footer__top { padding: 24px clamp(1rem, 4vw, 2.25rem); background: var(--teal); }
.footer__top-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__logo img { width: auto; height: 48px; }
.footer__nav { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); color: var(--dark-teal); font-weight: 700; }
.footer__nav a { transition: opacity .15s ease; }
.footer__nav a:hover { opacity: .7; }
.footer__bottom { padding: 16px clamp(1rem, 4vw, 2.25rem); color: var(--white); background: var(--dark-teal); border-top: 4px solid var(--teal); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.footer__dot { width: 4px; height: 4px; flex: none; background: var(--white); transform: rotate(45deg); }

@media (max-width: 680px) {
  .success-nav { height: 54px; }
  .success-nav__logo { padding: 8px 12px 10px; }
  .success-nav__logo img { width: 88px; }
  .success-nav > p { font-size: .88rem; }

  .success-hero { min-height: 430px; padding: 80px 20px 110px; }
  .success-hero h1 { font-size: clamp(2.65rem, 13vw, 3.7rem); letter-spacing: -1px; }
  .success-hero__character { width: 72px; opacity: .55; }
  .success-hero__character--left { left: -12px; bottom: 77px; }
  .success-hero__character--right { right: -10px; top: 72px; }

  .next-steps { width: calc(100% - 24px); margin-bottom: 42px; padding: 28px 16px; border-radius: 24px; box-shadow: 7px 7px 0 rgba(219,240,237,.95); }
  .steps-list { margin-top: 28px; }
  .step-card { min-height: 0; padding: 20px 16px 20px 67px; align-items: flex-start; border-radius: 16px; }
  .step-card__number { left: 14px; top: 18px; width: 40px; height: 40px; font-size: 1.05rem; }
  .step-card h3 { font-size: 1.12rem; }
  .step-card p { font-size: .95rem; line-height: 1.55; }
  .btn-install { width: 100%; min-width: 0; font-size: 1.25rem; }
  .help-card { padding-top: 22px; align-items: flex-start; }
  .footer__top-inner { flex-direction: column; }
  .footer__logo { display: flex; justify-content: center; width: 100%; }
  .footer__nav { width: 100%; justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
