.gst-gc-preview-entry {
  clear: both;
  margin: 14px 0 18px;
}

.gst-gc-preview-entry-status {
  color: #a31827;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 0;
}

.gst-gc-preview-entry-status:empty {
  display: none;
}

.gst-gc-preview-trigger,
.gst-gc-preview-view,
.gst-gc-preview-submit {
  appearance: none;
  border: 2px solid #23262a;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  min-height: 50px;
  text-transform: uppercase;
  transition: box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.gst-gc-preview-trigger {
  background: #fff;
  box-shadow: 4px 4px 0 #fbe35d;
  color: #23262a;
  width: 100%;
}

.gst-gc-preview-trigger:hover,
.gst-gc-preview-trigger:focus-visible {
  background: #fffbea;
  box-shadow: 6px 6px 0 #fbe35d;
  outline: 0;
  transform: translate(-2px, -2px);
}

body.gst-gc-preview-open {
  overflow: hidden;
}

.gst-gc-preview-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  transition: opacity 150ms ease, visibility 150ms ease;
  z-index: 999999;
}

.gst-gc-preview-modal[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.gst-gc-preview-backdrop {
  background: rgba(18, 20, 23, 0.76);
  inset: 0;
  position: absolute;
}

.gst-gc-preview-dialog {
  background: #fff;
  border: 2px solid #23262a;
  border-radius: 6px;
  box-shadow: 10px 10px 0 #fbe35d;
  color: #23262a;
  max-width: 470px;
  padding: 36px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.gst-gc-preview-dialog[hidden],
.gst-gc-preview-viewer[hidden],
.gst-gc-preview-email-delivery[hidden] {
  display: none !important;
}

.gst-gc-preview-dialog::before {
  background: linear-gradient(90deg, #7c3aed 0 50%, #2dd4bf 50% 100%);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gst-gc-preview-close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #23262a;
  cursor: pointer;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 30px !important;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 42px;
}

.gst-gc-preview-close:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 2px;
}

.gst-gc-preview-eyebrow {
  color: #7c3aed;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.gst-gc-preview-dialog h2 {
  color: #23262a;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(31px, 7vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0 42px 16px 0;
  text-transform: uppercase;
}

.gst-gc-preview-intro {
  color: #454a50;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.gst-gc-preview-form label {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
}

.gst-gc-preview-form input[type="email"] {
  appearance: none;
  background: #fff;
  border: 2px solid #23262a;
  border-radius: 3px;
  box-shadow: none;
  color: #23262a;
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  min-height: 52px;
  padding: 10px 13px;
  width: 100%;
}

.gst-gc-preview-form input[type="email"]:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
  outline: 0;
}

.gst-gc-preview-honeypot {
  height: 1px !important;
  left: -10000px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

.gst-gc-preview-privacy {
  color: #686d73;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 18px;
}

.gst-gc-preview-modal .gst-gc-preview-view {
  background: #23262a !important;
  box-shadow: 4px 4px 0 #2dd4bf;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  width: 100%;
}

.gst-gc-preview-view:hover,
.gst-gc-preview-view:focus-visible {
  background: #7c3aed;
  box-shadow: 6px 6px 0 #2dd4bf;
  outline: 0;
  transform: translate(-2px, -2px);
}

.gst-gc-preview-divider {
  align-items: center;
  color: #777c82;
  display: flex;
  font-family: Manrope, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.04em;
  margin: 21px 0 18px;
  text-transform: uppercase;
}

.gst-gc-preview-divider::before,
.gst-gc-preview-divider::after {
  background: #d8dade;
  content: "";
  flex: 1;
  height: 1px;
}

.gst-gc-preview-staging-note {
  background: #fffbea;
  border-left: 4px solid #fbe35d;
  color: #5c4a00;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 18px 0 0;
  padding: 11px 12px;
}

.gst-gc-preview-modal .gst-gc-preview-submit {
  background: #23262a !important;
  box-shadow: 4px 4px 0 #2dd4bf;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  width: 100%;
}

.gst-gc-preview-submit:hover,
.gst-gc-preview-submit:focus-visible {
  background: #7c3aed;
  box-shadow: 6px 6px 0 #2dd4bf;
  outline: 0;
  transform: translate(-2px, -2px);
}

.gst-gc-preview-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.gst-gc-preview-turnstile {
  margin: 0 0 18px;
}

.gst-gc-preview-viewer {
  background: #f1f2f4;
  border: 2px solid #23262a;
  border-radius: 6px;
  box-shadow: 10px 10px 0 #fbe35d;
  display: flex;
  flex-direction: column;
  height: min(820px, calc(100vh - 48px));
  max-width: 780px;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.gst-gc-preview-viewer::before {
  background: linear-gradient(90deg, #7c3aed 0 50%, #2dd4bf 50% 100%);
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.gst-gc-preview-viewer-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d8dade;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 24px 70px 20px 24px;
}

.gst-gc-preview-viewer-header .gst-gc-preview-eyebrow {
  margin-bottom: 4px;
}

.gst-gc-preview-viewer-header h2 {
  color: #23262a;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.gst-gc-preview-viewer-actions {
  align-items: center;
  display: flex;
}

.gst-gc-preview-back {
  appearance: none;
  background: #fff;
  border: 2px solid #23262a;
  border-radius: 3px;
  color: #23262a !important;
  -webkit-text-fill-color: #23262a;
  cursor: pointer;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  min-height: 38px;
  padding: 8px 13px;
  text-transform: uppercase;
}

.gst-gc-preview-back:hover,
.gst-gc-preview-back:focus-visible {
  background: #fffbea;
  outline: 3px solid rgba(124, 58, 237, 0.25);
  outline-offset: 2px;
}

.gst-gc-preview-frame {
  background: #eceff2;
  border: 0;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.gst-gc-preview-status {
  border-radius: 3px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 14px 0 0;
  min-height: 0;
}

.gst-gc-preview-status:empty {
  display: none;
}

.gst-gc-preview-status[data-state="error"] {
  background: #fff0f1;
  color: #a31827;
  padding: 10px 12px;
}

.gst-gc-preview-status[data-state="success"] {
  background: #e9fff9;
  color: #12644f;
  padding: 10px 12px;
}

.gst-gc-preview-status[data-state="notice"],
.gst-gc-preview-status[data-state="loading"] {
  background: #fffbea;
  color: #5c4a00;
  padding: 10px 12px;
}

@media (max-width: 600px) {
  .gst-gc-preview-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .gst-gc-preview-dialog {
    box-shadow: 6px 6px 0 #fbe35d;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 30px 22px 24px;
  }

  .gst-gc-preview-viewer {
    box-shadow: 6px 6px 0 #fbe35d;
    height: calc(100vh - 24px);
  }

  .gst-gc-preview-viewer-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 22px 58px 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gst-gc-preview-modal,
  .gst-gc-preview-trigger,
  .gst-gc-preview-view,
  .gst-gc-preview-submit {
    transition: none;
  }
}
