:root {
  --bg: #06070a;
  --bg-elevated: rgba(16, 18, 24, 0.88);
  --panel: rgba(19, 23, 32, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --text: #f5f7fb;
  --muted: #a8b0c0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #8b5cf6;
  --accent-strong: #a78bfa;
  --success: #4ade80;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(139, 92, 246, 0.22), transparent 32%),
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #07080d 0%, #05060a 100%);
}

a {
  color: inherit;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.logo span {
  color: var(--accent-strong);
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-links a,
.back-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.topbar-links a:hover,
.back-link:hover,
.button-link:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(139, 92, 246, 0.12);
}

.button-link.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.hero-card,
.content-card,
.tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 38px;
  margin-bottom: 24px;
}

.hero-card::before,
.content-card::before,
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), transparent 48%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.lede {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.sidebar,
.content-card {
  padding: 28px;
}

.sidebar {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  align-self: start;
  position: sticky;
  top: 20px;
}

.sidebar h2,
.content-card h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.sidebar p,
.content-card p,
.content-card li,
.tile p {
  color: var(--muted);
  line-height: 1.72;
}

.sidebar ul,
.content-card ul {
  margin: 0;
  padding-left: 18px;
}

.sidebar li + li,
.content-card li + li {
  margin-top: 10px;
}

.section + .section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.callout {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 18px;
  background: rgba(74, 222, 128, 0.08);
}

.callout p {
  margin: 0;
  color: #cffadd;
}

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

.tile {
  padding: 24px;
}

.tile h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-row {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.contact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.footer-note {
  margin-top: 24px;
  text-align: center;
  color: #7e8799;
  font-size: 0.9rem;
}

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

  .sidebar {
    position: static;
  }

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

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

  .topbar,
  .topbar-links,
  .tile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card,
  .sidebar,
  .content-card,
  .tile {
    padding: 22px;
    border-radius: 22px;
  }
}
