:root {
  --background: #07090d;
  --surface: #10131a;
  --surface-soft: #151923;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f7fa;
  --text-soft: #a8b0bf;
  --accent: #d7ff45;
  --accent-soft: rgba(215, 255, 69, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(215, 255, 69, 0.08),
      transparent 32rem
    ),
    var(--background);
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 1.4rem;
}

.header-nav a {
  color: var(--text-soft);
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.header-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.6fr);
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.7rem;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero__description {
  max-width: 750px;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b0e08;
}

.button--secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.status-card {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.015)
    );
}

.status-card__label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

#knowledge-status {
  color: var(--accent);
  font-size: 1.15rem;
}

.status-card dl {
  margin: 1.5rem 0 0;
}

.status-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.status-card dt {
  color: var(--text-soft);
}

.status-card dd {
  margin: 0;
  text-align: right;
}

.section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.content-card,
.notice-card {
  margin-left: auto;
  max-width: 850px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
}

.content-card p,
.notice-card li {
  color: var(--text-soft);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.brand-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.brand-card,
.project-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  transition:
    transform 200ms ease,
    border-color 200ms ease;
}

.brand-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 255, 69, 0.45);
}

.brand-card__number {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  color: rgba(215, 255, 69, 0.35);
  font-size: 2rem;
  font-weight: 900;
}

.brand-card p,
.project-card p {
  color: var(--text-soft);
}

.brand-card ul {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.brand-card li + li {
  margin-top: 0.45rem;
}

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

.project-card__type {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.relation-list {
  display: grid;
  gap: 0.75rem;
}

.relation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: center;
  min-height: 74px;
  padding: 1rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.relation strong {
  color: var(--accent);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.relation span:last-child {
  text-align: right;
}

.notice-card ul {
  margin: 0;
  padding-left: 1.25rem;
}

.notice-card li + li {
  margin-top: 0.85rem;
}

.notice-card a {
  color: var(--accent);
}

.source-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.source-section > div:first-child p:last-child {
  color: var(--text-soft);
}

.source-links {
  display: grid;
  gap: 0.75rem;
}

.source-links a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.source-links a:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.source-links span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.source-links strong {
  color: var(--accent);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6rem 0;
  }

  .section-heading,
  .source-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 650px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .header-nav {
    width: 100%;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero {
    padding: 4rem 0;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .section {
    padding: 5rem 0;
  }

  .brand-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .relation {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .relation strong {
    margin: 0.25rem 0;
  }

  .relation span:last-child {
    text-align: left;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}