/* ── Fonts ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset & tokens ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --blue-700: #0043ce;
  --blue-500: #0f62fe;
  --blue-400: #4589ff;
  --blue-100: #d0e2ff;
  --blue-50: #edf5ff;
  --navy: #0d1a2f;
  --navy-800: #121f36;
  --navy-700: #1a2a45;
  --gray-900: #161616;
  --gray-700: #393939;
  --gray-600: #525252;
  --gray-400: #8d8d8d;
  --gray-200: #e0e0e0;
  --gray-100: #f4f4f4;
  --gray-50: #f9fafb;
  --white: #fff;
  --green: #24a148;
  --amber: #ff832b;
  --fc-yellow: #ffab00;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .1);
  --max-w: 1200px
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

img,
svg {
  display: block
}

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color .2s
}

a:hover {
  color: var(--blue-700)
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200)
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.nav-logo svg {
  height: 28px;
  width: auto
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none
}

.nav-links a {
  color: var(--gray-700);
  font-size: .9rem;
  font-weight: 500
}

.nav-links a:hover {
  color: var(--blue-500)
}

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

/* ── Nav Dropdown ── */
.nav-dropdown {
  position: relative
}

.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: .75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s
}

.nav-dropdown:hover .nav-mega,
.nav-dropdown:focus-within .nav-mega {
  opacity: 1;
  visibility: visible
}

.nav-mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.25rem;
  min-width: 580px
}

.nav-mega-inner.nav-mega-single {
  grid-template-columns: 1fr;
  min-width: 280px
}

.nav-mega-inner.nav-mega-grid {
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  padding: 1.25rem;
  min-width: 540px
}

.nav-mega-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem .85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .15s
}

.nav-mega-item:hover {
  background: var(--blue-50)
}

.nav-mega-item svg {
  flex-shrink: 0;
  color: var(--gray-400);
  margin-top: .1rem;
  transition: color .15s
}

.nav-mega-item:hover svg {
  color: var(--blue-500)
}

.nav-mega-item-title {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  transition: color .15s
}

.nav-mega-item:hover .nav-mega-item-title {
  color: var(--blue-500)
}

.nav-mega-item-desc {
  display: block;
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.4;
  margin-top: .15rem
}

.nav-mega-heading {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: .4rem
}

.nav-mega-heading a {
  color: inherit;
  text-decoration: none
}

.nav-mega-heading a:hover {
  color: var(--blue-500)
}

.nav-mega-desc {
  font-size: .82rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 1rem
}

.nav-mega-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-500);
  margin-bottom: 1rem
}

.nav-mega-link:hover {
  color: var(--blue-700)
}

.nav-mega-link svg {
  transition: transform .15s
}

.nav-mega-link:hover svg {
  transform: translateX(3px)
}

.nav-mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .15rem
}

.nav-mega-list a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .6rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background .15s, color .15s
}

.nav-mega-list a:hover {
  background: var(--blue-50);
  color: var(--blue-500)
}

.nav-mega-list svg {
  flex-shrink: 0;
  color: var(--gray-400)
}

.nav-mega-list a:hover svg {
  color: var(--blue-500)
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: .4rem;
  cursor: pointer;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background .15s
}

.nav-hamburger:hover {
  background: var(--gray-100)
}

.nav-hamburger-close {
  display: none
}

.nav-open .nav-hamburger-open {
  display: none
}

.nav-open .nav-hamburger-close {
  display: block
}

/* ── Mobile Menu ── */
.nav-mobile {
  display: none
}

.nav-open .nav-mobile {
  display: block
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: .75rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  max-height: calc(100dvh - 64px);
  overflow-y: auto
}

.nav-mobile-label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: .6rem .6rem .25rem
}

.nav-mobile-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .6rem .55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .15s, color .15s
}

.nav-mobile-item:hover {
  background: var(--blue-50);
  color: var(--blue-500)
}

.nav-mobile-item svg {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: color .15s
}

.nav-mobile-item:hover svg {
  color: var(--blue-500)
}

.nav-mobile-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: .5rem 0
}

.nav-mobile-link {
  display: block;
  padding: .6rem .6rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s
}

.nav-mobile-link:hover {
  background: var(--blue-50);
  color: var(--blue-500)
}

.nav-mobile-actions {
  display: flex;
  gap: .75rem;
  padding-top: .75rem
}

.nav-mobile-actions .btn-ghost {
  border: 1.5px solid var(--gray-200)
}

.nav-mobile-actions .btn {
  flex: 1;
  justify-content: center
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700)
}

.btn-ghost:hover {
  color: var(--blue-500);
  background: var(--blue-50)
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white)
}

.btn-primary:hover {
  background: var(--blue-700);
  color: var(--white)
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border: 1.5px solid var(--blue-500)
}

