:root {
  --blue: #006aae;
  --blue-dark: #00507f;
  --green: #99bf34;
  --ink: #1d2733;
  --muted: #5b6876;
  --line: #e2e7ec;
  --bg: #ffffff;
  --soft: #f4f7fa;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
.brand .tag { font-size: 13px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { color: var(--ink); }
.nav a.active { color: var(--blue); font-weight: 600; }
.btn { display: inline-block; padding: 9px 18px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 1px solid var(--blue); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--blue); }
.btn-ghost:hover { background: var(--soft); text-decoration: none; }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: 14px; cursor: pointer; }

/* hero */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue); background: #e3f0f8; padding: 4px 10px; border-radius: 4px; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 520px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.panel h3 { margin: 0 0 14px; font-size: 15px; color: var(--muted); font-weight: 600; }
.status-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.status-row:first-of-type { border-top: 0; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.pill.ok { background: #eef5dc; color: #55701a; }
.pill.wip { background: #fff3db; color: #8a5a00; }
.pill.next { background: #eef1f4; color: var(--muted); }

/* modules */
.section { padding: 64px 0; }
.section h2 { font-size: 28px; margin: 0 0 8px; }
.section .lead { color: var(--muted); margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; }
.card .bar { width: 32px; height: 4px; border-radius: 2px; background: var(--green); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* footer */
.site-footer { margin-top: auto; background: #12202d; color: #b7c3cf; font-size: 14px; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid #253545; }
.foot-top h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.foot-top a { color: #b7c3cf; display: block; margin-bottom: 6px; }
.foot-bottom { padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8494a3; }

/* login */
.login-page { background: var(--soft); flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 16px; }
.login-box { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 32px 28px; }
.login-box img { height: 44px; display: block; margin: 0 auto 18px; }
.login-box h1 { font-size: 22px; text-align: center; margin: 0 0 4px; }
.login-box .sub { text-align: center; color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid #c9d2db; border-radius: 6px; font-size: 15px; font-family: inherit; }
.field input:focus { outline: 2px solid #b5d6ec; border-color: var(--blue); }
.login-box .btn { width: 100%; padding: 11px; }
.row-between { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 18px; }
.note { margin-top: 16px; font-size: 14px; padding: 10px 12px; border-radius: 6px; background: #fff3db; color: #8a5a00; display: none; }
.note.show { display: block; }
.help { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: 30px; }
  .grid { grid-template-columns: 1fr; }
  .brand .tag { display: none; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { text-align: center; margin-top: 8px; }
}
