/* Sigil-specific overlay on the shared darklake design system.
   Slightly warmer-blue / starlight accent to match the
   four-point-star emblem; still within the same family palette
   as Fathom and Dream. */

:root {
  --sigil-bright: #b8d8ff;  /* starlight */
  --sigil-cool:   #6f9ee8;
  --sigil-deep:   #3d5db8;
}

body.sigil {
  background:
    radial-gradient(1400px 600px at 50% -10%, rgba(111, 158, 232, 0.06), transparent 60%),
    var(--bg-primary);
}

.brand-name-sigil {
  background: linear-gradient(135deg, var(--sigil-bright), var(--sigil-cool));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-sigil {
  background: linear-gradient(135deg, var(--sigil-bright), var(--sigil-cool), var(--sigil-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

.badge-sigil {
  background: rgba(111, 158, 232, 0.08);
  border-color: rgba(111, 158, 232, 0.25);
  color: var(--sigil-cool);
}

.badge-sigil .badge-dot {
  background: var(--sigil-cool);
}

/* Standards section */
.standards-section {
  padding: 80px 0;
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(61, 93, 184, 0.05), transparent 70%);
}

.standards-content {
  text-align: center;
}

.standards-sub {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  margin: 16px auto 48px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
}

.standard-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  transition: border-color 0.2s ease;
}

.standard-item:hover {
  border-color: var(--border-hover);
}

.standard-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sigil-bright);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.standard-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .standards-grid {
    grid-template-columns: 1fr;
  }
}

/* Force the Sigil "What Sigil does" features grid to a 2×2 layout
   instead of the shared auto-fit-3-then-1-orphan that makes the
   last card look stranded on a wide viewport. Centered to a tight
   max-width so the cards don't stretch edge-to-edge. */
body.sigil .features-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  body.sigil .features-grid {
    grid-template-columns: 1fr;
  }
}
