:root {
  --navy-50: #f4f6fa;
  --navy-100: #e4e9f2;
  --navy-400: #3d557f;
  --navy-600: #1c3050;
  --navy-700: #14233c;
  --navy-900: #0a1526;
  --blue-400: #4d9bff;
  --blue-500: #2b7fff;
  --blue-600: #1a63d6;
  --surface: #ffffff;
  --border: #dfe5ef;
  --text: var(--navy-900);
  --text-muted: #4b5a72;
  --radius: 0.75rem;
  --shadow-card: 0 1px 2px 0 rgb(10 21 38 / 0.06), 0 8px 24px -8px rgb(10 21 38 / 0.12);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --container-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--navy-600); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy-400); }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--navy-900); }
.brand-word-light { font-weight: 600; color: var(--blue-500); margin-left: 0.15em; }
.main-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--navy-700); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--blue-600); }
.header-inner .btn { margin-left: 1rem; }
.nav-toggle { display: none; }

.mobile-nav { display: none; }

/* Language switcher */
.lang-switch { position: relative; margin-left: 1.5rem; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--navy-700);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--navy-400); color: var(--blue-600); }
.lang-caret { font-size: 0.65rem; transition: transform 0.15s ease; }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 84px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 60;
}
.lang-menu[hidden] { display: none; }
.lang-option {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--navy-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.lang-option:hover { background: var(--navy-50); color: var(--blue-600); }
.lang-switch-mobile { margin: 0.25rem 0 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--navy-50) 0%, #ffffff 70%);
}
.hero-inner { max-width: 680px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.75rem;
}
.eyebrow-center { text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.1; }
.hero-lead { font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-visual {
  position: absolute;
  right: -60px;
  top: 40px;
  width: 640px;
  max-width: 55vw;
  opacity: 0.9;
}
.flow-graphic .graphic-label { font-family: var(--font-body); font-size: 12px; fill: var(--text-muted); }
.flow-graphic .graphic-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; fill: var(--navy-900); }
.flow-graphic .graphic-sub { font-family: var(--font-body); font-size: 11px; fill: var(--text-muted); }

/* Why */
.why { padding: 4rem 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-item h3 { font-size: 1.1rem; }

/* Section titles */
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Features */
.features { padding: 4rem 0; background: var(--navy-50); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.feature-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { font-size: 0.92rem; margin-bottom: 0; }

/* How it works */
.how { padding: 4.5rem 0; }
.flow-steps {
  max-width: 640px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.flow-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.flow-step-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  cursor: pointer;
}
.flow-step-index {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.flow-step-label { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--navy-900); }
.flow-step-caret { font-size: 0.8rem; color: var(--blue-500); transition: transform 0.2s ease; flex-shrink: 0; }
.flow-step-toggle[aria-expanded="true"] .flow-step-caret { transform: rotate(180deg); }
.flow-step-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 1.25rem; }
.flow-step-panel p { font-size: 0.92rem; padding-bottom: 1.1rem; margin: 0; color: var(--text-muted); }
.flow-step.open .flow-step-panel { max-height: 200px; }

/* Services */
.services { padding: 4rem 0; background: var(--navy-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.service-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.service-item h3 { font-size: 1.05rem; }
.service-item p { font-size: 0.92rem; margin-bottom: 0; }

/* Audience */
.audience { padding: 4rem 0; }
.audience-inner { max-width: 640px; margin: 0 auto; text-align: center; }

/* FAQ */
.faq { padding: 4rem 0; background: var(--navy-50); }
.faq-list { max-width: 680px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--blue-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.25rem;
}
.faq-answer p { font-size: 0.92rem; padding-bottom: 1.1rem; margin: 0; }
.faq-item.open .faq-answer { max-height: 240px; }

/* CTA final */
.cta-final {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-600));
  color: #fff;
  text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: rgb(255 255 255 / 0.75); max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-final-inner { display: flex; flex-direction: column; align-items: center; }
.cta-logo { height: 44px; width: auto; display: block; margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgb(255 255 255 / 0.7); padding-top: 3rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.footer-logo { height: 32px; width: auto; display: block; }
.footer-brand p { color: rgb(255 255 255 / 0.55); font-size: 0.9rem; margin-top: 0.5rem; margin-bottom: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { text-decoration: none; color: rgb(255 255 255 / 0.7); font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact a { text-decoration: none; color: rgb(255 255 255 / 0.85); font-size: 0.92rem; }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgb(255 255 255 / 0.45); }

/* Responsive */
@media (max-width: 860px) {
  .why-grid, .feature-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-inner .btn-sm { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    margin-left: auto;
    padding: 0.5rem;
    cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    background: #fff;
  }
  .mobile-nav a { text-decoration: none; color: var(--navy-700); font-weight: 500; }
}

@media (max-width: 640px) {
  .why-grid, .feature-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
