.review-hero {
  background: radial-gradient(ellipse at 82% 0%, #1368c7 0, transparent 54%), #062951;
  color: #fff;
  padding-block: clamp(46px, 7vw, 95px);
}
.review-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 365px);
  align-items: center;
  gap: clamp(28px, 6vw, 90px);
}
.review-hero-copy .eyebrow { color: #b8dbff; }
.review-hero-copy h1 {
  margin: 9px 0 16px;
  max-width: 12ch;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.review-hero-copy p { max-width: 440px; margin-bottom: 24px; color: #dbeafe; line-height: 1.75; }
.review-hero-copy .button { background: #fff; color: #075bc7; }
.review-hero-copy .button:hover { background: #e8f3ff; color: #064590; }
.review-summary {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid #ffffff40;
  border-radius: 24px;
  background: #dcecff16;
}
.review-summary-label { display: block; margin-bottom: 10px; font-weight: 650; color: #e2efff; }
.review-summary p { margin: 10px 0 0; color: #dbeafe; font-size: 13px; }
.review-score { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; }
.review-score strong { font-size: clamp(44px, 7vw, 68px); line-height: 1; letter-spacing: -.06em; }
.review-score span { color: #dbeafe; }
.rating-stars { display: inline-flex; align-items: center; gap: 3px; color: #5d7693; }
.rating-stars .icon { width: var(--star-size, 17px); height: var(--star-size, 17px); stroke-width: 1.65; }
.rating-stars .is-filled { color: var(--star-filled, #9b5e00); fill: var(--star-fill, #ffbe49); }
.review-summary .rating-stars { --star-size: 25px; --star-filled: #ffd078; --star-fill: #ffd078; color: #b4d7fc; }
.review-summary-stars { position: relative; display: inline-flex; }
.review-summary-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.review-summary-fill .rating-stars { width: max-content; }
.reviews-page { padding-block: clamp(36px, 5vw, 68px); background: #f5f8fd; }
.review-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); gap: 30px; align-items: start; }
.review-feed > h2, .review-form-shell > h2 { margin: 0 0 15px; color: #143654; font-size: 26px; letter-spacing: -.04em; }
.reviews-page .public-reviews { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 16px; margin: 0; }
.review-card.customer-review {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  padding: clamp(16px, 2vw, 23px);
  border: 1px solid #dae5f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px #14365407;
}
.customer-review-rating { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.customer-review-rating > span:last-child { color: #574720; background: #fff4da; padding: 3px 8px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.customer-review blockquote { margin: 0; color: #263f57; font-style: normal; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.customer-review-author { display: flex; align-items: center; gap: 11px; margin-top: auto; border-top: 1px solid #e5edf6; padding-top: 13px; }
.customer-review-author .review-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e5effc;
  color: #0758c4;
  font-size: 15px;
  font-weight: 700;
}
.customer-review-author strong, .customer-review-author time { display: block; }
.customer-review-author strong { color: #143654; font-size: 13px; }
.customer-review-author time { color: #53657c; font-size: 11px; }
.review-empty { border: 1px dashed #bbcfe6; background: #fff; color: #53657c; padding: 27px; border-radius: 18px; }
.review-empty > .icon { color: #075bc7; width: 29px; height: 29px; margin-bottom: 11px; }
.review-empty h3 { color: #143654; margin: 0 0 5px; }
.review-empty p { margin: 0; }
.reviews-page .review-form-shell { width: 100%; max-width: none; margin: 0; padding: clamp(17px, 2.7vw, 28px); background: #fff; }
.review-form-shell > h2 { margin-bottom: 6px; }
.review-form-shell .form-intro { margin-bottom: 18px; }
.review-form-fields { display: grid; gap: 15px; }
.review-rating { min-width: 0; margin: 0 0 17px; padding: 0; border: 0; }
.review-rating legend { margin-bottom: 7px; padding: 0; color: #143654; font-size: 13px; font-weight: 700; }
.review-rating-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 320px; }
.review-rating-option { position: relative; }
.review-rating-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.review-rating-option label {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid #d1deee;
  border-radius: 11px;
  background: #f5f9ff;
  color: #536c8a;
  cursor: pointer;
}
.review-rating-option .icon { width: 24px; height: 24px; stroke-width: 1.65; }
.review-rating-option input:focus-visible + label { outline: 3px solid #075bc7; outline-offset: 2px; }
.review-rating-option input:checked + label,
.review-rating-option:has(~ .review-rating-option input:checked) label { color: #8b5300; background: #fff4db; border-color: #e6bd67; }
.review-rating-option input:checked + label .icon,
.review-rating-option:has(~ .review-rating-option input:checked) .icon { fill: #ffc256; }
.review-rating-option input:checked + label { box-shadow: inset 0 0 0 1px #9b5e00; }
@media (hover: hover) {
  .review-rating-option label:hover { border-color: #075bc7; }
}
.review-rating-scale { display: flex; justify-content: space-between; max-width: 320px; margin-top: 5px; color: #53657c; font-size: 11px; }
@media (max-width: 1040px) {
  .reviews-page .public-reviews { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .review-hero-layout, .review-page-layout { grid-template-columns: 1fr; }
  .review-hero { padding-block: 33px; }
  .review-hero-layout { gap: 19px; }
  .review-summary { max-width: 365px; padding: 17px; }
  .review-summary .rating-stars { --star-size: 20px; }
  .review-score { margin-bottom: 7px; }
  .review-form-shell { scroll-margin-top: 18px; }
}
