
:root {
  --bg-page: #050816;
  --bg-elevated: #0b1024;
  --bg-card: #101632;
  --bg-pill: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text-main: #f9fafb;
  --text-soft: #d1d5db;
  --text-muted: #9ca3af;
  --accent-pink: #ff6ad5;
  --accent-blue: #5ad7ff;
  --accent-violet: #a855ff;
  --accent-lime: #a3ff12;
  --accent-amber: #ffd369;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --radius-xl: 1.25rem;
  --radius-pill: 999px;
  --nav-height: 4.25rem;
  --content-width: 1140px;
  --transition-fast: 180ms ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(90, 215, 255, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(255, 106, 213, 0.16), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(163, 255, 18, 0.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(168, 85, 255, 0.18), transparent 55%),
    radial-gradient(circle at 40% 0%, rgba(255, 211, 105, 0.12), transparent 55%),
    var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.23) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.23) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */

.shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: radial-gradient(circle at 0 0, rgba(90, 215, 255, 0.28), transparent 55%) border-box;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.94), rgba(5, 8, 22, 0.90), transparent);
  z-index: -1;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 1.25rem;
  padding: 2px;
  background: conic-gradient(
    from 220deg,
    #ff6ad5,
    #ffd369,
    #a3ff12,
    #5ad7ff,
    #a855ff,
    #ff6ad5
  );
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(5, 8, 22, 0.9), transparent 70%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.9), transparent 70%),
    transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

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

.brand-text span:first-child {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.brand-text strong {
  font-weight: 650;
  font-size: 1.05rem;
}

/* Nav links */

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a {
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--text-soft);
  border: 1px solid transparent;
  position: relative;
}

.nav a span {
  position: relative;
  z-index: 1;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(90, 215, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.nav a:hover::before {
  opacity: 1;
}

.nav a:hover {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.4);
}

.nav a.nav-cta {
  background: radial-gradient(circle at 0 0, var(--accent-pink), transparent 55%);
  color: var(--text-main);
  border-color: rgba(248, 250, 252, 0.65);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: minmax(0, 3fr);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.85rem 0.25rem 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background-color: rgba(15, 23, 42, 0.72);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.75);
  margin-bottom: 1.4rem;
}

.hero-eyebrow-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:
    conic-gradient(from 210deg, #ff6ad5, #ffd369, #a3ff12, #5ad7ff, #a855ff, #ff6ad5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.hero-eyebrow-dot-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0%, #0f172a, #020617 76%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.hero-eyebrow-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-eyebrow-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--accent-amber);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-title span.gradient {
  background-image: linear-gradient(120deg, var(--accent-pink), var(--accent-amber), var(--accent-lime), var(--accent-blue));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-soft);
  max-width: 34rem;
}

/* Hero CTA row */

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.2rem;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.3rem;
  font-size: 0.94rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out, background 160ms ease-out;
}

.btn-primary {
  background-image: linear-gradient(120deg, #ff6ad5, #ffd369, #a3ff12, #5ad7ff);
  color: #020617;
  border-color: rgba(248, 250, 252, 0.9);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.85);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(248, 250, 252, 0.7);
}

