.ldcfc-mobile-toggle {
  display: none !important;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(115, 119, 125, 0.45);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
  color: #001a33;
  cursor: pointer;
}

.ldcfc-lang-toggle {
  display: inline-grid !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  place-items: center !important;
  padding: 0 !important;
}

.ldcfc-lang-toggle .material-symbols-outlined {
  display: none !important;
}

.ldcfc-lang-toggle .lang-text {
  display: inline-block !important;
  position: relative !important;
  width: 24px !important;
  height: 16px !important;
  overflow: hidden !important;
  border-radius: 2px !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.ldcfc-lang-toggle .lang-text::before,
.ldcfc-lang-toggle .lang-text::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
}

.ldcfc-lang-toggle .lang-flag-en {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0,
    #b22234 1.23px,
    #ffffff 1.23px,
    #ffffff 2.46px
  ) !important;
}

.ldcfc-lang-toggle .lang-flag-en::before {
  inset: 0 auto auto 0 !important;
  width: 10.5px !important;
  height: 8.6px !important;
  background: #3c3b6e !important;
}

.ldcfc-lang-toggle .lang-flag-kh {
  background: linear-gradient(
    to bottom,
    #032ea1 0%,
    #032ea1 25%,
    #e00025 25%,
    #e00025 75%,
    #032ea1 75%,
    #032ea1 100%
  ) !important;
}

.ldcfc-lang-toggle .lang-flag-kh::before {
  left: 8px !important;
  top: 5px !important;
  width: 8px !important;
  height: 5px !important;
  background: #ffffff !important;
  clip-path: polygon(50% 0, 100% 38%, 88% 38%, 88% 100%, 12% 100%, 12% 38%, 0 38%) !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.ldcfc-theme-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(115, 119, 125, 0.45);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
  color: #001a33;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(0, 26, 51, 0.08);
}

.ldcfc-theme-toggle:hover,
.ldcfc-mobile-toggle:hover {
  border-color: #8c6e3d;
}

.ldcfc-mobile-panel {
  display: none;
}

:root.dark,
:root[data-theme="dark"] {
  color-scheme: dark;
}

:root.dark body,
:root[data-theme="dark"] body {
  background: #101415 !important;
  color: #e8ecef !important;
}

:root.dark .bg-background,
:root[data-theme="dark"] .bg-background,
:root.dark .bg-surface,
:root[data-theme="dark"] .bg-surface,
:root.dark .bg-surface-container-low,
:root[data-theme="dark"] .bg-surface-container-low,
:root.dark .bg-surface-container,
:root[data-theme="dark"] .bg-surface-container,
:root.dark .bg-white,
:root[data-theme="dark"] .bg-white,
:root.dark .bg-white\/80,
:root[data-theme="dark"] .bg-white\/80,
:root.dark .bg-white\/90,
:root[data-theme="dark"] .bg-white\/90 {
  background-color: #101415 !important;
}

:root.dark .bg-surface-container-lowest,
:root[data-theme="dark"] .bg-surface-container-lowest,
:root.dark .glass-panel,
:root[data-theme="dark"] .glass-panel {
  background-color: rgba(25, 29, 31, 0.86) !important;
}

:root.dark .fixed.top-0,
:root[data-theme="dark"] .fixed.top-0 {
  background-color: rgba(25, 29, 31, 0.92) !important;
  border-color: #3c454b !important;
}

:root.dark .hero-mesh-gradient,
:root[data-theme="dark"] .hero-mesh-gradient {
  background: radial-gradient(circle at 50% 50%, #17202a 0%, #101415 72%) !important;
}

:root.dark .from-background,
:root[data-theme="dark"] .from-background {
  --tw-gradient-from: #101415 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(16, 20, 21, 0) var(--tw-gradient-to-position) !important;
}

:root.dark .from-white,
:root[data-theme="dark"] .from-white {
  --tw-gradient-from: #101415 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(16, 20, 21, 0) var(--tw-gradient-to-position) !important;
}

:root.dark .text-primary,
:root[data-theme="dark"] .text-primary,
:root.dark .text-on-surface,
:root[data-theme="dark"] .text-on-surface,
:root.dark .text-on-background,
:root[data-theme="dark"] .text-on-background {
  color: #e8ecef !important;
}

:root.dark .text-on-surface-variant,
:root[data-theme="dark"] .text-on-surface-variant,
:root.dark .text-outline,
:root[data-theme="dark"] .text-outline {
  color: #b7c0c9 !important;
}

:root.dark .text-secondary,
:root[data-theme="dark"] .text-secondary {
  color: #e9c176 !important;
}

:root.dark .bg-primary,
:root[data-theme="dark"] .bg-primary {
  background-color: #06192b !important;
}

:root.dark .bg-secondary,
:root[data-theme="dark"] .bg-secondary {
  background-color: #e9c176 !important;
  color: #261900 !important;
}

:root.dark .shadow-sm,
:root[data-theme="dark"] .shadow-sm,
:root.dark .shadow-md,
:root[data-theme="dark"] .shadow-md,
:root.dark .shadow-xl,
:root[data-theme="dark"] .shadow-xl {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36) !important;
}

