:root {
  --bg: #0e0e10;
  --bg-soft: #151519;
  --panel: #1a1a1d;
  --panel-strong: #202026;
  --text: #e0e0e0;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #00ffe7;
  --accent-soft: rgba(0, 255, 231, 0.12);
  --accent-strong: rgba(0, 255, 231, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 255, 231, 0.12), transparent 28%),
    linear-gradient(180deg, #111217 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

.hero-copy,
.hero-panel,
.section-block,
.link-card,
.featured-card {
  border: 1px solid var(--line);
  background: rgba(26, 26, 29, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 36px;
  border-radius: 28px;
}

.eyebrow,
.section-kicker,
.hero-label,
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-copy p,
.hero-panel p,
.featured-card p,
.link-card span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy p {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 1.04rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0, 255, 231, 0.08), transparent 48%),
    rgba(26, 26, 29, 0.92);
}

.hero-panel strong {
  margin-top: 18px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.hero-panel p {
  margin-top: 14px;
}

.content {
  display: grid;
  gap: 28px;
}

.section-block {
  padding: 30px;
  border-radius: 28px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

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

.featured-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  padding: 26px;
  border-radius: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 255, 231, 0.16), transparent 68%);
}

.featured-card-alt {
  background:
    linear-gradient(180deg, rgba(0, 255, 231, 0.05), transparent 50%),
    rgba(32, 32, 38, 0.94);
}

.featured-card h3 {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.featured-card a,
.card-actions a,
.link-card a,
.footer a {
  text-decoration: none;
}

.featured-card > a,
.card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 231, 0.2);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

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

.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.link-card a {
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.featured-card:hover,
.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 231, 0.26);
  box-shadow: 0 24px 60px rgba(0, 255, 231, 0.08);
}

.featured-card > a:hover,
.card-actions a:hover {
  background: var(--accent-strong);
  border-color: rgba(0, 255, 231, 0.4);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 4px 6px;
  color: #70757f;
  font-size: 0.92rem;
}

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

@media (max-width: 860px) {
  .hero,
  .featured-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .hero-copy,
  .hero-panel,
  .section-block,
  .featured-card,
  .link-card {
    border-radius: 22px;
  }

  .hero-copy,
  .hero-panel,
  .section-block {
    padding: 22px;
  }

  .featured-card {
    min-height: auto;
  }
}