/* ============================================
   DRIFTSTATE NETWORK RESEARCH — stylesheet
   Version 44 / Last revised June 2024
   ============================================ */

/* RESET + BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #0b0f14;
  color: #d8e0e6;
  font-family: -apple-system, 'Segoe UI', system-ui,
    Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-weight: 500;
  color: #eef4f6;
  line-height: 1.25;
}

a {
  color: #2ad4c4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  max-width: 68ch;
  color: #aab8c0;
}

em {
  font-style: italic;
  color: #c8d4d8;
}

hr {
  border: none;
}

/* HEADER */
.site-header {
  border-bottom: 1px solid #1c2630;
  background-color: #0b0f14;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-mark {
  flex-shrink: 0;
}

.site-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-name-link {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #eef4f6;
  letter-spacing: 0.01em;
}

.site-name-link:hover {
  text-decoration: none;
  color: #2ad4c4;
}

.site-tagline {
  font-size: 0.7rem;
  color: #5a6a74;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
}

/* NAV */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a9aa4;
  font-family: 'Courier New', monospace;
}

.site-nav a:hover {
  color: #2ad4c4;
  text-decoration: none;
}

/* MISSION */
.mission {
  padding: 80px 32px 72px;
  background:
    linear-gradient(180deg, rgba(42,212,196,0.03) 0%, rgba(42,212,196,0) 100%);
}

.mission-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.mission-statement {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.55;
  color: #eef4f6;
  max-width: none;
}

/* RULE */
.section-rule {
  border-top: 1px solid #1c2630;
  margin: 0 32px;
}

/* FEATURES */
.features {
  padding: 56px 32px;
}

.features-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature-heading {
  font-size: 0.95rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: #2ad4c4;
}

.feature p {
  font-size: 0.9rem;
  color: #8a9aa4;
  margin-bottom: 16px;
  max-width: none;
}

.feature-link {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #2ad4c4;
  font-family: 'Courier New', monospace;
}

/* NOTICES */
.notices {
  padding: 48px 32px 72px;
}

.notices-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.notices-heading {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5a6a74;
  margin-bottom: 28px;
  font-family: 'Courier New', monospace;
}

.notice {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 32px;
  padding: 20px 0;
  border-top: 1px solid #161d26;
}

.notice:last-child {
  border-bottom: 1px solid #161d26;
}

.notice-date {
  font-size: 0.78rem;
  color: #5a6a74;
  letter-spacing: 0.04em;
  padding-top: 2px;
  font-family: 'Courier New', monospace;
}

.notice p {
  font-size: 0.9rem;
  color: #aab8c0;
  max-width: none;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid #1c2630;
  background-color: #080b0f;
  margin-top: auto;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 32px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-name {
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #eef4f6;
}

.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6a74;
  margin-bottom: 8px;
  font-family: 'Courier New', monospace;
}

.footer-detail {
  font-size: 0.8rem;
  color: #7a8890;
  line-height: 1.6;
  max-width: none;
}

.footer-small {
  font-size: 0.72rem;
  margin-top: 8px;
  color: #5a6a74;
}

.footer-base {
  border-top: 1px solid #1c2630;
  padding: 20px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-base p {
  font-size: 0.72rem;
  color: #46535c;
  max-width: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 16px 20px;
    gap: 12px;
  }

  .site-nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .features-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .notice {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mission {
    padding: 48px 20px;
  }

  .features, .notices {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-rule {
    margin: 0 20px;
  }
}
