
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   DESIGN TOKENS
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  /* Core palette */
  --ink:          #080c12;
  --ink-deep:     #050810;
  --ink-90:       rgba(8,12,18,0.92);
  --ink-80:       rgba(8,12,18,0.80);
  --ink-60:       rgba(8,12,18,0.60);
  --ink-40:       rgba(8,12,18,0.40);
  --ink-20:       rgba(8,12,18,0.20);
  --ink-10:       rgba(8,12,18,0.10);
  --ink-05:       rgba(8,12,18,0.05);

  --white:        #ffffff;
  --off-white:    #f5f7fa;
  --surface:      #ffffff;
  --surface-2:    #f1f4f8;
  --surface-3:    #e4e8ef;

  /* Brand accent — electric cobalt */
  --blue:         #2058e8;
  --blue-hover:   #1748d4;
  --blue-mid:     #3b6ef5;
  --blue-bright:  #4d7fff;
  --blue-light:   #eef3ff;
  --blue-alpha:   rgba(32,88,232,0.14);
  --blue-subtle:  rgba(32,88,232,0.06);
  --blue-glow:    rgba(32,88,232,0.22);

  /* Gold accent */
  --gold:         #e8a020;
  --gold-light:   rgba(232,160,32,0.12);

  /* Semantic */
  --teal:         #0a8a80;
  --amber:        #b55a08;
  --rose:         #c01c1c;
  --green:        #0a7a4a;

  /* Dark surface system */
  --dark-1:       #0d1218;
  --dark-2:       #121820;
  --dark-3:       #181f28;
  --dark-4:       #1e2730;
  --dark-edge:    rgba(255,255,255,0.055);
  --dark-rule:    1px solid rgba(255,255,255,0.07);
  --dark-rule-strong: 1px solid rgba(255,255,255,0.12);

  /* Light surface rules */
  --rule:         1px solid rgba(8,12,18,0.08);
  --rule-strong:  1px solid rgba(8,12,18,0.14);

  /* Typography */
  --font-body:    "Inter",sans-serif;
  --font-heading: "Inter",sans-serif;
  --font-mono:    "Inter",sans-serif;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-28: 112px;
  --sp-32: 128px;

  /* Layout */
  --nav-h:    72px;
  /* --max-w:    1360px; */
  --max-w:    1200px;
  --gutter:   clamp(24px, 5vw, 80px);

  /* Elevation */
  --shadow-xs: 0 1px 3px rgba(8,12,18,0.10), 0 0 0 1px rgba(8,12,18,0.05);
  --shadow-sm: 0 2px 8px rgba(8,12,18,0.10), 0 0 0 1px rgba(8,12,18,0.04);
  --shadow-md: 0 6px 20px rgba(8,12,18,0.10), 0 2px 6px rgba(8,12,18,0.06);
  --shadow-lg: 0 12px 36px rgba(8,12,18,0.12), 0 4px 12px rgba(8,12,18,0.06);
  --shadow-xl: 0 24px 56px rgba(8,12,18,0.14), 0 8px 20px rgba(8,12,18,0.08);
  --shadow-blue: 0 8px 32px rgba(32,88,232,0.28), 0 2px 8px rgba(32,88,232,0.16);

  /* Radius */
  --r-xs:   2px;
  --r-sm:   5px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   18px;
  --r-2xl:  24px;
  --r-full: 9999px;


  /* About Section Colors */
  --ink:           #0c0c12;   /* .about-stat-box background */
  --violet:        #6846c6;   /* .eyebrow color, .pillar border-left, .pillar:hover border-color */
  --violet-10:     #f4f1fc;   /* .pillar:hover background */
  --blue:          #2563eb;   /* .pillar:hover border-color */
  --muted:         #6c6c86;   /* .section-subtitle color, .pillar-desc color */
  --off-white:     #f3f3f7;   /* .pillar background */
  --white:         #ffffff;   /* #about background, .section-title color */

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, #6846c6 0%, #2563eb 100%);  /* .about-accent, .eyebrow::before, .btn-brand */
  --grad-text:     linear-gradient(100deg, #9b7fdb 0%, #60a5fa 100%);  /* .asb-num, .grad-text span */

  /* Shadows */
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);  /* .about-img-main */
  --shadow-violet: 0 8px 32px rgba(104,70,198,0.28);                            /* .btn-brand */

  /* Typography */

  --font-display:  "Inter",sans-serif;   /* .asb-num, .section-title, .eyebrow */
  --font-body:     "Inter",sans-serif;  /* .btn */

  /* Border radius */
  --radius-sm:  8px;   /* .btn, .btn-brand border-radius */
  --radius-md:  14px;  /* .pillar, .about-img-main (via radius-xl actually not md) */
  --radius-lg:  20px;  /* .about-stat-box border-radius */
  --radius-xl:  28px;  /* .about-img-main border-radius */
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   BASE RESET
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  color:#0f172a;
  -webkit-font-smoothing: antialiased;
  background: var(--bg-0);

}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
em, i { font-style: normal; }
.mi { font-size: inherit; line-height: inherit; vertical-align: middle; display: inline-block; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITIES
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   FAB
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 140;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(255,255,255,0.09);
}
.fab:hover { transform: scale(1.06); box-shadow: var(--shadow-lg); }
.fab .material-icons-round { font-size: 20px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION DIVIDER
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-rule {
  height: 1px;
  background: var(--ink-10);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL REVEAL
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.62s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-search-btn .search-text,
  .nav-search-btn .kbd { display: none; }
  .menu-toggle { display: flex; }
  .fab { display: flex; }
  .metrics-label { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 580px) {
  :root { --gutter: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━
   PRINT / ACCESSIBILITY
━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}