:root {
  --font-sans: 'Sora', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

.dr-modal[hidden] {
  display: none !important;
}

.dr-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, .56);
  backdrop-filter: blur(4px);
}

.dr-dialog {
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .25);
  padding: 24px;
}

.dr-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dr-title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
}

.dr-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
  margin: 8px 0 0;
}

.dr-close {
  border: 0;
  background: #f3f4f6;
  color: #111827;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 24px;
  line-height: 36px;
  cursor: pointer;
}

.dr-grid {
  display: grid;
  gap: 12px;
}

.dr-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.dr-input,
.dr-select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
}

.dr-label.is-invalid {
  color: #991b1b;
}

.dr-label.is-invalid .dr-input,
.dr-label.is-invalid .dr-select {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .14);
}

.dr-field-error {
  color: #991b1b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.dr-field-error[hidden] {
  display: none;
}

.dr-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
  margin-top: 2px;
}

.dr-consent input {
  margin-top: 2px;
  flex: none;
}

.dr-submit {
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  padding: 15px 18px;
  cursor: pointer;
}

.dr-submit[disabled] {
  opacity: .68;
  cursor: wait;
}

.dr-error {
  display: none;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 12px;
}

.dr-error[hidden] {
  display: none !important;
}

.dr-error.is-visible {
  display: block;
}

.dr-field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dr-seo {
  background: #f8fafc;
  color: #111827;
  font-family: var(--font-sans);
  padding: 76px 20px 88px;
}

.dr-seo__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.dr-seo__eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dr-seo h1 {
  max-width: 760px;
  margin: 0;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
}

.dr-seo__answer {
  margin: 28px 0 34px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 26px;
}

.dr-seo__answer h2,
.dr-seo__articles h2,
.dr-seo__faq h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
}

.dr-seo__answer p,
.dr-seo__grid p,
.dr-seo__article p,
.dr-seo__faq p {
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.dr-seo__grid,
.dr-seo__faq-grid {
  display: grid;
  gap: 16px;
}

.dr-seo__grid {
  grid-template-columns: repeat(3, 1fr);
}

.dr-seo__decision,
.dr-seo__articles {
  margin-top: 44px;
}

.dr-seo__decision > p {
  max-width: 820px;
  margin: 0 0 20px;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.dr-seo__article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dr-seo__article {
  display: block;
  min-width: 0;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .07);
  padding: 22px;
}

.dr-seo__article span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dr-seo__article h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
}

.dr-seo__grid article,
.dr-seo__faq-grid article {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.dr-seo__grid h2,
.dr-seo__faq-grid h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.dr-seo__faq {
  margin-top: 44px;
}

.dr-seo__faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 560px) {
  .dr-dialog {
    padding: 20px;
    border-radius: 16px;
  }

  .dr-title {
    font-size: 24px;
  }
}

@media (max-width: 820px) {
  .dr-seo {
    padding: 54px 16px 66px;
  }

  .dr-seo__grid,
  .dr-seo__article-grid,
  .dr-seo__faq-grid {
    grid-template-columns: 1fr;
  }

  .dr-seo__answer {
    padding: 22px;
  }
}
