/* August 23 copy-preview presentation, scoped to the production questionnaire. */
.august23-theme {
  min-width: 320px;
  margin: 0;
  background: #fafbf9;
  color: #00483f;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.august23-theme .coverage-header {
  padding: 24px 16px 12px;
  background: #fafbf9;
}

.august23-theme .coverage-lockup {
  width: min(760px, 100%);
  max-width: none;
  gap: 18px;
}

.august23-theme .coverage-brand .coverage-logo-img {
  width: auto;
  height: 54px;
  object-fit: contain;
}

.august23-theme .coverage-rating span {
  font-size: 14px;
}

.august23-theme .progress-shell--trimrx {
  padding: 16px 0 20px;
  border-bottom: 1px solid #e2e8ee;
}

.august23-theme .progress-shell--trimrx .container {
  width: min(840px, calc(100% - 40px));
  max-width: 840px;
  padding: 0;
}

.august23-theme .progress-container {
  min-width: 0;
  flex: 1;
  justify-content: center;
}

.august23-theme .progress-circle {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.august23-theme .progress-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}

.august23-theme .qfunnel-main {
  width: min(710px, calc(100% - 32px));
  max-width: 710px;
  margin: 0 auto;
  padding: 24px 0 58px;
}

.august23-theme .qfunnel-main > .row {
  display: block;
  margin: 0;
}

.august23-theme .qfunnel-main .col-lg-8 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.august23-theme .form-section {
  padding: 0 0 8px;
  animation: august23-step-fade 250ms ease both;
}

.august23-theme .screen-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #8192a3;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.august23-theme .screen-meta span:first-child {
  color: #00a591;
}

