html {
  min-width: 0;
  color-scheme: light;
  background: #ebe6dc;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  color: #1c1c1c;
  background:
    radial-gradient(circle at 100% 0, rgb(252 182 54 / 18%), transparent 32rem),
    #ebe6dc;
}

.widget-skip {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #1c1c1c;
  background: #fcb636;
  font: 700 0.875rem/1.2 Inter, Arial, sans-serif;
  transform: translateY(-180%);
}

.widget-skip:focus { transform: none; }

.widget-page {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px);
}

.widget-intro {
  margin: 0 0 18px;
  padding-inline: 4px;
}

.widget-intro p {
  margin: 0 0 7px;
  color: #76501a;
  font: 800 0.6875rem/1.3 Inter, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.widget-intro h1 {
  margin: 0;
  color: #1c1c1c;
  font: 800 clamp(1.75rem, 5vw, 2.75rem)/1.08 Poppins, Arial, sans-serif;
  letter-spacing: -.04em;
}

.widget-intro span {
  display: block;
  max-width: 42rem;
  margin-top: 9px;
  color: #625f58;
  font: 400 0.875rem/1.5 Inter, Arial, sans-serif;
}

#quote-root {
  min-height: 620px;
  border: 1px solid #d0c8ba;
  border-radius: 24px;
  overflow: hidden;
  background: #f7f4ed;
  box-shadow: 0 18px 55px rgb(44 37 24 / 12%);
}

#quote-root:focus { outline: none; }
#quote-root:focus-visible { outline: 3px solid #6a4a13; outline-offset: 4px; }
#quote-root .e-shell { height: auto; min-height: 620px; }
#quote-root .e-form { min-height: 550px; }
#quote-root .e-body { overflow: visible; }
#quote-root .e-widget-label {
  color: #f4eee4;
  font: 700 0.75rem/1.3 Inter, Arial, sans-serif;
  letter-spacing: .04em;
}

.widget-noscript {
  margin: 20px;
  padding: 16px;
  color: #762717;
  background: #fff;
  font: 600 1rem/1.5 Inter, Arial, sans-serif;
}

html.is-embedded, html.is-embedded body { min-height: 0; }
html.is-embedded body { background: #f7f4ed; }
html.is-embedded .widget-page { width: 100%; padding: 0; }
html.is-embedded .widget-intro, html.is-embedded .widget-skip { display: none; }
html.is-embedded #quote-root {
  min-height: 600px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .widget-page { padding: 12px; }
  .widget-intro { margin: 8px 4px 14px; }
  #quote-root { min-height: 640px; border-radius: 18px; }
  #quote-root .e-shell { min-height: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
