:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #172033;
  --muted: #667085;
  --weak: #98a2b3;
  --line: #e6eaf2;
  --line-strong: #d8deea;
  --accent: #155eef;
  --accent-strong: #123c8c;
  --navy: #0f172a;
  --indigo: #312e81;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #172554, #4f46e5);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-nav a {
  border-radius: 8px;
  color: #475467;
  font-size: 14px;
  padding: 8px 12px;
}

.top-nav a:hover {
  background: #eef2ff;
  color: #1d4ed8;
}

.top-nav a.active {
  background: #e0e7ff;
  color: #1d4ed8;
  font-weight: 700;
}

.hero {
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, #172554 58%, var(--indigo) 100%);
  padding: 74px 64px 70px;
}

.hero-content {
  max-width: 1060px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #4f7cff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a5b4fc;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 52px;
  font-weight: 780;
  line-height: 1.08;
}

.hero-text {
  max-width: 760px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: 18px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 860px;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
}

.hero-meta-strip > span:first-child {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.project-actions,
.card-actions,
.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: #344054;
  cursor: pointer;
  font-weight: 650;
  line-height: 1;
  padding: 0 16px;
}

.button:hover {
  border-color: #bfd0ff;
  color: #155eef;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  border-color: #0b4bd3;
  background: #0b4bd3;
  color: #fff;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.ghost-light {
  background: #f8fafc;
}

.workspace-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2,
.content-card h2,
.project-hero h1,
.info-card h2 {
  margin: 0;
  line-height: 1.2;
}

.section-heading h2,
.content-card h2,
.info-card h2 {
  font-size: 24px;
}

