@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --edalmo-ink: #0e1f36;
  --edalmo-ink-soft: #3b5375;
  --edalmo-line: #d8e2f2;
  --edalmo-surface: #ffffff;
  --edalmo-surface-soft: #eef4ff;
  --edalmo-brand: #0d6efd;
  --edalmo-brand-2: #0a58ca;
  --edalmo-accent: #16a085;
  --edalmo-shadow: 0 14px 36px rgba(13, 26, 52, 0.12);
}

body.edalmo-theme {
  color: var(--edalmo-ink);
  background: linear-gradient(180deg, #f7fbff 0%, #f1f6ff 40%, #ffffff 100%);
  font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
}

body.edalmo-theme h1,
body.edalmo-theme h2 {
  font-family: 'Fraunces', Georgia, serif;
  color: #10223d;
  letter-spacing: 0.01em;
}

body.edalmo-theme a {
  color: inherit;
}

body.edalmo-theme nav {
  border-bottom: 1px solid rgba(216, 226, 242, 0.9) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 24px rgba(13, 26, 52, 0.08) !important;
  backdrop-filter: blur(10px);
}

body.edalmo-theme .bg-blue-50 {
  background-color: #f4f8ff !important;
}

body.edalmo-theme .bg-blue-100 {
  background-color: #eef4ff !important;
}

body.edalmo-theme .bg-gray-50 {
  background-color: #f5f9ff !important;
}

body.edalmo-theme .bg-white {
  background-color: var(--edalmo-surface) !important;
  border-color: var(--edalmo-line) !important;
}

body.edalmo-theme .text-gray-900 {
  color: #10223d !important;
}

body.edalmo-theme .text-gray-800 {
  color: var(--edalmo-ink) !important;
}

body.edalmo-theme .text-gray-700,
body.edalmo-theme .text-gray-600 {
  color: var(--edalmo-ink-soft) !important;
}

body.edalmo-theme .text-blue-600 {
  color: var(--edalmo-brand) !important;
}

body.edalmo-theme .border-gray-200,
body.edalmo-theme .border-blue-100,
body.edalmo-theme .border-blue-200,
body.edalmo-theme .border-blue-300 {
  border-color: var(--edalmo-line) !important;
}

body.edalmo-theme .border-blue-600 {
  border-color: var(--edalmo-brand) !important;
}

body.edalmo-theme .bg-blue-600,
body.edalmo-theme .hover\:bg-blue-600:hover {
  background-image: linear-gradient(110deg, var(--edalmo-brand), var(--edalmo-brand-2)) !important;
  background-color: var(--edalmo-brand) !important;
}

body.edalmo-theme .hover\:bg-blue-700:hover {
  background-color: var(--edalmo-brand-2) !important;
}

body.edalmo-theme .bg-blue-50,
body.edalmo-theme .bg-white,
body.edalmo-theme .rounded,
body.edalmo-theme .rounded-lg,
body.edalmo-theme .rounded-xl,
body.edalmo-theme .rounded-2xl {
  box-shadow: 0 8px 22px rgba(13, 26, 52, 0.06);
}

body.edalmo-theme #sidebar {
  background: #ffffff !important;
  border-right: 1px solid var(--edalmo-line) !important;
}

body.edalmo-theme #sidebar a {
  color: #224b84;
}

body.edalmo-theme #sidebar a:hover {
  background: #eef5ff !important;
}

body.edalmo-theme #lang-options {
  border: 1px solid #c8daf6;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 14px 34px rgba(8, 29, 61, 0.16);
  background: rgba(255, 255, 255, 0.98);
}

body.edalmo-theme #lang-menu-toggle {
  border: 1px solid #c9dbf7;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(14, 40, 73, 0.08);
}

body.edalmo-theme #lang-options [data-lang].active,
body.edalmo-theme #nav-lang-selector [data-lang].active,
body.edalmo-theme #lang-selector [data-lang].active {
  background: #e8f2ff !important;
  color: #123f78 !important;
  border-color: #7ca7ec !important;
}

body.edalmo-theme .px-3.py-1.border {
  border-color: #c7d8f4 !important;
  border-radius: 999px !important;
  color: #1a3d72 !important;
  background: #ffffff !important;
}

body.edalmo-theme .hover\:bg-black:hover,
body.edalmo-theme .hover\:text-white:hover {
  background: #0d6efd !important;
  color: #ffffff !important;
}

body.edalmo-theme input,
body.edalmo-theme textarea,
body.edalmo-theme select {
  border-color: #c7d8f4 !important;
  border-radius: 10px;
  color: #19375f;
}

