
:root {
  --bg: #07111f;
  --bg-soft: #0b192b;
  --panel: #0e1d31;
  --panel-hover: #122641;
  --blue: #438cff;
  --blue-light: #7bb0ff;
  --text: #f3f6fc;
  --muted: #9aabc1;
  --border: rgba(155, 183, 219, .16);
  --radius: 16px;
  --max-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.site-header {
  min-height: 82px; padding: 14px max(24px, calc((100% - var(--max-width))/2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: sticky; top: 0; z-index: 20;
  background: rgba(7,17,31,.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 22px; letter-spacing: 2px; }
.brand small { font-size: 9px; letter-spacing: 2px; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 13px; color: #c4d0e0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-light); }
.nav-links .nav-join { background: var(--blue); color: white; padding: 10px 16px; border-radius: 8px; }
.menu-toggle { display: none; color: white; background: none; border: 0; font-size: 26px; cursor: pointer; }
.hero, .section, .cta-section, .page-hero, .page-content, .site-footer {
  width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto;
}
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px;
  align-items: center; min-height: 580px; padding-block: 76px;
}
.eyebrow { color: var(--blue-light); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #56d6a0; margin-right: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 6vw, 76px); letter-spacing: -3px; line-height: 1.04; margin: 22px 0; }
h1 span { color: var(--blue-light); }
.hero-content > p { max-width: 560px; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.centered { justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid transparent; border-radius: 9px; padding: 12px 18px;
  font-size: 13px; font-weight: 750; cursor: pointer; transition: .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: #5b9bff; }
.button-outline { color: #dce7f7; background: transparent; border-color: var(--border); }
.button-outline:hover { border-color: var(--blue); }
.hero-note { margin-top: 26px; font-size: 12px; color: var(--muted); }
.hero-panel {
  padding: 28px; border: 1px solid var(--border); border-radius: 20px;
  background: radial-gradient(ellipse at top right, rgba(67,140,255,.17), transparent 60%), var(--panel);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}
.panel-top { display: flex; align-items: center; gap: 12px; font-size: 10px; }
.panel-icon, .feature-icon {
  display: grid; place-items: center; background: rgba(67,140,255,.14);
  color: var(--blue-light); border: 1px solid rgba(67,140,255,.28); border-radius: 10px;
  width: 44px; height: 44px; font-weight: 900; font-size: 20px;
}
.live-pill, .tag { margin-left: auto; padding: 5px 8px; color: var(--blue-light); background: rgba(67,140,255,.12); border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.panel-line { height: 1px; background: var(--border); margin: 24px 0; }
.panel-label { font-size: 10px; color: var(--blue-light); letter-spacing: 2px; }
.hero-panel h2 { font-size: 28px; margin-bottom: 10px; }
.muted { color: var(--muted); }
.panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; margin: 24px 0; }
.panel-stats div { display: flex; flex-direction: column; gap: 5px; }
.panel-stats strong { font-size: 25px; }
.panel-stats span { color: var(--muted); font-size: 9px; letter-spacing: .6px; }
.text-link, .card-link { color: var(--blue-light); font-size: 12px; font-weight: 800; }
.section { padding-block: 65px; }
.section-tinted { width: 100%; padding-inline: max(24px, calc((100% - var(--max-width))/2)); background: #091729; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2, .page-hero h1 { font-size: clamp(30px, 4vw, 43px); letter-spacing: -1.5px; margin: 8px 0 0; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card, .content-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; background: var(--panel); transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(67,140,255,.6); }
.card-number { color: var(--muted); font-size: 9px; letter-spacing: 1.5px; }
.feature-icon { margin: 25px 0 18px; }
.feature-icon.small { flex-shrink: 0; margin: 0; width: 42px; height: 42px; }
.feature-card h3, .content-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p, .content-card p { color: var(--muted); font-size: 13px; }
.feature-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px; margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-soft);
}
.feature-strip > div { display: flex; align-items: center; gap: 16px; }
.feature-strip h3 { font-size: 16px; margin: 0; }
.feature-strip p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.news-preview { display: grid; grid-template-columns: 95px 1fr 30px; gap: 20px; align-items: center; padding: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.news-date { display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--border); padding-right: 15px; }
.news-date strong { font-size: 35px; }
.news-date span { font-size: 9px; color: var(--muted); }
.news-preview h3 { margin: 12px 0 6px; }
.news-preview p { margin: 0; font-size: 13px; color: var(--muted); }
.arrow-link { color: var(--blue-light); font-size: 22px; }
.cta-section { padding-block: 85px; text-align: center; }
.cta-section h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1px; margin: 12px 0; }
.cta-section p { color: var(--muted); }
.page-hero { padding-block: 75px 45px; }
.page-hero p { max-width: 680px; color: var(--muted); margin-top: 16px; }
.page-content { padding-bottom: 80px; }
.stack { display: grid; gap: 18px; }
.unit-card { scroll-margin-top: 110px; display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 26px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; }
.unit-card .feature-icon { margin: 0; width: 70px; height: 70px; font-size: 26px; }
.unit-card h2 { margin: 4px 0 8px; }
.unit-card p, .unit-card li { color: var(--muted); font-size: 14px; }
.unit-card ul { padding-left: 20px; }
.form-card { max-width: 760px; padding: 28px; border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 12px; font-weight: 700; color: #dce6f5; }
.field input, .field select, .field textarea {
  width: 100%; color: var(--text); background: #081525;
  border: 1px solid var(--border); border-radius: 8px; padding: 12px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 115px; }
.field select option { background: var(--panel); }
.notice { padding: 15px 18px; background: rgba(67,140,255,.08); border: 1px solid rgba(67,140,255,.25); border-radius: 9px; color: #c8dcfa; font-size: 13px; margin-bottom: 20px; }
.form-status { margin-top: 14px; font-size: 13px; color: var(--blue-light); }
.rule-card { padding: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; }
.rule-card h2 { font-size: 19px; }
.rule-card p, .rule-card li { font-size: 14px; color: var(--muted); }
.rule-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.person-card { padding: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.person-initial { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(67,140,255,.14); color: var(--blue-light); font-weight: 900; font-size: 22px; margin-bottom: 18px; }
.person-card h3 { margin-bottom: 4px; }
.person-card p { font-size: 13px; color: var(--muted); }
.person-role { color: var(--blue-light); font-size: 10px; letter-spacing: 1px; font-weight: 800; }
.news-item { padding: 25px; border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); margin-bottom: 16px; }
.news-item h2 { font-size: 22px; margin: 12px 0 8px; }
.news-item p { color: var(--muted); font-size: 14px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer p, .site-footer > small { color: var(--muted); font-size: 11px; margin: 0; }
.footer-brand strong { font-size: 18px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 11px; }
.welcome-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(2,8,16,.82); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; }
.welcome-overlay[hidden] { display: none; }
.welcome-modal { position: relative; width: min(510px, 100%); padding: 36px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 25px 100px #0008; }
.welcome-modal h2 { font-size: 34px; margin: 14px 0; }
.welcome-modal p { color: var(--muted); font-size: 14px; }
.modal-close { position: absolute; right: 15px; top: 10px; color: var(--muted); background: none; border: 0; font-size: 28px; cursor: pointer; }
.management-login { max-width: 500px; margin: 0 auto; }
.management-entry { margin-bottom: 22px; }
.management-entry pre { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 1050px) {
  .site-header { padding-inline: 24px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 24px; background: #091729; border-bottom: 1px solid var(--border); align-items: stretch; flex-direction: column; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .nav-join { text-align: center; margin-top: 8px; }
  .hero { gap: 30px; }
}
@media (max-width: 760px) {
  .hero, .section, .cta-section, .page-hero, .page-content, .site-footer { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 60px 35px; }
  h1 { font-size: clamp(45px, 13vw, 64px); }
  .hero-panel { padding: 22px; }
  .section { padding-block: 45px; }
  .section-tinted { width: 100%; padding-inline: 18px; }
  .card-grid.three { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .feature-strip { align-items: start; flex-direction: column; }
  .news-preview { grid-template-columns: 60px 1fr 20px; gap: 12px; padding: 17px; }
  .news-date { padding-right: 10px; }
  .news-date strong { font-size: 27px; }
  .unit-card { grid-template-columns: 1fr; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .page-hero { padding-top: 55px; }
  .welcome-modal { padding: 28px 22px; }
  .site-footer { align-items: start; flex-direction: column; }
}
