:root {
  color-scheme: light;
  --u: min(0.069444vw, 1px);
  --navy: #102d3d;
  --paper: #f0f5fa;
  --focus: #17659c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

p, h1, h2 { margin: 0; }

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

.stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--star-gap, 0.75rem);
}

.stars > span {
  display: block;
  flex: none;
  inline-size: var(--star-size, 1.5rem);
  aspect-ratio: 1;
  background: var(--star-fill, #f8ae2c);
  clip-path: polygon(50% 0, 62% 35%, 100% 37%, 71% 61%, 81% 99%, 50% 77%, 19% 99%, 29% 61%, 0 37%, 38% 35%);
}

.twinkle {
  display: block;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 38% 64%, 0 50%, 38% 36%);
}

.review-link:focus-visible {
  outline: 3px solid var(--focus, #1769ad);
  outline-offset: 5px;
}

.company-name { overflow-wrap: anywhere; }

.scene {
  display: grid;
  grid-template-columns: 53.47222% minmax(0, 1fr);
  min-height: max(100vh, calc(810 * var(--u)));
  min-height: max(100svh, calc(810 * var(--u)));
}

.message-side, .action-side {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: clip;
}

.message-side {
  display: flex;
  flex-direction: column;
  padding: calc(70 * var(--u)) calc(95 * var(--u)) calc(52 * var(--u)) calc(80 * var(--u));
  background: var(--navy);
  color: #fff;
}

.message-side::after {
  position: absolute;
  inset: auto 0 0 48%;
  height: 29%;
  z-index: -1;
  background: linear-gradient(115deg, #133145, #15374b);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}

.masthead {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
}

.brand-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: calc(48 * var(--u));
  aspect-ratio: 1;
  border-radius: calc(15 * var(--u));
  color: #1b475d;
  background: #d1e5ef;
}

.brand-mark .twinkle { width: 38%; aspect-ratio: 1; }

.company-name {
  min-width: 0;
  font-size: max(1rem, calc(22 * var(--u)));
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.25;
}

.message { margin-top: calc(99 * var(--u)); }

.eyebrow, .card-label, .message-footer, .action-footer {
  font-size: max(0.6875rem, calc(13 * var(--u)));
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.eyebrow {
  color: #81d3e9;
  font-weight: 750;
}

h1 {
  margin-top: calc(27 * var(--u));
  font: 700 max(2.125rem, calc(64 * var(--u))) / 1.115 Arial, sans-serif;
  letter-spacing: -0.028em;
}

h1 span { display: block; }

.feedback {
  max-width: 37rem;
  margin-top: calc(58 * var(--u));
  color: #c3d4df;
  font-size: max(1rem, calc(22 * var(--u)));
  line-height: 1.5;
}

.message-footer {
  display: flex;
  align-items: center;
  gap: calc(21 * var(--u));
  margin-top: auto;
  padding-top: calc(70 * var(--u));
  color: #a9c0cd;
  font-size: max(0.625rem, calc(12 * var(--u)));
}

.footer-rule { flex: 1; height: 1px; background: #405d6b; }

.action-side {
  display: grid;
  align-items: center;
  justify-items: center;
  padding-inline: calc(65 * var(--u)) calc(100 * var(--u));
  background: var(--paper);
}

.action-rings {
  position: absolute;
  top: calc(115 * var(--u));
  right: calc(146 * var(--u));
  width: 0;
  height: 0;
  z-index: -1;
  pointer-events: none;
}

.action-rings span {
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-outer {
  width: calc(768 * var(--u));
  border: 1px solid #a0c1d8;
}

.ring-fill {
  width: calc(510 * var(--u));
  background: #d9e8f3;
}

.ring-inner {
  width: calc(462 * var(--u));
  border: 1px solid rgb(132 174 204 / 43%);
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 31.5625rem;
  min-height: calc(480 * var(--u));
  padding: calc(42 * var(--u));
  border-radius: calc(33 * var(--u));
  background: #fdfdfe;
  box-shadow: 0 calc(24 * var(--u)) calc(65 * var(--u)) rgb(25 55 75 / 13%);
  translate: 0 calc(7 * var(--u));
}

.star-badge {
  display: grid;
  place-items: center;
  width: calc(94 * var(--u));
  aspect-ratio: 1;
  border: 1px solid #b1cfe4;
  border-radius: calc(27 * var(--u));
}

.star-badge > span, .star-badge > span::after {
  clip-path: polygon(50% 0, 62% 36%, 100% 37%, 70% 60%, 81% 98%, 50% 76%, 19% 98%, 30% 60%, 0 37%, 38% 36%);
}

.star-badge > span {
  position: relative;
  width: 53%;
  aspect-ratio: 1;
  background: #267395;
}

.star-badge > span::after {
  position: absolute;
  inset: 26%;
  background: #fdfdfe;
  content: "";
}

.card-label {
  margin-top: calc(26 * var(--u));
  color: #6b8ca1;
  font-weight: 750;
}

.stars {
  --star-size: max(1.125rem, calc(27 * var(--u)));
  --star-gap: calc(13.5 * var(--u));
  margin-top: calc(24 * var(--u));
  translate: calc(-4 * var(--u)) 0;
}

.review-link {
  display: flex;
  align-items: center;
  gap: max(0.5rem, calc(15 * var(--u)));
  width: 100%;
  min-height: calc(85 * var(--u));
  margin-top: calc(43 * var(--u));
  padding: max(0.5rem, calc(12 * var(--u))) max(0.625rem, calc(16 * var(--u)));
  border-radius: calc(16 * var(--u));
  background: #235a7c;
  color: #fff;
  box-shadow: 0 0.75rem 1.375rem rgb(20 62 90 / 14%);
  text-decoration: none;
}

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

.google-initial {
  display: grid;
  flex: none;
  place-items: center;
  width: max(2.125rem, calc(49 * var(--u)));
  min-height: max(2.5rem, calc(56 * var(--u)));
  border-radius: calc(10 * var(--u));
  background: #fff;
  color: #3c7ff5;
  font: 700 max(1.5rem, calc(37 * var(--u))) / 1 Arial, sans-serif;
}

.button-copy {
  font-size: max(0.8125rem, calc(17 * var(--u)));
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.026em;
}

.arrow-ne {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

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

.arrow-ne::before {
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.arrow-ne::after {
  top: 2px;
  right: 2px;
  width: 19px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.review-link .arrow-ne { flex: none; margin-inline-start: auto; }

.action-footer {
  position: absolute;
  right: calc(27 * var(--u));
  bottom: calc(34 * var(--u));
  color: #6b8ca1;
  font-weight: 750;
  letter-spacing: 0.24em;
}

@media (max-width: 52rem) {
  :root { --u: 0.85px; }
  .scene {
    display: block;
    min-height: 100vh;
    min-height: 100svh;
  }
  .message-side { padding: clamp(1.25rem, 6vw, 3rem); }
  .message { margin-top: clamp(2rem, 7vw, 4rem); }
  h1 span { display: inline; }
  .feedback { margin-top: 1.5rem; }
  .message-footer { padding-top: 2rem; }
  .action-side { padding: clamp(1.25rem, 6vw, 3rem) clamp(1rem, 6vw, 2.5rem) 3.25rem; }
  .review-card {
    min-height: 0;
    padding: clamp(1.125rem, 5vw, 2.25rem);
    translate: none;
  }
  .review-link { margin-top: 1.5rem; }
  .action-footer { right: 1rem; bottom: 1rem; }
}

@media (max-width: 31rem) {
  :root { --u: 0.75px; }
  .message { margin-top: 1.5rem; }
  h1 { margin-top: 1rem; font-size: clamp(2rem, 8.5vw, 2.625rem); }
  .feedback { margin-top: 1.125rem; }
  .message-footer { padding-top: 1.25rem; }
  .action-side { padding-top: 1rem; }
  .star-badge { width: 3.25rem; }
  .card-label, .stars { margin-top: 0.875rem; }
  .review-link { margin-top: 1rem; }
}

@media (min-width: 34rem) and (max-width: 52rem) and (max-height: 34rem) {
  :root { --u: 0.6px; }
  .scene { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-side, .action-side { padding: 1rem; }

  .message { margin-top: 1.25rem; }
  h1 { margin-top: 0.75rem; font-size: clamp(1.875rem, 4.25vw, 2.625rem); }
  .feedback { margin-top: 0.875rem; }
  .message-footer { padding-top: 1.125rem; }

  .action-side { padding-bottom: 2.25rem; }
  .review-card { padding: 0.875rem; }
  .star-badge { width: 3.25rem; }
  .card-label, .stars, .review-link { margin-top: 0.875rem; }
}