:root.dark .border-outline-variant,
:root[data-theme="dark"] .border-outline-variant,
:root.dark .border-black\/5,
:root[data-theme="dark"] .border-black\/5,
:root.dark .border-outline-variant\/30,
:root[data-theme="dark"] .border-outline-variant\/30,
:root.dark .border-outline-variant\/40,
:root[data-theme="dark"] .border-outline-variant\/40,
:root.dark .border-outline-variant\/50,
:root[data-theme="dark"] .border-outline-variant\/50 {
  border-color: #3c454b !important;
}

:root.dark input,
:root[data-theme="dark"] input,
:root.dark select,
:root[data-theme="dark"] select,
:root.dark textarea,
:root[data-theme="dark"] textarea {
  background-color: #191d1f !important;
  border-color: #3c454b !important;
  color: #e8ecef !important;
}

:root.dark input::placeholder,
:root[data-theme="dark"] input::placeholder,
:root.dark textarea::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: #87919b !important;
}

:root.dark .ldcfc-theme-toggle,
:root[data-theme="dark"] .ldcfc-theme-toggle,
:root.dark .ldcfc-mobile-toggle,
:root[data-theme="dark"] .ldcfc-mobile-toggle,
:root.dark .ldcfc-mobile-panel,
:root[data-theme="dark"] .ldcfc-mobile-panel {
  background: rgba(25, 29, 31, 0.96);
  border-color: #3c454b;
  color: #e8ecef;
}

:root.dark .ldcfc-mobile-panel a,
:root[data-theme="dark"] .ldcfc-mobile-panel a {
  color: #e8ecef;
  border-color: rgba(183, 192, 201, 0.16);
}

:root.dark .ldcfc-mobile-panel a.active,
:root[data-theme="dark"] .ldcfc-mobile-panel a.active,
:root.dark .ldcfc-mobile-panel a:hover,
:root[data-theme="dark"] .ldcfc-mobile-panel a:hover {
  color: #e9c176;
  background: rgba(233, 193, 118, 0.14);
}

.hero-visual-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.hero-visual-card {
  position: relative;
  flex: 1 1 250px;
  width: 100%;
  max-width: 276px;
  height: 190px;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(233, 193, 118, 0.28);
  border-radius: 8px;
  background: #001a33;
  box-shadow: 0 18px 42px rgba(0, 26, 51, 0.16);
  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 193, 118, 0.58);
  box-shadow: 0 26px 56px rgba(0, 26, 51, 0.26);
}

.hero-visual-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms ease;
}

.hero-visual-card:hover img {
  transform: scale(1.06);
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 26, 51, 0) 0%, rgba(0, 26, 51, 0.14) 42%, rgba(0, 26, 51, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 26, 51, 0.24) 0%, rgba(0, 26, 51, 0) 66%);
}

.hero-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  text-align: left;
}

.hero-visual-content .material-symbols-outlined {
  margin-bottom: 8px;
  color: #e9c176;
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-visual-title {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.52);
}

