* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}

.site-header {
  background: #05080d;
  border-bottom: 1px solid #1f2a36;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-header h1 {
  margin: 0;
  color: #58a6ff;
}

.home-link {
  color: #e6edf3;
  text-decoration: none;
  border: 1px solid #30363d;
  padding: 10px 14px;
  border-radius: 8px;
}

.home-link:hover {
  background: #161b22;
}

.hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, #0d1117, #132033);
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero p {
  max-width: 720px;
  margin: 12px auto;
}

.warning {
  background: #332b00;
  border: 1px solid #ffd43b;
  color: #fff3bf;
  padding: 14px;
  border-radius: 10px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 50px 0;
}

.tool-card {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.tool-card h3 {
  color: #58a6ff;
  margin-top: 0;
}

.download-btn {
  display: inline-block;
  margin-top: 14px;
  background: #238636;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: bold;
}

.download-btn:hover {
  background: #2ea043;
}

.instructions,
.notice {
  background: #161b22;
  border: 1px solid #30363d;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 35px;
}

.instructions h2,
.notice h2 {
  color: #58a6ff;
  margin-top: 0;
}

footer {
  text-align: center;
  padding: 25px;
  background: #05080d;
  color: #8b949e;
}

/* Tablet */
@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .hero h2 {
    font-size: 1.7rem;
  }
}