/*
 * Shared styles for the MCP server's public pages (/support, /terms). Colors and type follow the
 * Passetto brand guidelines. Everything is self-contained, so the pages make no third-party
 * requests and stay within the server's default helmet Content Security Policy.
 */

:root {
  --forest: #0e2818;
  --ink: #1f2a24;
  --muted: #5f6b68;
  --teal-600: #147e8c;
  --teal-800: #0e5262;
  --canvas: #f3f4ef;
  --card: #ffffff;
  --callout: #eaecef;
  --border: #e4e6de;
  --heading-font: 'Seratova', Georgia, 'Times New Roman', serif;
  --body-font:
    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.55;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

h1,
h2 {
  color: var(--forest);
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 44px);
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

h3 {
  margin: 20px 0 6px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 600;
}

.lead {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}

.card {
  margin-bottom: 20px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.card > :last-child {
  margin-bottom: 0;
}

.callout {
  padding: 16px;
  background: var(--callout);
  border-radius: 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a {
  color: var(--teal-600);
}

a:hover {
  color: var(--teal-800);
}

ul {
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

code {
  padding: 1px 6px;
  background: var(--callout);
  border-radius: 6px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  margin-right: 16px;
}
