/* =============================================
   About — Content Page Styles
   Shell (header, footer, page heading, base reset)
   is provided by <calc-shell> web component.
   ============================================= */

/* --- DESIGN TOKENS (needed by light DOM content slotted into calc-shell) --- */
:root {
  --bg: #f4f6f9;
  --card-bg: #ffffff;
  --text: #1a1d23;
  --text-muted: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --border: #e5e7eb;
  --accent-green: #059669;
  --accent-red: #dc2626;
  --accent-amber: #d97706;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.10);
}

/* --- CONTENT PAGE --- */
.content-page {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.25rem;
  max-width: 820px;
  margin: 0 auto;
}

.content-page .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.content-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.content-page p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.content-page ul,
.content-page ol {
  margin: 0 0 0.9rem 1.25rem;
  padding: 0;
}

.content-page li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.content-page a {
  color: var(--primary);
  text-decoration: none;
}

.content-page a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.content-page blockquote {
  margin: 0 0 0.9rem;
  padding: 0.6rem 1rem;
  border-left: 3px solid var(--primary);
  background: #f9fafb;
  border-radius: 0 6px 6px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.content-page .note {
  background: #f9fafb;
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* --- CONTACT CARD --- */
.contact-card {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.contact-card a {
  font-weight: 600;
}

/* --- CONTACT FORM (static mailto form — no backend) --- */
.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.7rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--primary-hover);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .content-page {
    padding: 1.25rem;
  }
}
