* {
  box-sizing: border-box;
}

:root {
  --bg: #0d1017;
  --panel: #151a24;
  --panel-2: #1b2130;
  --text: #f3efe7;
  --muted: #aab1bf;
  --accent: #d5a84b;
  --line: rgba(255,255,255,0.1);
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(213,168,75,0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

main,
footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 6.6rem);
  line-height: 0.98;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero-text {
  max-width: 680px;
  font-size: 1.18rem;
  color: var(--muted);
}

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

.button {
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: #17130b;
}

.button.secondary:hover {
  background: var(--panel);
}

.hero-panel {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(213,168,75,0.08), transparent 60%),
    var(--panel);
  overflow: hidden;
}

.node {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid rgba(213,168,75,0.45);
  background: var(--panel-2);
  border-radius: 999px;
  font-size: 0.88rem;
}

.node.large {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 24px;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.n1 { top: 16%; left: 42%; }
.n2 { right: 5%; top: 43%; }
.n3 { left: 8%; bottom: 20%; }
.n4 { right: 22%; bottom: 8%; }

.connection {
  position: absolute;
  width: 34%;
  height: 1px;
  background: rgba(213,168,75,0.42);
  transform-origin: left center;
  left: 50%;
  top: 50%;
}

.c1 { transform: rotate(-88deg); }
.c2 { transform: rotate(3deg); }
.c3 { transform: rotate(145deg); }

.intro {
  padding: 40px 0 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p {
  max-width: 930px;
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.45;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  min-height: 240px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(213,168,75,0.55);
}

.card-number {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.card h3 {
  margin-top: 58px;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.method-section {
  border-top: 1px solid var(--line);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.status-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-top: 7px;
  flex: 0 0 auto;
}

.established { background: #61c98b; }
.interpreted { background: #73a9e8; }
.working { background: #d5a84b; }
.speculative { background: #d86b6b; }

.status-item h3 {
  margin-bottom: 4px;
}

.status-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.featured {
  margin: 20px 0 110px;
  padding: 44px;
  background: var(--accent);
  color: #16130c;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.featured .eyebrow {
  color: #5c4617;
}

.featured h2 {
  max-width: 750px;
  margin-bottom: 0;
}

.text-link {
  white-space: nowrap;
  font-weight: 800;
}

footer {
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 0;
  }

  .hero-panel {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

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

  .featured {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 66px;
  }

  nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    gap: 40px;
  }

  .card-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 200px;
  }

  footer {
    flex-direction: column;
  }
}