.btn-outline:hover {
  background: var(--blue-50)
}

.btn-lg {
  padding: .75rem 1.75rem;
  font-size: 1rem
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 3.5rem 2rem 2rem
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--navy-700)
}

.footer-brand-block p {
  font-size: .875rem;
  line-height: 1.6;
  margin-top: .75rem;
  max-width: 340px
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem
}

.footer-logos .footer-logo-item {
  display: flex;
  align-items: center;
  gap: .75rem
}

.footer-logos svg {
  height: 22px;
  width: auto
}

.footer-logos .logo-caption {
  font-size: .78rem
}

.footer-col h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-200);
  margin-bottom: 1rem
}

.footer-col h4 a {
  color: inherit;
  text-decoration: none
}

.footer-col h4 a:hover {
  color: var(--white)
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.footer-col a {
  font-size: .875rem;
  color: var(--gray-400)
}

.footer-col a:hover {
  color: var(--white)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .78rem
}

.eu-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border: 1px solid var(--navy-700);
  border-radius: 100px;
  font-size: .75rem
}

.eu-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  vertical-align: middle
}

/* ── FAQ ── */
.faq-list {
  max-width: 780px;
  margin-top: 2rem
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-200)
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.faq-question::-webkit-details-marker {
  display: none
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .2s
}

.faq-item[open] .faq-question::after {
  content: '\2212'
}

.faq-answer {
  padding-top: 1rem
}

.faq-answer p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7
}

.faq-answer a {
  color: var(--blue-500);
  text-decoration: none;
  font-weight: 600
}

.faq-answer a:hover {
  color: var(--blue-700)
}

/* ── Animation ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.animate-in {
  opacity: 0;
  animation: fadeUp .6s ease forwards
}

/* ── Responsive ── */
@media(max-width:840px) {
  .nav-links {
    display: none
  }

  .nav-actions {
    display: none
  }

  .nav-hamburger {
    display: flex
  }

  .nav-open {
    background: var(--white)
  }
}

@media(max-width:1024px) {
  .nav-mega {
    left: auto;
    right: -2rem;
    transform: none
  }

  .nav-mega-inner {
    min-width: 480px
  }
}

@media(max-width:1024px) {
  .footer-top {
    grid-template-columns: 1fr
  }
}

@media(max-width:640px) {
  .nav-inner {
    padding: 0 1rem
  }
}



.cta-banner {
  background: var(--white);
  padding: 5rem 2rem;
}

.cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center
}

.cta-left h2 {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25
}

.cta-left p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto
}

.cta-banner-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center
}

/* ── About cards ── */

.about-grid {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem
}

.about-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: box-shadow .25s
}

.about-card-content {
  flex: 1;
  display: flex;
  flex-direction: column
}

.about-card:hover {
  box-shadow: var(--shadow-md)
}

.about-card-icon {
  margin-bottom: 1.25rem
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem
}

.about-card p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7
}

.about-card p+p {
  margin-top: .75rem
}

@media(max-width:900px) {
  .about-grid {
    flex-direction: column;
    gap: 1.25rem
  }
  .about-card {
    padding: 1.25rem
  }
}

.dev-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem
}

.dev-info-list li {
  font-size: .88rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 0.5rem;
}

.dev-info-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0
}

/* ── Sample download link ── */
.data-view-sample-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  white-space: nowrap;
  text-decoration: none
}

.data-view-sample-link:hover {
  color: var(--blue-700)
}

.data-view-sample-link svg {
  transition: transform .15s
}

.data-view-sample-link:hover svg {
  transform: translateX(2px)
}

/* ── Sample download banner ── */
.sample-download-banner {
  position: relative;
  margin-top: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 50%, var(--blue-500) 100%);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 98, 254, .2), 0 0 0 1px rgba(15, 98, 254, .15)
}

.sample-download-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, .07) 45%,
    rgba(255, 255, 255, .12) 50%,
    rgba(255, 255, 255, .07) 55%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: sampleShine 4s ease-in-out infinite
}

@keyframes sampleShine {
  0% { background-position: 200% 0 }
  100% { background-position: -200% 0 }
}

.sample-download-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.75rem
}

.sample-download-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-100);
  animation: sampleBounce 2.5s ease-in-out infinite
}

@keyframes sampleBounce {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-3px) }
}

.sample-download-text {
  flex: 1;
  min-width: 0
}

.sample-download-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.3
}

.sample-download-text span {
  display: block;
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.5;
  margin-top: .2rem
}

.sample-download-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15)
}

.sample-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  background: var(--blue-50);
  color: var(--navy)
}

.sample-download-btn:active {
  transform: translateY(0)
}

@media(max-width:640px) {
  .sample-download-content {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem
  }
  .sample-download-btn {
    width: 100%;
    justify-content: center
  }
}