:root {
  --bg-color: #F6F3EC;
  --text-main: #1C1B18;
  --text-muted: #6B6860;
  --border-subtle: #E2DDD5;
  --card-bg: #FCFAF6;
  --terracotta: #C85A32;
  --terracotta-soft: rgba(200, 90, 50, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.18rem;
  line-height: 1.68;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 4.5rem 1.5rem 5rem;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
}

.title {
  font-size: 2.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0.4rem 0;
}

.open-section {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.section-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.open-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.bridge-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--terracotta);
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bridge-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.18rem;
  align-self: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.bridge-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.bridge-item p {
  font-size: 1.04rem;
  line-height: 1.58;
  color: #34322C;
}

.neq-inline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.05rem 0.32rem;
  border-radius: 3px;
}

.connect-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 1.05rem;
}

.connect-label {
  font-weight: 600;
}

.connect-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.connect-links a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.connect-links a:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.sep {
  color: var(--text-muted);
}