.section-copy {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.toolbar input {
  width: 260px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  padding: 0 14px;
}

.toolbar input:focus {
  border-color: #84a9ff;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card,
.project-card,
.info-card,
.content-card,
.notice,
.detail-sidebar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.stat-card {
  padding: 20px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
}

.status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.status-filters button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #475467;
  cursor: pointer;
  padding: 0 12px;
}

.status-filters button.active,
.status-filters button:hover {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #1d4ed8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 20px;
}

.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.project-type {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.project-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.review-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.step-card strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.step-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.project-summary {
  min-height: 74px;
  margin: 14px 0 0;
  color: #475467;
}

.project-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.project-meta div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
}

.project-meta dt {
  color: var(--weak);
}

.project-meta dd {
  margin: 0;
  color: #344054;
}

.project-card-actions {
  margin-top: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  white-space: nowrap;
}

.status-draft {
  background: #f2f4f7;
  color: #475467;
}

.status-prototype {
  background: #eef4ff;
  color: #175cd3;
}

.status-pending {
  background: #fff6ed;
  color: #b54708;
}

.status-review {
  background: #eef2ff;
  color: #3730a3;
}

.status-confirmed {
  background: #ecfdf3;
  color: #067647;
}

.status-archived {
  background: #f8eeee;
  color: #8a3a3a;
}

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

.info-card,
.notice {
  padding: 22px;
}

.prototype-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.prototype-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.prototype-card h3 {
  margin: 0;
  font-size: 18px;
}

.prototype-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.prototype-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.prototype-card dl div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.prototype-card dt {
  color: var(--weak);
  font-size: 13px;
}

.prototype-card dd {
  margin: 4px 0 0;
  color: #344054;
  font-weight: 650;
}

.version-empty {
  margin-top: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.version-empty strong {
  display: block;
  color: var(--ink);
}

.version-empty p {
  margin: 8px 0 0;
  color: var(--muted);
}

.notice {
  color: #475467;
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.notice p {
  margin: 0;
}

.notice.inline {
  margin-top: 18px;
  background: #f8fafc;
  box-shadow: none;
}

.empty-message {
  color: var(--muted);
}

.detail-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.detail-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.detail-sidebar a {
  border-radius: 8px;
  color: #475467;
  font-weight: 650;
  padding: 10px 12px;
}

.detail-sidebar a:hover {
  background: #eef2ff;
  color: #1d4ed8;
}

.detail-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.project-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.project-hero.slim {
  margin-bottom: 18px;
}

.project-hero h1 {
  font-size: 30px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #475467;
}

.content-card {
  padding: 24px;
  scroll-margin-top: 90px;
}

.content-card h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.content-card p {
  color: #475467;
  margin: 10px 0 0;
}

.clean-list {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #344054;
}

.clean-list li + li {
  margin-top: 8px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.prototype-frame {
  width: 100%;
  height: 720px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.info-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 14px;
}

.info-table th,
.info-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 190px;
  background: #f8fafc;
  color: #344054;
  font-weight: 700;
}

.info-table td {
  color: #475467;
}

.changelog-table th:first-child,
.changelog-table td:first-child {
  width: 110px;
  font-weight: 700;
}

.compact-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.compact-list div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px 14px;
}

.compact-list span {
  color: #475467;
}

.simple-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.prd-layout {
  max-width: 1440px;
  grid-template-columns: 240px minmax(0, 1fr);
}

.prd-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.prd-hero p {
  max-width: 820px;
}

.prd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.anchor-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.step-flow,
.summary-grid,
.validation-grid {
  display: grid;
  gap: 14px;
}

.step-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-grid,
.validation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prd-mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.prd-mini-card strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.prd-mini-card p,
.prd-mini-card ul {
  margin: 8px 0 0;
  color: #475467;
}

.prd-mini-card ul {
  padding-left: 20px;
}

.layout-brief,
.annotation-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  margin-top: 16px;
}

.wireframe,
.annotation-visual {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.builder-sketch {
  display: grid;
  grid-template-columns: 110px minmax(150px, 1fr) 130px;
  gap: 10px;
  min-height: 230px;
}

.builder-sketch div,
.phone-sketch,
.sketch-panel {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.sketch-panel {
  padding: 12px;
}

.phone-sketch {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
}

.sketch-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sketch-block {
  min-height: 34px;
  border-radius: 6px;
  background: #eef4ff;
}

.sketch-block.red {
  background: #da2014;
}

.sketch-block.soft {
  background: #f2f4f7;
}

.annotation-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.annotation-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.annotation-card h3 {
  margin-top: 0;
}

.annotation-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #475467;
}

.search-demo {
  display: grid;
  gap: 12px;
  align-content: center;
}

.search-area-demo {
  border-radius: 22px;
  background: #da2014;
  padding: 0 10px;
}

.search-input-demo {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #fff;
  border-radius: 18px;
  background: #fff;
  color: #7d7d7e;
  padding: 0 14px;
}

.demo-dot {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.countdown-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  border-radius: 8px;
  background: #fff7ed;
  color: #ef4444;
  font-weight: 800;
}

.clock-demo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 35%, #fff 0 25%, #ffc5bf 26% 42%, #ef4444 43% 100%);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.digit-demo {
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  padding: 2px 6px;
}

.sticky-demo {
  display: grid;
  gap: 8px;
}

.sticky-layer {
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  padding: 10px 12px;
}

.sticky-layer.search {
  background: #0f172a;
}

.sticky-layer.primary {
  background: #2563eb;
}

.sticky-layer.secondary {
  background: #da2014;
}

.feed-demo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.feed-demo span {
  height: 58px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.mode-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.to-top-demo {
  position: relative;
  min-height: 220px;
  background: linear-gradient(#f8fafc, #eef4ff);
}

.to-top-demo::after {
  content: "↑";
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: #155eef;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.visual-note-list {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.review-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  background: #f8fafc;
  color: #667085;
  font-weight: 800;
  text-align: center;
}

.visual-shot {
  margin: 0;
}

.visual-shot-button {
  display: grid;
  width: 100%;
  min-height: 220px;
  padding: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  cursor: zoom-in;
}

.visual-shot img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.visual-shot figcaption {
  margin-top: 8px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.visual-shot .review-placeholder {
  display: none;
  width: 100%;
  min-height: 220px;
  border: 0;
}

.visual-shot.is-missing img {
  display: none;
}

.visual-shot.is-missing .review-placeholder {
  display: grid;
}

.shot-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgb(15 23 42 / 72%);
}

.shot-modal.is-open {
  display: flex;
}

.shot-modal-panel {
  position: relative;
  display: grid;
  max-width: min(1180px, 96vw);
  max-height: 92vh;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(15 23 42 / 32%);
}

.shot-modal-panel img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.shot-modal-panel p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.shot-modal-close {
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
  padding: 8px 12px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table-scroll .info-table {
  min-width: 760px;
}

.risk-tag {
  display: inline-flex;
  border-radius: 999px;
  background: #fff6ed;
  color: #b54708;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.ok-tag {
  display: inline-flex;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.upload-size-hint,
.upload-hint {
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.upload-size-hint strong,
.upload-hint strong {
  color: #1e293b;
  font-weight: 700;
}

.upload-size-hint__text {
  display: inline;
}

.upload-hint-icon {
  display: none;
}

.upload-size-table {
  margin-top: 24px;
}

.upload-size-table h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 20px;
  line-height: 1.3;
}

.upload-crop-note {
  margin-top: 14px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  color: #475569;
  padding: 14px 16px;
}

.upload-crop-note strong {
  color: #1e3a8a;
}

.upload-crop-note p {
  margin: 6px 0 0;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 24px;
  }

  .project-grid,
  .stats-grid,
  .review-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .layout-brief,
  .annotation-card,
  .step-flow,
  .summary-grid,
  .validation-grid,
  .mode-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .top-nav a {
    flex: 0 0 auto;
  }

  .hero {
    padding: 42px 22px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-heading,
  .project-hero,
  .card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar input {
    width: 100%;
  }

  .project-grid,
  .stats-grid,
  .review-steps,
  .two-column {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="home"] {
  background:
    radial-gradient(circle at 14% 8%, rgb(47 107 255 / 10%), transparent 28%),
    radial-gradient(circle at 86% 18%, rgb(36 84 214 / 9%), transparent 24%),
    #f6f8fc;
  color: #14213d;
}

body[data-page="home"] .home-section {
  scroll-margin-top: 96px;
}

body[data-page="home"] .home-header {
  height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid #dfe7f5;
  background: rgb(255 255 255 / 86%);
}

body[data-page="home"] .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #14255e, #2f6bff);
  box-shadow: 0 10px 24px rgb(36 84 214 / 22%);
}

body[data-page="home"] .brand strong {
  color: #14255e;
  font-size: 17px;
}

body[data-page="home"] .brand small {
  color: #6b7a99;
}

body[data-page="home"] .top-nav {
  gap: 8px;
}

body[data-page="home"] .top-nav a {
  border-radius: 999px;
  color: #42526e;
  padding: 8px 14px;
}

body[data-page="home"] .top-nav a:hover {
  background: #eef4ff;
  color: #2454d6;
}

.home-main {
  padding-bottom: 56px;
}

.review-hero {
  padding: 34px 24px 24px;
}

.review-hero-inner,
.home-section {
  max-width: 1160px;
  margin: 0 auto;
}

.review-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.72fr);
  gap: 28px;
  overflow: hidden;
  border: 1px solid rgb(179 200 255 / 28%);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(135deg, #14255e 0%, #18377d 58%, #2454d6 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: 0 24px 70px rgb(20 37 94 / 18%);
  padding: 44px;
}

.review-hero-inner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(120 168 255 / 34%), transparent 64%);
  pointer-events: none;
}

.review-hero-copy,
.current-preview-card {
  position: relative;
  z-index: 1;
}

.review-hero .eyebrow,
.home-section .eyebrow,
.home-usage-note .eyebrow {
  color: #6f9bff;
}

.review-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: 44px;
  font-weight: 780;
  line-height: 1.12;
}

.review-hero-text {
  max-width: 660px;
  margin: 18px 0 0;
  color: #d7e3ff;
  font-size: 17px;
}

.review-status-pill {
  display: inline-flex;
  max-width: 100%;
  margin-top: 24px;
  border: 1px solid rgb(214 226 255 / 24%);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: #eef4ff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 14px;
}

.review-hero-actions {
  display: flex;
  margin-top: 26px;
}

.home-primary-button {
  min-height: 44px;
  border-color: #fff;
  background: #fff;
  color: #2454d6;
  box-shadow: 0 12px 28px rgb(0 0 0 / 16%);
}

.home-primary-button:hover {
  border-color: #dbe7ff;
  background: #edf4ff;
  color: #14255e;
}

.current-preview-card,
.featured-project-card,
.home-usage-note {
  border: 1px solid #dbe7ff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgb(36 84 214 / 9%);
}

.current-preview-card {
  align-self: center;
  overflow: hidden;
  padding: 24px;
}

.current-preview-card::before {
  content: "";
  display: block;
  height: 5px;
  margin: -24px -24px 22px;
  background: linear-gradient(90deg, #2f6bff, #8fb5ff);
}

.preview-card-head,
.featured-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-label,
.project-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eef4ff;
  color: #2454d6;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.current-preview-card h2 {
  margin: 18px 0 0;
  color: #14255e;
  font-size: 24px;
  line-height: 1.28;
}

.preview-meta,
.featured-meta {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.preview-meta div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
}

.preview-meta dt,
.featured-meta dt {
  color: #7a89a8;
}

.preview-meta dd,
.featured-meta dd {
  margin: 0;
  color: #24365f;
  font-weight: 700;
}

.preview-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.preview-card-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe7ff;
  border-radius: 10px;
  background: #f7faff;
  color: #2454d6;
  font-size: 13px;
  font-weight: 800;
}

