/* =====================
   Shared styles for the standalone pages: contact, privacy, developers, 404.
   Uses the same tokens and rhythm as .about-hero / .about-section so these
   pages are visually indistinguishable from the existing About page.
   ===================== */

.page-hero {
  background: var(--bg-beige);
  border-bottom: 1px solid var(--border-dark);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.page-hero h1 span { color: var(--orange); }

.page-hero p {
  font-size: 1rem;
  color: var(--text-gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
  font-family: 'Inter', Arial, sans-serif;
}

.about-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.75rem 0 0.5rem;
}

.about-section ul,
.about-section ol {
  margin: 0 0 1.3rem 1.2rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.85;
  font-family: 'Inter', Arial, sans-serif;
}

.about-section li { margin-bottom: 0.4rem; }

.entry-list { list-style: none; margin-left: 0; }

.entry-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

.about-section code,
.entry-list code {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.1rem 0.35rem;
  color: var(--text-dark);
}

.about-section pre {
  background: #10161f;
  color: #e6edf3;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.83rem;
  line-height: 1.7;
  margin: 0.5rem 0 1.5rem;
  border-left: 3px solid var(--blue);
}

.about-section pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.75rem;
  font-size: 0.88rem;
  font-family: 'Inter', Arial, sans-serif;
}

.api-table th,
.api-table td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-mid);
}

.api-table th {
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--border-dark);
}

.api-table td:first-child { white-space: nowrap; }

.method {
  display: inline-block;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius-sm);
  padding: 0.12rem 0.4rem;
  margin-right: 0.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1rem 0 2rem;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
}

.contact-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  font-family: 'Inter', Arial, sans-serif;
}

.contact-card a { color: var(--blue); text-decoration: none; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }

.cta-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.cta-link:hover { text-decoration: underline; }

.notice-block {
  background: var(--orange-light);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 0.5rem 0 1.75rem;
}

.notice-block p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-mid);
}

.updated-line {
  font-size: 0.82rem;
  color: var(--text-light);
  font-family: 'Inter', Arial, sans-serif;
  margin-top: 2.5rem;
}

@media (max-width: 700px) {
  .page-hero { padding: 3rem 1.5rem 2.5rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .api-table { font-size: 0.8rem; }
}
