:root {
  color-scheme: light;
  --u: clamp(0.66px, 0.05981vw, 1px);
  --navy: #0b2234;
  --focus: #194b7c;
  --google-size: calc(96 * var(--u));
  --star-size: calc(45 * var(--u));
  --star-gap: calc(9 * var(--u));
  --star-fill: linear-gradient(150deg, #ffe066, #ffbb11 45%, #eda107 85%);
}

* { 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; }

body {
  color: var(--navy);
  background: radial-gradient(ellipse at 46% 73%, #2d4c5d 6%, #162d39 54%, #101e29 95%);
}

.scene {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: max(100vh, calc(941 * var(--u)));
  min-height: max(100svh, calc(941 * var(--u)));
  padding: calc(34 * var(--u)) clamp(1rem, 6vw, 7rem) calc(85 * var(--u));
}

.scenery { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.scenery span { position: absolute; }

.upper-fold {
  inset: 0 auto auto 0;
  width: 36%;
  height: 30%;
  background: linear-gradient(146deg, #263e4e, #17303a 42%, #436171 69%, #142a37 89%);
  clip-path: polygon(0 0, 100% 0, 75% 32%, 38% 53%, 0 71%);
  clip-path: shape(from 0 0, line to 100% 0, curve to 40% 46% with 74% 37% / 68% 36%, curve to 0 71% with 24% 52% / 10% 51%, close);
}

.upper-rim {
  top: 0;
  left: 0;
  width: 36%;
  height: 32%;
  mask-image: linear-gradient(#000 66%, transparent 97%);
  background: linear-gradient(137deg, transparent 18%, #6d532d 24%, #dba84e 39%, #fff3c6 53%, #f0bf65 68%, transparent 82%);
  clip-path: polygon(1% 100%, 22% 51%, 40% 26%, 68% 0, 69% 0, 41% 27%, 23% 52%, 2% 100%);
  clip-path: shape(from 2% 100%, curve to 69% 0 with 14% 55% / 43% 29%, line to 68% 0, curve to 1.4% 100% with 41.5% 28% / 13.4% 55%, close);
}

.upper-glint, .lower-glint {
  width: 26%;
  height: 6.5%;
  border-radius: 50%;
  transform: rotate(-25deg);
  background: radial-gradient(ellipse, #fff 1%, #fff0bd 9%, #efab37a6 23%, #d6903c4d 43%, transparent 72%);
  mix-blend-mode: screen;
}

.upper-glint { top: 5%; left: 2.9%; }

.paper {
  position: absolute;
  inset: calc(-58 * var(--u)) auto calc(-158 * var(--u));
  left: 50%;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 48% at 0% 11%, rgb(135 150 167 / 31%) 0%, transparent 75%),
    radial-gradient(ellipse 36% 62% at 104% 48%, rgb(152 157 170 / 19%) 0%, transparent 79%),
    radial-gradient(ellipse at 52% 37%, #fdfbfb 0%, #f8f6f6 40%, #e9e8e9 78%, #cacbcd 100%);
  clip-path: polygon(0 9%, 14% 3%, 33% 0, 79% 0, 94% 3%, 100% 6%, 100% 78%, 78% 92%, 68% 94%, 33% 100%, 15% 93%, 0 80%);
  clip-path: shape(from 0 8.8%, curve to 33% 0 with 10% 2% / 23% 0%, line to 78% 0, curve to 100% 6% with 87% 0 / 95% 2%, line to 100% 78%, curve to 72% 94% with 92% 80% / 85% 88%, curve to 33.5% 100% with 59% 93% / 50% 98%, curve to 0 80% with 19% 96% / 7% 86%, close);
}

.paper::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff9 0%, #fff7 65%, #fff8 78%, #fff8e6 92%, #ffe6ae);
  clip-path: polygon(0 8.8%, 14% 3%, 33% 0, 78% 0, 94% 3%, 100% 6%, 100% 6.4%, 94% 3.4%, 78% 0.4%, 33% 0.4%, 14% 3.4%, 0 9.2%);
  clip-path: shape(from 0 8.8%, curve to 33% 0 with 10% 2% / 23% 0%, line to 78% 0, curve to 100% 6% with 87% 0 / 95% 2%, line to 100% 6.4%, curve to 78% 0.4% with 95% 2.4% / 87% 0.4%, line to 33% 0.4%, curve to 0 9.2% with 23% 0.4% / 10% 2.4%, close);
  content: "";
}

.paper-glint {
  position: absolute;
  z-index: -3;
  top: calc(-128 * var(--u));
  right: calc(-9vw);
  width: min(37vw, 39rem);
  height: calc(119 * var(--u));
  transform: rotate(6deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at 68% 64%, #fff0cdd0 2%, #dbab7ba6 26%, #a7856b72 46%, transparent 75%);
  pointer-events: none;
}

.lower-fold {
  inset: auto 0 0;
  height: 20%;
  background:
    radial-gradient(ellipse at 8% 106%, #0a1b26 1%, transparent 38%),
    radial-gradient(ellipse at 48% 104%, #1b323e, transparent 33%),
    linear-gradient(157deg, #112938 0%, #29485a 32%, #0b202e 48%, #17303d 70%, #0a1d29 93%);
  clip-path: polygon(0 29%, 12% 53%, 34% 83%, 58% 73%, 83% 40%, 100% 35%, 100% 100%, 0 100%);
  clip-path: shape(from 0 29%, curve to 34% 81% with 8% 46% / 23% 71%, curve to 72% 61% with 51% 78% / 58% 57%, curve to 100% 34% with 86% 41% / 94% 30%, line to 100% 100%, line to 0 100%, close);
}

.lower-rim {
  right: 0;
  bottom: 0;
  width: 49%;
  height: 21%;
  background: linear-gradient(133deg, #47535d 10%, #997b51 42%, #e0ab50 64%, #fff1c3 69%, #ccb288 75%, #7d7268 94%);
  clip-path: polygon(0 100%, 31% 85%, 67% 29%, 100% 4%, 100% 42%, 77% 39%, 43% 62%, 27% 84%, 6% 100%);
  clip-path: shape(from 0 100%, curve to 100% 5% with 42% 81% / 66% 22%, line to 100% 45%, curve to 4% 100% with 59% 20% / 35% 98%, close);
}

.lower-glint { right: 9.3%; bottom: 5.2%; transform: rotate(-13deg); }

.masthead { color: #f8f7f8; text-align: center; }

.rhombus-mark {
  display: block;
  width: calc(126 * var(--u));
  height: calc(94 * var(--u));
  margin-inline: auto;
  filter: drop-shadow(0 4px 5px rgb(0 0 0 / 15%));
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(30 * var(--u));
  max-width: 72rem;
  margin: calc(9 * var(--u)) auto 0;
}

.brand-line > span {
  flex: 0 0 calc(70 * var(--u));
  height: max(2px, calc(3 * var(--u)));
  background: linear-gradient(90deg, #a17020, #ffd56c);
}

.brand-line > span:last-child { background: linear-gradient(90deg, #ffd56c, #a17020); }

.company-name {
  min-width: 0;
  font-size: max(1.4rem, calc(44.5 * var(--u)));
  line-height: 1.185;
  font-weight: 650;
  letter-spacing: -0.008em;
}

.review-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(92 * var(--u));
  text-align: center;
}

h1 {
  max-width: 72rem;
  font-family: Arial, sans-serif;
  font-size: max(1.875rem, calc(58 * var(--u)));
  font-weight: 750;
  line-height: 1.063;
  letter-spacing: -0.002em;
}

.gold-rule {
  width: calc(134 * var(--u));
  height: max(4px, calc(8 * var(--u)));
  margin-top: calc(23 * var(--u));
  border-radius: 999px;
  background: linear-gradient(90deg, #d2a02c, #e2ad3d, #d2a02c);
}

.feedback {
  max-width: calc(935 * var(--u));
  margin-top: calc(28 * var(--u));
  font-size: max(1rem, calc(28 * var(--u)));
  font-weight: 560;
  line-height: 1.36;
  letter-spacing: -0.006em;
}

.star-trail, .page-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: calc(26 * var(--u));
}

.star-trail {
  width: min(100%, calc(770 * var(--u)));
  margin-top: calc(40 * var(--u));
}

.trail-line { height: max(1px, calc(2.5 * var(--u))); background: #b9b9be; }

.google-mark {
  position: relative;
  display: block;
  width: var(--google-size);
  aspect-ratio: 1;
}

.google-mark::before,
.google-mark::after {
  position: absolute;
  content: "";
}

.google-mark::before {
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    #ed382b 0deg 43deg,
    transparent 43deg 79deg,
    #347ff6 79deg 137deg,
    #2caa50 137deg 229deg,
    #ffbb05 229deg 300deg,
    #ed382b 300deg
  );
  mask-image: radial-gradient(circle, transparent 0 40%, #000 41%);
}

.google-mark::after {
  top: 42%;
  right: 0;
  width: 49%;
  height: 19%;
  background: #347ff6;
}
.google-word { display: inline-block; white-space: nowrap; }
.google-word span:nth-child(1), .google-word span:nth-child(4) { color: #367ff5; }
.google-word span:nth-child(2), .google-word span:nth-child(6) { color: #ed382b; }
.google-word span:nth-child(3) { color: #ffb500; }
.google-word span:nth-child(5) { color: #2ca64d; }

.review-link {
  display: grid;
  grid-template-columns: calc(194 * var(--u)) minmax(0, 1fr) calc(142 * var(--u));
  align-items: center;
  width: min(100%, calc(734 * var(--u)));
  min-height: max(4.5rem, calc(158 * var(--u)));
  margin-top: calc(24 * var(--u));
  padding: calc(10 * var(--u)) 0;
  border: max(2px, calc(4 * var(--u))) solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#fefefe, #fbfaf9) padding-box,
    linear-gradient(175deg, #ffefaf, #ffdd76 35%, #d29725 67%, #765014 94%) border-box;
  color: var(--navy);
  box-shadow: 0 calc(12 * var(--u)) calc(18 * var(--u)) rgb(109 66 6 / 29%);
  text-decoration: none;
}

.review-link:hover {
  background:
    linear-gradient(#fff, #f9f5ed) padding-box,
    linear-gradient(175deg, #ffefaf, #f0be4a 48%, #8f641c 94%) border-box;
}

.brand-cell {
  display: grid;
  place-items: center;
  min-height: calc(95 * var(--u));
  padding-left: calc(26 * var(--u));
  border-right: 2px solid #aaabad;
}

.button-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-inline: calc(12 * var(--u));
  font-family: Arial, sans-serif;
  font-size: max(0.9375rem, calc(34 * var(--u)));
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-align: center;
}

.google-word {
  font-size: max(1.55rem, calc(75 * var(--u)));
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.arrow-disc {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, max(2rem, calc(83 * var(--u))));
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(#f4c353, #c99330 45%, #80510e 88%);
  color: #fffcf4;
}

.arrow-disc span {
  position: relative;
  left: -7%;
  width: 33%;
  aspect-ratio: 1;
  border-top: max(2px, calc(5 * var(--u))) solid;
  border-right: max(2px, calc(5 * var(--u))) solid;
  transform: rotate(45deg);
}

.page-footer {
  width: min(100%, calc(700 * var(--u)));
  margin: calc(23 * var(--u)) auto 0;
}

.finial {
  width: max(1.5rem, calc(62 * var(--u)));
  aspect-ratio: 1;
  background: radial-gradient(circle at 45% 45%, #fff8d7, #ffdf7f 13%, #bc7d16 29%, #e2b34b 44%, #915811 70%);
  clip-path: polygon(50% 0, 59% 37%, 100% 50%, 59% 63%, 50% 100%, 41% 63%, 0 50%, 41% 37%);
  clip-path: shape(from 50% 0, curve to 100% 50% with 54% 39% / 56% 46%, curve to 50% 100% with 61% 54% / 54% 58%, curve to 0 50% with 46% 58% / 44% 55%, curve to 50% 0 with 45% 46% / 47% 41%, close);
}

@media (min-width: 64rem) {
  .second-line { display: block; }
}

@media (max-width: 51rem) {
  :root {
    --google-size: clamp(2.25rem, 9vw, 3.75rem);
    --star-size: clamp(1.2rem, 5vw, 1.9rem);
    --star-gap: 0.35rem;
  }

  .scene { padding-block: 1.75rem 4.25rem; }
  .paper-glint, .paper::after { display: none; }
  .paper {
    top: -1.5rem;
    bottom: -5rem;
    clip-path: polygon(0 8%, 26% 0, 78% 0, 100% 7%, 100% 91%, 73% 98%, 33% 100%, 0 92%);
    clip-path: shape(from 0 8%, curve to 26% 0 with 6% 3% / 17% 0%, line to 78% 0, curve to 100% 7% with 90% 0 / 96% 3%, line to 100% 91%, curve to 73% 98% with 90% 94% / 81% 97%, curve to 33% 100% with 56% 98% / 45% 100%, curve to 0 92% with 18% 99% / 8% 95%, close);
  }
  .lower-fold, .lower-rim { height: 10%; }
  .lower-glint { bottom: 1%; }
  .brand-line { gap: 0.75rem; }
  .brand-line > span { flex-basis: clamp(0.75rem, 5vw, 2.5rem); }
  .review-content { margin-top: 3.5rem; }
  .feedback { max-width: 38rem; }
  .review-link { grid-template-columns: clamp(3.5rem, 16vw, 6rem) minmax(0, 1fr) clamp(3rem, 14vw, 5.25rem); }
  .brand-cell { padding-left: 0; }
}

@media (max-width: 31rem) {
  .scene { padding-inline: 1rem; }
  .review-content { margin-top: 3rem; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .feedback { line-height: 1.45; }
  .gold-rule, .feedback, .star-trail { margin-top: 1rem; }
  .star-trail, .page-footer { gap: 0.75rem; }
  .company-name { font-size: clamp(1.125rem, 4.9vw, 1.625rem); }
  .review-link { min-height: 4.75rem; margin-top: 1rem; }
  .button-copy { font-size: clamp(0.875rem, 4.4vw, 1.1rem); }
  .google-word { font-size: clamp(1.65rem, 8.5vw, 2.35rem); }
  .page-footer { margin-top: 1rem; }
}

@media (min-width: 34rem) and (width < 64rem) and (max-height: 34rem) {
  .scene {
    min-height: 100vh;
    min-height: 100svh;
    padding-block: 0.875rem 2.75rem;
  }
  .rhombus-mark { width: 3.625rem; height: 2.75rem; }
  .brand-line { margin-top: 0.375rem; }
  .review-content { margin-top: 2.125rem; }
  h1 { font-size: clamp(1.75rem, 4.55vw, 2.5rem); }
  .paper { top: -1.125rem; bottom: -4.75rem; }
  .paper-glint, .paper::after { display: none; }
  .gold-rule, .feedback, .star-trail, .review-link { margin-top: 0.875rem; }
  .review-link { min-height: 4.5rem; }
  .brand-cell { min-height: 3.125rem; }
  .google-mark, .arrow-disc { max-width: 3.25rem; }
  .page-footer { margin-top: 0.875rem; }
}
