
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #f3f4f6;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: #0f172a;
  color: #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo a {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f9fafb;
}

.logo span {
  color: #60a5fa;
}

.main-nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

.main-nav a:hover {
  color: #ffffff;
}

.page-content {
  padding: 2rem 0 3rem;
}

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 2.5rem 0 1.5rem;
}

.site-footer h4 {
  color: #e5e7eb;
  margin-top: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.25rem;
}

.site-footer a {
  color: #9ca3af;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1rem;
  font-size: 0.8rem;
  text-align: center;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-text p {
  margin-top: 0;
}

.hero-actions {
  margin: 1.5rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #6b7280;
  max-width: 38rem;
}

.hero-card {
  background: #0b1120;
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.55);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-card ul {
  padding-left: 1rem;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.grid-section h2 {
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn.primary {
  background: #2563eb;
  color: #f9fafb;
}

.btn.primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: #111827;
  border-color: #cbd5f5;
}

.btn.ghost:hover {
  background: #e5edff;
}

.text-link {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Content */
.content h1 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-top: 0;
}

.content h2 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

.content p {
  margin-top: 0.4rem;
}

.content ul,
.content ol {
  padding-left: 1.25rem;
}

.callout {
  margin-top: 1.75rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 0.75rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.callout h3 {
  margin-top: 0;
}

.quiz {
  margin-top: 1.5rem;
}

.quiz-question {
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.quiz-question h2 {
  margin-top: 0;
  font-size: 1.05rem;
}

.quiz-question label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.quiz-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 0.75rem;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

.quiz-result h2 {
  margin-top: 0;
}

.quiz-disclaimer {
  font-size: 0.85rem;
  color: #4b5563;
}

.contact-form {
  max-width: 540px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font: inherit;
  margin-top: 0.25rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.25);
}

.form-note {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .main-nav a {
    margin: 0.15rem 0.75rem 0.15rem 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
