.smcr,
.smcr * {
  box-sizing: border-box;
}

.smcr {
  --smcr-orange-a: #c76629;
  --smcr-orange-b: #bb591d;
  --smcr-orange-dark: #9f4816;
  --smcr-ink: #211712;
  --smcr-brown: #3a271d;
  --smcr-cream: #f7f2eb;
  --smcr-line: #ded5ca;
  --smcr-muted: #6e625a;
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 24px));
  margin: 32px auto;
  padding: 96px 42px 42px;
  scroll-margin-top: 150px;
  overflow: hidden;
  color: var(--smcr-ink);
  background:
    radial-gradient(circle at 2% 14%, rgba(199, 102, 41, .08), transparent 23%),
    radial-gradient(circle at 98% 88%, rgba(58, 39, 29, .06), transparent 24%),
    #fbf8f3;
  border: 1px solid rgba(58, 39, 29, .08);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(54, 34, 23, .12);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.smcr::before,
.smcr::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  opacity: .55;
  background: radial-gradient(circle, rgba(199, 102, 41, .12), transparent 68%);
}

.smcr::before { top: -80px; right: -60px; }
.smcr::after { bottom: -90px; left: -65px; }

.smcr-hero {
  max-width: 930px;
  margin: 0 auto 30px;
  text-align: center;
}

.smcr-logo {
  display: block;
  width: 142px;
  height: auto;
  max-height: 108px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.smcr-eyebrow {
  margin: 0 0 8px;
  color: var(--smcr-orange-b);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
}

.smcr-hero h2,
.smcr-result h3,
.smcr-empty h3 {
  margin: 0;
  color: var(--smcr-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
}

.smcr-hero h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -.035em;
}

.smcr-hero > p:last-child {
  margin: 14px 0 0;
  color: var(--smcr-brown);
  font-size: clamp(16px, 1.8vw, 20px);
}

.smcr-form,
.smcr-result,
.smcr-empty {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(58, 39, 29, .1);
  border-radius: 20px;
  box-shadow: 0 14px 44px rgba(49, 32, 22, .09);
}

.smcr-form {
  padding: 30px;
}

.smcr-progress-wrap {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--smcr-brown);
}

.smcr-progress-count {
  color: var(--smcr-muted);
  font-size: 14px;
}

.smcr-progress {
  height: 8px;
  overflow: hidden;
  background: #e7e0d8;
  border-radius: 99px;
}

.smcr-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--smcr-orange-a), var(--smcr-orange-b));
  border-radius: inherit;
  transition: width .3s ease;
}

