/* The Consultant — shared site CSS for legal/policy pages and shared footer.
   Mirrors the landing page design tokens so legal pages feel native. */

:root {
  --tc-bg: #f6fafe;
  --tc-text: #16203a;
  --tc-text-muted: #2b476c;
  --tc-primary: #0ea5e9;
  --tc-secondary: #818cf8;
  --tc-accent: #f472b6;
  --tc-border: #e0e7ef;
  --tc-card-bg: #ffffff;
  --tc-shadow: 0 2px 32px #bae6fd44, 0 1.5px 10px #a5b4fc33;
  --tc-radius-lg: 1.2rem;
  --tc-radius-pill: 2rem;
  --tc-font: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--tc-font);
  background: var(--tc-bg);
  color: var(--tc-text);
  min-height: 100vh;
  scroll-behavior: smooth;
}

a { color: var(--tc-primary); text-decoration: none; }
a:hover { color: var(--tc-secondary); text-decoration: underline; }

.tc-shell { max-width: 880px; margin: 0 auto; padding: 32px 22px 24px; }

.tc-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; max-width: 1160px; margin: 0 auto;
}
.tc-topbar .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(90deg, #0ea5e9 0%, #818cf8 70%, #f472b6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tc-topbar img { width: 36px; height: 36px; border-radius: 8px; }
.tc-topbar nav a {
  margin-left: 16px; font-size: 0.95rem; color: var(--tc-text-muted);
}

.tc-doc h1 {
  font-size: 2rem; margin: 8px 0 4px;
  background: linear-gradient(90deg, #0ea5e9 0%, #818cf8 70%, #f472b6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tc-doc .tc-updated { color: var(--tc-text-muted); font-size: 0.92rem; margin-bottom: 22px; }
.tc-doc h2 { font-size: 1.25rem; margin-top: 28px; color: var(--tc-primary); }
.tc-doc h3 { font-size: 1.05rem; margin-top: 18px; color: var(--tc-text); }
.tc-doc p, .tc-doc li { color: var(--tc-text-muted); line-height: 1.65; font-size: 1rem; }
.tc-doc ul { padding-left: 1.2rem; }
.tc-doc .tc-card {
  background: var(--tc-card-bg); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-lg); padding: 22px 24px;
  box-shadow: var(--tc-shadow); margin-top: 14px;
}
.tc-doc strong { color: var(--tc-text); }

.tc-callout {
  background: linear-gradient(90deg, #e0f2fe 0%, #ede9fe 100%);
  border: 1px solid #bae6fd; border-radius: 0.8rem;
  padding: 14px 18px; margin: 18px 0;
  color: var(--tc-text);
}

/* Shared footer applied via .tc-footer markup */
.tc-footer {
  background: #f6fafe;
  border-top: 1.2px solid var(--tc-border);
  margin-top: 48px;
  padding: 28px 18px 22px;
  color: var(--tc-text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 3;
}
.tc-footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; gap: 18px;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}
.tc-footer h4 {
  margin: 0 0 8px; font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tc-text);
}
.tc-footer-links { list-style: none; padding: 0; margin: 0; }
.tc-footer-links li { margin: 4px 0; }
.tc-footer-links a { color: var(--tc-text-muted); }
.tc-footer-links a:hover { color: var(--tc-primary); }
.tc-footer-brand-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #0ea5e9 0%, #818cf8 70%, #f472b6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tc-footer-brand-row img { width: 32px; height: 32px; border-radius: 8px; filter: none; -webkit-text-fill-color: initial; }
.tc-footer-tag { margin: 8px 0 0; max-width: 320px; line-height: 1.55; }
.tc-footer-bottom {
  max-width: 1160px; margin: 22px auto 0;
  border-top: 1px dashed var(--tc-border);
  padding-top: 14px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 0.88rem; color: var(--tc-text-muted);
}
.tc-footer-bottom address { font-style: normal; }

@media (max-width: 720px) {
  .tc-footer-inner { grid-template-columns: 1fr; }
  .tc-doc h1 { font-size: 1.55rem; }
}

/* Buttons reused on the legal / contact pages */
.tc-btn {
  display: inline-block;
  padding: 12px 26px; font-size: 1rem; font-weight: 700;
  border-radius: var(--tc-radius-pill); border: none;
  background: linear-gradient(90deg, #0ea5e9 0%, #818cf8 80%);
  color: #fff; cursor: pointer;
  box-shadow: 0 2px 24px #74d2f699;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}
.tc-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.tc-btn.alt {
  background: #fff; color: var(--tc-primary);
  border: 2px solid var(--tc-primary); box-shadow: none;
}
.tc-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.tc-input, .tc-select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--tc-border); border-radius: 0.7rem;
  font-family: var(--tc-font); font-size: 1rem; color: var(--tc-text);
  background: #fff; box-sizing: border-box;
}
.tc-input:focus, .tc-select:focus {
  outline: none; border-color: var(--tc-primary);
  box-shadow: 0 0 0 3px #bae6fd66;
}
.tc-field { margin-bottom: 14px; }
.tc-field label { display: block; font-size: 0.92rem; color: var(--tc-text-muted); margin-bottom: 6px; }

.tc-pill {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: #e0f2fe; color: #0369a1; letter-spacing: 0.02em;
}
.tc-pill.warn { background: #fef3c7; color: #92400e; }
.tc-pill.ok { background: #dcfce7; color: #166534; }
.tc-pill.err { background: #fee2e2; color: #991b1b; }