.preview-card-actions a:hover {
  border-color: #a9c3ff;
  background: #eef4ff;
}

.home-section {
  padding: 44px 24px 0;
}

.home-section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.home-section-heading h2,
.home-usage-note h2 {
  margin: 0;
  color: #14255e;
  font-size: 28px;
  line-height: 1.2;
}

.home-section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #63708c;
}

.featured-project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 34px;
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.featured-project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgb(36 84 214 / 13%);
}

.featured-project-card::after {
  content: "评审中";
  position: absolute;
  right: 26px;
  top: 24px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2454d6;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.featured-project-copy h3 {
  margin: 16px 0 0;
  color: #14255e;
  font-size: 30px;
  line-height: 1.24;
}

.featured-project-copy p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #63708c;
}

.featured-meta {
  max-width: 580px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.featured-meta div {
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid #e5edff;
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px;
}

.featured-project-actions {
  display: grid;
  align-content: center;
  gap: 12px;
  padding-top: 36px;
}

.featured-project-actions .button {
  min-height: 44px;
  width: 100%;
  border-radius: 12px;
}

.button.secondary {
  border-color: #d8e5ff;
  background: #eef4ff;
  color: #2454d6;
}

.button.secondary:hover {
  border-color: #b7ccff;
  background: #e4eeff;
  color: #14255e;
}

.button.outline {
  border-color: #cbd7ef;
  background: #fff;
  color: #42526e;
}

.button.outline:hover {
  border-color: #8fb5ff;
  background: #f7faff;
  color: #2454d6;
}

.home-usage-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fff 0%, #f7faff 100%);
}

