/* Layout for legal / About / Contact pages. Inherits tokens from styles.css */

body { background: var(--parchment); }

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.legal-back {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.legal-back:hover { color: var(--midnight); }

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 28px 80px;
}
.legal-wrap.narrow { max-width: 640px; }

.legal-wrap .kicker { margin-bottom: 14px; }

.legal-wrap h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--midnight);
}

.legal-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}

.legal-lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 28px;
}

.legal-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--midnight);
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal-wrap p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal-wrap ul {
  padding-left: 22px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.legal-wrap ul li::marker { color: var(--gold); }
.legal-wrap ul li { margin-bottom: 4px; }

.legal-wrap a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 3px;
}
.legal-wrap a:hover { color: var(--gold); }

.legal-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 36px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}
.legal-footer a:hover { color: var(--midnight); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--midnight);
}

.contact-card span {
  font-size: 14px;
  color: var(--gold-deep);
  font-weight: 500;
}

@media (max-width: 600px) {
  .legal-header, .legal-footer { padding: 16px 20px; }
  .legal-wrap { padding: 40px 20px 60px; }
  .contact-grid { grid-template-columns: 1fr; }
}