body.edalmo-theme input:focus,
body.edalmo-theme textarea:focus,
body.edalmo-theme select:focus {
  outline: none;
  border-color: #7aa7ea !important;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

body.edalmo-theme .shadow,
body.edalmo-theme .shadow-sm,
body.edalmo-theme .shadow-md,
body.edalmo-theme .shadow-lg {
  box-shadow: var(--edalmo-shadow) !important;
}

@media (max-width: 1023px) {
  body.edalmo-theme nav {
    background: rgba(255, 255, 255, 0.96) !important;
  }
}

/* --- Harmonized look for legacy pages --- */
body.edalmo-theme {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body.edalmo-theme nav .max-w-6xl {
  width: min(1180px, calc(100% - 2rem));
}

body.edalmo-theme nav #nav-links,
body.edalmo-theme nav ul#nav-links,
body.edalmo-theme nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.edalmo-theme nav #nav-links li,
body.edalmo-theme nav ul#nav-links li,
body.edalmo-theme nav ul li {
  list-style: none;
}

body.edalmo-theme nav #nav-links a,
body.edalmo-theme nav ul a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent !important;
  color: var(--edalmo-ink-soft) !important;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

body.edalmo-theme nav #nav-links a:hover,
body.edalmo-theme nav #nav-links a:focus-visible,
body.edalmo-theme nav ul a:hover,
body.edalmo-theme nav ul a:focus-visible {
  border-color: var(--edalmo-line) !important;
  background: #f6f9ff !important;
  color: var(--edalmo-ink) !important;
  outline: none;
}

body.edalmo-theme nav #nav-links a.font-semibold,
body.edalmo-theme nav ul a.font-semibold,
body.edalmo-theme nav #nav-links a[aria-current='page'],
body.edalmo-theme nav ul a[aria-current='page'] {
  background: #eaf2ff !important;
  border-color: #c5d9f8 !important;
  color: #10396b !important;
}

body.edalmo-theme .bg-white.rounded,
body.edalmo-theme .bg-white.rounded-lg,
body.edalmo-theme .bg-white.rounded-xl,
body.edalmo-theme .bg-white.rounded-2xl,
body.edalmo-theme .content-container,
body.edalmo-theme .card,
body.edalmo-theme .download-section,
body.edalmo-theme details {
  border: 1px solid var(--edalmo-line) !important;
  box-shadow: 0 12px 28px rgba(13, 26, 52, 0.09);
}

body.edalmo-theme #action-menu {
  border-bottom-color: var(--edalmo-line) !important;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

body.edalmo-theme #action-menu button {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 600;
}

body.edalmo-theme #add-info-section .grid button {
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
}

body.edalmo-theme [id^='step-'].step {
  background: #ffffff;
  border: 1px solid var(--edalmo-line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 12px 26px rgba(13, 26, 52, 0.09);
}

/* all_works.html */
body.edalmo-theme #entry-title {
  width: min(1120px, calc(100% - 2rem));
  margin: 0.7rem auto 0;
  padding: 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem) !important;
  line-height: 1.15;
  text-align: left;
}

body.edalmo-theme #quick-links {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

body.edalmo-theme #quick-links button {
  border: 1px solid #c5d9f8 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #194274 !important;
  padding: 10px 16px;
  line-height: 1.2;
  font-weight: 600;
}

body.edalmo-theme #quick-links button.active {
  background: #e8f2ff !important;
  color: #113a6a !important;
  border-color: #86aee9 !important;
}

body.edalmo-theme #quick-links #prev-page,
body.edalmo-theme #quick-links #next-page {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.edalmo-theme .content-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.edalmo-theme .content-row,
body.edalmo-theme .mid-row {
  gap: 22px;
  align-items: stretch;
}

body.edalmo-theme .text-block {
  color: var(--edalmo-ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

body.edalmo-theme #main-image,
body.edalmo-theme #small-image {
  border: 1px solid var(--edalmo-line);
  background: #eef4ff;
  border-radius: 16px;
}

body.edalmo-theme .diagram-row {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
}

body.edalmo-theme .diagram-image {
  width: 100%;
  max-width: none;
  border-radius: 20px;
  border: 1px solid var(--edalmo-line) !important;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(13, 26, 52, 0.08);
}

body.edalmo-theme .downloads {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

body.edalmo-theme .download-section {
  margin-bottom: 0;
  border-radius: 16px;
  padding: 14px;
}

body.edalmo-theme .download-toggle {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #7ea8ec !important;
  background-image: linear-gradient(120deg, var(--edalmo-brand), var(--edalmo-brand-2));
  color: #ffffff;
  font-weight: 700;
}

body.edalmo-theme .download-options a {
  border-color: var(--edalmo-line) !important;
  border-radius: 10px;
  background: #f8fbff;
  color: #194274;
  font-weight: 600;
}

body.edalmo-theme .downloads + footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

body.edalmo-theme .downloads + footer button,
body.edalmo-theme .downloads + footer a {
  border: 1px solid #c5d9f8 !important;
  border-radius: 999px !important;
  background: #ffffff;
  color: #194274;
  font-weight: 600;
}

/* join_us.html */
body.edalmo-theme #intro h1 {
  font-size: clamp(2.2rem, 4.9vw, 3.8rem) !important;
  margin-bottom: 0.8rem;
}

body.edalmo-theme #jobs h2,
body.edalmo-theme #different h2,
body.edalmo-theme #process h2,
body.edalmo-theme #manifesto h2,
body.edalmo-theme #faq h2,
body.edalmo-theme #contact h2 {
  font-size: clamp(1.9rem, 4.1vw, 3rem) !important;
  margin-bottom: 1rem;
}

