* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:               #ffffff;
  --text-primary:     #0f1117;
  --text-secondary:   #5f6673;
  --text-muted:       #8a919f;
  --accent:           #0f1117;
  --accent-hover:     #2c3748;
  --border-light:     #e2e8f0;
  --border-strong:    #cbd5e1;
  --surface-hover:    #f8fafc;
  --status-ok:        #10b981;
  --warning:          #dc2626;
  --warning-bg:       #fef2f2;
}

html, body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  padding-bottom: 120px;
}

.system-bar {
  height: 30px;
  background: var(--accent);
  color: white;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  letter-spacing: 0.3px;
}

.status-ok {
  color: var(--status-ok);
  font-weight: 600;
}

header {
  position: relative;
  padding: 56px 48px 0 160px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.logo-area img {
  display: block;
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 64px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-hover);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent-hover);
  border-radius: 1px;
}

.content-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px 48px 160px;
}

h1 {
  font-size: 2.75rem;
  font-weight: 650;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.24rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 80px;
}

h2 {
  font-size: 1.58rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  margin: 100px 0 36px;
}

h3 {
  font-size: 1.28rem;
  font-weight: 600;
  margin: 40px 0 18px;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.4em;
  max-width: 860px;
}

.mirrors-block p,
.mirror-note {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.mirror-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mirror-item {
  font-family: "SF Mono", "Menlo", "Monaco", Consolas, "Courier New", monospace;
  font-size: 15.2px;
  word-break: break-all;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mirror-item:hover {
  background: var(--surface-hover);
  border-top-color: var(--accent);
}

.mirror-item a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.mirror-item a:hover {
  opacity: 0.88;
}

.badge {
  font-size: 11.8px;
  font-weight: 550;
  padding: 3px 10px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

.features-list,
.rules-block ul,
.howto-block .step ul {
  list-style: none;
  margin: 28px 0;
}

.features-list li,
.rules-block ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.features-list li::before,
.rules-block ul li::before {
  content: "→";
  position: absolute;
  left: 4px;
  color: var(--accent-hover);
  font-weight: 600;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 64px 48px;
  margin-top: 40px;
}

.image-grid figure {
  margin: 0;
}

.image-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.image-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.image-grid figcaption {
  margin-top: 16px;
  font-size: 13.8px;
  color: var(--text-muted);
  font-weight: 450;
}

.step {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 450;
}

.warning {
  color: var(--warning);
  font-weight: 500;
  margin: 36px 0 24px;
  padding: 18px 24px;
  background: var(--warning-bg);
  border-left: 5px solid var(--warning);
  border-radius: 0 6px 6px 0;
}

footer {
  text-align: center;
  padding: 100px 20px 140px;
  color: var(--text-muted);
  font-size: 13.8px;
  border-top: 1px solid var(--border-light);
  margin-top: 160px;
}

@media (max-width: 1100px) {
  header,
  .content-grid {
    padding-left: 60px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    gap: 36px;
    font-size: 14.5px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .lead {
    font-size: 1.16rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
.feature-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.feature-column {
  padding: 24px 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.feature-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: #cbd5e1;
}

.feature-column h3 {
  font-size: 1.22rem;
  margin-bottom: 14px;
  color: #0f1117;
}

.final-note {
  margin: 80px 0 60px;
  padding: 32px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
}

.final-note h2 {
  margin: 0 0 20px;
  font-size: 1.48rem;
}

.final-note p {
  margin: 0;
  font-size: 1.05rem;
  color: #334155;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #0f1117;
}

.step {
  position: relative;
  padding-left: 48px;
  margin-bottom: 52px;
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 32px;
  height: 32px;
  background: #0f1117;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 600;
}

.step:nth-child(1)::before { content: "1"; }
.step:nth-child(2)::before { content: "2"; }
.step:nth-child(3)::before { content: "3"; }
.step:nth-child(4)::before { content: "4"; }
.step:nth-child(5)::before { content: "5"; }
.step:nth-child(6)::before { content: "6"; }

.mirror-note,
.mirror-note strong {
  font-size: 1.02rem;
  line-height: 1.55;
}

.badge {
  font-size: 0.92rem;
  padding: 4px 12px;
  background: #e2e8f0;
  color: #334155;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.mirror-item:hover .badge {
  background: #0f1117;
  color: white;
}

h1 strong,
h2 strong,
.lead strong {
  color: #0f1117;
}

@media (max-width: 980px) {
  .content-grid {
    padding-left: 60px;
    padding-right: 40px;
  }

  header {
    padding-left: 60px;
  }

  .feature-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    gap: 28px;
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .system-bar {
    padding: 0 24px;
    font-size: 0.9rem;
  }

  .step {
    padding-left: 36px;
  }

  .step::before {
    width: 28px;
    height: 28px;
    font-size: 0.98rem;
  }
}