:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #253328;
  background: #f6f8f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #b36b00; outline-offset: 5px; }

.site-header { background: #fff; border-top: 4px solid #65982e; border-bottom: 1px solid #e4e9df; }
.header-inner { max-width: 1160px; min-height: 84px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; transform: rotate(-4deg); }
.brand-mark i { background: #65982e; border-radius: 3px; }
.brand-mark i:last-child { background: #f2a10b; }
.home-link { color: #53634f; font-size: 15px; white-space: nowrap; padding: 8px 0; }
.home-link:hover { color: #3e6f17; text-decoration: underline; text-underline-offset: 4px; }
.home-link span { margin-right: 5px; }

.portal { width: 100%; max-width: 944px; flex: 1; margin: 0 auto; padding: 74px 32px 64px; }
.intro { text-align: center; }
.eyebrow { display: inline-block; padding: 7px 14px; color: #416925; background: #eaf0e3; border: 1px solid #dce6d2; border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: 2px; }
h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.35; letter-spacing: 1px; margin: 20px 0 14px; }
.intro p { color: #65705f; font-size: 17px; line-height: 1.7; margin: 0; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.system-card { --accent: #547a31; --tint: #eef3e8; --border: #dce6d1; position: relative; display: flex; flex-direction: column; padding: 34px 32px 28px; background: #fff; border: 1px solid #dfe6d8; border-top: 4px solid var(--accent); border-radius: 13px; box-shadow: 0 5px 20px rgb(39 59 23 / 4%); transition: border-color .18s, box-shadow .18s, transform .18s; }
.new-card { --accent: #a55f05; --tint: #fff3dd; --border: #f1d9aa; }
.system-card:hover { border-color: var(--accent); box-shadow: 0 10px 28px rgb(39 59 23 / 9%); transform: translateY(-3px); }
.system-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 25px; border: 1px solid var(--border); border-radius: 13px; background: var(--tint); color: var(--accent); font-size: 25px; font-weight: 700; }
h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.4; }
.system-card p { color: #667060; line-height: 1.7; margin: 0 0 31px; font-size: 15px; }
.card-action { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 21px; border-top: 1px solid #edf0e9; color: var(--accent); font-size: 16px; font-weight: 700; }
.card-action span { font-size: 24px; font-weight: 400; line-height: 1; }
.entry-note { margin: 27px 0 0; color: #687260; font-size: 14px; line-height: 1.8; text-align: center; }
.site-footer { padding: 24px; border-top: 1px solid #e4e9df; color: #6d7766; text-align: center; font-size: 13px; line-height: 1.8; }

@media (max-width: 600px) {
  .header-inner { min-height: 72px; padding: 16px 20px; gap: 12px; }
  .brand { gap: 9px; font-size: 17px; }
  .brand-mark { width: 25px; height: 25px; gap: 3px; }
  .home-link { font-size: 13px; }
  .portal { padding: 40px 20px; }
  .intro p { font-size: 16px; }
  .system-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .system-card { padding: 26px 26px 24px; }
  .system-icon { width: 46px; height: 46px; margin-bottom: 18px; font-size: 22px; }
  h2 { font-size: 24px; margin-bottom: 8px; }
  .system-card p { margin-bottom: 22px; }
  .entry-note { margin-top: 24px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .system-card { transition: none; }
  .system-card:hover { transform: none; }
}