:root.dark .hero-visual-card,
:root[data-theme="dark"] .hero-visual-card {
  border-color: rgba(233, 193, 118, 0.34);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  .px-margin-desktop {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mx-margin-desktop {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body > * {
    max-width: 100vw !important;
  }

  body > nav.fixed.top-0,
  body > header.fixed.top-0 {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible !important;
  }

  .py-24 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .py-20 {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .text-display-lg {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  .fixed.top-0 > div {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 64px;
    gap: 10px;
    position: relative;
    padding-right: 64px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    overflow: visible;
  }

  .fixed.top-0 img.h-10 {
    width: 34px;
    height: 34px;
  }

  .fixed.top-0 .text-headline-lg,
  .fixed.top-0 .text-headline-lg-mobile {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .fixed.top-0 .ldcfc-full-brand {
    display: block;
    flex: 0 1 auto;
    width: min(210px, calc(100vw - 180px)) !important;
    max-width: min(210px, calc(100vw - 180px)) !important;
    max-height: 18px;
    color: inherit;
    font-size: 7.6px !important;
    line-height: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    overflow: hidden;
    overflow-wrap: break-word;
    white-space: normal !important;
    text-transform: uppercase;
  }

  .fixed.top-0 .inline-flex,
  .fixed.top-0 .flex.items-center {
    min-width: 0;
  }

  .fixed.top-0 .inline-flex.items-center {
    width: min(270px, calc(100vw - 120px));
    max-width: min(270px, calc(100vw - 120px));
  }

  .fixed.top-0 button:not(.ldcfc-mobile-toggle):not(.ldcfc-theme-toggle):not(.ldcfc-lang-toggle-mobile),
  .fixed.top-0 .material-symbols-outlined.cursor-pointer {
    display: none !important;
  }

  .fixed.top-0 button.ldcfc-theme-toggle {
    position: fixed;
    top: 12px;
    right: 64px !important;
    left: auto !important;
    z-index: 70;
    display: grid !important;
  }

  .fixed.top-0 button.ldcfc-mobile-toggle {
    position: fixed;
    top: 12px;
    right: 16px !important;
    left: auto !important;
    z-index: 70;
    display: grid !important;
    flex: 0 0 auto;
  }

  .ldcfc-mobile-panel {
    position: fixed;
    top: 65px;
    left: 16px;
    right: 16px;
    z-index: 60;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid rgba(115, 119, 125, 0.35);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 48px rgba(0, 26, 51, 0.16);
    overflow: hidden;
  }

  .ldcfc-mobile-panel.open {
    display: grid;
  }

  .ldcfc-mobile-panel a {
    color: #001a33;
    font-family: "IBM Plex Sans", Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 14px 16px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(115, 119, 125, 0.16);
  }

  .ldcfc-mobile-panel a:last-child {
    border-bottom: 0;
  }

  .ldcfc-mobile-panel a.active,
  .ldcfc-mobile-panel a:hover {
    color: #8c6e3d;
    background: rgba(233, 193, 118, 0.12);
  }

  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  .grid.w-full,
  .w-full.grid,
  .grid.grid-cols-1,
  .grid.grid-cols-2 {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-visual-card,
  .hero-visual-content {
    height: 150px;
    min-height: 0;
  }

  .hero-visual-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .hero-visual-content {
    padding: 14px;
  }

  .hero-visual-title {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .glass-panel,
  .shadow-sm,
  .shadow-xl {
    width: min(358px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .hero-mesh-gradient > .relative.z-10,
  section > .relative.z-10,
  section > .text-center,
  section > .max-w-\[1440px\],
  section > .max-w-5xl,
  section > .max-w-4xl {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  h1.text-display-lg {
    width: min(330px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    overflow-wrap: break-word;
    font-size: 23px !important;
    line-height: 30px !important;
  }

  .font-title-md.text-title-md,
  p.text-body-lg,
  .text-body-lg {
    width: min(330px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .font-title-md.text-title-md,
  p.text-body-lg,
  .text-body-lg,
  p.font-title-md,
  .text-title-md,
  .text-headline-lg,
  .font-headline-lg,
  .font-display-lg,
  h1,
  h2,
  h3,
  p {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal !important;
  }

  main,
  footer,
  section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden;
  }

  div,
  article,
  aside,
  form {
    max-width: 100%;
  }

  .max-w-\[1440px\],
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl,
  .max-w-xl,
  .max-w-md,
  .max-w-sm {
    max-width: calc(100vw - 32px) !important;
  }

  .tracking-widest {
    letter-spacing: 0.08em !important;
  }

  .gap-8 {
    gap: 1rem !important;
  }

  .gap-6 {
    gap: 0.875rem !important;
  }

  .aspect-\[21\/9\] {
    aspect-ratio: auto !important;
    min-height: auto;
    padding: 18px 12px;
  }

  .aspect-\[21\/9\] .max-w-5xl,
  .aspect-\[21\/9\] .relative.z-10 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 14px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .aspect-\[21\/9\] .w-48,
  .aspect-\[21\/9\] .h-48 {
    display: none !important;
  }

  .aspect-\[21\/9\] .flex-col {
    display: grid !important;
    gap: 12px !important;
  }

  .aspect-\[21\/9\] .group {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0;
    gap: 12px !important;
  }

  .aspect-\[21\/9\] span {
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
    overflow-wrap: anywhere;
  }

  .aspect-\[21\/9\] .absolute.inset-0 {
    opacity: 0.18;
  }

  [class*="aspect-[21/9]"] {
    aspect-ratio: auto !important;
    min-height: auto !important;
    padding: 18px 12px !important;
  }

  [class*="aspect-[21/9]"] .relative.z-10 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  [class*="aspect-[21/9]"] .w-48,
  [class*="aspect-[21/9]"] .h-48 {
    display: none !important;
  }

  [class*="aspect-[21/9]"] .flex-col {
    display: grid !important;
    gap: 12px !important;
  }

  [class*="aspect-[21/9]"] .group {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .flex-col.md\:flex-row,
  .flex.md\:flex-row,
  .md\:flex-row {
    flex-direction: column !important;
  }

  .md\:w-1\/2,
  .md\:w-auto,
  .md\:w-80 {
    width: 100% !important;
  }

  select,
  input,
  textarea,
  button {
    max-width: 100%;
  }

  .absolute.right-6,
  .absolute.right-12,
  .absolute.left-4,
  .absolute.left-6,
  .absolute.bottom-6.left-6 {
    max-width: calc(100vw - 32px) !important;
  }

  .flex.items-center.gap-2,
  .flex.items-center.gap-4 {
    min-width: 0;
  }

  .glass-panel > .flex.items-center.gap-2 {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .glass-panel > .flex.items-center.gap-2 select,
  .glass-panel > .flex.items-center.gap-2 button {
    width: 100% !important;
    min-height: 44px;
  }

  .mt-8.flex.justify-center {
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .items-end {
    align-items: flex-start !important;
  }

  .justify-between {
    gap: 16px;
  }

  .flex.justify-between.items-end,
  .flex.justify-between.items-center {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .flex.justify-between.items-center.w-full {
    flex-direction: row !important;
    align-items: center !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .px-margin-desktop {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  .hero-visual-card {
    flex-basis: calc(50% - 8px);
    max-width: calc(50% - 8px);
    height: 180px;
  }
}

@media (min-width: 1121px) {
  .ldcfc-mobile-toggle,
  button.ldcfc-mobile-toggle {
    display: none !important;
  }

  .ldcfc-theme-toggle {
    position: static !important;
    display: grid !important;
  }
}

@media (max-width: 430px) {
  .fixed.top-0 button.ldcfc-mobile-toggle {
    right: 16px !important;
    left: auto !important;
  }

  .fixed.top-0 button.ldcfc-theme-toggle {
    right: 64px !important;
    left: auto !important;
  }

  h1.text-display-lg,
  .text-display-lg {
    width: 358px !important;
    max-width: 358px !important;
  }
}

@media (max-width: 374px) {
  .fixed.top-0 button.ldcfc-mobile-toggle {
    right: 16px !important;
    left: auto !important;
  }

  .fixed.top-0 button.ldcfc-theme-toggle {
    right: 64px !important;
    left: auto !important;
  }

  h1.text-display-lg,
  .text-display-lg {
    width: 328px !important;
    max-width: 328px !important;
  }
}

/* Shared navbar mobile settings live inside the dropdown, not in the bar. */
@media (max-width: 1120px) {
  .ldcfc-mobile-tools .ldcfc-lang-toggle,
  .ldcfc-mobile-tools .ldcfc-theme-toggle {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
    box-shadow: none !important;
    flex: 1 1 auto !important;
  }
}

/* Phones emulate :hover after tapping; neutralize those visual states. */
@media (hover: none), (pointer: coarse) {
  .hero-visual-card:hover,
  .ecosystem-benefit-card:hover,
  .partner-grid-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .hero-visual-card:hover img,
  .ecosystem-benefit-card:hover > img,
  .partner-grid-card:hover img {
    transform: none !important;
  }

  button:hover,
  [role="button"]:hover {
    transform: none !important;
  }
}