.home-usage-note p:last-child {
  margin: 0;
  color: #63708c;
}

@media (max-width: 980px) {
  .review-hero-inner,
  .featured-project-card,
  .home-usage-note {
    grid-template-columns: 1fr;
  }

  .featured-project-actions {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .home-header {
    height: auto;
    padding: 14px 18px;
  }

  body[data-page="home"] .brand {
    min-width: 0;
  }

  .review-hero {
    padding: 20px 14px 10px;
  }

  .review-hero-inner {
    gap: 22px;
    border-radius: 18px;
    padding: 28px 20px;
  }

  .review-hero h1 {
    font-size: 32px;
  }

  .review-hero-text {
    font-size: 15px;
  }

  .review-status-pill {
    align-items: flex-start;
    border-radius: 16px;
    line-height: 1.5;
  }

  .current-preview-card,
  .featured-project-card,
  .home-usage-note {
    border-radius: 16px;
  }

  .preview-card-actions,
  .featured-meta {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding: 34px 14px 0;
  }

  .home-section-heading h2,
  .home-usage-note h2 {
    font-size: 24px;
  }

  .featured-project-card {
    gap: 24px;
    padding: 22px;
  }

  .featured-project-card::after {
    right: 18px;
    top: 18px;
  }

  .featured-project-copy h3 {
    padding-right: 70px;
    font-size: 24px;
  }

  .featured-project-actions .button {
    white-space: normal;
    text-align: center;
  }

  .home-usage-note {
    padding: 22px;
  }
}
