/* Quote sanity check — scoped commercial intent path */

.quote-check-teaser {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
  border: 1px solid #a7f3d0;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.quote-check-teaser::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.quote-check-teaser-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.quote-check-kicker,
.quote-check-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-check-teaser h2 {
  margin-bottom: 10px;
}

.quote-check-teaser p {
  color: #374151;
  margin-bottom: 10px;
  max-width: 720px;
}

.quote-check-button,
.quote-check-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 15px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e 0%, #059669 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-check-button:hover,
.quote-check-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.34);
  background: linear-gradient(135deg, #115e59 0%, #047857 100%);
}

.quote-check-button:focus,
.quote-check-submit:focus {
  outline: 3px solid #34d399;
  outline-offset: 3px;
}

.quote-check-button-subtle {
  display: inline-flex;
  margin-left: 12px;
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.quote-check-button-subtle:hover {
  text-decoration: underline;
}

.quote-check-note {
  margin-top: 12px;
  color: #6b7280 !important;
  font-size: 13px;
}

.quote-check-page {
  max-width: 1120px;
  margin: 0 auto;
}

.quote-check-hero {
  position: relative;
  overflow: hidden;
  margin: 8px 0 28px;
  padding: 44px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.22), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f0fdf4 46%, #eff6ff 100%);
  border: 1px solid #d1fae5;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.quote-check-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.quote-check-lede {
  max-width: 720px;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
}

.quote-check-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quote-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 13px;
  font-weight: 700;
}

.quote-check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.quote-check-panel,
.quote-check-aside {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.quote-check-panel h2,
.quote-check-aside h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

.quote-check-panel-intro,
.quote-check-aside p {
  color: #4b5563;
}

.quote-check-form {
  margin-top: 24px;
}

.quote-check-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote-check-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quote-check-field-full {
  grid-column: 1 / -1;
}

.quote-check-field label,
.quote-check-consent strong {
  color: #111827;
  font-size: 14px;
  font-weight: 750;
}

.quote-check-field span,
.quote-check-helper {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.quote-check-field input,
.quote-check-field select,
.quote-check-field textarea {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 13px 14px;
  background: #ffffff;
  color: #111827;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-check-field textarea {
  min-height: 110px;
  resize: vertical;
}

.quote-check-field input:focus,
.quote-check-field select:focus,
.quote-check-field textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.13);
}

.quote-check-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #d1fae5;
  border-radius: 14px;
  background: #f0fdf4;
}

.quote-check-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #059669;
  flex: 0 0 auto;
}

.quote-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.quote-check-status {
  color: #6b7280;
  font-size: 14px;
}

.quote-check-status[data-state="error"] {
  color: #b91c1c;
  font-weight: 700;
}

.quote-check-status[data-state="success"] {
  color: #047857;
  font-weight: 700;
}

.quote-check-success {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
}

.quote-check-success[hidden] {
  display: none;
}

.quote-check-success h3 {
  margin-bottom: 10px;
  color: #065f46;
}

.quote-check-success ul,
.quote-check-aside ul {
  margin: 12px 0 0 20px;
  color: #374151;
}

.quote-check-success li,
.quote-check-aside li {
  margin-bottom: 8px;
}

.quote-check-aside {
  position: sticky;
  top: 108px;
}

.quote-check-steps {
  counter-reset: quoteStep;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.quote-check-step {
  position: relative;
  padding: 16px 16px 16px 52px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.quote-check-step::before {
  counter-increment: quoteStep;
  content: counter(quoteStep);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.quote-check-step strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
}

.quote-check-step span {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.quote-check-smallprint {
  margin-top: 18px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.quote-check-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .quote-check-teaser-inner,
  .quote-check-layout {
    grid-template-columns: 1fr;
  }

  .quote-check-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .quote-check-hero {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .quote-check-lede {
    font-size: 16px;
  }

  .quote-check-panel,
  .quote-check-aside {
    padding: 22px;
    border-radius: 16px;
  }

  .quote-check-form-grid {
    grid-template-columns: 1fr;
  }

  .quote-check-button,
  .quote-check-submit {
    width: 100%;
  }

  .quote-check-button-subtle {
    margin-left: 0;
  }
}