body.edalmo-theme #jobs .card,
body.edalmo-theme #different .card {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

body.edalmo-theme #process .step {
  border: 1px solid var(--edalmo-line);
  border-radius: 18px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(13, 26, 52, 0.08);
}

body.edalmo-theme #process .circle {
  width: 92px;
  height: 92px;
  font-size: 0.95rem;
  background: linear-gradient(120deg, var(--edalmo-brand), #3f8fff);
  box-shadow: 0 10px 22px rgba(13, 65, 132, 0.22);
}

body.edalmo-theme #faq details {
  border-radius: 12px;
  background: #ffffff;
}

body.edalmo-theme #contact form {
  background: #ffffff;
  border: 1px solid var(--edalmo-line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(13, 26, 52, 0.08);
}

@media (max-width: 1023px) {
  body.edalmo-theme #entry-title,
  body.edalmo-theme #quick-links,
  body.edalmo-theme .content-container,
  body.edalmo-theme .diagram-row,
  body.edalmo-theme .downloads,
  body.edalmo-theme .downloads + footer {
    width: calc(100% - 1.25rem);
  }

  body.edalmo-theme .content-row,
  body.edalmo-theme .mid-row {
    flex-direction: column;
  }

  body.edalmo-theme #main-image,
  body.edalmo-theme #small-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

body.edalmo-theme #process .step h3 {
  font-size: 1.2rem !important;
  text-align: center;
  margin-bottom: 0.4rem;
}

body.edalmo-theme #process .step p {
  font-size: 0.95rem;
  color: var(--edalmo-ink-soft) !important;
}

/* --- Unified top navigation (index parity) --- */
body.edalmo-theme .site-header nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid rgba(216, 226, 242, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(9, 29, 56, 0.06);
}

body.edalmo-theme .site-header .nav-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

body.edalmo-theme .site-header .brand-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.edalmo-theme .site-header .brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #10223d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  text-decoration: none;
}

body.edalmo-theme .site-header #nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.edalmo-theme .site-header #nav-links li {
  list-style: none;
}

body.edalmo-theme .site-header #nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--edalmo-ink-soft);
  border: 1px solid transparent !important;
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

body.edalmo-theme .site-header #nav-links a:hover,
body.edalmo-theme .site-header #nav-links a:focus-visible {
  border-color: var(--edalmo-line) !important;
  background: linear-gradient(180deg, #ffffff, #f1f7ff) !important;
  color: var(--edalmo-ink) !important;
  outline: none;
  box-shadow: 0 6px 14px rgba(18, 53, 98, 0.08);
}

body.edalmo-theme .site-header .mobile-nav-toggle {
  display: none;
  border: 1px solid var(--edalmo-line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #0f2b55;
  cursor: pointer;
}

body.edalmo-theme .site-header .mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
}

body.edalmo-theme .site-header #nav-lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

body.edalmo-theme .site-header #lang-menu-toggle {
  border: 1px solid #c9dbf7;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-radius: 999px;
  padding: 2px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(14, 40, 73, 0.08);
}

body.edalmo-theme .site-header #lang-menu-toggle img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

body.edalmo-theme .site-header #lang-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 168px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #c8daf6;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 14px 34px rgba(8, 29, 61, 0.16);
  overflow: hidden;
}

body.edalmo-theme .site-header #lang-options.hidden {
  display: none;
}

body.edalmo-theme .site-header #lang-options button {
  border: 1px solid transparent;
  background: #f6faff;
  border-radius: 10px;
  padding: 2px;
  width: 44px;
  height: 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body.edalmo-theme .site-header #lang-options button img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1023px) {
  body.edalmo-theme .site-header .nav-shell {
    width: calc(100% - 1rem);
    min-height: 64px;
  }

  body.edalmo-theme .site-header .brand {
    font-size: 1.35rem;
  }

  body.edalmo-theme .site-header .mobile-nav-toggle {
    display: inline-flex;
  }
}
/* --- Global paragraph alignment (justified text) --- */
body.edalmo-theme p,
body.edalmo-theme li {
  text-align: justify;
  text-justify: inter-word;
}

body.edalmo-theme .site-header p,
body.edalmo-theme nav p,
body.edalmo-theme nav a,
body.edalmo-theme #nav-links a,
body.edalmo-theme footer p,
body.edalmo-theme .detail-stat,
body.edalmo-theme .detail-stat p,
body.edalmo-theme .domain-card,
body.edalmo-theme .sector-pill,
body.edalmo-theme .feature-card h3,
body.edalmo-theme .tag-list a,
body.edalmo-theme .usecase-caption,
body.edalmo-theme .usecase-main-label,
body.edalmo-theme .usecase-sub-label {
  text-align: center;
}