.btn-badge {
  font-size: 0.72rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero panel */

.hero-panel {
  border-radius: 1.6rem;
  padding: 1.4rem 1.4rem 1.45rem;
  background:
    radial-gradient(circle at 0 0, rgba(90, 215, 255, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 106, 213, 0.15), transparent 55%),
    radial-gradient(circle at 0 100%, rgba(163, 255, 18, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-panel-tabs {
  display: inline-flex;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.65);
}

.hero-panel-tab {
  font-size: 0.8rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.hero-panel-tab[data-active="true"] {
  background: linear-gradient(120deg, rgba(90, 215, 255, 0.2), rgba(255, 106, 213, 0.2));
  color: var(--text-main);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.85rem 0 1.2rem;
}

.hero-stat {
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.65);
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.2rem;
}

.hero-stat-value {
  font-weight: 650;
  font-size: 0.96rem;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  font-size: 0.74rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.88);
  color: var(--text-soft);
}

/* Sections */

.section {
  padding: 2.4rem 0 1.6rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.section-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-description {
  font-size: 0.96rem;
  color: var(--text-soft);
  max-width: 32rem;
}

/* Sector grid */

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

.sector-card {
  border-radius: 1.1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at 0 0, rgba(90, 215, 255, 0.15), transparent 65%), rgba(15, 23, 42, 0.92);
  position: relative;
  overflow: hidden;
}

.sector-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.sector-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #020617, #111827 75%);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
}

.sector-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.sector-title {
  font-size: 0.98rem;
  margin: 0.25rem 0 0.35rem;
}

.sector-body {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0 0 0.35rem;
}

.sector-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.sector-links a {
  font-size: 0.74rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  color: var(--accent-blue);
}

/* How it works */

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

.step-card {
  border-radius: 1.1rem;
  padding: 1rem 0.95rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  position: relative;
  overflow: hidden;
}

.step-number {
  font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.step-title {
  font-size: 1.02rem;
  margin: 0.25rem 0 0.4rem;
}

.step-body {
  font-size: 0.86rem;
  color: var(--text-soft);
  margin: 0;
}

.step-list {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Blog teaser */

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

.post-card {
  border-radius: 1.1rem;
  padding: 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 0 0, rgba(255, 106, 213, 0.18), transparent 60%), rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.post-title {
  font-size: 0.98rem;
  margin: 0;
}

.post-excerpt {
  font-size: 0.84rem;
  color: var(--text-soft);
  margin: 0;
}

.post-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 1.4rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.6rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 0.75rem;
}

.faq-question h3 {
  margin: 0;
  font-size: 0.94rem;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-answer {
  margin-top: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Sidebar */

.faq-sidebar {
  border-radius: 1.1rem;
  background: radial-gradient(circle at 0 0, rgba(255, 211, 105, 0.25), transparent 60%), rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(248, 250, 252, 0.7);
  padding: 1rem 1rem 1.1rem;
  position: relative;
  overflow: hidden;
}

.faq-sidebar-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(15, 23, 42, 0.9);
  background: rgba(248, 250, 252, 0.96);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.faq-sidebar-title {
  font-size: 1.02rem;
  margin: 0.6rem 0 0.35rem;
}

.faq-sidebar-body {
  font-size: 0.85rem;
  color: var(--text-main);
  margin: 0 0 0.65rem;
}

.faq-sidebar-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: auto;
  padding: 1.4rem 0 1.6rem;
  background: radial-gradient(circle at 0 100%, rgba(90, 215, 255, 0.14), transparent 55%), rgba(5, 8, 22, 0.98);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* Blog layout */

.page-header {
  padding: 2.2rem 0 1.2rem;
}

.breadcrumbs {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

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

.page-title {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.3rem;
}

.page-subtitle {
  font-size: 0.98rem;
  color: var(--text-soft);
  max-width: 42rem;
}

.blog-list {
  padding: 0 0 2.2rem;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

/* Single post */

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.4fr);
  gap: 1.4rem;
  padding-bottom: 2.4rem;
}

.post-article {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
  padding: 1.2rem 1.3rem;
}

.post-article h1 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-top: 0;
}

.post-article h2 {
  font-size: 1.1rem;
  margin-top: 1.3rem;
  margin-bottom: 0.4rem;
}

.post-article h3 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.post-article p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0.3rem 0;
}

.post-article ul,
.post-article ol {
  padding-left: 1.3rem;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.post-article li {
  margin: 0.2rem 0;
}

.post-meta-top {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.post-sidebar {
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at 0 0, rgba(90, 215, 255, 0.18), transparent 65%), rgba(15, 23, 42, 0.96);
  padding: 1.1rem 1.1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.post-sidebar h2 {
  font-size: 0.98rem;
  margin-top: 0;
}

.post-sidebar ul {
  padding-left: 1.2rem;
}

/* Responsive */

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

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

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

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

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

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

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

@media (max-width: 720px) {
  .site-header-inner {
    gap: 0.8rem;
  }

  .nav {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: rgba(5, 8, 22, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.6rem 1.25rem 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease-out, transform 150ms ease-out;
  }

  .nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.96);
    cursor: pointer;
    font-size: 1.1rem;
  }

  .hero {
    padding-top: 2.3rem;
  }

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

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

  .hero-panel {
    margin-top: 0.5rem;
  }
}

/* Utility */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.75rem;
}

.chip {
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
}