.august23-theme .screen-eyebrow {
  display: block;
  margin-bottom: 11px;
  color: #00a591;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.august23-theme .headline,
.august23-theme h1 {
  margin: 0 0 16px;
  color: #00483f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.august23-theme .headline + p,
.august23-theme h1 + p,
.august23-theme .text-muted {
  max-width: 38rem;
  margin: 0 0 24px;
  color: #536b82 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.45;
}

.august23-theme h2.question-headline,
.august23-theme h2 {
  margin: 25px 0 15px;
  color: #00483f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.august23-theme h3 {
  margin: 0 0 8px;
  color: #00483f;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.august23-theme .form-label {
  margin-bottom: 8px;
}

.august23-theme select,
.august23-theme input,
.august23-theme textarea,
.august23-theme .form-control,
.august23-theme .form-select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #aab8c8;
  border-radius: 2px;
  outline: 0;
  color: #00483f;
  background: #fff;
  box-shadow: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
}

.august23-theme textarea,
.august23-theme textarea.form-control {
  min-height: 132px;
  padding-top: 13px;
}

.august23-theme select:focus,
.august23-theme input:focus,
.august23-theme textarea:focus,
.august23-theme .form-control:focus,
.august23-theme .form-select:focus {
  border-color: #00ceb5;
  box-shadow: 0 0 0 3px rgba(87, 153, 216, 0.16);
}

.august23-theme .option-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.august23-theme .option-two-column .radio-option,
.august23-theme .option-two-column .multi-option {
  height: 100%;
  margin: 0;
}

.august23-theme .radio-option .option-box,
.august23-theme .multi-option .option-box {
  min-height: 60px;
  height: 100%;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid #aab8c8;
  border-radius: 2px;
  color: #00483f;
  background: #fff;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
}

.august23-theme .radio-option .option-box::before,
.august23-theme .multi-option .option-box::before {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-right: 0;
  border: 1px solid #aab8c8;
  background: #fff;
}

.august23-theme .multi-option .option-box::before {
  border-radius: 2px;
}

.august23-theme .radio-option:hover .option-box,
.august23-theme .multi-option:hover .option-box {
  border-color: #00a591;
}

.august23-theme .radio-option input[type="radio"]:checked + .option-box,
.august23-theme .multi-option input[type="checkbox"]:checked + .option-box {
  border-width: 1px;
  border-color: #00ceb5;
  background: #eef6fd;
}

.august23-theme .radio-option input[type="radio"]:checked + .option-box::before {
  border: 2px solid #00ceb5;
  background: radial-gradient(circle at center, #00ceb5 0 38%, #fff 41% 100%);
  box-shadow: none;
}

.august23-theme .starting-offer-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  grid-template-areas:
    "media summary"
    "media details";
  gap: 8px 17px;
  margin-top: 18px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 165, 145, 0.24);
  border-radius: 16px;
  color: #173f38;
  background: linear-gradient(135deg, #fff 0%, #f1fbf8 100%);
  box-shadow: 0 10px 28px rgba(0, 72, 63, 0.08);
  font-family: Inter, system-ui, sans-serif;
}

.august23-theme .starting-offer-media {
  grid-area: media;
  align-self: start;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #d6aa7e;
  aspect-ratio: 1;
}

.august23-theme .starting-offer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.august23-theme .starting-offer-summary,
.august23-theme .starting-offer-details {
  min-width: 0;
}

.august23-theme .starting-offer-summary {
  grid-area: summary;
}

.august23-theme .starting-offer-details {
  grid-area: details;
}

.august23-theme .starting-offer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.august23-theme .starting-offer-eyebrow {
  color: #007e6f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.august23-theme .starting-offer-value {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #99482f;
  background: #ffe9df;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.august23-theme .starting-offer-title {
  margin: 0;
  color: #00483f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.12;
}

.august23-theme .starting-offer-description,
.august23-theme .starting-offer-extras,
.august23-theme .starting-offer-fine-print {
  margin: 0;
}

.august23-theme .starting-offer-description {
  color: #365c54;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.august23-theme .starting-offer-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.august23-theme .starting-offer-items li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  color: #244d45;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}

.august23-theme .starting-offer-items li::before {
  content: "✓";
  flex: 0 0 auto;
  color: #00a591;
  font-weight: 900;
}

.august23-theme .starting-offer-items li:last-child {
  grid-column: 1 / -1;
}

.august23-theme .starting-offer-extras {
  color: #244d45;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.august23-theme .starting-offer-fine-print {
  margin-top: 6px;
  color: #526861;
  font-size: 9.5px;
  line-height: 1.35;
}

.august23-theme .starting-price-callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(0, 206, 181, 0.18);
  border-radius: 8px;
  color: #00483f;
  background: rgba(217, 248, 244, 0.58);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.august23-theme .starting-price-callout > span {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #00a591;
  font-size: 12px;
  font-weight: 800;
}

.august23-theme .starting-price-callout p {
  margin: 2px 0 0;
}

.august23-theme .btn-next {
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #00483f;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
}

.august23-theme .btn-next:hover,
.august23-theme .btn-next:focus-visible {
  color: #fff;
  background: #173653;
}

.august23-theme .footer-badge {
  margin: 28px 0 16px;
}

.august23-theme .footer-badge + .text-center {
  color: #5a6b63 !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
}

.ld-review-toolbar {
  position: fixed;
  z-index: 99999;
  top: 18px;
  right: 18px;
  width: 242px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  color: #effffb;
  background: rgba(15, 45, 36, 0.96);
  box-shadow: 0 16px 46px rgba(15, 45, 36, 0.2);
  backdrop-filter: blur(14px);
  font: 11px/1.25 Inter, system-ui, sans-serif;
}

.ld-review-banner {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 2px 3px 10px;
}

.ld-review-banner > span {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #65e4bd;
  box-shadow: 0 0 0 4px rgba(101, 228, 189, 0.12);
}

.ld-review-banner strong,
.ld-review-banner small {
  display: block;
}

.ld-review-banner strong {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.ld-review-banner small {
  margin-top: 2px;
  color: rgba(239, 255, 251, 0.68);
  font-size: 9px;
  line-height: 1.35;
}

.ld-review-language,
.ld-review-stage,
.ld-review-controls {
  display: grid;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
}

.ld-review-language {
  grid-template-columns: 0.8fr 1.2fr;
  margin-bottom: 6px;
}

.ld-review-stage {
  grid-template-columns: repeat(3, 1fr);
}

.ld-review-controls {
  grid-template-columns: 34px 1fr 34px;
  margin-top: 6px;
}

.ld-review-toolbar a,
.ld-review-toolbar span,
.ld-review-toolbar button,
.ld-review-toolbar select {
  min-width: 0;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font: 700 9px/1.2 Inter, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}

.ld-review-language a,
.ld-review-stage a,
.ld-review-stage span {
  padding: 7px 4px;
}

.ld-review-toolbar .is-active {
  color: #083d34;
  background: #65e4bd;
}

.ld-review-language .is-active {
  background: #fff;
}

.ld-review-controls button,
.ld-review-controls select {
  min-height: 30px;
  cursor: pointer;
}

.ld-review-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.ld-review-controls select {
  padding: 0 5px;
  color: #083d34;
  background: #fff;
  text-align: left;
}

@keyframes august23-step-fade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1250px) and (min-width: 768px) {
  body.august23-theme:has(.ld-review-toolbar) {
    padding-bottom: 260px !important;
  }

  .ld-review-toolbar {
    top: auto;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 767.98px) {
  body.august23-theme:has(.ld-review-toolbar) {
    padding-bottom: 0 !important;
  }

  .august23-theme .coverage-header {
    padding: 18px 14px 8px;
  }

  .august23-theme .coverage-lockup {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .august23-theme .coverage-brand {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
  }

  .august23-theme .coverage-brand .coverage-logo-img {
    height: 46px;
  }

  .august23-theme .coverage-divider {
    display: none;
  }

  .august23-theme .progress-shell--trimrx {
    padding: 14px 0;
  }

  .august23-theme .progress-shell--trimrx .container {
    width: min(100% - 26px, 840px);
  }

  .august23-theme .qfunnel-main {
    width: min(100% - 30px, 710px);
    padding-top: 18px;
  }

  .august23-theme .headline,
  .august23-theme h1 {
    font-size: 29px;
  }

  .august23-theme .option-two-column {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .august23-theme .option-copy strong,
  .august23-theme .radio-option .option-box,
  .august23-theme .multi-option .option-box {
    font-size: 18px;
  }

  .august23-theme .starting-offer-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "media summary"
      "details details";
    gap: 10px 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .august23-theme .starting-offer-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .august23-theme .starting-offer-title {
    font-size: 20px;
  }

  .august23-theme .starting-offer-items {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .august23-theme .starting-offer-items li:last-child {
    grid-column: auto;
  }

  .ld-review-toolbar {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .ld-review-toolbar a,
  .ld-review-toolbar button,
  .ld-review-toolbar select,
  .ld-review-stage span {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ld-review-controls {
    grid-template-columns: 44px 1fr 44px;
  }

  .ld-review-controls select {
    justify-content: initial;
  }
}

@media (max-width: 380px) {
  .august23-theme .qfunnel-main {
    width: min(100% - 24px, 710px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .august23-theme .form-section {
    animation: none;
  }
}
