html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 60%);
  color: #14213d;
}

a {
  color: #0f4ad9;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.hero-panel {
    border: 1px solid #d7e3f4;
    border-radius: 24px;
    background: radial-gradient(circle at top left, #91a8ea 0%, #ffffff 28%, #eff6ff 28.5%, #ffffff 65%);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(20, 33, 61, 0.08);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 74, 217, 0.12);
  color: #0f2c78;
  border: 1px solid rgba(15, 74, 217, 0.18);
  font-weight: 700;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #12326b;
  border: 1px solid #c9d9ff;
  font-weight: 700;
}

.language-switcher {
  min-width: 210px;
}

.language-switcher label {
  white-space: nowrap;
}

.drop-zone {
  border: 2px dashed #7aa2f7;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #f8fbff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drop-zone.dragover {
  background: #e7f0ff;
  border-color: #2563eb;
}

.signature-card {
  border-radius: 20px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #dbe5f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.document-summary {
  border-radius: 20px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #dbe5f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.document-summary--valid {
  border-left: 6px solid #198754;
}

.document-summary--invalid {
  border-left: 6px solid #dc3545;
}

.document-summary__label {
  color: #52607a;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.document-summary__title {
  color: #14213d;
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.document-summary__text {
  color: #334155;
  font-weight: 600;
  margin-top: 0.35rem;
}

.signature-valid {
  border-left: 6px solid #198754;
}

.signature-invalid {
  border-left: 6px solid #dc3545;
}

.signature-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
}

.signature-grid dt {
  font-size: 0.875rem;
  color: #52607a;
  margin-bottom: 0.25rem;
}

.signature-grid dd {
  margin: 0;
  font-weight: 600;
  word-break: break-word;
}

.policy-card {
  height: 100%;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid #dbe5f0;
  background: #fff;
}

.memory-disposal-note {
  border-radius: 12px;
  border: 1px solid #9ec5fe;
  background: #e7f1ff;
  color: #0a3678;
  font-weight: 700;
  padding: 0.85rem 1rem;
}

.policy-card p,
.policy-card h1,
.policy-card h2,
.drop-zone,
.feature-pill,
.feature-badge {
  color: inherit;
}

@media (max-width: 767.98px) {
  .hero-panel {
    padding: 1.25rem;
  }

  .signature-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
