/* mathematical-symbols.css - the stylesheet for the hand-maintained
 * /mathematical-symbols/ pages, which the Astro build never emits and the
 * deploy rsync never touches. It mirrors the built site's shell (gray-900 ->
 * gray-800 header, gray-50 body, 1120px container) so these five pages read as
 * part of calculatorxyz and not as a leftover. It is served from inside the
 * directory it styles -- one unit, nothing to keep in sync elsewhere. The old
 * pages pointed at /template/mathematical-symbols/..., which is gone and is not
 * in the build either. */
:root {
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f9fafb;
  --card: #ffffff;
  --accent: #2563eb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
.site-header {
  background: linear-gradient(to bottom, #111827, #1f2937);
  color: #fff;
  padding: 24px 16px;
  text-align: center;
}
.site-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.site-header .tagline {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}
.site-header a { color: inherit; text-decoration: none; }
.breadcrumb {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}
h1.page {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 600;
}
p { margin: 0 0 16px; color: var(--ink-soft); }
ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-soft); }
li { margin: 0 0 8px; }
a { color: var(--accent); }
.symbol {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05em;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 24px;
}
caption {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
th, td {
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td.symbol { font-size: 18px; white-space: nowrap; }
.lede { font-size: 17px; }
.related {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 40px;
}
.related ul { margin: 0; }
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { color: var(--accent); text-decoration: none; margin: 0 8px; }
@media (max-width: 640px) {
  h1.page { font-size: 26px; }
  th, td { padding: 8px 10px; }
}
