@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: rgba(139, 92, 246, 0.2); color: #0A0A0F; }

/* ── Page / Body ── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: clamp(0.938rem, 0.9rem + 0.25vw, 1.063rem);
  line-height: 1.7;
  color: #0A0A0F;
  background: #FAFAFA;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sp-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0A0A0F;
}

.sp-hero-title {
  font-size: clamp(2.75rem, 2rem + 3.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.sp-section-heading {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.sp-card-title {
  font-size: clamp(1.125rem, 0.9rem + 0.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.sp-eyebrow {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B5CF6;
}

p { color: #374151; }

.sp-lead {
  font-size: clamp(1.063rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: 1.65;
  color: #4B5563;
  max-width: 65ch;
}

.sp-body {
  font-size: clamp(0.938rem, 0.85rem + 0.3vw, 1.063rem);
  line-height: 1.75;
  color: #4B5563;
}

a.sp-link {
  color: #8B5CF6;
  font-weight: 500;
  transition: color 0.2s ease;
}
a.sp-link:hover { color: #00E5FF; }

/* ── Buttons ── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.sp-btn-primary {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(139, 92, 246, 0.3), 0 4px 14px rgba(139, 92, 246, 0.15);
}
.sp-btn-primary:hover {
  background: linear-gradient(135deg, #9B6FF7 0%, #8B5CF6 100%);
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4), 0 8px 24px rgba(139, 92, 246, 0.2);
  transform: translateY(-1px);
}

.sp-btn-secondary {
  background: #FFFFFF;
  color: #0A0A0F;
  border: 1.5px solid #E5E7EB;
}
.sp-btn-secondary:hover {
  border-color: #8B5CF6;
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.04);
}

/* ── Header / Nav ── */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E5E7EB;
}

.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.sp-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0A0A0F;
  flex-shrink: 0;
}

.sp-logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.sp-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sp-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6B7280;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sp-nav-link:hover,
.sp-nav-link.sp-active {
  color: #0A0A0F;
  background: rgba(139, 92, 246, 0.06);
}

.sp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sp-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.sp-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0A0A0F;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 900px) {
  .sp-mobile-toggle { display: flex; }
  .sp-nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 250, 250, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #E5E7EB;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
  }
  .sp-nav-list.sp-open { display: flex; }
  .sp-nav-link {
    padding: 0.875rem 0.75rem;
    width: 100%;
  }
  .sp-header-actions .sp-btn { display: none; }
}

/* ── Hero ── */
.sp-hero {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}

.sp-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.sp-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.sp-hero-subtitle {
  font-size: clamp(1.063rem, 0.95rem + 0.4vw, 1.3rem);
  line-height: 1.65;
  color: #6B7280;
  margin-top: 1.5rem;
  max-width: 55ch;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.sp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
}

.sp-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sp-hero-meta-value {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A0A0F;
  letter-spacing: -0.02em;
}

.sp-hero-meta-label {
  font-size: 0.8125rem;
  color: #9CA3AF;
}

/* ── Sections ── */
.sp-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.sp-section + .sp-section::before {
  content: '';
  display: block;
  width: 100%;
  border-top: 1px solid #E5E7EB;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

/* ── Cards ── */
.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.sp-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B5CF6, #00E5FF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sp-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.sp-card:hover::before { opacity: 1; }

.sp-card-eyebrow {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8B5CF6;
  margin-bottom: 0.75rem;
}

.sp-card-body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #6B7280;
}

/* ── Image ── */
.sp-img {
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

/* ── Footer ── */
.sp-footer {
  border-top: 1px solid #E5E7EB;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #FFFFFF;
}

.sp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}

.sp-footer-brand {
  max-width: 280px;
}

.sp-footer-brand p {
  font-size: 0.875rem;
  color: #6B7280;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.sp-footer-col-title {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 1rem;
}

.sp-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sp-footer-links a {
  font-size: 0.875rem;
  color: #4B5563;
  transition: color 0.2s ease;
}
.sp-footer-links a:hover { color: #8B5CF6; }

.sp-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #9CA3AF;
}

/* ── Utility ── */
.sp-text-gradient {
  background: linear-gradient(135deg, #8B5CF6 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-mt-1 { margin-top: 0.5rem; }
.sp-mt-2 { margin-top: 1rem; }
.sp-mt-3 { margin-top: 1.5rem; }
.sp-mt-4 { margin-top: 2rem; }

.sp-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: 1.5rem;
}

.sp-divider {
  width: 100%;
  height: 1px;
  background: #E5E7EB;
  border: none;
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
