@import url("backtest.css");

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --card: #ffffff;
  --ink: #172033;
  --muted: #69758a;
  --line: #e5eaf2;
  --blue: #2463eb;
  --blue-dark: #152c63;
  --green: #14804a;
  --amber: #a76500;
  --shadow: 0 12px 32px rgba(34, 58, 102, 0.08);
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

a { color: inherit; }

.shell { width: min(1280px, calc(100% - 56px)); margin: 0 auto; }

.site-header {
  padding: 36px 0 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}

h1, h2 { margin: 0; color: var(--ink); letter-spacing: -.03em; line-height: 1.12; }
h1 { max-width: 760px; font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.lede { max-width: 760px; margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }

main { padding: 28px 0 72px; }

.hero-card, .report-card, .notice {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
}

.hero-card h2 { color: #fff; }
.hero-card .eyebrow { color: #dce7ff; }
.hero-card .muted { color: #dce7ff; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover, .button:focus-visible { background: #174fc8; }
.section { margin-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.count-badge { padding: 4px 11px; border: 1px solid #b9cbed; border-radius: 999px; color: var(--blue); font-size: .85rem; background: #eef4ff; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.report-card { display: flex; min-height: 176px; flex-direction: column; justify-content: space-between; padding: 22px; }
.report-card h3 { margin: 0; color: var(--ink); font-size: 1.25rem; }
.report-card p { margin: 8px 0 0; color: var(--muted); }
.report-card .button { align-self: start; min-height: 38px; padding: 0 15px; background: #fff; border-color: #9db8f2; color: var(--blue); font-size: .9rem; }
.report-card .button:hover, .report-card .button:focus-visible { background: #eef4ff; border-color: var(--blue); }

.notice { margin-top: 26px; padding: 18px 22px; border-left: 4px solid #e0a52b; color: var(--muted); }
.notice strong { color: var(--amber); }
.notice p { margin: 4px 0 0; }
.site-footer { padding: 24px 0 36px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1280px); }
  .site-header { padding-top: 28px; }
  .hero-card { align-items: flex-start; flex-direction: column; padding: 24px; }
  .button { width: 100%; }
}
