:root {
  color-scheme: light;
  --ink: #202e3d;
  --body-ink: #556477;
  --label-ink: #5a7085;
  --navy: #2e4262;
  --gold: #f7ad2a;
  --sparkle: #747aa8;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse 34rem 28rem at 7.5% 76%, #b3c5d3 0%, transparent 72%),
    radial-gradient(ellipse 30rem 26rem at 92% -3%, #dec3c2 0%, transparent 77%),
    linear-gradient(115deg, #dae6eb 0%, #e8e6e7 52%, #e6dddf 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

p,
h1 {
  margin: 0;
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.625rem, 5vw, 4rem) clamp(1rem, 5vw, 4.5rem) 2.25rem;
  overflow: clip;
}

.page::before {
  position: absolute;
  z-index: -1;
  top: 30.625rem;
  left: calc(50% + 20rem);
  width: 40.625rem;
  height: 40.625rem;
  border: 1px solid rgb(255 255 255 / 57%);
  border-radius: 50%;
  content: "";
}

.page-header,
.review-panel,
.page-footer {
  width: 100%;
  max-width: 76.125rem;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.company-name {
  min-width: 0;
  font-size: clamp(1.0625rem, 2.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.21;
  letter-spacing: -0.013em;
  overflow-wrap: anywhere;
}

.page-label,
.thank-you-label,
.feedback-note,
.page-footer {
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-label {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1.1875rem;
  color: var(--label-ink);
  letter-spacing: 0.21em;
}

.twinkle {
  display: block;
  width: 0.6875rem;
  height: 0.6875rem;
  background: currentColor;
  clip-path: polygon(50% 0, 64% 35%, 100% 50%, 64% 65%, 50% 100%, 36% 65%, 0 50%, 36% 35%);
}

.review-panel {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6.5vw, 5.875rem);
  margin-top: clamp(2rem, 5.2vw, 4.625rem);
  padding: clamp(1.375rem, 4.9vw, 2.375rem) clamp(1.25rem, 4.9vw, 4.375rem);
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: clamp(1.5rem, 3vw, 2.3125rem);
  background: rgb(255 255 255 / 50%);
  backdrop-filter: blur(0.75rem);
  box-shadow: 0 1px 0 rgb(255 255 255 / 76%) inset, 0 1.75rem 4rem rgb(35 52 72 / 12%);
}

.review-intro {
  min-width: 0;
}

.thank-you-label {
  display: inline-block;
  padding: 0.625rem 1.0625rem;
  border: 1px solid #c3c5ce;
  border-radius: 100vw;
  color: #645f74;
  letter-spacing: 0.23em;
}

.review-intro h1 {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  font-family: Arial, sans-serif;
  font-size: clamp(2.125rem, 4.03vw, 3.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.review-message {
  max-width: 30.625rem;
  margin-top: clamp(1.125rem, 2.15vw, 1.625rem);
  color: var(--body-ink);
  font-size: clamp(1rem, 1.55vw, 1.375rem);
  line-height: 1.5;
}

.feedback-note {
  max-width: 21.25rem;
  margin-top: clamp(1.5rem, 3.15vw, 2.375rem);
  padding-top: 1rem;
  border-top: 1px solid #b2c3d0;
  color: var(--label-ink);
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 100%;
  max-width: 27.1875rem;
  padding: 3rem clamp(1rem, 3vw, 2.375rem) 2.5rem;
  border-radius: clamp(1.25rem, 2.3vw, 1.8125rem);
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 1.25rem 2.75rem rgb(32 46 61 / 12%);
}

.card-sparkle {
  display: block;
  width: 54px;
  height: 54px;
  background: var(--sparkle);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%, 50% 0, 50% 21%, 41% 41%, 21% 50%, 41% 59%, 50% 79%, 59% 59%, 79% 50%, 59% 41%, 50% 21%);
  clip-path: path(evenodd, "M27 0 Q27 24 54 27 Q27 30 27 54 Q27 30 0 27 Q27 24 27 0 Z M27 12 Q30 24 42 27 Q30 30 27 42 Q24 30 12 27 Q24 24 27 12 Z");
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: clamp(0.4375rem, 0.95vw, 0.8125rem);
  margin-top: clamp(1.5rem, 3.1vw, 2.5rem);
}

.review-stars span {
  width: clamp(1.125rem, 1.7vw, 1.5rem);
  aspect-ratio: 1;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 70% 58%, 81% 98%, 50% 74%, 19% 98%, 30% 58%, 0 35%, 38% 35%);
}

.review-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.625rem, 1.2vw, 1rem);
  width: 100%;
  min-height: 5rem;
  margin-top: clamp(1.5rem, 3.1vw, 2.625rem);
  padding: 0.75rem clamp(0.625rem, 1.4vw, 0.9375rem);
  border-radius: 1rem;
  background: var(--navy);
  color: white;
  text-decoration: none;
}

.review-link:hover {
  background: #263954;
}

.review-link:focus-visible {
  outline: 3px solid #4e659a;
  outline-offset: 4px;
}

.google-initial {
  display: grid;
  width: clamp(2.125rem, 5vw, 2.8125rem);
  height: clamp(2.5rem, 6vw, 3.3125rem);
  place-items: center;
  border-radius: 0.625rem;
  background: #fff;
  color: #3c7ff5;
  font: 700 clamp(1.5rem, 4vw, 2.125rem) / 1 Arial, sans-serif;
}

.link-copy {
  justify-self: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.google-word {
  display: block;
  font-size: 1.375rem;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.google-word span:nth-child(1),
.google-word span:nth-child(4) {
  color: #4285f4;
}

.google-word span:nth-child(2),
.google-word span:nth-child(6) {
  color: #ea4335;
}

.google-word span:nth-child(3) {
  color: #fbbc05;
}

.google-word span:nth-child(5) {
  color: #34a853;
}

.link-arrow {
  position: relative;
  width: 1.125rem;
  height: 1.125rem;
}

.link-arrow::before,
.link-arrow::after {
  position: absolute;
  content: "";
}

.link-arrow::before {
  top: 0.1875rem;
  right: 0.25rem;
  width: 0.6875rem;
  height: 0.6875rem;
  border-top: 2px solid;
  border-right: 2px solid;
}

.link-arrow::after {
  right: 0.3125rem;
  bottom: 0.0625rem;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
  translate: 0 -0.8125rem;
}

.page-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  max-width: 62.5rem;
  margin-top: clamp(1.75rem, 4vw, 3.1875rem);
  color: var(--label-ink);
  letter-spacing: 0.135em;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 48rem) {
  .review-intro h1 span {
    display: block;
  }

  .review-intro h1 span:last-child {
    letter-spacing: -0.012em;
  }
}

@media (min-width: 60rem) {
  .review-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40.43%);
    min-height: 33.4375rem;
  }

  .review-card {
    min-height: 23.625rem;
    padding-top: 4.125rem;
    padding-bottom: 3.625rem;
  }

  .review-stars {
    translate: -0.25rem 0;
  }

  .review-link {
    min-height: 5.875rem;
  }

  .link-copy {
    translate: -0.25rem 0;
  }
}

@media (max-width: 28rem) {
  .page {
    padding-top: 1.375rem;
  }

  .review-panel {
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-inline: 1rem;
  }

  .review-card {
    padding-block: 1.5rem 1.625rem;
  }

  .card-sparkle {
    margin-block: -0.375rem;
    scale: 0.8;
  }

  .page-label {
    gap: 0.375rem;
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
  }

  .page-footer,
  .feedback-note {
    font-size: 0.6875rem;
  }

  .feedback-note {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
  }

  .review-stars { margin-top: 1rem; }

  .review-link {
    column-gap: 0.4375rem;
    margin-top: 1.125rem;
  }

  .link-copy {
    font-size: 0.875rem;
  }
}

@media (min-width: 40rem) and (width < 60rem) and (max-height: 34rem) {
  .page { padding-block: 1.25rem; }

  .review-panel {
    grid-template-columns: minmax(0, 1fr) minmax(13.75rem, 43%);
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1.25rem;
  }

  .review-intro h1 { margin-top: 0.875rem; }
  .review-intro h1 span { display: inline; }
  .review-message { margin-top: 0.75rem; }
  .feedback-note { margin-top: 1rem; padding-top: 0.625rem; }
  .review-card { padding: 1.125rem 0.875rem; }
  .card-sparkle { margin-block: -0.375rem; scale: 0.8; }
  .review-stars { margin-top: 0.75rem; }
  .review-link { min-height: 4.125rem; margin-top: 1rem; }
  .page-footer { margin-top: 1rem; }
}
