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

:root {
  --bg-deep: #0B0F19;
  --bg-surface: #111827;
  --bg-glass: rgba(17, 24, 39, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --hue-36: #FBBF24;
  --hue-36-glow: rgba(251, 191, 36, 0.15);
  --blue-tech: #3B82F6;
  --blue-glow: rgba(59, 130, 246, 0.12);
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-pill: 9999px;
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(2rem, 4vw, 3rem);
  --space-lg: clamp(3rem, 8vw, 6rem);
  --space-xl: clamp(4rem, 10vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 25%, var(--blue-glow) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, var(--hue-36-glow) 0%, transparent 40%);
  background-attachment: fixed;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, background 0.2s ease; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-sm); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 5vw + 1.5rem, 5rem); }
h2 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem); }

p {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.lead-paragraph {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.35rem);
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: var(--space-md);
  line-height: 1.65;
}
.body-text { color: var(--text-secondary); }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-tech);
  margin-bottom: var(--space-xs);
  display: block;
}
.image { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-xs) 0;
}
.nav-wrapper { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-sm); }
.nav-logo {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.04em; display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo span { color: var(--hue-36); }
.nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-links.left { align-items: flex-end; justify-content: flex-end; }
.nav-links.right { align-items: flex-start; justify-content: flex-end; }
.nav-link {
  font-size: 0.95rem; font-weight: 500; color: var(--text-secondary);
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--text-primary); background: var(--border-subtle); }
.nav-cta {
  font-weight: 600; padding: 0.6rem 1.25rem; background: var(--text-primary);
  color: var(--bg-deep); border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px var(--hue-36-glow); }

.page-hero { padding: var(--space-xl) 0 var(--space-lg); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { margin-bottom: var(--space-sm); }
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.4rem); color: var(--text-secondary);
  max-width: 70ch; margin-bottom: var(--space-md); line-height: 1.6;
}
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; justify-content: center; }

.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem; font-size: 1rem; font-weight: 600;
  border-radius: var(--radius-pill); transition: all 0.25s ease; text-align: center;
  min-width: 130px; white-space: nowrap;
}
.primary-button {
  background: var(--hue-36); color: #0F172A;
  box-shadow: 0 4px 20px var(--hue-36-glow);
}
.primary-button:hover { background: #F59E0B; transform: translateY(-2px); box-shadow: 0 8px 28px var(--hue-36-glow); }
.secondary-button {
  background: transparent; border: 1px solid var(--border-hover); color: var(--text-primary);
}
.secondary-button:hover { background: var(--border-subtle); border-color: var(--text-muted); }

.section-wrapper { padding: var(--space-lg) 0; position: relative; }
.section-heading { margin-bottom: var(--space-xs); }
.section-intro { max-width: 60ch; margin-bottom: var(--space-lg); }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: var(--space-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; align-items: flex-start;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
.card-icon {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--blue-tech), var(--hue-36));
  border-radius: var(--radius-sm); margin-bottom: var(--space-sm);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.25rem;
}
.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: var(--space-xs); color: var(--text-primary); }
.card p { margin-bottom: 0; font-size: 1rem; }

footer {
  border-top: 1px solid var(--border-subtle); padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
  background: linear-gradient(to top, rgba(11,15,25,0.95), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md); margin-bottom: var(--space-lg);
}
.footer-brand h4 { font-size: 1.25rem; margin-bottom: var(--space-xs); }
.footer-brand p { font-size: 0.95rem; max-width: 30ch; color: var(--text-secondary); }
.footer-col h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--space-sm); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  padding-top: var(--space-sm); border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem; color: var(--text-muted); gap: var(--space-xs);
}

@media (max-width: 860px) {
  .nav-wrapper { grid-template-columns: 1fr; gap: var(--space-sm); }
  .nav-links.left, .nav-links.right { align-items: center; justify-content: center; flex-direction: row; flex-wrap: wrap; }
  .nav-logo { justify-content: center; }
  .page-hero { padding: var(--space-lg) 0; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .primary-button, .secondary-button { width: 100%; }
}
@media (max-width: 480px) {
  .nav-links.left, .nav-links.right { gap: 0.5rem; }
  .nav-link { padding: 0.4rem 0.6rem; font-size: 0.9rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* 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}
