:root {
  --bg: #090f14;
  --surface: #101a22;
  --ink: #ebf1f5;
  --muted: #9eb0bd;
  --accent: #1fb3a4;
  --accent-2: #f59e0b;
  --line: #233341;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(245, 158, 11, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 85% 2%, rgba(31, 179, 164, 0.15) 0%, transparent 24%),
    linear-gradient(180deg, #091019 0%, #090f14 70%);
  min-height: 100vh;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(9, 15, 20, 0.8);
  border-bottom: 1px solid rgba(235, 241, 245, 0.08);
}

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

.brand {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.03em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--line);
  background: rgba(20, 31, 40, 0.9);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 56px 0 38px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: "Fraunces", "Georgia", serif;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 4rem);
}

.hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.65;
}

.hero-panel {
  background: linear-gradient(135deg, rgba(31, 179, 164, 0.12), rgba(245, 158, 11, 0.13));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

section {
  padding: 28px 0;
}

.section-title {
  margin: 0 0 16px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #071016;
  font-size: 0.9rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.link-placeholder {
  border-style: dashed;
  border-color: var(--line);
  color: var(--muted);
  background: #16232d;
  cursor: not-allowed;
  opacity: 0.8;
  pointer-events: none;
}

.grid > .card:only-child {
  grid-column: 1 / -1;
  max-width: 480px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: #0d151d;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-shell {
  display: grid;
  gap: 18px;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.footer-group {
  background: rgba(12, 20, 27, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.footer-group h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-link {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #0b141c;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.icon-link img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.icon-link.is-disabled {
  opacity: 0.55;
}

.copyright {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-link-groups {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
