:root {
  --bg: #2a3053;
  --panel: rgba(255, 255, 255, 0.14);
  --panel-border: rgba(255, 255, 255, 0.26);
  --text: #f5f6fb;
  --muted: #9aa0b5;
  --accent: #7a5cff;
  --accent-2: #2dd4bf;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

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

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

.bg-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(122, 92, 255, 0.54), transparent 48%),
    radial-gradient(circle at 80% 0%, rgba(45, 212, 191, 0.42), transparent 42%),
    radial-gradient(circle at 70% 90%, rgba(122, 92, 255, 0.34), transparent 42%);
  filter: blur(3.5px);
  z-index: 0;
}

.layout {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 22px 0;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 24px 0 36px;
  padding: 56px 22px 72px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
  padding: 12px 0;
  position: sticky;
  top: 12px;
  z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(42, 48, 83, 0.35);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding-inline: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(122, 92, 255, 0.6);
}

.top-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.pill-link {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 42px;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(18px, 2.8vw, 26px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.tagline {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  font-size: 13px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 8px 0 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--text);
  box-shadow: var(--shadow);
}

.btn.ghost {
  border: 1px solid var(--panel-border);
  background: var(--panel);
}

.contact-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  flex-wrap: wrap;
}

.dot-sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--panel-border);
}

.hero-card {
  border: 1px solid var(--panel-border);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.portrait {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(122, 92, 255, 0.3), rgba(45, 212, 191, 0.2));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.portrait .ring {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 50%);
  filter: blur(6px);
}

.initials {
  position: relative;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.04em;
}

.portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.card-body .lede {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--muted);
}

.section {
  margin-bottom: 42px;
}

.section-head {
  margin-bottom: 14px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 4px;
}

h2 {
  margin: 0;
  font-size: 24px;
}

.panel {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
}

.row h3 {
  margin: 2px 0 6px;
  font-size: 18px;
}

.label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.copy {
  margin: 0;
  color: var(--muted);
}

.dim {
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--panel-border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  padding: 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.small-link {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--panel-border);
}

.footer .label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.footer-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.footer-icon--toptal {
  width: 22px;
  height: 22px;
}

.pill-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.pill-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

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

  .top {
    position: sticky;
    top: 12px;
  }
}

@media (max-width: 640px) {
  .layout {
    padding: 14px 14px 0;
  }

  .page {
    padding: 34px 18px 56px;
    margin: 16px 0 28px;
    border-radius: 18px;
  }

  .row {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
