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

:root {
  --nv-site-bg: #ffffff;
  --nv-text-color: #121212;
  --nv-dark-bg: #1a1a2e;
  --nv-text-dark-bg: #ffffff;
  --nv-light-bg: #f5f5f5;
  --nv-primary-accent: #2f3941;
  --nv-secondary-accent: #2f3941;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-headings: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--nv-text-color);
  background: var(--nv-site-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--nv-primary-accent);
  text-decoration: underline;
}

a:hover {
  color: var(--nv-secondary-accent);
  text-decoration: underline;
}

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

/* Header / Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--nv-text-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nv-text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--nv-text-color);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(0, 0, 0, 0.05);
}

/* Main content */
.main-content {
  padding-top: 70px;
}

/* Hero / Cover */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #121212;
}

.hero-content p {
  font-size: 1.0625rem;
  color: #121212;
  max-width: 700px;
  margin: 0 auto;
}

/* Spacer */
.spacer {
  clear: both;
}

/* Sections */
.section {
  padding: 4rem 1rem;
}

.section-dark {
  background: var(--nv-dark-bg);
  color: var(--nv-text-dark-bg);
}

.container {
  max-width: 1170px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 0.8125rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Sponsors grid */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-item img {
  max-height: 60px;
  width: auto;
}

.sponsor-item img {
  height: 50px;
  width: auto;
}

.sponsor-item .img-smartparks {
  height: 97.66px;
}

.sponsor-item .img-earthranger {
  height: 37.5px;
}

.sponsor-item .img-telementary {
  height: 35px;
}

.sponsor-item .img-netday {
  height: 35px;
}

/* Trademark notice */
.tm-notice {
  text-align: center;
  font-size: 0.625rem;
  font-style: italic;
  margin-top: 2rem;
  opacity: 0.7;
}

/* Page content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.page-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.page-content sup {
  font-size: 0.75em;
}

.page-spacer {
  height: 100px;
}

.footnote {
  font-size: 0.625rem;
  font-style: italic;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background: var(--nv-dark-bg);
  color: var(--nv-text-dark-bg);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.8125rem;
}

.site-footer a {
  color: inherit;
}

.site-footer p + p {
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .sponsors-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .hero {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.9375rem;
  }

  .sponsors-grid {
    gap: 1.25rem;
  }

  .sponsor-item img {
    max-height: 40px;
  }

  .page-content h1 {
    font-size: 1.5rem;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
