/* Main layout */
:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #111;
  background: #f6f7fb;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f6f7fb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e3e5eb;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo {
  height: 28px;
  width: auto;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-toggle {
  border: 1px solid #d2d4dc;
  background: white;
  color: #111;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-button:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

.icon-button img {
  width: 18px;
  height: auto;
}

.main-nav {
  border-top: 1px solid #e3e5eb;
  display: none;
}

.main-nav.active,
.main-nav.open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1.25rem;
  display: grid;
  gap: 12px;
}

.main-nav li {
  text-align: center;
}

.main-nav a {
  color: #111;
  font-weight: 600;
  padding: 10px 14px;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.notice {
  background: white;
  padding: 14px 0;
  border-bottom: 1px solid #e3e5eb;
}

.notice p {
  margin: 0;
  font-size: 0.95rem;
  color: #111;
  text-align: center;
}

.notice a {
  color: #0066cc;
  text-decoration: underline;
}

.page-main {
  padding: 40px 0 80px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 36px 0 32px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 24px 0 0;
  max-width: 560px;
  color: #4b5563;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: #111;
  color: #fff;
}

.secondary {
  border: 1px solid #111;
  color: #111;
  background: white;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: min(100%, 420px);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
}

.categories {
  padding: 20px 0 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-size: 2rem;
}

.section-header p {
  margin: 12px auto 0;
  max-width: 640px;
  color: #4b5563;
}

.category-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.category-card {
  background: white;
  border: 1px solid #e3e5eb;
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #c3c9d9;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
}

.category-card p {
  margin: 16px 0 0;
  font-weight: 600;
}

.highlight {
  margin-top: 40px;
}

.highlight-card {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  gap: 20px;
}

.highlight-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
}

.highlight-card p {
  margin: 0;
  max-width: 620px;
  color: #d1d5db;
}

.link-button {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
}

.site-footer {
  background: #111;
  color: #d1d5db;
  padding: 36px 0 24px;
}

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

.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: #d1d5db;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #9ca3af;
}

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

.footer-note {
  margin: 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .main-nav {
    display: block;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 0 22px;
  }

  .main-nav a {
    width: auto;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 20px;
  }

  .topbar {
    gap: 16px;
  }

  .hero-actions {
    width: 100%;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .highlight-card {
    padding: 28px;
  }
}
