:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #12263a;
  --muted: #526476;
  --line: #dce4ee;
  --primary: #0d4f8b;
  --accent: #0ea57a;
  --dark: #0c1b2a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92vw); margin: 0 auto; }

.topbar { background: var(--primary); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; padding: 8px 0; gap: 12px; }
.topbar a { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 12px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.logo { width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 12px; }

.menu { display: flex; align-items: center; gap: 6px; }
.menu a { color: var(--ink); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.menu a.active { background: #e8f0f8; color: var(--primary); font-weight: 700; }
.menu a:hover { background: #edf2f7; text-decoration: none; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; padding: 10px 12px; border-radius: 8px; }

.btn { display: inline-block; padding: 11px 16px; background: var(--primary); color: #fff; border-radius: 10px; border: 0; cursor: pointer; font-weight: 700; }
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-accent { background: var(--accent); }
.btn-light { background: #fff; color: var(--primary); border: 1px solid var(--line); }

.hero { padding: 64px 0; background: linear-gradient(135deg, #eaf3ff, #f4fffa); }
.hero.slim { padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.pill { display: inline-block; background: #e6fbf4; color: #0d7459; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.1; margin: 14px 0; }
h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; margin: 0 0 10px; }
h3 { margin: 0 0 8px; }
p { margin: 0 0 10px; color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; }

.section { padding: 58px 0; }
.section.tint { background: #edf3f9; }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.card-grid { display: grid; gap: 14px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card.accent { background: linear-gradient(180deg, #0d4f8b, #0b3f6f); color: #fff; }
.card.accent p, .card.accent li, .card.accent h3 { color: #fff; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.stats strong { display: block; font-size: 30px; color: var(--primary); }
.stats span { font-size: 13px; color: var(--muted); }

.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stack { display: grid; gap: 12px; }
.list { margin: 0; padding-left: 20px; color: var(--ink); }
.list li { margin-bottom: 8px; }
.list.clean { list-style: none; padding-left: 0; }

.cta { background: linear-gradient(90deg, #0d4f8b, #1362aa); border-radius: 16px; color: #fff; padding: 24px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.cta h2, .cta p, .cta .small { color: #fff; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--ink); }
input, select, textarea { width: 100%; border: 1px solid #cfd8e3; border-radius: 10px; padding: 11px 12px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b5d1ec; border-color: var(--primary); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.notice { background: #e8f0f8; border: 1px solid #c9ddee; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.notice.success { background: #e8fbf4; border-color: #bae9d7; color: #0d7459; }
.faq-item h3 { cursor: pointer; margin-bottom: 4px; }

.site-footer { background: var(--dark); color: #d2dbe6; padding-top: 42px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.site-footer h3, .site-footer h4 { color: #fff; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d2dbe6; }
.footer-bottom { border-top: 1px solid #21384f; margin-top: 18px; padding: 16px 0 22px; font-size: 13px; }

.login-body { min-height: 100vh; display: grid; place-items: center; }
.login-wrap { width: min(480px, 92vw); }
.back-link { display: inline-block; margin-bottom: 12px; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.inline { display: flex; align-items: center; gap: 8px; }
.inline input { width: auto; }

@media (max-width: 960px) {
  .hero-grid, .cols-4, .cols-3, .split-2, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .menu {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 108px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.is-open { display: flex; }
  .cta { flex-direction: column; align-items: flex-start; }
}
