@font-face {
  font-family: 'InterVariable';
  src: url('assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'InterVariable';
  src: url('assets/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SpaceGroteskVariable';
  src: url('assets/fonts/SpaceGrotesk/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --midnight: #0a0612;
  --plum: #140a24;
  --violet: #b85cff;
  --lavender: #eae3ff;
  --offwhite: #f6f2ff;
  --ink: #130b1f;
  --muted: #b6b0c6;
  --card: rgba(31, 17, 47, 0.65);
  --border: rgba(234, 227, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(184, 92, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(20, 10, 36, 0.7), transparent 32%),
    linear-gradient(145deg, #0b0518 0%, #120924 45%, #0a0715 100%);
  color: var(--offwhite);
  font-family: 'InterVariable', 'Inter', 'SpaceGroteskVariable', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(234, 227, 255, 0.04), rgba(184, 92, 255, 0.04));
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 0.5rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10, 6, 18, 0.9), rgba(10, 6, 18, 0.4));
  flex-wrap: wrap;
}

.brand {
  display: grid;
  align-items: center;
  grid-template-columns: auto;
  gap: 0.2rem;
}

.brand__logo {
  height: 48px;
  width: auto;
}

.brand__tag {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1rem;
  font-weight: 600;
  align-items: center;
  background: rgba(10, 6, 18, 0.8);
  padding: 0.35rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav a {
  color: var(--lavender);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  background: rgba(234, 227, 255, 0.08);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--offwhite);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-left: auto;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero {
  position: relative;
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(20, 10, 36, 0.92), rgba(10, 6, 18, 0.9));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.hero::after {
  content: '';
  position: absolute;
  inset: -20% -10% 0 20%;
  background: radial-gradient(circle at 30% 30%, rgba(184, 92, 255, 0.2), transparent 40%),
    url('assets/brand/logos/mark_crt_1024.png') center/60% no-repeat;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.hero__badge {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--lavender);
  margin: 0 0 0.4rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b85cff;
  box-shadow: 0 0 18px rgba(184, 92, 255, 0.6);
}

.chip__dot--accent {
  background: #7ce7ff;
  box-shadow: 0 0 18px rgba(124, 231, 255, 0.6);
}

.chip__dot--success {
  background: #6ee7a4;
  box-shadow: 0 0 18px rgba(110, 231, 164, 0.6);
}

.chip__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--muted);
}

.chip__text {
  margin: 0;
  color: var(--offwhite);
  font-weight: 600;
  line-height: 1.4;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-family: 'SpaceGroteskVariable', 'Space Grotesk', 'InterVariable', sans-serif;
  background: linear-gradient(120deg, #fff, var(--violet));
  -webkit-background-clip: text;
  color: transparent;
}

h2 {
  margin: 0.1rem 0 0.6rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-family: 'SpaceGroteskVariable', 'Space Grotesk', 'InterVariable', sans-serif;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  font-family: 'SpaceGroteskVariable', 'Space Grotesk', 'InterVariable', sans-serif;
}

h4 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.lede,
.lead {
  color: var(--muted);
  margin: 0 0 1.1rem;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.2rem 0 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, var(--violet), #7c3aed);
  color: #0b0517;
  box-shadow: 0 12px 32px rgba(184, 92, 255, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(184, 92, 255, 0.45);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn.primary:disabled:hover,
.btn.ghost:disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--offwhite);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.fullwidth {
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.hero__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pill {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--lavender);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.pill--glow {
  background: rgba(184, 92, 255, 0.12);
  border-color: rgba(184, 92, 255, 0.45);
  color: #fff;
  box-shadow: 0 10px 26px rgba(184, 92, 255, 0.25);
}

.badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.badge:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 92, 255, 0.4);
  box-shadow: 0 18px 48px rgba(184, 92, 255, 0.25);
}

.badge__mark {
  width: 78px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(184, 92, 255, 0.35));
}

.badge__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--lavender);
  margin: 0 0 0.25rem;
}

.badge__body {
  margin: 0.35rem 0 0.9rem;
  color: var(--muted);
}

.meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.meta span {
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(20, 10, 36, 0.7);
  font-size: 0.9rem;
}

.panel {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(184, 92, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(234, 227, 255, 0.08), transparent 42%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.section-heading {
  margin-bottom: 1.6rem;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, rgba(184, 92, 255, 0.7), rgba(234, 227, 255, 0));
  margin-top: 0.9rem;
  opacity: 0.6;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card__banner {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.card__actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.card__details {
  margin-top: 0.9rem;
  border-top: 1px dashed rgba(234, 227, 255, 0.14);
  padding-top: 0.75rem;
  position: relative;
  z-index: 1;
}

.card__details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--lavender);
  list-style: none;
}

.card__details summary::-webkit-details-marker {
  display: none;
}

.card__details summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.5rem;
  color: rgba(124, 231, 255, 0.9);
  transform: translateY(-1px);
}

.card__details[open] summary::before {
  content: '▾';
}

.card__details ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.card::before {
  content: '';
  position: absolute;
  inset: -30% auto auto -30%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(184, 92, 255, 0.15), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 92, 255, 0.3);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.btn.small {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
}

.card p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-row--content {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(234, 227, 255, 0.18);
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--lavender);
}

.tag--content {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(10, 6, 18, 0.55);
  border-color: rgba(124, 231, 255, 0.18);
  color: rgba(246, 242, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tag--content::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(124, 231, 255, 0.9);
  box-shadow: 0 0 12px rgba(124, 231, 255, 0.45);
  margin-right: 0.4rem;
  flex: none;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.contact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0 0.5rem;
}

.contact__card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  background: rgba(10, 6, 18, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact__card h4 {
  margin-bottom: 0.5rem;
}

.contact__card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 0 2.2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer img {
  height: 28px;
  width: auto;
  vertical-align: middle;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__link {
  color: var(--lavender);
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

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

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

  .topbar {
    flex-direction: row;
    align-items: center;
  }

  .nav {
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    padding: 0.6rem 0.8rem;
    border-radius: 14px;
    background: rgba(10, 6, 18, 0.95);
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    max-width: min(420px, calc(100% - 1.5rem));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transform: none;
    left: auto;
  }

  .nav.nav--open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (min-width: 1100px) {
  .container {
    width: min(78vw, 1800px);
  }

  .hero {
    padding: clamp(2.75rem, 3.25vw, 4.25rem);
  }

  .card__banner {
    height: 180px;
  }
}

@media (max-width: 640px) {
  body {
    background-position: 40% 20%;
  }

  .hero {
    padding: 1.4rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* Stack CTAs */
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1rem;
  }

  /* Prevent awkward 2-column meta layout */
  .hero__meta {
    grid-template-columns: 1fr;
  }

  /* Slightly tighter chips */
  .chip {
    padding: 0.7rem 0.85rem;
  }

  .chip__text {
    word-break: break-word;
  }
}

/* Extra-small phones */
@media (max-width: 420px) {
  .hero {
    padding: 1.2rem;
    border-radius: 16px;
  }

  .btn {
    border-radius: 14px;
  }
}
