/* 本地投研 AI 原型 — 共用样式（你可替换或删除） */
:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #78716c;
  --accent: #c2410c;
  --accent-soft: rgba(194, 65, 12, 0.08);
  --border: rgba(28, 25, 23, 0.08);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.06);
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

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

.proto-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.proto-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.proto-nav__brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.proto-nav__brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.proto-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-left: auto;
  font-size: 0.875rem;
}

.proto-nav__links a {
  color: var(--muted);
  font-weight: 500;
}
.proto-nav__links a[aria-current='page'] {
  color: var(--accent);
}

.proto-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
}

.proto-placeholder {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  background: var(--accent-soft);
  border-radius: calc(var(--radius) - 4px);
  border: 1px dashed rgba(194, 65, 12, 0.25);
}

.proto-home-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .proto-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.proto-card {
  display: block;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}
.proto-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.08);
  text-decoration: none;
}

.proto-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}
.proto-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.proto-external {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}
