:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: #e0e0e0;
  --accent: #111111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.site-header-inner,
.site-footer-inner,
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.logo-practice {
  font-size: 0.75rem;
  margin-top: 0.1rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

main {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.hero {
  margin-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.hero-bullets li + li {
  margin-top: 0.4rem;
}

.primary-button {
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 0.55rem 1.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: transparent;
}

.primary-button:hover {
  text-decoration: none;
  background: #11111108;
}

.evidence-chain {
  border: 1px solid var(--border);
  padding: 1.25rem;
  font-size: 0.85rem;
}

.evidence-chain-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.evidence-chain-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.evidence-node {
  border: 1px solid var(--border);
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.evidence-arrow {
  font-size: 0.8rem;
  color: var(--muted);
}

.evidence-chain-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
}

.content-block p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.highlight-block {
  border-left: 2px solid var(--border);
  padding-left: 1.25rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar {
  border: 1px solid var(--border);
  padding: 1rem;
  font-size: 0.92rem;
}

.pillar-title {
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.evidence-table th,
.evidence-table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.5rem;
  vertical-align: top;
}

.evidence-table th {
  font-weight: 600;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.timeline {
  border-left: 1px solid var(--border);
  margin-left: 0.6rem;
  padding-left: 1.4rem;
}

.timeline-step {
  position: relative;
  margin-bottom: 1.4rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-number {
  position: absolute;
  left: -1.4rem;
  top: 0.1rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.timeline-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-block {
  border-left: 2px solid var(--border);
  padding-left: 1.25rem;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.quote-block p {
  margin: 0 0 0.6rem;
}

.quote-block p:last-child {
  margin-bottom: 0;
}

.contact-email {
  font-size: 1.05rem;
  margin: 1rem 0 0.4rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
}

.site-footer {
  margin-top: 1rem;
  background: #fafafa;
}

.site-footer-inner {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 0.9rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillars-grid,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}
