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

:root {
  --bg-main: #050816;
  --bg-alt: #080c1f;
  --card-bg: #0f172a;
  --card-border: rgba(148, 163, 184, 0.2);
  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.16);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --pill-bg: rgba(251, 191, 36, 0.12);
  --pill-text: #facc15;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.85);
  --nav-blur: blur(22px);
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #020617 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

body {
  min-height: 100vh;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(2,6,23,0.98));
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.85);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0 0.8rem;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.85rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #facc15);
  transition: width 0.22s ease-out;
}

.main-nav a:hover {
  color: #e5e7eb;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.2rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.hero {
  padding: 2.4rem 0 2.8rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-lead {
  max-width: 42rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn.primary {
  background: radial-gradient(circle at top left, #fbbf24, #f59e0b);
  color: #111827;
  box-shadow: 0 12px 35px rgba(251, 191, 36, 0.35);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.section {
  padding: 2.6rem 0 2.8rem;
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #020617 100%);
}

.section-title {
  font-size: 1.25rem;
  margin: 0 0 0.2rem;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pill-text);
}

.section-intro {
  max-width: 40rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

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

.card {
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.2rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 40px rgba(15,23,42,0.75);
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.pill {
  display: inline-flex;
  padding: 0.16rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--pill-bg);
  color: var(--pill-text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.9);
  color: var(--text-muted);
}

.meta-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.meta-list li + li {
  margin-top: 0.2rem;
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.video-placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.45);
  padding: 1.3rem;
  background: radial-gradient(circle at top left, rgba(251,191,36,0.04), rgba(15,23,42,0.85));
}

.video-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pill-text);
  margin-bottom: 0.5rem;
}

.placeholder-box {
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(148, 163, 184, 0.06);
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

.placeholder-box p {
  font-size: 0.82rem;
  margin: 0.25rem 0 0;
}

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding: 1.2rem 0 1.6rem;
  background: #020617;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7280;
}

/* Responsive */

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .brand-row {
    align-items: center;
  }

  .main-nav {
    position: absolute;
    inset: 56px 1.5rem auto;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    padding: 0.8rem 1rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
    display: none;
  }

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

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

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

  .hero {
    padding-top: 1.5rem;
  }
}
