.sc-body :where(main h1,main h2,main h3,main p,main a,.sc-nav-links a,.sc-footer a){text-shadow:0 0 6px rgba(235,247,255,.35),0 0 18px rgba(185,225,255,.4),0 0 36px rgba(140,211,255,.2),0 1px 3px rgba(3,12,23,.5)}

@media (prefers-reduced-motion: no-preference) {
  .sc-body .scroll-cue .scroll-cue-arrow {
    animation: cue-whoosh 1s ease-in 3;
  }
}

@keyframes cue-whoosh {
  10% { translate: 0 -4px; }
  40% {
    translate: 0 15px;
    opacity: 1;
    filter: drop-shadow(-6px -6px 1px #fff7);
  }
  55% { translate: 0 25px; opacity: 0; }
  56% { translate: 0 -4px; opacity: 0; }
}

@media (min-width: 761px) {
  body.sc-body [data-scroll-cue] { top: min(64vh, 650px); bottom: auto; }
}

.sc-body .sc-about {
  display: grid;
  align-content: center;
  min-height: min(620px, 66svh);
  padding-block: clamp(36px, 7vw, 90px);
}

.sc-body .sc-about-panel {
  width: min(100%, 890px);
  padding: clamp(24px, 5vw, 62px);
  border: 1px solid var(--sc-frame-edge);
  border-radius: clamp(18px, 3vw, 32px);
  background: linear-gradient(140deg, #232c37ed, #151d27ed);
  box-shadow: 0 24px 58px #03091575;
  backdrop-filter: blur(16px);
}

.sc-body .sc-about h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(36px, 5.6vw, 71px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.sc-body .sc-about p {
  max-width: 59ch;
  margin-top: clamp(18px, 3.5vw, 32px);
  color: #e3f1ff;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

/* Soft Club control finishes. */
.sc-body {
  --sc-line: #edf3fa29;
  --sc-frame-edge: #edf3fa40;
  --sc-control-face: linear-gradient(150deg, #f2f7ff27, #eef6ff0a 65%, #04101d18);
  --sc-control-raised: #edf5ff2e;
  --sc-control-pressed: #edf5ff14;
  --sc-control-ink: #fff;
  --sc-control-edge: #f6faffd9;
  --sc-control-focus: #f4f7fb;
  --sc-control-glow: 0 0 4px #fff, 0 0 11px #fffc, 0 0 26px #f4f9ff8c;
}

.sc-body .sc-copy-contact-actions > .sc-link[data-open-review],
.sc-body .review-dialog .review-button-primary:not(:disabled),
.sc-body .growth-skip {
  color: var(--sc-control-ink);
  background: var(--sc-control-face);
  border: 1px solid var(--sc-control-edge);
  box-shadow: inset 0 0 16px #f3f8ff40, 0 0 8px #fffa, 0 0 31px #f4f9ff80;
  text-shadow: var(--sc-control-glow);
  backdrop-filter: blur(8px);
}

.sc-body .sc-copy-contact-actions > .sc-link[data-open-review]:hover,
.sc-body .review-dialog .review-button-primary:not(:disabled):hover {
  color: var(--sc-control-ink);
  background: var(--sc-control-raised);
  border-color: #fff;
  box-shadow: inset 0 0 18px #f3f8ff4a, 0 0 10px #fffc, 0 0 35px #f4f9ff96;
}

.sc-body .sc-copy-contact-actions > .sc-link[data-open-review]:active,
.sc-body .review-dialog .review-button-primary:not(:disabled):active {
  background: var(--sc-control-pressed);
  box-shadow: inset 0 1px 3px #0309156b;
}

.sc-body .nf-work-examples {
  background: #10182091;
  box-shadow: none;
}

.sc-body .sc-contact {
  background: #1018207a;
}

.sc-body .sc-nav-links a:hover,
.sc-body .sc-footer a:hover {
  color: var(--sc-control-ink);
}

.sc-body .review-dialog {
  --review-accent: var(--sc-control-focus);
  --review-line: #a1d9f83b;
  --review-deep: #0a2037;
  --review-glass-panel: #102c45;
  --review-glass-face: #79c0ed17;
  --sc-control-face: linear-gradient(150deg, #a8dbff45, #74bce81f 64%, #082d4129);
  --sc-control-raised: #78c8ee40;
  --sc-control-pressed: #79cbe92c;
  --sc-control-edge: #e1f4ffdf;
  border-color: #ace4ff63;
  background:
    radial-gradient(ellipse at 96% 2%, #4e9ed366, transparent 58%),
    radial-gradient(ellipse at 0% 99%, #247f7b5c, transparent 61%),
    linear-gradient(154deg, #163c61, #0f2a48 51%, #091c33);
  box-shadow: 0 32px 96px #020c1bbf;
}

.sc-body .review-dialog::backdrop {
  background: #071727b8;
}

.sc-body .review-dialog .review-header {
  background: linear-gradient(180deg, #95cfff13, #95cfff03);
}

.sc-body .review-dialog :is(.review-glass-art span, .review-confirmed-mark) {
  color: var(--sc-control-ink);
  border-color: var(--sc-frame-edge);
  background: linear-gradient(145deg, #326288, #1b4a5e);
  box-shadow: 0 6px 16px #090e1559;
}

.sc-body .review-dialog .review-progress span[aria-current="step"] {
  background: #ffffff0a;
}

.sc-body .review-dialog :is(.review-close, .review-button-secondary, .review-day, .review-slot):not(:disabled) {
  color: var(--sc-control-ink);
  background: var(--review-glass-face);
  border-color: var(--sc-control-edge);
  text-shadow: 0 0 8px #fffc;
}

.sc-body .review-dialog :is(.review-close, .review-button-secondary, .review-day, .review-slot):hover:not(:disabled) {
  background: #8dcbf62c;
  border-color: #edf3faed;
}

.sc-body .review-dialog :is(.review-day, .review-slot):is([aria-pressed="true"], [aria-selected="true"], [data-selected="true"]):not(:disabled) {
  color: var(--sc-control-ink);
  background: var(--sc-control-raised);
  border-color: #fff;
  box-shadow: inset 0 0 0 1px #edf3fa3d;
  text-shadow: var(--sc-control-glow);
}

.sc-body .review-dialog .review-button-primary:disabled {
  color: #a5bed3;
  background: #0b233a;
  border: 1px solid var(--review-line);
  text-shadow: none;
}

.sc-body .review-dialog .review-text-button {
  color: var(--sc-control-ink);
  border-color: var(--sc-control-edge);
  text-shadow: 0 0 8px #fffc;
}

.sc-body .review-dialog .review-selection {
  color: var(--sc-control-ink);
  background: var(--review-glass-panel);
  border-color: var(--review-line);
}

.sc-body .review-dialog .review-field :is(input, textarea, select) {
  background: linear-gradient(155deg, #0a2139f0, #10344ae8);
  border-color: #a5dcfa69;
}

.sc-body .review-dialog .review-field :is(input, textarea, select):focus {
  border-color: #ccedffd0;
  caret-color: var(--sc-control-ink);
}

.sc-body .review-dialog .review-field [aria-invalid="true"] {
  border-color: #ffc5b0;
}

.sc-body .review-dialog .review-wheel {
  background: #09243be0;
}

.sc-body .review-dialog .review-wheel :is(.review-day, .review-slot)[aria-disabled="true"] {
  color: #b0c2d4;
  background: #0a2238;
  border-color: #abcdea35;
}

.sc-body .review-dialog .review-wheel :is(.review-day, .review-slot):focus-visible {
  box-shadow: inset 0 0 0 5px #143b56;
}

.sc-body .sc-copy-contact-actions > .sc-link[data-open-review]:focus-visible,
.sc-body .review-dialog :is(button, a, input, textarea, select):focus-visible,
.sc-body .review-dialog .review-button-primary:focus-visible,
.sc-body .growth-skip:focus-visible {
  outline: 2px solid var(--sc-control-focus);
  outline-offset: 3px;
}

.sc-body .growth-skip:focus { background: #222c37; }

.sc-body .growth-skip:not(:focus) {
  clip-path: inset(50%);
  pointer-events: none;
}

.sc-body .review-dialog .review-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.sc-body .review-dialog .review-heading {
  grid-column: 2;
  text-align: center;
}

.sc-body .review-dialog [data-review-title] {
  color: #fff;
  text-shadow: var(--sc-control-glow);
}

.sc-body .review-dialog .review-header > .review-close {
  position: relative;
  z-index: 1;
  grid-column: 3;
  justify-self: end;
}

.sc-body .review-question-band {
  display: grid;
  position: relative;
  min-width: 0;
}

.sc-body .review-question-band[data-sliding] > [data-review-title] {
  opacity: 0;
}

.sc-body .review-question-band > h2 {
  grid-area: 1 / 1;
  align-self: center;
  min-width: 0;
}

.sc-body .review-question-band > [aria-hidden="true"] {
  position: absolute;
  inset-block-start: 50%;
  inset-inline: 0;
  translate: 0 -50%;
  color: #fff;
  text-shadow: var(--sc-control-glow);
  pointer-events: none;
}

.sc-body .review-dialog .review-layout {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.sc-body .review-dialog .review-layout:has(> .review-preview-notice) {
  grid-template-rows: auto minmax(0, 1fr);
}

.sc-body .review-dialog .review-preview-notice {
  padding: 5px 16px;
  text-align: center;
}

.sc-body .review-dialog :is(.review-form, .review-complete) {
  grid-area: -2 / 1 / -1;
}

.sc-body .review-dialog .review-workspace {
  padding-inline: clamp(16px, 4vw, 28px);
}

.sc-body .review-dialog .review-step {
  max-width: 540px;
  margin-inline: auto;
}

.sc-body .review-dialog .review-footer {
  border-top: 0;
  padding-inline: clamp(16px, 4vw, 28px);
  background: transparent;
  box-shadow: none;
}

.sc-body .review-dialog .review-footer-actions {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.sc-body .review-dialog .review-icon-control {
  display: inline-grid;
  place-items: center;
  min-width: 0;
  width: 48px;
  height: 48px;
  padding: 0;
}

.sc-body .review-dialog .review-close {
  width: 44px;
  height: 44px;
}

.sc-body .review-dialog .review-footer [data-review-next] {
  grid-column: 2;
  justify-self: end;
  width: 56px;
  min-height: 48px;
}

.sc-body .review-dialog :is(.review-icon-control svg, .review-line-icon) {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-body .review-dialog button.review-icon-control:not(:disabled) svg {
  filter: drop-shadow(0 0 4px #ffffff9e);
}

.sc-body .review-dialog .review-line-icon {
  width: 18px;
  height: 18px;
}

.sc-body .review-dialog .review-overview-value:empty {
  display: none;
}

.sc-body .review-dialog .review-overview {
  gap: 0;
}

.sc-body .review-dialog .review-overview-item {
  border: 0;
  border-bottom: 1px solid var(--review-line);
  border-radius: 0;
  background: transparent;
}

.sc-body .review-dialog .review-calendar-actions:not(:has(> :not([hidden]))) {
  display: none;
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-header h2,
.sc-body .review-dialog:has(.review-complete:not([hidden])) .review-header h2 {
  text-shadow: 0 0 10px #dceeff60;
}

.sc-body .review-dialog .review-zone-field {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 2px;
}

.sc-body .review-dialog .review-zone-control {
  position: relative;
  max-inline-size: min(100%, 210px);
  min-inline-size: 0;
}

.sc-body .review-dialog .review-zone-icon {
  position: absolute;
  inset-inline-start: 8px;
  inset-block-start: 50%;
  width: 15px;
  height: 15px;
  translate: 0 -50%;
  color: #cfdfec;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  pointer-events: none;
}

.sc-body .review-dialog .review-zone-field select {
  display: block;
  appearance: none;
  field-sizing: content;
  min-inline-size: 44px;
  max-inline-size: 100%;
  min-height: 44px;
  padding: 0 8px 0 29px;
  border: 0;
  border-radius: 8px;
  color: #dcebf7;
  background: transparent;
  font-size: .875rem;
  text-overflow: ellipsis;
  cursor: pointer;
}

.sc-body .review-dialog .review-zone-field select:hover:not(:disabled) {
  background: #d7eaff14;
}

.sc-body .review-dialog .review-days .review-day:not(:disabled) {
  box-shadow: none;
  text-shadow: none;
}

.sc-body .review-dialog[data-review-current-step="calendar"] [data-review-next]:not(:disabled),
.sc-body .review-dialog .review-complete-actions > summary.review-button-primary {
  background: #284e6b;
  border-color: #c3e1f28c;
  box-shadow: inset 0 1px 0 #eef8ff26;
  text-shadow: none;
}

.sc-body .review-dialog[data-review-current-step="calendar"] [data-review-next]:is(:hover, :active):not(:disabled),
.sc-body .review-dialog .review-complete-actions > summary.review-button-primary:is(:hover, :active) {
  background: #365f7d;
  border-color: #c3e1f2aa;
  box-shadow: inset 0 1px 0 #eef8ff33;
  text-shadow: none;
}

/* The standalone calendar can fill its scrollable workspace. Inline edits retain their compact sizing. */
.sc-body .review-dialog[data-review-current-step="calendar"] .review-workspace {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-workspace > .review-calendar {
  --review-slot-height: clamp(52px, 8dvh, 64px);
  --review-wheel-gap: clamp(5px, 1dvh, 8px);
  grid-template-rows: auto minmax(0, 1fr);
  min-block-size: 0;
  max-width: none;
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-calendar-times {
  display: flex;
  flex-direction: column;
  min-block-size: 0;
}

.sc-body .review-dialog .review-times {
  position: relative;
}

.sc-body .review-dialog .review-times::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  translate: -50% -7px;
  background: #d3e7f5;
  box-shadow: 0 10px #d3e7f5;
  pointer-events: none;
}

.sc-body .review-dialog .review-time-column > .review-wheel-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-times {
  flex: 1 1 0;
  min-block-size: calc(3 * var(--review-slot-height) + 2 * var(--review-wheel-gap));
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(8px, 1.8vw, 16px);
  contain: size;
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-time-column {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-block-size: 0;
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-time-wheel {
  align-self: stretch;
  block-size: auto;
  min-block-size: 0;
  padding-inline: clamp(5px, 1.5vw, 9px);
}

.sc-body .review-dialog[data-review-current-step="calendar"] .review-time-wheel .review-slot {
  padding-block: 3px;
  font-size: clamp(1.125rem, 4.4vw, 1.625rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

/* Retain the two rails and keep the selected row easy to spot. */
.sc-body .review-dialog .review-time-wheel {
  background: #0c233784;
  border-color: #b8d5ed36;
  box-shadow: none;
}

.sc-body .review-dialog [data-review-minutes][data-review-minute-prompt] {
  border-color: #cfeaff;
  box-shadow: 0 0 0 1px #d1ecffbb, 0 0 12px #b7ddff44;
}

.sc-body .review-dialog .review-time-wheel .review-slot {
  color: #c6d9e9;
  background: #a3c9e20a;
  border-color: #b8d5ed20;
  text-shadow: none;
}

.sc-body .review-dialog .review-time-wheel .review-slot:is([data-centered], [data-wheel-preview], :hover):not([aria-disabled="true"]) {
  color: #f2f8ff;
  background: #b1d4ee20;
  border-color: #b9d8ef52;
  text-shadow: none;
}

.sc-body .review-dialog .review-time-wheel .review-slot[aria-pressed="true"]:not([aria-disabled="true"]),
.sc-body .review-dialog .review-days .review-day[aria-pressed="true"]:not([aria-disabled="true"]) {
  color: #fff;
  background: #3e6280;
  border-color: #c1def194;
  box-shadow: inset 0 1px 0 #e5f4ff2b;
  text-shadow: none;
}

.sc-body .review-dialog .review-time-wheel[data-wheel-moving] .review-slot[aria-pressed="true"]:not([data-wheel-preview]) {
  color: #c6d9e9;
  background: #a3c9e20a;
  border-color: #b8d5ed20;
}

.sc-body .review-dialog .review-time-wheel .review-slot:focus-visible,
.sc-body .review-dialog .review-days .review-day:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

@media (prefers-reduced-motion: no-preference) {
  .sc-body .review-dialog .review-time-wheel .review-slot {
    transition: color 130ms ease-out, border-color 130ms ease-out,
      box-shadow 150ms ease-out, text-shadow 150ms ease-out;
  }
}

@media (max-width: 390px) {
  .sc-body .review-dialog[data-review-current-step="calendar"] .review-workspace > .review-calendar {
    gap: 8px;
  }
}

@media (max-height: 480px) and (min-width: 570px) and (orientation: landscape) {
  .sc-body .review-dialog[data-review-current-step="calendar"] .review-workspace > .review-calendar {
    --review-slot-height: 44px;
    --review-wheel-gap: 5px;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .sc-body .review-dialog[data-review-current-step="calendar"] .review-time-wheel .review-slot {
    font-size: 1.125rem;
  }
}

.sc-body .review-dialog[data-review-current-step="overview"] .review-footer {
  grid-template-columns: minmax(0, 1fr);
}

.sc-body .review-dialog[data-review-current-step="verification"] .review-workspace {
  display: grid;
}

.sc-body .review-dialog .review-security {
  width: 100%;
  grid-template-rows: minmax(min-content, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 3dvh, 24px);
}

.sc-body .review-dialog .review-security-details {
  display: grid;
  gap: clamp(10px, 2.7dvh, 20px);
  align-self: start;
  width: 100%;
}

.sc-body .review-dialog .review-security [data-review-confirm] {
  width: min(calc(100% - 16px), 400px);
  min-width: 0;
  min-height: clamp(66px, 11dvh, 86px);
  padding: 12px 18px;
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 600;
}

.sc-body .review-dialog[data-review-current-step="overview"] .review-footer [data-review-next] {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding-inline: 16px;
  font-size: 1.125rem;
}

.sc-body .review-dialog .review-overview-item .review-overview-edit {
  width: 13px;
  height: 13px;
}

.sc-body .review-dialog .review-complete-actions {
  width: min(100%, 420px);
}

.sc-body .review-dialog .review-complete-actions > summary,
.sc-body .review-dialog .review-calendar-choices > a {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.sc-body .review-dialog .review-complete-actions > summary {
  cursor: pointer;
  list-style: none;
}

.sc-body .review-dialog .review-complete-actions > summary::-webkit-details-marker {
  display: none;
}

.sc-body .review-dialog .review-calendar-choices {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: var(--review-muted);
}

.sc-body .review-dialog .review-calendar-choices > a.review-button-secondary:not(:disabled) {
  text-shadow: none;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-code {
  position: relative;
  width: 5.4rem;
  font-variant-numeric: tabular-nums;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-code input {
  height: 100%;
  padding-inline: 1.5rem 1.4rem;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-code :is(.review-phone-plus, svg) {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-plus {
  inset-inline-start: .7rem;
  color: var(--sc-control-ink);
}

.sc-body :is(.review-dialog, .company-application) .review-phone-code svg {
  inset-inline-end: .5rem;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-code[data-open] svg {
  transform: translateY(-50%) rotate(180deg);
}

.sc-body :is(.review-dialog, .company-application) .review-phone-input-slot {
  position: relative;
  min-width: 0;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-input-slot:has(.review-phone-search-toggle:not([hidden])) input {
  padding-inline-end: 50px;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-search-toggle {
  position: absolute;
  inset: 50% 1px auto auto;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--review-ink);
  background: transparent;
  cursor: pointer;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-search-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-countries {
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--review-line);
  border-radius: 12px;
  background: linear-gradient(150deg, var(--review-glass-panel), #0b233a);
}

.sc-body :is(.review-dialog, .company-application) .review-phone-countries ul {
  max-height: min(205px, 35vh);
  max-height: min(205px, max(56px, calc(var(--review-viewport-height, 100dvh) - 172px)));
  margin: 0;
  padding: 4px;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-countries button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  color: var(--review-ink);
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-countries button:is(:hover, [aria-pressed="true"]) {
  background: #89d2f826;
}

.sc-body :is(.review-dialog, .company-application) .review-phone-countries :is(button > span:last-child, [data-review-phone-empty]) {
  color: var(--review-muted);
}

.sc-body :is(.review-dialog, .company-application) .review-phone-countries [data-review-phone-empty] {
  padding: 8px 12px;
}

.sc-body .review-dialog[data-review-compact][data-review-current-step="phone"] .review-workspace {
  padding-block: 6px;
}

.sc-body .review-dialog[data-review-compact][data-review-current-step="phone"] [data-review-phone] {
  gap: 6px;
}

.sc-body .review-dialog[data-review-compact][data-review-current-step="phone"] [data-review-phone] input {
  min-height: 44px;
  padding-block: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .sc-body .review-dialog .review-phone-countries:not([hidden]) {
    animation: review-country-list-open 140ms ease-out both;
  }
  @keyframes review-country-list-open {
    from { opacity: .5; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (min-width: 701px) {
  .sc-body .review-dialog:not([data-review-compact]) {
    width: min(620px, calc(100vw - 32px));
  }
}

.sc-body .review-dialog:is([data-review-current-step="name"], [data-review-current-step="email"], [data-review-current-step="website"], [data-review-current-step="phone"]) {
  --review-entry-height: var(--review-viewport-height, 100dvh);
  --review-question-size: clamp(1.25rem, min(8.1vw, calc((var(--review-entry-height) - 186px) * .3)), 2.75rem);

  .review-header {
    display: flex;
    padding: max(clamp(52px, calc(var(--review-entry-height) - 215px), 74px), calc(env(safe-area-inset-top) + 52px)) 0 6px;
    border: 0;
    background: none;
  }

  .review-heading {
    display: grid;
    width: 100%;
    block-size: calc(2.24 * var(--review-question-size) + 22px);
    padding: 8px max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
    border-block: 1px solid #fff4;
    background: linear-gradient(110deg, #ffffff30, #ffffff1a);
  }

  .review-header h2 {
    font-size: var(--review-question-size);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .review-header > .review-close {
    position: absolute;
    inset-block-start: max(5px, env(safe-area-inset-top));
    inset-inline-end: max(16px, env(safe-area-inset-right));
  }
}

@media (max-width: 700px), (max-width: 1000px) and (max-height: 480px) {
  .sc-body .review-dialog[open]:is([data-review-current-step="name"], [data-review-current-step="email"], [data-review-current-step="website"], [data-review-current-step="phone"]) {
    inset: var(--review-viewport-top, 0px) 0 auto;
    width: 100%;
    height: var(--review-viewport-height, 100dvh);
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .sc-body .review-dialog:is([data-review-current-step="name"], [data-review-current-step="email"], [data-review-current-step="website"], [data-review-current-step="phone"]) {
    .review-workspace {
      display: flex;
      flex-direction: column;
      padding-block: 6px 4px;
    }

    .review-contact {
      flex: none;
      width: 100%;
      margin-block-start: auto;
    }

    .review-contact .review-field {
      margin-block-end: 0;
    }

    .review-phone-countries ul {
      max-block-size: clamp(52px, calc(var(--review-viewport-height, 100dvh) * .65 - 126px), 205px);
    }
  }
}