.smcr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.smcr-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.smcr-question legend,
.smcr-title {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  color: var(--smcr-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
}

.smcr-question legend span,
.smcr-title span {
  color: var(--smcr-orange-b);
}

.smcr-help {
  min-height: 22px;
  margin: -8px 0 10px;
  color: var(--smcr-muted);
  font-size: 13px;
}

.smcr select {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 48px 0 16px;
  color: var(--smcr-ink);
  background-color: #fff;
  border: 1px solid var(--smcr-line);
  border-radius: 10px;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}

.smcr select:focus {
  outline: 3px solid rgba(199, 102, 41, .2);
  border-color: var(--smcr-orange-a);
}

.smcr-choice-grid {
  display: grid;
  gap: 10px;
}

.smcr-choice-grid.smcr-three { grid-template-columns: repeat(3, 1fr); }
.smcr-choice-grid.smcr-four { grid-template-columns: repeat(4, 1fr); }

.smcr-choice {
  display: block;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}

.smcr-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.smcr-choice-inner {
  display: flex;
  min-height: 128px;
  padding: 13px 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  text-align: center;
  color: var(--smcr-brown);
  background: linear-gradient(180deg, #fff, #f8f3ed);
  border: 1px solid var(--smcr-line);
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.smcr-choice:hover .smcr-choice-inner {
  transform: translateY(-2px);
  border-color: rgba(199, 102, 41, .6);
  box-shadow: 0 8px 22px rgba(58, 39, 29, .09);
}

.smcr-choice input:focus-visible + .smcr-choice-inner {
  outline: 3px solid rgba(199, 102, 41, .28);
  outline-offset: 2px;
}

.smcr-choice input:checked + .smcr-choice-inner {
  color: var(--smcr-orange-dark);
  background: #fff7f0;
  border: 2px solid var(--smcr-orange-a);
  box-shadow: 0 8px 22px rgba(187, 89, 29, .14);
}

.smcr-choice svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smcr-choice-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.smcr-compact .smcr-choice-inner {
  min-height: 104px;
}

.smcr-compact .smcr-choice svg {
  width: 40px;
  height: 40px;
}

.smcr-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  margin-top: 30px;
}

.smcr-submit,
.smcr-buy-button,
.smcr-link-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 34px;
  color: #fff !important;
  background: linear-gradient(90deg, var(--smcr-orange-a), var(--smcr-orange-b));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(187, 89, 29, .22);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.smcr-submit:hover:not(:disabled),
.smcr-buy-button:hover,
.smcr-link-button:hover {
  color: #fff !important;
  filter: brightness(.96);
  transform: translateY(-2px);
  box-shadow: 0 13px 25px rgba(187, 89, 29, .28);
}

.smcr-submit:focus-visible,
.smcr-buy-button:focus-visible,
.smcr-link-button:focus-visible {
  outline: 3px solid rgba(199, 102, 41, .34);
  outline-offset: 3px;
}

.smcr-submit:disabled {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
}

.smcr-reset {
  padding: 4px 8px;
  color: var(--smcr-brown);
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.smcr-error {
  margin: 4px 0 0;
  color: #922f21;
  font-size: 14px;
  font-weight: 700;
}

.smcr-result {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) 1.18fr;
  gap: 34px;
  margin-top: 40px;
  padding: 28px;
  scroll-margin-top: 170px;
}

.smcr-result[hidden],
.smcr-empty[hidden] { display: none !important; }

.smcr-result-image-wrap {
  overflow: hidden;
  align-self: center;
  background: #f3eee8;
  border-radius: 16px;
}

.smcr-result-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.smcr-result-copy {
  align-self: center;
}

.smcr-result h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
}

.smcr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.smcr-badge {
  padding: 6px 12px;
  color: var(--smcr-brown);
  background: #f2ebe4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.smcr-personal-reason {
  margin: 0 0 10px;
  color: var(--smcr-orange-dark);
  font-size: 17px;
  font-weight: 800;
}

.smcr-result-description,
.smcr-result-notes {
  margin: 0 0 10px;
  color: var(--smcr-brown);
}

.smcr-result-notes {
  font-size: 14px;
}

.smcr-result-price {
  min-height: 24px;
  margin: 13px 0;
  color: var(--smcr-ink);
  font-size: 18px;
  font-weight: 800;
}

.smcr-trust {
  margin: 13px 0 0;
  color: var(--smcr-muted);
  font-size: 12px;
}

.smcr-empty {
  margin-top: 30px;
  padding: 34px;
  text-align: center;
}

.smcr-empty h3 { font-size: 30px; }
.smcr-empty p { margin: 10px 0 20px; }

.smcr-link-button {
  --smcr-orange-a: #c76629;
  --smcr-orange-b: #bb591d;
  width: auto;
  margin: 8px 0;
}

@media (max-width: 900px) {
  .smcr { padding: 28px; }
  .smcr-grid { grid-template-columns: 1fr; }
  .smcr-result { grid-template-columns: minmax(220px, .75fr) 1.25fr; }
}

@media (max-width: 650px) {
  .smcr {
    width: calc(100% - 16px);
    margin: 16px auto;
    padding: 72px 12px 24px;
    scroll-margin-top: 120px;
    border-radius: 18px;
  }

  .smcr-logo { width: 118px; }
  .smcr-hero { margin-bottom: 22px; }
  .smcr-hero h2 { font-size: 35px; }
  .smcr-form { padding: 18px 12px; }
  .smcr-progress-wrap { grid-template-columns: auto auto; }
  .smcr-progress { grid-column: 1 / -1; }
  .smcr-grid { gap: 25px; }
  .smcr-choice-grid.smcr-four { grid-template-columns: repeat(2, 1fr); }
  .smcr-choice-inner { min-height: 116px; }
  .smcr-choice-label { font-size: 13px; }
  .smcr-question legend, .smcr-title { font-size: 22px; }
  .smcr-caffeine { grid-template-columns: 1fr !important; }
  .smcr-caffeine .smcr-choice-inner {
    min-height: 76px;
    padding: 9px 12px;
    flex-direction: row;
  }
  .smcr-submit, .smcr-buy-button { width: 100%; padding-inline: 18px; }
  .smcr-result { grid-template-columns: 1fr; padding: 17px; scroll-margin-top: 140px; }
  .smcr-result h3 { font-size: 32px; }
}

@media (max-width: 390px) {
  .smcr-choice-grid.smcr-three { grid-template-columns: 1fr; }
  .smcr-question-method .smcr-choice-inner,
  .smcr-compact:not(.smcr-caffeine) .smcr-choice-inner {
    min-height: 74px;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smcr *, .smcr *::before, .smcr *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
